Supported Browsers Home   
MGL_defaultAttributes Previous   
MGL_destroyBuffer Next   
External Functions Up   

MGL_defaultColor

Returns the value for current default color (always white but value may vary).

Declaration

color_t MGLAPI MGL_defaultColor(void)

Prototype In

mgraph.h

Return Value

Default color value for current video mode (always white).

Description

Returns the default color value for the current video mode. This color value is white if the palette has not been changed, and will always be white in direct color modes. However, the numerical value for white will vary depending on the color depth.

See Also

MGL_setColor, MGL_getColor

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com