From f8a47de5ec444c452093371e3db16857eb39a490 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 16 Mar 2003 21:11:39 +0000 Subject: merge the C branch into HEAD --- render/color.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 render/color.h (limited to 'render/color.h') diff --git a/render/color.h b/render/color.h new file mode 100644 index 00000000..1e0cc57a --- /dev/null +++ b/render/color.h @@ -0,0 +1,19 @@ +#ifndef __color_h +#define __color_h + +#include + +typedef struct color_rgb { + int r; + int g; + int b; + unsigned long pixel; + GC gc; +} color_rgb; + +void color_allocate_gc(color_rgb *in); +color_rgb *color_parse(char *colorname); +color_rgb *color_new(int r, int g, int b); +void color_free(color_rgb *in); + +#endif /* __color_h */ -- cgit v1.2.3