return 0;
}
-int setGdkColor(GdkColor * c, char *color)
-{
- gvcolor_t cl;
- if (color != '\0') {
- colorxlate(color, &cl, RGBA_DOUBLE);
- c->red = (int) (cl.u.RGBA[0] * 65535.0);
- c->green = (int) (cl.u.RGBA[1] * 65535.0);
- c->blue = (int) (cl.u.RGBA[2] * 65535.0);
- return 1;
- } else
- return 0;
-
-}
-
void glexpose(void)
{
expose_event(view->drawing_area, NULL, NULL);
/* helper functions */
- extern int setGdkColor(GdkColor * c, char *color);
extern char *get_attribute_value(char *attr, ViewInfo * view,
Agraph_t * g);