tiny progress...

This commit is contained in:
AlgorithmX2
2014-04-08 21:56:59 -05:00
parent 0cec53eece
commit 7dc251611c
6 changed files with 39 additions and 35 deletions
@@ -12,16 +12,16 @@ import appeng.core.localization.GuiText;
public class GuiPatternTerm extends GuiMEMonitorable
{
GuiImgButton clearBtn;
GuiImgButton exttractPatternBtn;
GuiImgButton substitutionsBtn;
@Override
public void initGui()
{
super.initGui();
buttonList.add( clearBtn = new GuiImgButton( this.guiLeft + 32, this.guiTop + this.ySize - 156, Settings.ACTIONS, ActionItems.PULL ) );
buttonList.add( substitutionsBtn = new GuiImgButton( this.guiLeft + 92, this.guiTop + this.ySize - 156, Settings.ACTIONS, ActionItems.CLOSE ) );
clearBtn.halfSize = true;
buttonList.add( exttractPatternBtn = new GuiImgButton( this.guiLeft + 6, this.guiTop + this.ySize - 161, Settings.ACTIONS, ActionItems.PULL ) );
buttonList.add( substitutionsBtn = new GuiImgButton( this.guiLeft + 118, this.guiTop + this.ySize - 161, Settings.ACTIONS, ActionItems.CLOSE ) );
exttractPatternBtn.halfSize = true;
}
@Override
@@ -29,7 +29,7 @@ public class GuiPatternTerm extends GuiMEMonitorable
{
super.actionPerformed( btn );
if ( clearBtn == btn )
if ( exttractPatternBtn == btn )
{
}
@@ -42,7 +42,7 @@ public class GuiPatternTerm extends GuiMEMonitorable
public GuiPatternTerm(InventoryPlayer inventoryPlayer, ITerminalHost te) {
super( inventoryPlayer, te, new ContainerPatternTerm( inventoryPlayer, te ) );
reservedSpace = 73;
reservedSpace = 85;
}
protected String getBackground()
@@ -54,7 +54,7 @@ public class GuiPatternTerm extends GuiMEMonitorable
public void drawFG(int offsetX, int offsetY, int mouseX, int mouseY)
{
super.drawFG( offsetX, offsetY, mouseX, mouseY );
fontRendererObj.drawString( GuiText.PatternTerminal.getLocal(), 8, ySize - 96 + 1 - reservedSpace, 4210752 );
fontRendererObj.drawString( GuiText.PatternTerminal.getLocal(), 8, ySize - 96 + 2 - reservedSpace, 4210752 );
}
}