Package appeng.client.gui.widgets

Examples of appeng.client.gui.widgets.GuiToggleButton


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

    tFacades = new GuiToggleButton( this.guiLeft - 18, guiTop + 8, 23, 22, GuiText.TransparentFacades.getLocal(), GuiText.TransparentFacadesHint.getLocal() );

    buttonList.add( tFacades );
  }
View Full Code Here


    buttonList.add( priority );

    BlockMode = new GuiImgButton( this.guiLeft - 18, guiTop + 8, Settings.BLOCK, YesNo.NO );
    buttonList.add( BlockMode );

    interfaceMode = new GuiToggleButton( this.guiLeft - 18, guiTop + 26, 84, 85, GuiText.InterfaceTerminal.getLocal(),
        GuiText.InterfaceTerminalHint.getLocal() );
    buttonList.add( interfaceMode );
  }
View Full Code Here

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

    int top = this.guiTop + this.ySize - 116;
    buttonList.add( inject = new GuiToggleButton( this.guiLeft + 56 + 0, top, 11 * 16, 12 * 16, SecurityPermissions.INJECT
        .getUnlocalizedName(), SecurityPermissions.INJECT.getUnlocalizedTip() ) );

    buttonList.add( extract = new GuiToggleButton( this.guiLeft + 56 + 18, top, 11 * 16 + 1, 12 * 16 + 1, SecurityPermissions.EXTRACT
        .getUnlocalizedName(), SecurityPermissions.EXTRACT.getUnlocalizedTip() ) );

    buttonList.add( craft = new GuiToggleButton( this.guiLeft + 56 + 18 * 2, top, 11 * 16 + 2, 12 * 16 + 2, SecurityPermissions.CRAFT.getUnlocalizedName(),
        SecurityPermissions.CRAFT.getUnlocalizedTip() ) );

    buttonList.add( build = new GuiToggleButton( this.guiLeft + 56 + 18 * 3, top, 11 * 16 + 3, 12 * 16 + 3, SecurityPermissions.BUILD.getUnlocalizedName(),
        SecurityPermissions.BUILD.getUnlocalizedTip() ) );

    buttonList.add( security = new GuiToggleButton( this.guiLeft + 56 + 18 * 4, top, 11 * 16 + 4, 12 * 16 + 4, SecurityPermissions.SECURITY
        .getUnlocalizedName(), SecurityPermissions.SECURITY.getUnlocalizedTip() ) );
  }
View Full Code Here

  @Override
  protected void addButtons()
  {
    clear = new GuiImgButton( this.guiLeft - 18, guiTop + 8, Settings.ACTIONS, ActionItems.CLOSE );
    partition = new GuiImgButton( this.guiLeft - 18, guiTop + 28, Settings.ACTIONS, ActionItems.WRENCH );
    copyMode = new GuiToggleButton( this.guiLeft - 18, guiTop + 48, 11 * 16 + 5, 12 * 16 + 5, GuiText.CopyMode.getLocal(), GuiText.CopyModeDesc.getLocal() );
    fuzzyMode = new GuiImgButton( this.guiLeft - 18, guiTop + 68, Settings.FUZZY_MODE, FuzzyMode.IGNORE_ALL );

    buttonList.add( fuzzyMode );
    buttonList.add( partition );
    buttonList.add( clear );
View Full Code Here

TOP

Related Classes of appeng.client.gui.widgets.GuiToggleButton

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.