Change gitignore, add padding between DialogueMenu and bottom of screen
parent
7b7821faed
commit
53145345a9
|
@ -1,4 +1,4 @@
|
|||
/out/
|
||||
/.ideal/
|
||||
final.iml
|
||||
/local
|
||||
/local/*
|
|
@ -23,9 +23,9 @@ public class DialogueMenu extends TextBox implements Serializable {
|
|||
// TODO: make drawn line widths consistent
|
||||
g.drawImage(PORTRAIT.image, newX - PORTRAIT_WIDTH - PADDING, newY, PORTRAIT_WIDTH, yHeight, null);
|
||||
((Graphics2D)g).setStroke(new BasicStroke(4f));
|
||||
g.drawRect(newX, newY, xWidth, yHeight);
|
||||
g.drawRect(newX, newY, xWidth, yHeight - 4);
|
||||
g.setColor(backgroundColor);
|
||||
g.fillRect(newX, newY, xWidth, yHeight);
|
||||
g.fillRect(newX, newY, xWidth, yHeight - 4);
|
||||
}
|
||||
g.setColor(textColor);
|
||||
drawCenteredString(g, newY, newX, text);
|
||||
|
|
Loading…
Reference in New Issue