summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXColor.h
diff options
context:
space:
mode:
authorculler <culler>2020-08-12 13:20:55 (GMT)
committerculler <culler>2020-08-12 13:20:55 (GMT)
commitb80a12fe1ac29d3ba04737c7cd7b698db23d38f0 (patch)
treeded552c42b6ed001a9dd8e813a06288eccefd200 /macosx/tkMacOSXColor.h
parent589d0dde98f21d4046bf3fa2fb4112c90863b8ad (diff)
downloadtk-b80a12fe1ac29d3ba04737c7cd7b698db23d38f0.zip
tk-b80a12fe1ac29d3ba04737c7cd7b698db23d38f0.tar.gz
tk-b80a12fe1ac29d3ba04737c7cd7b698db23d38f0.tar.bz2
Aqua - automatically support all NSColors in the System ColorList.
Diffstat (limited to 'macosx/tkMacOSXColor.h')
-rw-r--r--macosx/tkMacOSXColor.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/macosx/tkMacOSXColor.h b/macosx/tkMacOSXColor.h
index 535d15d..da62955 100644
--- a/macosx/tkMacOSXColor.h
+++ b/macosx/tkMacOSXColor.h
@@ -241,27 +241,16 @@ static SystemColorDatum systemColorData[] = {
{"WindowBackgroundColor7", ttkBackground, 7, NULL, 0, NULL },
/* Apple's SecondaryLabelColor is the same as their LabelColor so we roll our own. */
{"SecondaryLabelColor", ttkBackground, 14, NULL, 0, NULL },
-
-{"TextColor", semantic, 0, "textColor", 0, NULL },
-{"SelectedTextColor", semantic, 0, "selectedTextColor", 0, NULL },
-{"LabelColor", semantic, 0, "textColor", 0, NULL },
-{"LabelColor", semantic, 0, "labelColor", 0, NULL },
-{"ControlTextColor", semantic, 0, "controlTextColor", 0, NULL },
-{"DisabledControlTextColor", semantic, 0, "disabledControlTextColor", 0, NULL },
+/* Color to use for notebook tab labels. */
#if MAC_OS_X_VERSION_MAX_ALLOWED > 1060
{"SelectedTabTextColor", semantic, 0, "whiteColor", 0, NULL },
#else
{"SelectedTabTextColor", semantic, 0, "blackColor", 0, NULL },
#endif
-{"TextBackgroundColor", semantic, 0, "textBackgroundColor", 0, NULL },
-{"SelectedTextBackgroundColor", semantic, 0, "selectedTextBackgroundColor", 0, NULL },
-{"ControlAccentColor", semantic, 0, "controlAccentColor", 0, NULL },
+/* Semantic colors that we simulate on older systems which don't supoort them. */
{"LinkColor", semantic, 0, "blueColor", 0, NULL },
-{"LinkColor", semantic, 0, "linkColor", 0, NULL },
{"PlaceholderTextColor", semantic, 0, "grayColor", 0, NULL },
-{"PlaceholderTextColor", semantic, 0, "placeholderTextColor", 0, NULL },
{"SeparatorColor", semantic, 0, "grayColor", 0, NULL },
-{"SeparatorColor", semantic, 0, "separatorColor", 0, NULL },
{NULL, 0, 0, NULL, 0, NULL }
};