use of logisticspipes.utils.gui.sideconfig.SideConfigDisplay in project LogisticsPipes by RS485.
the class SneakyConfigurationPopup method initGui.
@Override
public void initGui() {
super.initGui();
buttonList.clear();
configDisplay = new SideConfigDisplay(config) {
@Override
public void handleSelection(SelectedFace selection) {
SneakyConfigurationPopup.this.handleSelection(selection);
}
};
configDisplay.init();
configDisplay.renderNeighbours = true;
buttonList.add(new GuiButton(0, right - 106, bottom - 26, 100, 20, "Cancel"));
bounds = new Rectangle(guiLeft + 5, guiTop + 20, this.xSize - 10, this.ySize - 50);
}
use of logisticspipes.utils.gui.sideconfig.SideConfigDisplay in project LogisticsPipes by RS485.
the class DisconnectionConfigurationPopup method initGui.
@Override
public void initGui() {
super.initGui();
buttonList.clear();
configDisplay = new SideConfigDisplay(pipe) {
@Override
public void handleSelection(SelectedFace selection) {
DisconnectionConfigurationPopup.this.handleSelection(selection);
}
};
configDisplay.init();
configDisplay.renderNeighbours = true;
buttonList.add(new GuiButton(0, right - 106, bottom - 26, 100, 20, "OK"));
bounds = new Rectangle(guiLeft + 5, guiTop + 20, this.xSize - 10, this.ySize - 50);
}
Aggregations