aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/Java/gtPlusPlus/core/gui')
-rw-r--r--src/Java/gtPlusPlus/core/gui/machine/GUI_TradeTable.java31
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