Examples of SmallGuiButton


Examples of logisticspipes.utils.gui.SmallGuiButton

  @SuppressWarnings("unchecked")
  @Override
  public void initGui() {
    super.initGui();
    buttonList.clear();
    buttonList.add(new SmallGuiButton(0, right - 15, guiTop + 5, 10 ,10 ,">")); // Next pageAll
    buttonList.add(new SmallGuiButton(1, right - 90, guiTop + 5, 10, 10, "<")); // Prev pageAll
    buttonList.add(new SmallGuiButton(2, right - 15, guiTop + 135, 10 ,10 ,">")); // Next pageAll
    buttonList.add(new SmallGuiButton(3, right - 90, guiTop + 135, 10, 10, "<")); // Prev pageAll
    buttonList.add(new GuiButton(4, right - 39, bottom - 27, 35, 20, "Save")); // Prev pageAll
  }
View Full Code Here

Examples of logisticspipes.utils.gui.SmallGuiButton

  public void initGui() {
    super.initGui();
    this.buttonList.clear();
    this.buttonList.add(new GuiButton(0, guiLeft + 10, guiTop + 119, 30, 20, "-"));
    this.buttonList.add(new GuiButton(1, guiLeft + 110, guiTop + 119, 30, 20, "+"));
    this.buttonList.add(new SmallGuiButton(2, guiLeft + 30, guiTop + 107, 40, 10, StringUtil.translate(PREFIX + "Remove")));
    this.buttonList.add(new SmallGuiButton(3, guiLeft + 80, guiTop + 107, 40, 10, StringUtil.translate(PREFIX + "Add")));
    this.buttonList.add(new SmallGuiButton(4, guiLeft + 87, guiTop + 4, 10, 10, "<"));
    this.buttonList.add(new SmallGuiButton(5, guiLeft + 130, guiTop + 4, 10, 10, ">"));
  }
View Full Code Here

Examples of logisticspipes.utils.gui.SmallGuiButton

      ((GuiButton)this.buttonList.get(0)).visible = false;
    this.buttonList.add(new GuiButton(1, guiLeft + 10, guiTop + 139, 30, 20, "-"));
    this.buttonList.add(new GuiButton(2, guiLeft + 45, guiTop + 139, 30, 20, "+"));
      this.buttonList.add(new GuiButton(3, guiLeft + 140, guiTop + 179, 30, 20, "++"));
      ((GuiButton)this.buttonList.get(3)).visible = false;
    this.buttonList.add(new SmallGuiButton(4, guiLeft + 241, guiTop + 217, 30, 10, StringUtil.translate(PREFIX + "Open")));
    this.buttonList.add(new GuiCheckBox(5, guiLeft + 160, guiTop + 42, 16, 16, _tile.allowCC));
    this.buttonList.add(new SmallGuiButton(6, guiLeft + 162, guiTop + 60, 60, 10, StringUtil.translate(PREFIX + "EditTable")));
    if(!SimpleServiceLocator.ccProxy.isCC() && !LPConstants.DEBUG) {
      ((GuiButton)this.buttonList.get(5)).visible = false;
      ((GuiButton)this.buttonList.get(6)).visible = false;
    }
    this.buttonList.add(new GuiButton(7, guiLeft + 55, guiTop + 95, 70, 20, StringUtil.translate(PREFIX + "Authorize")));
View Full Code Here

Examples of logisticspipes.utils.gui.SmallGuiButton

    }
    super.initGui();

    buttonList.clear();
    buttonList.add(new GuiButton(0, right - 55, bottom - 25, 50,20,"Request")); // Request
    buttonList.add(new SmallGuiButton(1,  right - 15  , guiTop + 5, 10 ,10 ,">")); // Next page
    buttonList.add(new SmallGuiButton(2,  right - 90  , guiTop + 5, 10, 10, "<")); // Prev page
    buttonList.add(new SmallGuiButton(10, right - 148 , bottom - 15, 26, 10, "---")); // -64
    buttonList.add(new SmallGuiButton(4,  right - 148 , bottom - 26, 15, 10, "--")); // -10
    buttonList.add(new SmallGuiButton(5,  right - 132 , bottom - 26, 10, 10, "-")); // -1
    buttonList.add(new SmallGuiButton(6,  right - 86 , bottom - 26, 10, 10, "+")); // +1
    buttonList.add(new SmallGuiButton(7,  right - 74 , bottom - 26, 15, 10, "++")); // +10
    buttonList.add(new SmallGuiButton(11, right - 86 , bottom - 15, 26, 10, "+++")); // +64
    buttonList.add(new GuiCheckBox(8, guiLeft + 209, bottom - 60, 14, 14, Configs.DISPLAY_POPUP)); // Popup
   
    buttonList.add(new SmallGuiButton(3, guiLeft + 210, bottom - 15, 46, 10, "Refresh")); // Refresh
    buttonList.add(new SmallGuiButton(13,  guiLeft + 210, bottom - 28, 46, 10, "Content")); // Component
    buttonList.add(new SmallGuiButton(9, guiLeft + 210, bottom - 41, 46, 10, "Both"));
    buttonList.add(new SmallGuiButton(20, right - 116, bottom - 41, 26, 10, "Sort")); // Sort
   
    buttonList.add(new SmallGuiButton(14, guiLeft + 96, guiTop + 53, 10, 10, "+")); // +1
    buttonList.add(new SmallGuiButton(15, guiLeft + 108, guiTop + 53, 15, 10, "++")); // +10
    buttonList.add(new SmallGuiButton(16, guiLeft + 96, guiTop + 64, 26, 10, "+++")); // +64
   
    buttonList.add(new SmallGuiButton(17, guiLeft + 173, guiTop + 5, 36, 10, "Hide")); // Hide
    buttonList.add(Macrobutton = new SmallGuiButton(18, right - 55, bottom - 60, 50, 10, "Disk"));
    Macrobutton.enabled = false;

    if(search == null) search = new SearchBar(mc.fontRenderer, this, guiLeft + 205, bottom - 78, 200, 15);
    search.reposition(guiLeft + 205, bottom - 78, 200, 15);
   
View Full Code Here

Examples of logisticspipes.utils.gui.SmallGuiButton

            if(this.isFullyExtended()) {
              if(localControlledButton == null || orderIdForButton != entry.getKey()) {
                if(localControlledButton != null) {
                  buttonList.remove(localControlledButton);
                }
                localControlledButton = new SmallGuiButton(100, guiLeft - 35, guiTop + 10, 30, 10,"more");
                buttonList.add(localControlledButton);
                orderIdForButton = entry.getKey();
              }
              List<IOrderInfoProvider> list = entry.getValue().getValue2().getList();
              calculateSize(left, top, list);
View Full Code Here

Examples of logisticspipes.utils.gui.SmallGuiButton

    super.initGui();
    buttonList.clear();
    int left = width / 2 - xSize / 2;
    int top = height / 2 - ySize / 2;

    buttonList.add(new SmallGuiButton(0, left + 18, top + 22, 15, 10, "++"));
    buttonList.add(new SmallGuiButton(1, left + 18, top + 37, 15, 10, "+"));
    buttonList.add(new SmallGuiButton(2, left + 87, top + 22, 15, 10, "--"));
    buttonList.add(new SmallGuiButton(3, left + 87, top + 37, 15, 10, "-"));
  }
View Full Code Here

Examples of logisticspipes.utils.gui.SmallGuiButton

    this.buttonList.add(new GuiCheckBox(0, guiLeft + 110, guiTop + 26, 16, 16, false));
    this.buttonList.add(new GuiCheckBox(1, guiLeft + 110, guiTop + 41, 16, 16, false));
    this.buttonList.add(new GuiCheckBox(2, guiLeft + 110, guiTop + 56, 16, 16, false));
    this.buttonList.add(new GuiCheckBox(3, guiLeft + 110, guiTop + 71, 16, 16, false));
    this.buttonList.add(new GuiCheckBox(4, guiLeft + 110, guiTop + 86, 16, 16, false));
    this.buttonList.add(new SmallGuiButton(5, guiLeft + 94, guiTop + 103, 30, 10, StringUtil.translate(PREFIX + "Close")));
    refreshCheckBoxes();
  }
View Full Code Here

Examples of logisticspipes.utils.gui.SmallGuiButton

  @SuppressWarnings("unchecked")
  @Override
  public void initGui() {
    super.initGui();
    buttonList.clear();
    buttonList.add(new SmallGuiButton(0, xCenter + 16  , bottom - 27, 50, 10, "Request"));
    buttonList.add(new SmallGuiButton(1, xCenter + 16  , bottom - 15, 50, 10, "Exit"));
    buttonList.add(new SmallGuiButton(2, xCenter - 66  , bottom - 27, 50, 10, "Add/Edit"));
    buttonList.add(new SmallGuiButton(3, xCenter - 66  , bottom - 15, 50, 10, "Delete"));
    buttonList.add(new SmallGuiButton(4, xCenter - 12  , bottom - 27, 25, 10, "/\\"));
    buttonList.add(new SmallGuiButton(5, xCenter - 12  , bottom - 15, 25, 10, "\\/"));
  }
View Full Code Here

Examples of logisticspipes.utils.gui.SmallGuiButton

  @SuppressWarnings("unchecked")
  @Override
  public void initGui() {
    super.initGui();
    this.buttonList.clear();
    this.buttonList.add(new SmallGuiButton(0, guiLeft + 38, guiTop + 18, 50, 10, "Add"));
    this.buttonList.add(new SmallGuiButton(1, guiLeft + 107, guiTop + 18, 50, 10, "Remove"));
    ((GuiButton)buttonList.get(0)).enabled = false;
    ((GuiButton)buttonList.get(1)).enabled = false;
  }
View Full Code Here

Examples of logisticspipes.utils.gui.SmallGuiButton

  @SuppressWarnings("unchecked")
  @Override
  public void initGui() {
    super.initGui();
    this.buttonList.clear();
    this.buttonList.add(new SmallGuiButton(0, guiLeft + 159, guiTop + 5, 10, 10, ""));
    this.buttonList.add(new SmallGuiButton(1, guiLeft + 159, guiTop + 17, 10, 10, ""));
    ((GuiButton)buttonList.get(0)).enabled = true;
    ((GuiButton)buttonList.get(1)).enabled = true;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.