]> icculus.org git repositories - mikachu/openbox.git/blob - render/color.h
can fit on one line
[mikachu/openbox.git] / render / color.h
1 #ifndef __color_h
2 #define __color_h
3
4 #include <X11/Xlib.h>
5
6 typedef struct color_rgb {
7     int r;
8     int g;
9     int b;
10     unsigned long pixel;
11     GC gc;
12 } color_rgb;
13
14 void color_allocate_gc(color_rgb *in);
15 color_rgb *color_parse(char *colorname);
16 color_rgb *color_new(int r, int g, int b);
17 void color_free(color_rgb *in);
18
19 #endif /* __color_h */