summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixDefault.h
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2019-09-24 10:12:40 (GMT)
committerKevin Walzer <kw@codebykevin.com>2019-09-24 10:12:40 (GMT)
commit81701297afca6e206e8f0cd3f61234d4a5d5cbd4 (patch)
treef73a0e5aab903e8d6e13074c373c6df977821651 /unix/tkUnixDefault.h
parentaeb98f3a5488e637486a6b376b172de8a658d4b9 (diff)
downloadtk-81701297afca6e206e8f0cd3f61234d4a5d5cbd4.zip
tk-81701297afca6e206e8f0cd3f61234d4a5d5cbd4.tar.gz
tk-81701297afca6e206e8f0cd3f61234d4a5d5cbd4.tar.bz2
Branch to test Christopher Chavez patch in ticket [2beda17141] to remove some hard-coded values from canvas, allow canvas to vary apperance in Dark Mode on macOS and also on Windows
Diffstat (limited to 'unix/tkUnixDefault.h')
-rw-r--r--unix/tkUnixDefault.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/unix/tkUnixDefault.h b/unix/tkUnixDefault.h
index 6ca0b6f..f2c119b 100644
--- a/unix/tkUnixDefault.h
+++ b/unix/tkUnixDefault.h
@@ -511,9 +511,19 @@
* Defaults for canvas text:
*/
+#define DEF_CANVTEXT_FILL BLACK
#define DEF_CANVTEXT_FONT "TkDefaultFont"
/*
+ * Defaults for canvas items
+ * (arcs, bitmaps, lines, polygons, rectangles, and ovals):
+ */
+
+#define DEF_CANVBMAP_FG BLACK
+#define DEF_CANVITEM_OUTLINE BLACK
+#define DEF_CANVLINE_FILL DEF_CANVITEM_OUTLINE
+
+/*
* Defaults for toplevels (most of the defaults for frames also apply
* to toplevels):
*/