diff options
author | fvogel <fvogelnew1@free.fr> | 2020-07-14 20:58:45 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2020-07-14 20:58:45 (GMT) |
commit | 21e0598412d86c57af86d200b727a942a31a7dcf (patch) | |
tree | 1d81e955f746346d1c935531cc9e42ae0b7afd00 /unix/tkUnixDefault.h | |
parent | d33ec160fcb423ae472eab7f3aeda20006e28d6b (diff) | |
download | tk-21e0598412d86c57af86d200b727a942a31a7dcf.zip tk-21e0598412d86c57af86d200b727a942a31a7dcf.tar.gz tk-21e0598412d86c57af86d200b727a942a31a7dcf.tar.bz2 |
Use a symbolic name for the default color for the placeholder text on X11.
Diffstat (limited to 'unix/tkUnixDefault.h')
-rw-r--r-- | unix/tkUnixDefault.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tkUnixDefault.h b/unix/tkUnixDefault.h index fa1f120..b59f7ae 100644 --- a/unix/tkUnixDefault.h +++ b/unix/tkUnixDefault.h @@ -22,6 +22,7 @@ * TROUGH - Background color for troughs in scales and scrollbars. * INDICATOR - Color for indicator when button is selected. * DISABLED - Foreground color when widget is disabled. + * PLACEHOLDER_FG - Foreground color for placeholder text. */ #define BLACK "#000000" @@ -33,6 +34,7 @@ #define TROUGH "#b3b3b3" #define INDICATOR WHITE #define DISABLED "#a3a3a3" +#define PLACEHOLDER_FG "#b3b3b3" /* grey70 */ /* * Defaults for labels, buttons, checkbuttons, and radiobuttons: @@ -153,7 +155,7 @@ #define DEF_ENTRY_INSERT_WIDTH "2" #define DEF_ENTRY_JUSTIFY "left" #define DEF_ENTRY_PLACEHOLDER "" -#define DEF_ENTRY_PLACEHOLDERFG "#b3b3b3" +#define DEF_ENTRY_PLACEHOLDERFG PLACEHOLDER_FG #define DEF_ENTRY_READONLY_BG_COLOR NORMAL_BG #define DEF_ENTRY_READONLY_BG_MONO WHITE #define DEF_ENTRY_RELIEF "sunken" |