Supported Browsers Home   
SetColorCursor Previous   
SetColorCursorRGB Next   
GA_cursorFuncs Up   

SetColorCursor256

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

Declaration

void NAPI GA_cursorFuncs::SetColorCursor256(
    GA_colorCursor256 *cursor)

Prototype In

snap/graphics.h

Parameters

cursor

Pointer to an GA_colorCursor256 structure for the cursor image

 

Description

This function downloads the specified 256-color cursor definition from the application into the hardware cursor. The cursor data is passed by the application in the GA_colorCursor256 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