aboutsummaryrefslogtreecommitdiff
path: root/pgm.h
diff options
context:
space:
mode:
Diffstat (limited to 'pgm.h')
-rw-r--r--pgm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pgm.h b/pgm.h
index 5a6621d..91c756b 100644
--- a/pgm.h
+++ b/pgm.h
@@ -9,6 +9,8 @@ typedef struct {
COORD_T r, g, b;
} color_t;
+void color_clamp(color_t *c);
+
color_t *color_set(color_t *c, COORD_T r, COORD_T g, COORD_T b);
color_t *color_scale(color_t *dest, color_t *a, COORD_T b);
color_t *color_add(color_t *dest, color_t *a, color_t *b);