Functions | |
void | GrSetWindowCursor (GR_WINDOW_ID wid, GR_CURSOR_ID cid) |
Specify a cursor for a window. | |
GR_CURSOR_ID | GrNewCursor (GR_SIZE width, GR_SIZE height, GR_COORD hotx, GR_COORD hoty, GR_COLOR foreground, GR_COLOR background, GR_BITMAP *fgbitmap, GR_BITMAP *bgbitmap) |
Creates a server-based cursor (mouse graphic) resource. | |
void | GrMoveCursor (GR_COORD x, GR_COORD y) |
Moves the cursor (mouse pointer) to the specified coordinates. | |
void | GrDestroyCursor (GR_CURSOR_ID cid) |
Destroys the specified server-based cursor and reclaims the memory used by it. |
|
Destroys the specified server-based cursor and reclaims the memory used by it.
|
|
Moves the cursor (mouse pointer) to the specified coordinates. The coordinates are relative to the root window, where (0,0) is the upper left hand corner of the screen. The reference point used for the pointer is that of the "hot spot". After moving the pointer, the graphic used for the pointer will change to the graphic defined for use in the window which it is over.
|
|
Creates a server-based cursor (mouse graphic) resource.
|
|
Specify a cursor for a window. This cursor will only be used within that window, and by default for its new children. If the cursor is currently within this window, it will be changed to the new one immediately. If the new cursor ID is 0, revert to the root window cursor.
|