use of ivorius.reccomplex.gui.GuiTexturedButton in project RecurrentComplex by Ivorforce.
the class TableCellButton method initGui.
@Override
public void initGui(GuiTable screen) {
super.initGui(screen);
Bounds bounds = bounds();
button = new GuiTexturedButton(-1, bounds.getMinX(), bounds.getMinY() + (bounds.getHeight() - 20) / 2, bounds.getWidth(), 20, title);
button.setTexture(texture);
button.visible = !isHidden();
button.enabled = enabled;
screen.addButton(this, 0, button);
}
Aggregations