summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-24 15:18:48 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-24 15:18:48 (GMT)
commit761a48b10bad97319cf219ecdb64247df25fe8a8 (patch)
tree59de4db593b2d6b63b33aebcdada380a0424aac5 /unix
parent7ff3d04b99965ac05c2b5356daf3a8ca08f1acbe (diff)
parent196c6c9af3eb4b96a9b0b94f7e41963167b534b8 (diff)
downloadtk-761a48b10bad97319cf219ecdb64247df25fe8a8.zip
tk-761a48b10bad97319cf219ecdb64247df25fe8a8.tar.gz
tk-761a48b10bad97319cf219ecdb64247df25fe8a8.tar.bz2
Merge trunk
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixDefault.h4
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"