diff options
Diffstat (limited to 'src/ui/color.h')
-rw-r--r-- | src/ui/color.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/color.h b/src/ui/color.h index 51d3370f..0f534272 100644 --- a/src/ui/color.h +++ b/src/ui/color.h | |||
@@ -117,6 +117,7 @@ enum iColorId { | |||
117 | tmBannerBackground_ColorId, | 117 | tmBannerBackground_ColorId, |
118 | tmBannerTitle_ColorId, | 118 | tmBannerTitle_ColorId, |
119 | tmBannerIcon_ColorId, | 119 | tmBannerIcon_ColorId, |
120 | tmBannerSideTitle_ColorId, | ||
120 | tmInlineContentMetadata_ColorId, | 121 | tmInlineContentMetadata_ColorId, |
121 | tmBadLink_ColorId, | 122 | tmBadLink_ColorId, |
122 | 123 | ||
@@ -193,6 +194,10 @@ struct Impl_Color { | |||
193 | uint8_t r, g, b, a; | 194 | uint8_t r, g, b, a; |
194 | }; | 195 | }; |
195 | 196 | ||
197 | iLocalDef iBool equal_Color(const iColor a, const iColor b) { | ||
198 | return memcmp(&a, &b, sizeof(a)) == 0; | ||
199 | } | ||
200 | |||
196 | struct Impl_HSLColor { | 201 | struct Impl_HSLColor { |
197 | float hue, sat, lum, a; | 202 | float hue, sat, lum, a; |
198 | }; | 203 | }; |