GA_colorCursorRGBA

Declaration

typedef struct {
N_uint8 ColorData[16384];
N_uint32 HotX;
N_uint32 HotY;
} GA_colorCursorRGBA

Prototype In

snap/graphics.h

Description

Hardware 24-bit RGBA alpha blended cursor structure. This structure defines a color hardware cursor that is downloaded to the hardware. The cursor is defined as a 64x64 24-bit RGBA image with alpha channel. The alpha channel data is used to define the transparency level for the bitmap, with 0 being fully transparent and 255 being full opaque. Since the color bitmap data is alpha blended, the is no AND mask for the cursor image.

The HotX and HotY members define the hot spot for the cursor, which is the location where the logical mouse pointer is located in the cursor image. When you click the mouse, the pixel under the hot-spot is the pixel selected.

Members

ColorData | Cursor color data as a 64x64 array of packed 24-bit RGBA pixels
HotX | Cursor X coordinate hot spot
HotY | Cursor Y coordinate hot spot

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