summaryrefslogtreecommitdiffstats
path: root/win/tkWinDefault.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 /win/tkWinDefault.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 'win/tkWinDefault.h')
-rw-r--r--win/tkWinDefault.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/win/tkWinDefault.h b/win/tkWinDefault.h
index 028c204..be41bb6 100644
--- a/win/tkWinDefault.h
+++ b/win/tkWinDefault.h
@@ -515,9 +515,19 @@
* Defaults for canvas text:
*/
+#define DEF_CANVTEXT_FILL NORMAL_FG
#define DEF_CANVTEXT_FONT "TkDefaultFont"
/*
+ * Defaults for canvas items
+ * (arcs, bitmaps, lines, polygons, rectangles, and ovals):
+ */
+
+#define DEF_CANVBMAP_FG NORMAL_FG
+#define DEF_CANVITEM_OUTLINE NORMAL_FG
+#define DEF_CANVLINE_FILL DEF_CANVITEM_OUTLINE
+
+/*
* Defaults for toplevels (most of the defaults for frames also apply
* to toplevels):
*/