diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-28 13:34:49 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-09-28 13:34:49 +0300 |
commit | 879d6247ea6d83cad9b68a0eb4d8929c981c2ac3 (patch) | |
tree | 5c116d0468fad676aa69ee5f26cadbc1cf02ff6c /src/ui/color.h | |
parent | ee21b47945a745c67f4e8525cb7264262d1cf6fa (diff) |
GmDocument: Tweaks in the dark color theme
Diffstat (limited to 'src/ui/color.h')
-rw-r--r-- | src/ui/color.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/color.h b/src/ui/color.h index 0f534272..d1c52685 100644 --- a/src/ui/color.h +++ b/src/ui/color.h | |||
@@ -214,7 +214,11 @@ int darker_Color (int color); | |||
214 | int lighter_Color (int color); | 214 | int lighter_Color (int color); |
215 | void set_Color (int color, iColor rgba); | 215 | void set_Color (int color, iColor rgba); |
216 | iColor mix_Color (iColor c1, iColor c2, float t); | 216 | iColor mix_Color (iColor c1, iColor c2, float t); |
217 | int delta_Color (iColor c1, iColor c2); | ||
217 | 218 | ||
219 | iLocalDef iHSLColor get_HSLColor(int color) { | ||
220 | return hsl_Color(get_Color(color)); | ||
221 | } | ||
218 | iLocalDef void setHsl_Color(int color, iHSLColor hsl) { | 222 | iLocalDef void setHsl_Color(int color, iHSLColor hsl) { |
219 | set_Color(color, rgb_HSLColor(hsl)); | 223 | set_Color(color, rgb_HSLColor(hsl)); |
220 | } | 224 | } |