Search in sources :

Example 26 with GuiButtonExt

use of cpw.mods.fml.client.config.GuiButtonExt in project Armourers-Workshop by RiskyKen.

the class GuiAdminPanel method initGui.

@Override
public void initGui() {
    guiLeft = width / 2 - guiWidth / 2;
    guiTop = height / 2 - guiHeight / 2;
    buttonList.clear();
    recoverSkins = new GuiButtonExt(0, guiLeft + 5, guiTop + 5, 100, 15, "Recover Skins");
    reloadLibrary = new GuiButtonExt(0, guiLeft + 5, guiTop + 25, 100, 15, "Reload Library");
    updateSkins = new GuiButtonExt(0, guiLeft + 5, guiTop + 45, 100, 15, "Update Skins");
    buttonList.add(recoverSkins);
    buttonList.add(reloadLibrary);
    buttonList.add(updateSkins);
}
Also used : GuiButtonExt(cpw.mods.fml.client.config.GuiButtonExt)

Aggregations

GuiButtonExt (cpw.mods.fml.client.config.GuiButtonExt)26 GuiDropDownList (riskyken.armourersWorkshop.client.gui.controls.GuiDropDownList)7 GuiLabeledTextField (riskyken.armourersWorkshop.client.gui.controls.GuiLabeledTextField)6 GuiCheckBox (riskyken.armourersWorkshop.client.gui.controls.GuiCheckBox)4 GuiTextField (net.minecraft.client.gui.GuiTextField)3 ISkinType (riskyken.armourersWorkshop.api.common.skin.type.ISkinType)3 GuiIconButton (riskyken.armourersWorkshop.client.gui.controls.GuiIconButton)3 GuiGlobalLibrary (riskyken.armourersWorkshop.client.gui.globallibrary.GuiGlobalLibrary)3 ISkinPartType (riskyken.armourersWorkshop.api.common.skin.type.ISkinPartType)2 GuiCustomSlider (riskyken.armourersWorkshop.client.gui.controls.GuiCustomSlider)2 Calendar (java.util.Calendar)1 ScaledResolution (net.minecraft.client.gui.ScaledResolution)1 Slot (net.minecraft.inventory.Slot)1 GuiList (riskyken.armourersWorkshop.client.gui.controls.GuiList)1 GuiScrollbar (riskyken.armourersWorkshop.client.gui.controls.GuiScrollbar)1 Rectangle_I_2D (riskyken.armourersWorkshop.common.data.Rectangle_I_2D)1 SkinTypeRegistry (riskyken.armourersWorkshop.common.skin.type.SkinTypeRegistry)1