Supported Browsers Home   
SetColorCursor256 Previous   
SetColorCursorRGBA Next   
GA_cursorFuncs Up   

SetColorCursorRGB

Sets a new 64x64 24-bit color RGB TrueColor hardware cursor image.

Declaration

void NAPI GA_cursorFuncs::SetColorCursorRGB(
    GA_colorCursorRGB *cursor)

Prototype In

snap/graphics.h

Parameters

cursor

Pointer to an GA_colorCursorRGB structure for the cursor image

 

Description

This function downloads the specified 24-bit RGB TrueColor cursor definition from the application into the hardware cursor. The cursor data is passed by the application in the GA_colorCursorRGB 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