You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
397 B
20 lines
397 B
package mightypork.gamecore.gui.components.layout.linear;
|
|
|
|
|
|
import mightypork.gamecore.gui.components.DynamicWidthComponent;
|
|
|
|
|
|
public class LinearWrapper extends AbstractLinearWrapper {
|
|
|
|
public LinearWrapper(DynamicWidthComponent wrapped) {
|
|
super(wrapped);
|
|
}
|
|
|
|
|
|
@Override
|
|
public double computeWidth(double height)
|
|
{
|
|
return ((DynamicWidthComponent) wrapped).computeWidth(height);
|
|
}
|
|
|
|
}
|
|
|