Supported Browsers Home   
IsHardwareCursor Previous   
SetColorCursor256 Next   
GA_cursorFuncs Up   

SetColorCursor

Sets a new 64x64 16-color hardware cursor image.

Declaration

void NAPI GA_cursorFuncs::SetColorCursor(
    GA_colorCursor *cursor)

Prototype In

snap/graphics.h

Parameters

cursor

Pointer to an GA_colorCursor structure for the cursor image

 

Description

This function downloads the specified 16-color cursor definition from the application into the hardware cursor. The cursor data is passed by the application in the GA_colorCursor format; please see the documentation for this structure for the format of the data passed to this function.

Note:    To pad the cursor definition to 64x64 for cursors that are smaller than 64x64 in size, simply fill in the remainder of the XORMask and ANDMask with zeroes.

See Also

SetMonoCursor, SetMonoCursorColor, SetColorCursor, SetCursorPos, ShowCursor, BeginAccess, EndAccess, SetColorCursor256, SetColorCursorRGBA, IsHardwareCursor, SetColorCursorRGB

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