http://www.w3.org/TR/html4/loose.dtd">
|
StdGUI Color Functions - functions to convert portable color specifications (color name or RGB specification) into host specific color values. |
|
int map_rgb_color(char p_red, char p_green, char p_blue, COLOR *p_color); int map_named_color(char *p_name, COLOR *p_color); |
|
The map_rgb_color() function takes three component color values ( p_red,p_green and p_blue) and returns a host specific color value in p_color. The map_named_color() function takes a color name string in p_name and returns a host specific color value in p_color. |
|
Both routines return zero (0) on success, non-zero on failure. |
|
Jeffrey Dutky |