summaryrefslogtreecommitdiffstats
path: root/src/defs.h
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-08-05 00:29:01 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-05 00:47:00 (EDT)
commit41829434c29da9cb1d59654bca7c02016dbd4d85 (patch)
tree236ef443f926f430825ab47470e9c95ba1a9a3ba /src/defs.h
parentab9ef1a6e10552ba24e34c6ff17759213aae9aff (diff)
downloadmazefight-41829434c29da9cb1d59654bca7c02016dbd4d85.zip
mazefight-41829434c29da9cb1d59654bca7c02016dbd4d85.tar.gz
mazefight-41829434c29da9cb1d59654bca7c02016dbd4d85.tar.bz2
tk: Add check widget
Diffstat (limited to 'src/defs.h')
-rw-r--r--src/defs.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/defs.h b/src/defs.h
index 67de967..f35c53b 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -32,8 +32,9 @@
#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_CHK_BTN_W 16 /* Radio button and check box width */
+#define MF_SPLASH_CHK_BTN_P 2 /* Radio button and check box padding */
+#define MF_SPLASH_CHK_LBL_P 8 /* Radio button and check box label pad */
#define MF_SPLASH_BTN_M 8 /* Margin between buttons */
#define MF_SPLASH_BTN_P 8 /* Button padding */
#define MF_SPLASH_TITLE_FONT_S 48 /* Title font size */
@@ -60,5 +61,13 @@
#define MF_COLOR_BUTN_G 0xAF
#define MF_COLOR_BUTN_B 0xAF
#define MF_COLOR_BUTN_A 0xFF
+#define MF_COLOR_CHKB_R 0xAF /* Radio button and check box button fill color */
+#define MF_COLOR_CHKB_G 0xAF
+#define MF_COLOR_CHKB_B 0xAF
+#define MF_COLOR_CHKB_A 0xFF
+#define MF_COLOR_CHKM_R 0x00 /* Radio button and check box mark fill color */
+#define MF_COLOR_CHKM_G 0x00
+#define MF_COLOR_CHKM_B 0x00
+#define MF_COLOR_CHKM_A 0xFF
#endif /* MF_DEFS_H_ */