diff options
-rw-r--r-- | src/ui/color.h | 10 |
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 | ||
63 | iLocalDef isLink_ColorId(enum iColorId d) { | 63 | iLocalDef iBool isLink_ColorId(enum iColorId d) { |
64 | return d >= tmBadLink_ColorId; | 64 | return d >= tmBadLink_ColorId; |
65 | } | 65 | } |
66 | iLocalDef isBackground_ColorId(enum iColorId d) { | 66 | iLocalDef iBool isBackground_ColorId(enum iColorId d) { |
67 | return d == tmBackground_ColorId || d == tmBannerBackground_ColorId; | 67 | return d == tmBackground_ColorId || d == tmBannerBackground_ColorId; |
68 | } | 68 | } |
69 | iLocalDef isText_ColorId(enum iColorId d) { | 69 | iLocalDef iBool isText_ColorId(enum iColorId d) { |
70 | return d >= tmFirst_ColorId && !isBackground_ColorId(d); | 70 | return d >= tmFirst_ColorId && !isBackground_ColorId(d); |
71 | } | 71 | } |
72 | iLocalDef isLinkText_ColorId(enum iColorId d) { | 72 | iLocalDef 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 | } |
76 | iLocalDef isRegularText_ColorId(enum iColorId d) { | 76 | iLocalDef 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 | ||