diff options
author | Alkalus <draknyte1@hotmail.com> | 2017-09-22 14:59:49 +1000 |
---|---|---|
committer | Alkalus <draknyte1@hotmail.com> | 2017-09-22 14:59:49 +1000 |
commit | aa563b79fea267830f563a9d3d5d61f9f531b16f (patch) | |
tree | 8cebfadb92e697d303a32803f9edf5edfda401be /src/Java/gtPlusPlus/core/gui | |
parent | 14b6ee91c1d784539c130d4ed90a0aa2a87d4902 (diff) | |
download | GT5-Unofficial-aa563b79fea267830f563a9d3d5d61f9f531b16f.tar.gz GT5-Unofficial-aa563b79fea267830f563a9d3d5d61f9f531b16f.tar.bz2 GT5-Unofficial-aa563b79fea267830f563a9d3d5d61f9f531b16f.zip |
+ More Trade Table work.
Diffstat (limited to 'src/Java/gtPlusPlus/core/gui')
-rw-r--r-- | src/Java/gtPlusPlus/core/gui/machine/GUI_TradeTable.java | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/src/Java/gtPlusPlus/core/gui/machine/GUI_TradeTable.java b/src/Java/gtPlusPlus/core/gui/machine/GUI_TradeTable.java index 5b5a919291..70bfed3be3 100644 --- a/src/Java/gtPlusPlus/core/gui/machine/GUI_TradeTable.java +++ b/src/Java/gtPlusPlus/core/gui/machine/GUI_TradeTable.java @@ -11,6 +11,7 @@ import gtPlusPlus.core.lib.CORE; import gtPlusPlus.core.tileentities.machines.TileEntityProjectTable; import gtPlusPlus.core.tileentities.machines.TileEntityTradeTable; import gtPlusPlus.core.tileentities.machines.TileEntityWorkbench; +import gtPlusPlus.core.util.Utils; import net.minecraft.client.gui.GuiButton; import net.minecraft.client.gui.inventory.GuiContainer; import net.minecraft.entity.player.InventoryPlayer; @@ -25,15 +26,6 @@ public class GUI_TradeTable extends GuiContainer { super(new Container_TradeTable(player_inventory, te)); } - - @Override - protected void drawGuiContainerForegroundLayer(final int i, final int j){ - //this.fontRendererObj.drawString(I18n.format("Workbench", new Object[0]), 28, 6, 4210752); - //this.fontRendererObj.drawString(I18n.format("container.inventory", new Object[0]), 8, this.ySize - 96 + 2, 4210752); - - } - - @Override protected void drawGuiContainerBackgroundLayer(final float f, final int i, final int j){ GL11.glColor4f(1.0f, 1.0f, 1.0f, 1.0f); @@ -43,25 +35,4 @@ public class GUI_TradeTable extends GuiContainer { this.drawTexturedModalRect(x, y, 0, 0, this.xSize, this.ySize); } - - //This method is called when the Gui is first called! - @Override - public void initGui(){ - //You have to add this line for the Gui to function properly! - super.initGui(); - - //The parameters of GuiButton are(id, x, y, width, height, text); - //this.buttonList.add(new GuiButton( 1, 367, 132, 18, 18, "X")); - //this.buttonList.add(new GuiButton( 2, 385, 132, 18, 18, "Y")); - //NOTE: the id always has to be different or else it might get called twice or never! - - //Add any other buttons here too! - } - - @Override - protected void actionPerformed(final GuiButton B){ - - - } - }
\ No newline at end of file |