Supported Browsers Home   
MS_setCursor Previous   
MS_setCursorColorExt Next   
External Functions Up   

MS_setCursorColor

Sets the current mouse cursor color.

Declaration

void MGLAPI MS_setCursorColor(
    color_t color)

Prototype In

mgraph.h

Parameters

color

New mouse cursor color, in current display mode format.

 

Description

Sets the color for the mouse cursor to the specified color, which is passed in as a packed MGL color 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, 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