mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 04:10:07 +00:00
18 lines
561 B
Java
18 lines
561 B
Java
package binnie.genetics.gui.database;
|
|
|
|
import forestry.api.genetics.IClassification;
|
|
|
|
import binnie.core.craftgui.IWidget;
|
|
import binnie.core.craftgui.controls.listbox.ControlListBox;
|
|
|
|
class ControlBranchBox extends ControlListBox<IClassification> {
|
|
public ControlBranchBox(final IWidget parent, final int x, final int y, final int width, final int height) {
|
|
super(parent, x, y, width, height, 12);
|
|
}
|
|
|
|
@Override
|
|
public IWidget createOption(final IClassification value, final int y) {
|
|
return new ControlBranchBoxOption(this.getContent(), value, y);
|
|
}
|
|
}
|