comparison src/video/default_cursor.h @ 1662:782fd950bd46 SDL-1.3

Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API. WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid. The code is now run through a consistent indent format: indent -i4 -nut -nsc -br -ce The headers are being converted to automatically generate doxygen documentation.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 28 May 2006 13:04:16 +0000
parents c9b51268668f
children
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
31 /* Added a real MacOS cursor, at the request of Luc-Olivier de Charrière */ 31 /* Added a real MacOS cursor, at the request of Luc-Olivier de Charrière */
32 #define USE_MACOS_CURSOR 32 #define USE_MACOS_CURSOR
33 33
34 #ifdef USE_MACOS_CURSOR 34 #ifdef USE_MACOS_CURSOR
35 35
36 static unsigned char default_cdata[] = 36 static unsigned char default_cdata[] = {
37 { 37 0x00, 0x00,
38 0x00,0x00, 38 0x40, 0x00,
39 0x40,0x00, 39 0x60, 0x00,
40 0x60,0x00, 40 0x70, 0x00,
41 0x70,0x00, 41 0x78, 0x00,
42 0x78,0x00, 42 0x7C, 0x00,
43 0x7C,0x00, 43 0x7E, 0x00,
44 0x7E,0x00, 44 0x7F, 0x00,
45 0x7F,0x00, 45 0x7F, 0x80,
46 0x7F,0x80, 46 0x7C, 0x00,
47 0x7C,0x00, 47 0x6C, 0x00,
48 0x6C,0x00, 48 0x46, 0x00,
49 0x46,0x00, 49 0x06, 0x00,
50 0x06,0x00, 50 0x03, 0x00,
51 0x03,0x00, 51 0x03, 0x00,
52 0x03,0x00, 52 0x00, 0x00
53 0x00,0x00
54 }; 53 };
55 static unsigned char default_cmask[] = 54 static unsigned char default_cmask[] = {
56 { 55 0xC0, 0x00,
57 0xC0,0x00, 56 0xE0, 0x00,
58 0xE0,0x00, 57 0xF0, 0x00,
59 0xF0,0x00, 58 0xF8, 0x00,
60 0xF8,0x00, 59 0xFC, 0x00,
61 0xFC,0x00, 60 0xFE, 0x00,
62 0xFE,0x00, 61 0xFF, 0x00,
63 0xFF,0x00, 62 0xFF, 0x80,
64 0xFF,0x80, 63 0xFF, 0xC0,
65 0xFF,0xC0, 64 0xFF, 0xE0,
66 0xFF,0xE0, 65 0xFE, 0x00,
67 0xFE,0x00, 66 0xEF, 0x00,
68 0xEF,0x00, 67 0xCF, 0x00,
69 0xCF,0x00, 68 0x87, 0x80,
70 0x87,0x80, 69 0x07, 0x80,
71 0x07,0x80, 70 0x03, 0x00
72 0x03,0x00
73 }; 71 };
74 72
75 #else 73 #else
76 74
77 static unsigned char default_cdata[] = 75 static unsigned char default_cdata[] = {
78 { 76 0x00, 0x00,
79 0x00,0x00, 77 0x40, 0x00,
80 0x40,0x00, 78 0x60, 0x00,
81 0x60,0x00, 79 0x70, 0x00,
82 0x70,0x00, 80 0x78, 0x00,
83 0x78,0x00, 81 0x7C, 0x00,
84 0x7C,0x00, 82 0x7E, 0x00,
85 0x7E,0x00, 83 0x7F, 0x00,
86 0x7F,0x00, 84 0x7F, 0x80,
87 0x7F,0x80, 85 0x7C, 0x00,
88 0x7C,0x00, 86 0x6C, 0x00,
89 0x6C,0x00, 87 0x46, 0x00,
90 0x46,0x00, 88 0x06, 0x00,
91 0x06,0x00, 89 0x03, 0x00,
92 0x03,0x00, 90 0x03, 0x00,
93 0x03,0x00, 91 0x00, 0x00
94 0x00,0x00
95 }; 92 };
96 static unsigned char default_cmask[] = 93 static unsigned char default_cmask[] = {
97 { 94 0x40, 0x00,
98 0x40,0x00, 95 0xE0, 0x00,
99 0xE0,0x00, 96 0xF0, 0x00,
100 0xF0,0x00, 97 0xF8, 0x00,
101 0xF8,0x00, 98 0xFC, 0x00,
102 0xFC,0x00, 99 0xFE, 0x00,
103 0xFE,0x00, 100 0xFF, 0x00,
104 0xFF,0x00, 101 0xFF, 0x80,
105 0xFF,0x80, 102 0xFF, 0xC0,
106 0xFF,0xC0, 103 0xFF, 0x80,
107 0xFF,0x80, 104 0xFE, 0x00,
108 0xFE,0x00, 105 0xEF, 0x00,
109 0xEF,0x00, 106 0x4F, 0x00,
110 0x4F,0x00, 107 0x07, 0x80,
111 0x07,0x80, 108 0x07, 0x80,
112 0x07,0x80, 109 0x03, 0x00
113 0x03,0x00
114 }; 110 };
115 111
116 #endif /* TRUE_MACINTOSH_CURSOR */ 112 #endif /* TRUE_MACINTOSH_CURSOR */
113 /* vi: set ts=4 sw=4 expandtab: */