Package pneumaticCraft.client.gui.widget

Examples of pneumaticCraft.client.gui.widget.GuiKeybindCheckBox


    @Override
    public void initGui(IGuiScreen gui){
        gui.getButtonList().add(new GuiButton(10, 30, 128, 150, 20, "Move Stat Screen..."));
        for(int i = 0; i < BlockTrackEntryList.instance.trackList.size(); i++){
            ((GuiHelmetMainScreen)gui).addWidget(new GuiKeybindCheckBox(i, 5, 32 + i * 12, 0xFFFFFFFF, BlockTrackEntryList.instance.trackList.get(i).getEntryName()));
        }
    }
View Full Code Here


            GuiButton button = new GuiButton(100 + i, 210, 20 + i * 22, 200, 20, upgradePages.get(i).getPageName());
            if(page == i) button.enabled = false;
            buttonList.add(button);
        }
        if(page > upgradePages.size() - 1) page = upgradePages.size() - 1;
        addWidget(new GuiKeybindCheckBox(100, 40, 12, 0xFFFFFFFF, I18n.format("gui.enableModule", I18n.format("pneumaticHelmet.upgrade." + upgradePageNames.get(page))), "pneumaticHelmet.upgrade." + upgradePageNames.get(page)));
        upgradePages.get(page).initGui(this);
    }
View Full Code Here

TOP

Related Classes of pneumaticCraft.client.gui.widget.GuiKeybindCheckBox

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.