summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index 8de7fc4..2cc7d3a 100644
--- a/ted.h
+++ b/ted.h
@@ -807,6 +807,10 @@ float color_contrast_ratio(const float rgb1[3], const float rgb2[3]);
///
/// the "alpha" components (i.e. lowest 8 bits) of `color1`, `color2` are ignored
float color_contrast_ratio_u32(u32 color1, u32 color2);
+void color_u32_to_floats(u32 rgba, float floats[4]);
+vec4 color_u32_to_vec4(u32 rgba);
+u32 color_vec4_to_u32(vec4 color);
+u32 color_interpolate(float x, u32 color1, u32 color2);
// === command.c ===
/// parse command