color_rgb *color_parse(char *colorname)
{
+ XColor xcol;
+
g_assert(colorname != NULL);
// get rgb values from colorname
- XColor xcol;
xcol.red = 0;
xcol.green = 0;
xcol.blue = 0;
return NULL;
}
+//XXX same color could be pointed to twice, this might have to be a refcount
+
void color_free(color_rgb *c)
{
if (c->gc != None)