use of net.minecraftforge.fml.client.config.GuiButtonExt in project Random-Things by lumien231.
the class GuiEntityDetector method initGui.
@Override
public void initGui() {
super.initGui();
minusX = new GuiButtonExt(0, this.guiLeft + 15 + 24, this.guiTop + 25, 10, 10, "-");
plusX = new GuiButtonExt(1, this.guiLeft + 15 + 90 + 14, this.guiTop + 25, 10, 10, "+");
minusY = new GuiButtonExt(2, this.guiLeft + 15 + 24, this.guiTop + 45, 10, 10, "-");
plusY = new GuiButtonExt(3, this.guiLeft + 15 + 90 + 14, this.guiTop + 45, 10, 10, "+");
minusZ = new GuiButtonExt(4, this.guiLeft + 15 + 24, this.guiTop + 65, 10, 10, "-");
plusZ = new GuiButtonExt(5, this.guiLeft + 15 + 90 + 14, this.guiTop + 65, 10, 10, "+");
filter = new GuiButtonExt(6, this.guiLeft + 15 + 5, this.guiTop + 95, 70, 16, "");
invert = new GuiCustomButton(this, 7, entityDetector.invert(), this.guiLeft + 15 + 77, this.guiTop + 93, 20, 20, "", background, 176, 0, 20, 20);
invert.setToolTips("tooltip.entityDetector.normalOutput", "tooltip.entityDetector.invertedOutput");
strongOutput = new GuiCustomButton(this, 8, entityDetector.strongOutput(), this.guiLeft + 15 + 100, this.guiTop + 93, 20, 20, "", background, 216, 0, 20, 20);
strongOutput.setToolTips("tooltip.entityDetector.weakOutput", "tooltip.entityDetector.strongOutput");
this.buttonList.add(minusX);
this.buttonList.add(plusX);
this.buttonList.add(minusY);
this.buttonList.add(plusY);
this.buttonList.add(minusZ);
this.buttonList.add(plusZ);
this.buttonList.add(filter);
this.buttonList.add(strongOutput);
this.buttonList.add(invert);
}
Aggregations