LICENSE -> UNLICENSE
This commit is contained in:
parent
80cf16ada5
commit
2b937219ac
3 changed files with 15 additions and 3 deletions
|
@ -3,7 +3,7 @@ package game.gui;
|
|||
import game.gui.element.ActButton;
|
||||
import game.gui.element.ActButton.Mode;
|
||||
import game.gui.element.Label;
|
||||
import game.gui.element.Textbox;
|
||||
import game.gui.element.TransparentBox;
|
||||
|
||||
public class GuiConfirm extends Gui implements ActButton.Callback {
|
||||
public static interface Callback {
|
||||
|
@ -28,7 +28,7 @@ public class GuiConfirm extends Gui implements ActButton.Callback {
|
|||
|
||||
public void init(int width, int height) {
|
||||
this.add(new Label(0, 0, 500, 24, this.messageLine1, true));
|
||||
this.add(new Textbox(0, 80, 500, 300, this.messageLine2));
|
||||
this.add(new TransparentBox(0, 80, 500, 300, this.messageLine2));
|
||||
this.confirmBtn = this.add(new ActButton(48, 500, 200, 24, (ActButton.Callback)this, this.confirmButtonText));
|
||||
this.cancelBtn = this.add(new ActButton(252, 500, 200, 24, (ActButton.Callback)this, this.cancelButtonText));
|
||||
this.shift();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue