From 8ba3e62614e61e47ca7f8d79cd8c93d547206f74 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 27 Jan 2022 18:24:50 -0500 Subject: tk: Fill text background (if editable) And use the same macros for all background fill colors. --- (limited to 'src/tk/style.h') 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 -- cgit v0.9.1