Changes one or more of the colors in a multicolored cursor.
Enhanced X-Windows Library (libXext.a)
Status XRecolorMultiColorCursor (DisplayPtr, CursorResourceID, Number, Colors) Display *DisplayPtr; Cursor CursorResourceID; INT32 Number; XColor *Colors;
The XRecolorMultiColorCursor extension function changes one or more of the colors in a multicolored cursor. The Number parameter indicates the number of colors to be changed. The array of XColor structures specifies which colors are to be changed and what their new values are.
The XColor structure is defined as follows:
typedef struct { unsigned long pixel; /* pixel value */ unsigned short red, green, blue; /* rgb values */ char flags; /* DoRed,DoGreen,DoBlue */ char pad;} XColor;
The pixel value in each array element corresponds to the pixel value in the cursor. This pixel value will be colored with the color specified by the red, green, and blue (RGB) values in the same array element. Typically, a pixel value of 0x00 in a cursor is considered transparent.
True | Indicates that the XRecolorMultiColorCursor extension function is successful. |
False | Indicates that the XRecolorMultiColorCursor extension function is not successful. |
Using Extensions in AIXwindows in AIX Version 4.3 AIXwindows Programming Guide.
The XCreateMultiColorCursor extension function.
The XDefineCursor function.
AIXwindows Overview for Programmers in AIX Version 4.3 AIXwindows Programming Guide.