Skip to content

Commit

Permalink
bigger confirm buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
msx80 committed Aug 19, 2024
1 parent e9696fa commit 0797d1b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

public class ConfirmWidget extends Widget<Action> {

private static final int ITEM_HEIGHT = 14;
private static final int ITEM_HEIGHT = 20;
GameInterface g;
private PrintUtils p;
private String question;
Expand Down Expand Up @@ -70,7 +70,7 @@ public void drawForeground(int x, int y) {

@Override
public void drawItem(int ax, int ay, int idx, Action a) {
p.drawBtn(ax, ay, 70, 13);
p.drawBtn(ax,ay+1,70,ITEM_HEIGHT-2);
p.richPrint(ax + 2, ay + 4, a.label.tokens);
}
}

0 comments on commit 0797d1b

Please sign in to comment.