getcolor(3G)getcolor(3G)NAMEgetcolor - returns the current color
C SPECIFICATION
long getcolor()PARAMETERS
none
FUNCTION RETURN VALUE
Returns an index into the color map.
DESCRIPTIONgetcolor returns the current color for the current drawing mode. In
NORMALDRAW, it is an index into the color map, and is meaningful in both
single and double buffer modes. getcolor is ignored in RGB mode. In
OVERDRAW mode, getcolor returns the color that is drawn into the overlay
bitplanes, etc.
SEE ALSO
color, doublebuffer, drawmode, getmcolor, singlebuffer
NOTE
This routine is available only in immediate mode.
Page 1