summaryrefslogtreecommitdiffstats
path: root/src/defs.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-08-02 20:50:54 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-02 21:11:39 (EDT)
commit6f4631c8f82a2a631730767cad70c0b6ae02e0ad (patch)
tree7e1935f684c6dc84e8e626797e2f7fd4c9b3564f /src/defs.h
parent947c9712a31c8031d1045e34b222384613cfa9b4 (diff)
downloadmazefight-6f4631c8f82a2a631730767cad70c0b6ae02e0ad.zip
mazefight-6f4631c8f82a2a631730767cad70c0b6ae02e0ad.tar.gz
mazefight-6f4631c8f82a2a631730767cad70c0b6ae02e0ad.tar.bz2
splash: New (WIP) screen
Diffstat (limited to 'src/defs.h')
-rw-r--r--src/defs.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/defs.h b/src/defs.h
index 7fa89b4..0b7a47a 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -20,7 +20,40 @@
#ifndef MF_DEFS_H_
#define MF_DEFS_H_
+/* Window dimensions */
#define MF_WINDOW_W 640 /* Window width */
#define MF_WINDOW_H 480 /* Window height */
+/* Splash menu */
+#define MF_SPLASH_MAZE_CELL_W 16 /* Background maze cell width */
+#define MF_SPLASH_WINDOW_P 24 /* Window padding */
+#define MF_SPLASH_FORM_P 24 /* Form padding */
+#define MF_SPLASH_TITLE_M 24 /* Margin under title */
+#define MF_SPLASH_ROW_M 16 /* Margin between rows */
+#define MF_SPLASH_COL_M 16 /* Margin between labels and entries */
+#define MF_SPLASH_LBL_M 8 /* Margin between radio buttons and labels */
+#define MF_SPLASH_BOX_W 16 /* Radio button and check box width */
+#define MF_SPLASH_BOX_P 2 /* Radio button and check box padding */
+#define MF_SPLASH_BTN_P 8 /* Button padding */
+#define MF_SPLASH_TITLE_FONT_S 48 /* Title font size */
+#define MF_SPLASH_TEXT_FONT_S 16 /* Regular text font size */
+
+/* Colors */
+#define MF_COLOR_BACK_R 0xAF /* Background color */
+#define MF_COLOR_BACK_G 0xAF
+#define MF_COLOR_BACK_B 0xAF
+#define MF_COLOR_BACK_A 0xFF
+#define MF_COLOR_MAZE_R 0x00 /* Maze wall color */
+#define MF_COLOR_MAZE_G 0x00
+#define MF_COLOR_MAZE_B 0x00
+#define MF_COLOR_MAZE_A 0xFF
+#define MF_COLOR_FORM_R 0xDF /* Text/button color */
+#define MF_COLOR_FORM_G 0xDF
+#define MF_COLOR_FORM_B 0xDF
+#define MF_COLOR_FORM_A 0xDF
+#define MF_COLOR_FORE_R 0x00 /* Text/button color */
+#define MF_COLOR_FORE_G 0x00
+#define MF_COLOR_FORE_B 0x00
+#define MF_COLOR_FORE_A 0xFF
+
#endif /* MF_DEFS_H_ */