aboutsummaryrefslogtreecommitdiff
path: root/source/nds/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/nds/gui.h')
-rw-r--r--source/nds/gui.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/nds/gui.h b/source/nds/gui.h
index 49bfc5f..67d67dc 100644
--- a/source/nds/gui.h
+++ b/source/nds/gui.h
@@ -31,6 +31,12 @@
#define OPTION_TEXT_X 10
#define OPTION_TEXT_SX 236
+// For message boxes
+#define MESSAGE_BOX_TEXT_X ((NDS_SCREEN_WIDTH - ICON_MSG.x) / 2 + 3)
+#define MESSAGE_BOX_TEXT_SX (ICON_MSG.x - 6)
+// Y is brought down by the "window title" that's part of ICON_MSG
+#define MESSAGE_BOX_TEXT_Y ((NDS_SCREEN_HEIGHT - ICON_MSG.y) / 2 + 24)
+
// For cheats [ NUM. DESC . . . . . +/- ]
#define CHEAT_NUMBER_X 10
#define CHEAT_DESC_X 34