| Home
| Previous
| Next
| Up

SetColorCursorRGBA

Sets a new 64x64 32-bit color RGBA alpha blended hardware cursor image.

Declaration

void NAPI GA_cursorFuncs::SetColorCursorRGBA(
GA_colorCursorRGBA *cursor)

Prototype In

snap/graphics.h

Parameters

cursor | Pointer to an GA_colorCursorRGBA structure for the cursor image

Description

This function downloads the specified 32-bit RGBA alpha blended cursor definition from the application into the hardware cursor. The cursor data is passed by the application in the GA_colorCursorRGBA 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