diff options
author | P. J. McDermott <pj@pehjota.net> | 2022-01-27 18:24:50 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2022-01-27 18:33:05 (EST) |
commit | 8ba3e62614e61e47ca7f8d79cd8c93d547206f74 (patch) | |
tree | 044e1c2a2e509b1268c2028028a31b43a856227d /src/tk/style.h | |
parent | 9d331d766c9093c4c003d6b3629a9f1c69b08174 (diff) | |
download | mazefight-8ba3e62614e61e47ca7f8d79cd8c93d547206f74.zip mazefight-8ba3e62614e61e47ca7f8d79cd8c93d547206f74.tar.gz mazefight-8ba3e62614e61e47ca7f8d79cd8c93d547206f74.tar.bz2 |
tk: Fill text background (if editable)
And use the same macros for all background fill colors.
Diffstat (limited to 'src/tk/style.h')
-rw-r--r-- | src/tk/style.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/tk/style.h b/src/tk/style.h index 95bbf00..14a1ea4 100644 --- a/src/tk/style.h +++ b/src/tk/style.h @@ -28,18 +28,14 @@ #define MFTK_COLOR_FBDR_G 0x00 #define MFTK_COLOR_FBDR_B 0x00 #define MFTK_COLOR_FBDR_A 0xFF +#define MFTK_COLOR_BACK_R 0xAF /* Widget fill color */ +#define MFTK_COLOR_BACK_G 0xAF +#define MFTK_COLOR_BACK_B 0xAF +#define MFTK_COLOR_BACK_A 0xFF #define MFTK_COLOR_FORE_R 0x00 /* Text color */ #define MFTK_COLOR_FORE_G 0x00 #define MFTK_COLOR_FORE_B 0x00 #define MFTK_COLOR_FORE_A 0xFF -#define MFTK_COLOR_BUTN_R 0xAF /* Button fill color */ -#define MFTK_COLOR_BUTN_G 0xAF -#define MFTK_COLOR_BUTN_B 0xAF -#define MFTK_COLOR_BUTN_A 0xFF -#define MFTK_COLOR_CHKB_R 0xAF /* Radio button and check box button fill color */ -#define MFTK_COLOR_CHKB_G 0xAF -#define MFTK_COLOR_CHKB_B 0xAF -#define MFTK_COLOR_CHKB_A 0xFF #define MFTK_COLOR_CHKM_R 0x00 /* Radio button and check box mark fill color */ #define MFTK_COLOR_CHKM_G 0x00 #define MFTK_COLOR_CHKM_B 0x00 |