Overview Members Chapter Previous Next

## CDXScreen::MakeColor

DWORD MakeColor( | DWORD Color , CDXSurface* Surface = NULL ) ;

-------------------------------------------------------------------------------- Converts the Color into a Color suitable for the selected color format Color=8-Bit red,gree,blue as the RGB macro. When Surface = NULL, the function takes the screen backsurface as conversion source else, the selected surface in 8-Bit color modes, the color is not converted --------------------------------------------------------------------------------.