Examples of GuiButtonPage


Examples of vazkii.botania.client.gui.lexicon.button.GuiButtonPage

  @Override
  public void initGui() {
    super.initGui();
    buttonList.add(backButton = new GuiButtonBack(12, left + guiWidth / 2 - 8, top + guiHeight + 2));
    buttonList.add(leftButton = new GuiButtonPage(13, left, top + guiHeight - 10, false));
    buttonList.add(rightButton = new GuiButtonPage(14, left + guiWidth - 18, top + guiHeight - 10, true));

    searchField = new GuiTextField(fontRendererObj, left + guiWidth / 2 + 28, top + guiHeight + 6, 200, 10);
    searchField.setCanLoseFocus(false);
    searchField.setFocused(true);
    searchField.setEnableBackgroundDrawing(false);
View Full Code Here

Examples of vazkii.botania.client.gui.lexicon.button.GuiButtonPage

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

    buttonList.add(backButton = new GuiButtonBackWithShift(0, left + guiWidth / 2 - 8, top + guiHeight + 2));
    buttonList.add(leftButton = new GuiButtonPage(1, left, top + guiHeight - 10, false));
    buttonList.add(rightButton = new GuiButtonPage(2, left + guiWidth - 18, top + guiHeight - 10, true));
    buttonList.add(shareButton = new GuiButtonShare(3, left + guiWidth - 6, top - 2));

    LexiconPage page = entry.pages.get(this.page);
    page.onOpened(this);
    updatePageButtons();
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.