Change gitignore, add padding between DialogueMenu and bottom of screen

master
John 2022-06-16 10:10:37 -04:00
parent 7b7821faed
commit 53145345a9
2 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
/out/
/.ideal/
final.iml
/local
/local/*

View File

@ -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);