Package buildcraft.core.gui.buttons

Examples of buildcraft.core.gui.buttons.GuiBetterButton


  @SuppressWarnings("unchecked")
  @Override
  public void initGui() {
    super.initGui();

    tool = new GuiBetterButton(0, guiLeft + 5, guiTop + 20, 20, "+");
    tool.setToolTip(new ToolTip(new ToolTipLine(StringUtils.localize("tip.tool.add"))));
    buttonList.add(tool);

    savedButtonList = buttonList;
  }
View Full Code Here


  @Override
  public void initGui() {
    super.initGui();
    buttonList.clear();

    buttonList.add(new GuiBetterButton(0, guiLeft + 80 - 18, guiTop + 30, 10,
        StandardButtonTextureSets.LEFT_BUTTON, ""));
    buttonList.add(new GuiBetterButton(1, guiLeft + 80 + 16 + 8, guiTop + 30, 10,
        StandardButtonTextureSets.RIGHT_BUTTON, ""));
  }
View Full Code Here

  public void initGui() {
    super.initGui();

    Keyboard.enableRepeatEvents(true);

    optionRotate = new GuiBetterButton(0, guiLeft + 5, guiTop + 30, 79, "");
    buttonList.add(optionRotate);

    optionExcavate = new GuiBetterButton(1, guiLeft + 5, guiTop + 55, 79, "");
    buttonList.add(optionExcavate);

    optionAllowCreative = new GuiBetterButton(2, guiLeft + 5, guiTop + 80, 79, "");
    optionAllowCreative.setToolTip(new ToolTip(500,
        new ToolTipLine(StringUtils.localize("tile.architect.tooltip.allowCreative.1")),
        new ToolTipLine(StringUtils.localize("tile.architect.tooltip.allowCreative.2"))
    ));
    buttonList.add(optionAllowCreative);
View Full Code Here

TOP

Related Classes of buildcraft.core.gui.buttons.GuiBetterButton

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.