Supported Browsers Home   
MS_setCursorColor Previous   
MS_show Next   
External Functions Up   

MS_setCursorColorExt

Sets the current mouse cursor color.

Declaration

void MGLAPI MS_setCursorColorExt(
    color_t foreColor,
    color_t backColor)

Prototype In

mgraph.h

Parameters

foreColor

Mouse foreground cursor color, in current display mode format.

backColor

Mouse background cursor color, in current display mode format.

 

Description

Sets the colors for the mouse cursor to the specified color, which are passed in as a packed MGL colors in the proper format for the current display mode (either a color index or a packed RGB color value). By default the mouse cursor is set to white on black, which is a color index of 15 by default in MGL. If you re-program the color palette in 4 or 8 bit modes, you will need to reset the mouse cursor value to the value that represents white.

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