FACT++  1.0
void set_color ( Widget  w,
char *  resource,
int  color 
)

Definition at line 174 of file dui_util.c.

References pixmap_colors, rgb_colors, and set_something().

178 {
179 
180 DISABLE_AST
181 /*
182  if(resource == XmNbackgroundPixmap)
183 */
184  if(!strcmp(resource,XmNbackgroundPixmap))
185  set_something(w,resource,pixmap_colors[color]);
186  else
187  set_something(w,resource,rgb_colors[color]);
188 ENABLE_AST
189 }
static Pixmap pixmap_colors[MAX_COLORS]
Definition: dui_util.c:162
Pixel rgb_colors[MAX_COLORS]
Definition: dui_util.c:161
function color(col)
Definition: color.js:31
void set_something(Widget w, char *resource, char *value)
Definition: dui_util.c:62

+ Here is the call graph for this function: