ICursor allows to use images as cursors and some extra functionality:
- stores up to 20 cursors
- clip region
- 5 hot spots
- change cursor on the fly
- alpha per surface and colorkey
- alpha per pixel
You can get the mouse position using CRM32Pro.mouse_x and CRM32Pro.mouse_y.
We advice you to use EditorDPF to modify/add/delete image cursor and its features.
CRM32Pro.Init() builds this interface and CRM32Pro.Quit() removes it.
Classes | |
| class | CRM32Pro_ICursor |
| ICursor. More... | |
Defines | |
| #define | CTYPE_CENTER 4 |
| Use with Create() in 'type' parameter: start blit coordinate is (x cursor size/2, and cursor size/2). | |
| #define | CTYPE_NORMAL 0 |
| Use with Create() in 'type' parameter: start blit coordinate is (0,0). | |
| #define | CTYPE_REVERSEX 1 |
| Use with Create() in 'type' parameter: start blit coordinate is (x cursor size,0). | |
| #define | CTYPE_REVERSEXY 3 |
| Use with Create() in 'type' parameter: start blit coordinate is (x cursor size,y cursor size). | |
| #define | CTYPE_REVERSEY 2 |
| Use with Create() in 'type' parameter: start blit coordinate is (0,y cursor size). | |
1.7.1