|
3 | 3 | type |
4 | 4 | PSDL_Cursor = Pointer; |
5 | 5 |
|
6 | | -const |
7 | | - |
8 | | - {** |
9 | | - * Cursor types for SDL_CreateSystemCursor. |
10 | | - *} |
11 | | - |
12 | | - SDL_SYSTEM_CURSOR_ARROW = 0; // Arrow |
13 | | - SDL_SYSTEM_CURSOR_IBEAM = 1; // I-beam |
14 | | - SDL_SYSTEM_CURSOR_WAIT = 2; // Wait |
15 | | - SDL_SYSTEM_CURSOR_CROSSHAIR = 3; // Crosshair |
16 | | - SDL_SYSTEM_CURSOR_WAITARROW = 4; // Small wait cursor (or Wait if not available) |
17 | | - SDL_SYSTEM_CURSOR_SIZENWSE = 5; // Double arrow pointing northwest and southeast |
18 | | - SDL_SYSTEM_CURSOR_SIZENESW = 6; // Double arrow pointing northeast and southwest |
19 | | - SDL_SYSTEM_CURSOR_SIZEWE = 7; // Double arrow pointing west and east |
20 | | - SDL_SYSTEM_CURSOR_SIZENS = 8; // Double arrow pointing north and south |
21 | | - SDL_SYSTEM_CURSOR_SIZEALL = 9; // Four pointed arrow pointing north, south, east, and west |
22 | | - SDL_SYSTEM_CURSOR_NO = 10; // Slashed circle or crossbones |
23 | | - SDL_SYSTEM_CURSOR_HAND = 11; // Hand |
24 | | - SDL_NUM_SYSTEM_CURSORS = 12; |
25 | | - |
| 6 | +{** |
| 7 | +* Cursor types for SDL_CreateSystemCursor. |
| 8 | +*} |
26 | 9 | type |
27 | 10 | PSDL_SystemCursor = ^TSDL_SystemCursor; |
28 | | - TSDL_SystemCursor = Word; |
| 11 | + TSDL_SystemCursor = type Word; |
| 12 | +const |
| 13 | + SDL_SYSTEM_CURSOR_ARROW = TSDL_SystemCursor(0); // Arrow |
| 14 | + SDL_SYSTEM_CURSOR_IBEAM = TSDL_SystemCursor(1); // I-beam |
| 15 | + SDL_SYSTEM_CURSOR_WAIT = TSDL_SystemCursor(2); // Wait |
| 16 | + SDL_SYSTEM_CURSOR_CROSSHAIR = TSDL_SystemCursor(3); // Crosshair |
| 17 | + SDL_SYSTEM_CURSOR_WAITARROW = TSDL_SystemCursor(4); // Small wait cursor (or Wait if not available) |
| 18 | + SDL_SYSTEM_CURSOR_SIZENWSE = TSDL_SystemCursor(5); // Double arrow pointing northwest and southeast |
| 19 | + SDL_SYSTEM_CURSOR_SIZENESW = TSDL_SystemCursor(6); // Double arrow pointing northeast and southwest |
| 20 | + SDL_SYSTEM_CURSOR_SIZEWE = TSDL_SystemCursor(7); // Double arrow pointing west and east |
| 21 | + SDL_SYSTEM_CURSOR_SIZENS = TSDL_SystemCursor(8); // Double arrow pointing north and south |
| 22 | + SDL_SYSTEM_CURSOR_SIZEALL = TSDL_SystemCursor(9); // Four pointed arrow pointing north, south, east, and west |
| 23 | + SDL_SYSTEM_CURSOR_NO = TSDL_SystemCursor(10); // Slashed circle or crossbones |
| 24 | + SDL_SYSTEM_CURSOR_HAND = TSDL_SystemCursor(11); // Hand |
| 25 | + SDL_NUM_SYSTEM_CURSORS = TSDL_SystemCursor(12); |
| 26 | + |
29 | 27 |
|
30 | 28 | {* Function prototypes *} |
31 | 29 |
|
|
0 commit comments