char gui
This commit is contained in:
parent
09ce79e666
commit
868a5ed9ea
7 changed files with 366 additions and 2087 deletions
|
@ -106,7 +106,8 @@ public class GuiMenu extends Gui {
|
|||
}
|
||||
else {
|
||||
this.add(new ActButton(0, 0, 400, 24, (Gui)null, "Zurück zum Spiel"));
|
||||
this.add(new ActButton(0, 28, 400, 24, GuiOptions.getPage(), "Einstellungen"));
|
||||
this.add(new ActButton(0, 28, 198, 24, GuiOptions.getPage(), "Einstellungen"));
|
||||
this.add(new ActButton(202, 28, 198, 24, GuiSkin.INSTANCE, "Charakter"));
|
||||
if(!this.gm.isRemote() && !this.gm.debugWorld) {
|
||||
this.add(new Textbox(0, 56, 96, 24, 5, true, new Textbox.Callback() {
|
||||
public void use(Textbox elem, Action value) {
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -73,6 +73,10 @@ public abstract class GuiList<T extends ListEntry> extends Gui
|
|||
public final int getSize() {
|
||||
return this.elements.size();
|
||||
}
|
||||
|
||||
public final void setSelected(int index) {
|
||||
this.selectedElement = index;
|
||||
}
|
||||
|
||||
protected int getContentHeight()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue