summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ui/color.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/color.h b/src/ui/color.h
index 4f179534..8b5ef306 100644
--- a/src/ui/color.h
+++ b/src/ui/color.h
@@ -60,20 +60,20 @@ enum iColorId {
60 max_ColorId 60 max_ColorId
61}; 61};
62 62
63iLocalDef isLink_ColorId(enum iColorId d) { 63iLocalDef iBool isLink_ColorId(enum iColorId d) {
64 return d >= tmBadLink_ColorId; 64 return d >= tmBadLink_ColorId;
65} 65}
66iLocalDef isBackground_ColorId(enum iColorId d) { 66iLocalDef iBool isBackground_ColorId(enum iColorId d) {
67 return d == tmBackground_ColorId || d == tmBannerBackground_ColorId; 67 return d == tmBackground_ColorId || d == tmBannerBackground_ColorId;
68} 68}
69iLocalDef isText_ColorId(enum iColorId d) { 69iLocalDef iBool isText_ColorId(enum iColorId d) {
70 return d >= tmFirst_ColorId && !isBackground_ColorId(d); 70 return d >= tmFirst_ColorId && !isBackground_ColorId(d);
71} 71}
72iLocalDef isLinkText_ColorId(enum iColorId d) { 72iLocalDef iBool isLinkText_ColorId(enum iColorId d) {
73 return d == tmLinkText_ColorId || d == tmHypertextLinkText_ColorId || 73 return d == tmLinkText_ColorId || d == tmHypertextLinkText_ColorId ||
74 d == tmGopherLinkText_ColorId; 74 d == tmGopherLinkText_ColorId;
75} 75}
76iLocalDef isRegularText_ColorId(enum iColorId d) { 76iLocalDef iBool isRegularText_ColorId(enum iColorId d) {
77 return isLinkText_ColorId(d) || d == tmParagraph_ColorId || d == tmFirstParagraph_ColorId; 77 return isLinkText_ColorId(d) || d == tmParagraph_ColorId || d == tmFirstParagraph_ColorId;
78} 78}
79 79