More small changes to pda

This commit is contained in:
gigabit101 2015-08-16 21:29:12 +01:00
parent 25aeaf371e
commit 388dfc016d
4 changed files with 10 additions and 4 deletions

View file

@ -57,6 +57,6 @@ public class BlocksPage extends TitledPage{
((GuiButtonTextOnly) this.buttonList.get(k)).drawButton(this.mc, mouseX + offsetX, mouseY + offsetY);
}
}
buttonList.add(new GuiButton(0, offsetX + 20, offsetY + 180, "BACK"));
buttonList.add(new GuiButton(0, offsetX + 20, offsetY + 180, ttl("techreborn.pda.backbutton")));
}
}

View file

@ -55,6 +55,6 @@ public class IndexPage extends TitledPage{
((GuiButtonTextOnly) this.buttonList.get(k)).drawButton(this.mc, mouseX + offsetX, mouseY + offsetY);
}
}
buttonList.add(new GuiButton(0, offsetX + 20, offsetY + 180, "BACK"));
buttonList.add(new GuiButton(0, offsetX + 20, offsetY + 180, ttl("techreborn.pda.backbutton")));
}
}

View file

@ -15,7 +15,7 @@ public class ItemsPage extends TitledPage{
@SuppressWarnings("unchecked")
@Override
public void initGui() {
buttonList.clear();
// buttonList.clear();
int row = 0;
int collum = 0;
for (BasePage page : collection.pages){
@ -57,6 +57,6 @@ public class ItemsPage extends TitledPage{
((GuiButtonTextOnly) this.buttonList.get(k)).drawButton(this.mc, mouseX + offsetX, mouseY + offsetY);
}
}
buttonList.add(new GuiButton(0, offsetX + 20, offsetY + 180, "BACK"));
buttonList.add(new GuiButton(0, offsetX + 20, offsetY + 180, ttl("techreborn.pda.backbutton")));
}
}