diff options
author | Kevin Walzer <kw@codebykevin.com> | 2019-09-24 10:12:40 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2019-09-24 10:12:40 (GMT) |
commit | 81701297afca6e206e8f0cd3f61234d4a5d5cbd4 (patch) | |
tree | f73a0e5aab903e8d6e13074c373c6df977821651 /generic/tkCanvArc.c | |
parent | aeb98f3a5488e637486a6b376b172de8a658d4b9 (diff) | |
download | tk-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 'generic/tkCanvArc.c')
-rw-r--r-- | generic/tkCanvArc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generic/tkCanvArc.c b/generic/tkCanvArc.c index d9f0461..c93b95a 100644 --- a/generic/tkCanvArc.c +++ b/generic/tkCanvArc.c @@ -12,6 +12,7 @@ #include "tkInt.h" #include "tkCanvas.h" +#include "default.h" /* * The structure below defines the record for each arc item. @@ -144,7 +145,7 @@ static const Tk_ConfigSpec configSpecs[] = { "0,0", Tk_Offset(ArcItem, tsoffset), TK_CONFIG_DONT_SET_DEFAULT, &offsetOption}, {TK_CONFIG_COLOR, "-outline", NULL, NULL, - "black", Tk_Offset(ArcItem, outline.color), TK_CONFIG_NULL_OK, NULL}, + DEF_CANVITEM_OUTLINE, Tk_Offset(ArcItem, outline.color), TK_CONFIG_NULL_OK, NULL}, {TK_CONFIG_CUSTOM, "-outlineoffset", NULL, NULL, "0,0", Tk_Offset(ArcItem, outline.tsoffset), TK_CONFIG_DONT_SET_DEFAULT, &offsetOption}, |