Line data Source code
1 : /* Copyright (C) 2000-2012 by George Williams */
2 : /*
3 : * Redistribution and use in source and binary forms, with or without
4 : * modification, are permitted provided that the following conditions are met:
5 :
6 : * Redistributions of source code must retain the above copyright notice, this
7 : * list of conditions and the following disclaimer.
8 :
9 : * Redistributions in binary form must reproduce the above copyright notice,
10 : * this list of conditions and the following disclaimer in the documentation
11 : * and/or other materials provided with the distribution.
12 :
13 : * The name of the author may not be used to endorse or promote products
14 : * derived from this software without specific prior written permission.
15 :
16 : * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
17 : * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18 : * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
19 : * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20 : * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21 : * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22 : * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23 : * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24 : * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25 : * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 : */
27 : #include "fontforgeui.h"
28 :
29 : #ifndef _CursorsMustBe16x16
30 : # define _CursorsMustBe16x16 0 /* X on Mac OSX can't handle anything bigger than 16x16 cursors (I think, it seems to manage smaller ones) */
31 : #endif
32 :
33 : GCursor ct_magplus, ct_magminus, ct_mypointer, ct_circle, ct_square, ct_triangle,
34 : ct_ruler, ct_pen, ct_knife, ct_rotate, ct_skew, ct_scale, ct_flip,
35 : ct_3drotate, ct_perspective, ct_hvcircle, ct_g2circle;
36 : GCursor ct_rect, ct_elipse, ct_poly, ct_star, ct_pencil, ct_shift, ct_line,
37 : ct_myhand, ct_filledrect, ct_filledelipse, ct_setwidth, ct_eyedropper;
38 : GCursor ct_updown, ct_leftright, ct_nesw, ct_nwse;
39 : GCursor ct_rbearing, ct_kerning, ct_lbearing;
40 : GCursor ct_prohibition, ct_ddcursor, ct_features;
41 : GCursor ct_spiroleft, ct_spiroright;
42 : GWindow logo_icon;
43 :
44 : #define magplus_width 16
45 : #define magplus_height 16
46 : #define magplus_x_hot 5
47 : #define magplus_y_hot 5
48 : static unsigned char magplus_bits[] = {
49 : 0xf8, 0x00, 0x06, 0x03, 0x22, 0x02, 0x21, 0x04, 0x21, 0x04, 0xfd, 0x05,
50 : 0x21, 0x04, 0x21, 0x04, 0x22, 0x02, 0x06, 0x03, 0xf8, 0x04, 0x00, 0x08,
51 : 0x00, 0x10, 0x00, 0x20, 0x00, 0x40, 0x00, 0x80};
52 : #define magminus_width 16
53 : #define magminus_height 16
54 : #define magminus_x_hot 5
55 : #define magminus_y_hot 5
56 : static unsigned char magminus_bits[] = {
57 : 0xf8, 0x00, 0x06, 0x03, 0x02, 0x02, 0x01, 0x04, 0x01, 0x04, 0xfd, 0x05,
58 : 0x01, 0x04, 0x01, 0x04, 0x02, 0x02, 0x06, 0x03, 0xf8, 0x04, 0x00, 0x08,
59 : 0x00, 0x10, 0x00, 0x20, 0x00, 0x40, 0x00, 0x80};
60 : #if _CursorsMustBe16x16
61 : #define pointertri_width 16
62 : #define pointertri_height 16
63 : #define pointertri_x_hot 1
64 : #define pointertri_y_hot 0
65 : static unsigned char pointertri_bits[] = {
66 : 0x02, 0x00, 0x06, 0x00, 0x0e, 0x00, 0x1e, 0x00, 0x3e, 0x00, 0x7e, 0x00,
67 : 0xfe, 0x00, 0xfe, 0x01, 0x3e, 0x00, 0x36, 0x10, 0x62, 0x30, 0x60, 0x70,
68 : 0xc0, 0xf0, 0xc0, 0x70, 0x80, 0x31, 0x80, 0x11};
69 : #define pointertrimask_width 16
70 : #define pointertrimask_height 16
71 : static unsigned char pointertrimask_bits[] = {
72 : 0x02, 0x00, 0x06, 0x00, 0x1f, 0x00, 0x3f, 0x00, 0x7f, 0x00, 0xff, 0x00,
73 : 0xff, 0x01, 0xff, 0x03, 0xff, 0x03, 0x3f, 0x10, 0x67, 0x30, 0x63, 0x70,
74 : 0xc0, 0xf0, 0xc0, 0x70, 0x80, 0x31, 0x80, 0x11};
75 : #define pointersqr_width 16
76 : #define pointersqr_height 16
77 : #define pointersqr_x_hot 2
78 : #define pointersqr_y_hot 0
79 : static unsigned char pointersqr_bits[] = {
80 : 0x04, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x7c, 0x00, 0xfc, 0x00,
81 : 0xfc, 0x01, 0xfc, 0x03, 0x7c, 0x00, 0x6c, 0x00, 0xc4, 0x00, 0xc0, 0x00,
82 : 0x80, 0xf1, 0x80, 0xf1, 0x00, 0xf3, 0x00, 0xf3};
83 : #define pointersqrmask_width 16
84 : #define pointersqrmask_height 16
85 : static unsigned char pointersqrmask_bits[] = {
86 : 0x04, 0x00, 0x0c, 0x00, 0x3e, 0x00, 0x7e, 0x00, 0xfe, 0x00, 0xfe, 0x01,
87 : 0xfe, 0x03, 0xfe, 0x07, 0xfe, 0x07, 0x7e, 0x00, 0xde, 0x00, 0xc6, 0x00,
88 : 0x80, 0xf1, 0x80, 0xf1, 0x00, 0xf3, 0x00, 0xf3};
89 : #define pointercic_width 16
90 : #define pointercic_height 16
91 : #define pointercic_x_hot 2
92 : #define pointercic_y_hot 0
93 : static unsigned char pointercic_bits[] = {
94 : 0x04, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x7c, 0x00, 0xfc, 0x00,
95 : 0xfc, 0x01, 0xfc, 0x03, 0x7c, 0x00, 0x6c, 0x00, 0xc4, 0x00, 0xc0, 0x70,
96 : 0x80, 0xf9, 0x80, 0xf9, 0x00, 0xfb, 0x00, 0x73};
97 : #define pointercicmask_width 16
98 : #define pointercicmask_height 16
99 : static unsigned char pointercicmask_bits[] = {
100 : 0x04, 0x00, 0x0c, 0x00, 0x3e, 0x00, 0x7e, 0x00, 0xfe, 0x00, 0xfe, 0x01,
101 : 0xfe, 0x03, 0xfe, 0x07, 0xfe, 0x07, 0x7e, 0x00, 0xce, 0x00, 0xc6, 0x70,
102 : 0x80, 0xf9, 0x80, 0xf9, 0x00, 0xfb, 0x00, 0x73};
103 : #define pointerhvcic_width 16
104 : #define pointerhvcic_height 16
105 : #define pointerhvcic_x_hot 2
106 : #define pointerhvcic_y_hot 0
107 : static unsigned char pointerhvcic_bits[] = {
108 : 0x04, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x7c, 0x00, 0xfc, 0x00,
109 : 0xfc, 0x01, 0xfc, 0x03, 0x7c, 0x00, 0x6c, 0x00, 0xc4, 0x00, 0xc0, 0x70,
110 : 0x80, 0xf9, 0x80, 0xf9, 0x00, 0xfb, 0x00, 0x73};
111 : #define pointerhvcicmask_width 16
112 : #define pointerhvcicmask_height 16
113 : static unsigned char pointerhvcicmask_bits[] = {
114 : 0x04, 0x00, 0x0c, 0x00, 0x3e, 0x00, 0x7e, 0x00, 0xfe, 0x00, 0xfe, 0x01,
115 : 0xfe, 0x03, 0xfe, 0x07, 0xfe, 0x07, 0x7e, 0x00, 0xce, 0x00, 0xc6, 0x70,
116 : 0x80, 0xf9, 0x80, 0xf9, 0x00, 0xfb, 0x00, 0x73};
117 : #define pointerright_width 16
118 : #define pointerright_height 16
119 : #define pointerright_x_hot 2
120 : #define pointerright_y_hot 0
121 : static unsigned char pointerright_bits[] = {
122 : 0x04, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x7c, 0x00, 0xfc, 0x00,
123 : 0xfc, 0x01, 0xfc, 0x03, 0x7c, 0x00, 0x6c, 0xf0, 0xc4, 0xf0, 0xc0, 0x30,
124 : 0x80, 0x31, 0x80, 0x31, 0x00, 0xf3, 0x00, 0xf3};
125 : #define pointerrightmask_width 16
126 : #define pointerrightmask_height 16
127 : static unsigned char pointerrightmask_bits[] = {
128 : 0x04, 0x00, 0x0c, 0x00, 0x3e, 0x00, 0x7e, 0x00, 0xfe, 0x00, 0xfe, 0x01,
129 : 0xfe, 0x03, 0xfe, 0x07, 0xfe, 0x07, 0x7e, 0xf0, 0xce, 0xf0, 0xc6, 0x30,
130 : 0x80, 0x31, 0x80, 0x31, 0x00, 0xf3, 0x00, 0xf3};
131 : #define pointerleft_width 16
132 : #define pointerleft_height 16
133 : #define pointerleft_x_hot 2
134 : #define pointerleft_y_hot 0
135 : static unsigned char pointerleft_bits[] = {
136 : 0x04, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x7c, 0x00, 0xfc, 0x00,
137 : 0xfc, 0x01, 0xfc, 0x03, 0x7c, 0x00, 0x6c, 0xf0, 0xc4, 0xf0, 0xc0, 0xc0,
138 : 0x80, 0xc1, 0x80, 0xc1, 0x00, 0xf3, 0x00, 0xf3};
139 : #define pointerleftmask_width 16
140 : #define pointerleftmask_height 16
141 : static unsigned char pointerleftmask_bits[] = {
142 : 0x04, 0x00, 0x0c, 0x00, 0x3e, 0x00, 0x7e, 0x00, 0xfe, 0x00, 0xfe, 0x01,
143 : 0xfe, 0x03, 0xfe, 0x07, 0xfe, 0x07, 0x7e, 0xf0, 0xce, 0xf0, 0xc6, 0xc0,
144 : 0x80, 0xc1, 0x80, 0xc1, 0x00, 0xf3, 0x00, 0xf3};
145 : #else
146 : #define pointertri_width 16
147 : #define pointertri_height 24
148 : #define pointertri_x_hot 2
149 : #define pointertri_y_hot 0
150 : static unsigned char pointertri_bits[] = {
151 : 0x04, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x7c, 0x00, 0xfc, 0x00,
152 : 0xfc, 0x01, 0xfc, 0x03, 0x7c, 0x00, 0x6c, 0x00, 0xc4, 0x00, 0xc0, 0x00,
153 : 0x80, 0x01, 0x80, 0x01, 0x00, 0x03, 0x00, 0x03, 0x00, 0x08, 0x00, 0x1c,
154 : 0x00, 0x3e, 0x00, 0x7f, 0x80, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
155 : #define pointertrimask_width 16
156 : #define pointertrimask_height 24
157 : static unsigned char pointertrimask_bits[] = {
158 : 0x04, 0x00, 0x0c, 0x00, 0x3e, 0x00, 0x7e, 0x00, 0xfe, 0x00, 0xfe, 0x01,
159 : 0xfe, 0x03, 0xfe, 0x07, 0xfe, 0x07, 0xfe, 0x00, 0xee, 0x01, 0xe6, 0x01,
160 : 0xc0, 0x03, 0xc0, 0x03, 0x80, 0x07, 0x80, 0x07, 0x00, 0x0b, 0x00, 0x1c,
161 : 0x00, 0x3e, 0x00, 0x7f, 0x80, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
162 : #define pointersqr_width 16
163 : #define pointersqr_height 24
164 : #define pointersqr_x_hot 2
165 : #define pointersqr_y_hot 0
166 : static unsigned char pointersqr_bits[] = {
167 : 0x04, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x7c, 0x00, 0xfc, 0x00,
168 : 0xfc, 0x01, 0xfc, 0x03, 0x7c, 0x00, 0x6c, 0x00, 0xc4, 0x00, 0xc0, 0x00,
169 : 0x80, 0x01, 0x80, 0x01, 0x00, 0x03, 0x00, 0x03, 0x00, 0x00, 0x00, 0x7c,
170 : 0x00, 0x7c, 0x00, 0x7c, 0x00, 0x7c, 0x00, 0x7c, 0x00, 0x00, 0x00, 0x00};
171 : #define pointersqrmask_width 16
172 : #define pointersqrmask_height 24
173 : static unsigned char pointersqrmask_bits[] = {
174 : 0x04, 0x00, 0x0c, 0x00, 0x3e, 0x00, 0x7e, 0x00, 0xfe, 0x00, 0xfe, 0x01,
175 : 0xfe, 0x03, 0xfe, 0x07, 0xfe, 0x07, 0xfe, 0x00, 0xe6, 0x01, 0xe0, 0x01,
176 : 0xc0, 0x03, 0xc0, 0x03, 0x80, 0x07, 0x80, 0x07, 0x00, 0x03, 0x00, 0x7c,
177 : 0x00, 0x7c, 0x00, 0x7c, 0x00, 0x7c, 0x00, 0x7c, 0x00, 0x00, 0x00, 0x00};
178 : #define pointercic_width 16
179 : #define pointercic_height 24
180 : #define pointercic_x_hot 2
181 : #define pointercic_y_hot 0
182 : static unsigned char pointercic_bits[] = {
183 : 0x04, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x7c, 0x00, 0xfc, 0x00,
184 : 0xfc, 0x01, 0xfc, 0x03, 0x7c, 0x00, 0x6c, 0x00, 0xc4, 0x00, 0xc0, 0x00,
185 : 0x80, 0x01, 0x80, 0x01, 0x00, 0x03, 0x00, 0x03, 0x00, 0x38, 0x00, 0x7c,
186 : 0x00, 0xfe, 0x00, 0xfe, 0x00, 0xfe, 0x00, 0x7c, 0x00, 0x38, 0x00, 0x00};
187 : #define pointercicmask_width 16
188 : #define pointercicmask_height 24
189 : static unsigned char pointercicmask_bits[] = {
190 : 0x04, 0x00, 0x0c, 0x00, 0x3e, 0x00, 0x7e, 0x00, 0xfe, 0x00, 0xfe, 0x01,
191 : 0xfe, 0x03, 0xfe, 0x07, 0xfe, 0x07, 0xfe, 0x00, 0xee, 0x01, 0xe6, 0x01,
192 : 0xc0, 0x03, 0xc0, 0x03, 0x80, 0x07, 0x80, 0x07, 0x00, 0x3b, 0x00, 0x7c,
193 : 0x00, 0xfe, 0x00, 0xfe, 0x00, 0xfe, 0x00, 0x7c, 0x00, 0x38, 0x00, 0x00};
194 : #define pointerhvcic_width 32
195 : #define pointerhvcic_height 32
196 : #define pointerhvcic_x_hot 2
197 : #define pointerhvcic_y_hot 0
198 : static unsigned char pointerhvcic_bits[] = {
199 : 0x04, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00,
200 : 0x3c, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x00, 0x00,
201 : 0xfc, 0x01, 0x00, 0x00, 0xfc, 0x03, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x00,
202 : 0x6c, 0x00, 0x00, 0x00, 0xc4, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00,
203 : 0x80, 0x11, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x13, 0x00, 0x00,
204 : 0x00, 0x03, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00,
205 : 0x00, 0xfe, 0x00, 0x00, 0xa0, 0xfe, 0x0a, 0x00, 0x00, 0xfe, 0x00, 0x00,
206 : 0x00, 0x7c, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
207 : 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00,
208 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
209 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
210 : #define pointerhvcicmask_width 32
211 : #define pointerhvcicmask_height 32
212 : static unsigned char pointerhvcicmask_bits[] = {
213 : 0x04, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00,
214 : 0x7e, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x01, 0x00, 0x00,
215 : 0xfe, 0x03, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00,
216 : 0xfe, 0x00, 0x00, 0x00, 0xee, 0x01, 0x00, 0x00, 0xe6, 0x01, 0x00, 0x00,
217 : 0xc0, 0x13, 0x00, 0x00, 0xc0, 0x03, 0x00, 0x00, 0x80, 0x17, 0x00, 0x00,
218 : 0x80, 0x07, 0x00, 0x00, 0x00, 0x3b, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00,
219 : 0x00, 0xfe, 0x00, 0x00, 0xa0, 0xfe, 0x0a, 0x00, 0x00, 0xfe, 0x00, 0x00,
220 : 0x00, 0x7c, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
221 : 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00,
222 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
223 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
224 : #define pointerg2cic_width 32
225 : #define pointerg2cic_height 32
226 : #define pointerg2cic_x_hot 2
227 : #define pointerg2cic_y_hot 0
228 : static unsigned char pointerg2cic_bits[] = {
229 : 0x04, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x00,
230 : 0x3c, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x00, 0xfc, 0x00, 0x00, 0x00,
231 : 0xfc, 0x01, 0x00, 0x00, 0xfc, 0x03, 0x00, 0x00, 0x7c, 0x00, 0x00, 0x00,
232 : 0x6c, 0x00, 0x00, 0x00, 0xc4, 0x00, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00,
233 : 0x80, 0x01, 0x00, 0x00, 0x80, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00,
234 : 0x00, 0x13, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00,
235 : 0x00, 0xfe, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xfe, 0x00, 0x00,
236 : 0x00, 0x7c, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00,
237 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
238 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
239 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
240 : #define pointerg2cicmask_width 32
241 : #define pointerg2cicmask_height 32
242 : static unsigned char pointerg2cicmask_bits[] = {
243 : 0x04, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x00,
244 : 0x7e, 0x00, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0xfe, 0x01, 0x00, 0x00,
245 : 0xfe, 0x03, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00, 0xfe, 0x07, 0x00, 0x00,
246 : 0xfe, 0x00, 0x00, 0x00, 0xee, 0x01, 0x00, 0x00, 0xe6, 0x01, 0x00, 0x00,
247 : 0xc0, 0x03, 0x00, 0x00, 0xc0, 0x03, 0x00, 0x00, 0x80, 0x07, 0x00, 0x00,
248 : 0x80, 0x17, 0x00, 0x00, 0x00, 0x3b, 0x00, 0x00, 0x00, 0x7c, 0x00, 0x00,
249 : 0x00, 0xfe, 0x00, 0x00, 0x00, 0xff, 0x01, 0x00, 0x00, 0xfe, 0x00, 0x00,
250 : 0x00, 0x7c, 0x00, 0x00, 0x00, 0x38, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00,
251 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
252 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
253 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
254 : #define pointerright_width 16
255 : #define pointerright_height 24
256 : #define pointerright_x_hot 2
257 : #define pointerright_y_hot 0
258 : static unsigned char pointerright_bits[] = {
259 : 0x04, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x7c, 0x00, 0xfc, 0x00,
260 : 0xfc, 0x01, 0xfc, 0x03, 0x7c, 0x00, 0x6c, 0x00, 0xc4, 0x00, 0xc0, 0x00,
261 : 0x80, 0x01, 0x80, 0x01, 0x00, 0x03, 0x00, 0x7b, 0x00, 0x78, 0x00, 0x60,
262 : 0x00, 0x60, 0x00, 0x60, 0x00, 0x60, 0x00, 0x60, 0x00, 0x78, 0x00, 0x78};
263 : #define pointerrightmask_width 16
264 : #define pointerrightmask_height 24
265 : static unsigned char pointerrightmask_bits[] = {
266 : 0x04, 0x00, 0x0c, 0x00, 0x3e, 0x00, 0x7e, 0x00, 0xfe, 0x00, 0xfe, 0x01,
267 : 0xfe, 0x03, 0xfe, 0x07, 0xfe, 0x07, 0xfe, 0x00, 0xee, 0x01, 0xe6, 0x01,
268 : 0xc0, 0x03, 0xc0, 0x03, 0x80, 0x03, 0x80, 0x7f, 0x00, 0x7f, 0x00, 0x60,
269 : 0x00, 0x60, 0x00, 0x60, 0x00, 0x60, 0x00, 0x60, 0x00, 0x78, 0x00, 0x78};
270 : #define pointerleft_width 16
271 : #define pointerleft_height 24
272 : #define pointerleft_x_hot 2
273 : #define pointerleft_y_hot 0
274 : static unsigned char pointerleft_bits[] = {
275 : 0x04, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x7c, 0x00, 0xfc, 0x00,
276 : 0xfc, 0x01, 0xfc, 0x03, 0x7c, 0x00, 0x6c, 0x00, 0xc4, 0x00, 0xc0, 0x00,
277 : 0x80, 0x01, 0x80, 0x01, 0x00, 0x03, 0x00, 0x7b, 0x00, 0x78, 0x00, 0x18,
278 : 0x00, 0x18, 0x00, 0x18, 0x00, 0x18, 0x00, 0x18, 0x00, 0x78, 0x00, 0x78};
279 : #define pointerleftmask_width 16
280 : #define pointerleftmask_height 24
281 : static unsigned char pointerleftmask_bits[] = {
282 : 0x04, 0x00, 0x0c, 0x00, 0x3e, 0x00, 0x7e, 0x00, 0xfe, 0x00, 0xfe, 0x01,
283 : 0xfe, 0x03, 0xfe, 0x07, 0xfe, 0x07, 0xfe, 0x00, 0xee, 0x01, 0xe6, 0x01,
284 : 0xc0, 0x03, 0xc0, 0x03, 0x80, 0x03, 0x80, 0x7f, 0x00, 0x7f, 0x00, 0x18,
285 : 0x00, 0x18, 0x00, 0x18, 0x00, 0x18, 0x00, 0x18, 0x00, 0x78, 0x00, 0x78};
286 : #endif
287 : #define pointercur_width 16
288 : #define pointercur_height 16
289 : #define pointercur_x_hot 2
290 : #define pointercur_y_hot 0
291 : static unsigned char pointercur_bits[] = {
292 : 0x04, 0x00, 0x0c, 0x00, 0x1c, 0x00, 0x3c, 0x00, 0x7c, 0x00, 0xfc, 0x00,
293 : 0xfc, 0x01, 0xfc, 0x03, 0x7c, 0x00, 0x6c, 0x00, 0xc4, 0x00, 0xc0, 0x00,
294 : 0x80, 0x01, 0x80, 0x01, 0x00, 0x03, 0x00, 0x03};
295 : #define pointercurmask_width 16
296 : #define pointercurmask_height 16
297 : static unsigned char pointercurmask_bits[] = {
298 : 0x04, 0x00, 0x0c, 0x00, 0x3c, 0x00, 0x7e, 0x00, 0xfe, 0x00, 0xfe, 0x01,
299 : 0xfe, 0x03, 0xfe, 0x07, 0xfe, 0x07, 0xfe, 0x00, 0xee, 0x01, 0xe6, 0x01,
300 : 0xc0, 0x03, 0xc0, 0x03, 0x80, 0x07, 0x80, 0x07};
301 : #if _CursorsMustBe16x16
302 : #define rulercur_width 16
303 : #define rulercur_height 16
304 : #define rulercur_x_hot 0
305 : #define rulercur_y_hot 3
306 : static unsigned char rulercur_bits[] = {
307 : 0x00, 0x00, 0x04, 0x00, 0x02, 0x00, 0x3f, 0x40, 0x22, 0x40, 0x24, 0x40,
308 : 0x20, 0x40, 0x20, 0x49, 0x20, 0x49, 0x20, 0x49, 0xe0, 0x7f, 0x00, 0x00,
309 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
310 : #else
311 : #define rulercur_width 24
312 : #define rulercur_height 12
313 : #define rulercur_x_hot 0
314 : #define rulercur_y_hot 3
315 : static unsigned char rulercur_bits[] = {
316 : 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x02, 0x00, 0x00, 0x3f, 0x00, 0x80,
317 : 0x22, 0x00, 0x80, 0x24, 0x40, 0x80, 0x20, 0x40, 0x80, 0x20, 0x49, 0x92,
318 : 0x20, 0x49, 0x92, 0x20, 0x49, 0x92, 0xe0, 0xff, 0xff, 0x00, 0x00, 0x00};
319 : #endif
320 : #define pencur_width 16
321 : #define pencur_height 16
322 : #define pencur_x_hot 6
323 : #define pencur_y_hot 0
324 : static unsigned char pencur_bits[] = {
325 : 0x40, 0x00, 0xe0, 0x00, 0xe0, 0x00, 0x50, 0x01, 0x50, 0x01, 0x50, 0x01,
326 : 0x48, 0x02, 0x48, 0x02, 0x44, 0x04, 0xa4, 0x04, 0x44, 0x04, 0x08, 0x02,
327 : 0xf0, 0x01, 0x10, 0x01, 0x10, 0x01, 0x10, 0x01};
328 : #define pencurmask_width 16
329 : #define pencurmask_height 16
330 : static unsigned char pencurmask_bits[] = {
331 : 0x40, 0x00, 0xe0, 0x00, 0xf0, 0x01, 0x58, 0x03, 0x58, 0x03, 0x58, 0x03,
332 : 0x4c, 0x06, 0x4c, 0x06, 0x46, 0x0c, 0xe6, 0x0c, 0x46, 0x0c, 0x0c, 0x06,
333 : 0xf8, 0x03, 0x18, 0x03, 0x18, 0x03, 0x18, 0x03};
334 : #define knifecur_width 16
335 : #define knifecur_height 16
336 : #define knifecur_x_hot 0
337 : #define knifecur_y_hot 2
338 : static unsigned char knifecur_bits[] = {
339 : 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x38, 0x20, 0x40, 0x21, 0x00, 0xee,
340 : 0x00, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
341 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
342 : #define knifecurmask_width 16
343 : #define knifecurmask_height 16
344 : static unsigned char knifecurmask_bits[] = {
345 : 0x00, 0x00, 0xff, 0xff, 0xff, 0xff, 0x3f, 0xfe, 0xf8, 0xff, 0x00, 0xfe,
346 : 0x00, 0x7e, 0x00, 0x70, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
347 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
348 : #define flipcur_width 16
349 : #define flipcur_height 16
350 : #define flipcur_x_hot 8
351 : #define flipcur_y_hot 8
352 : static unsigned char flipcur_bits[] = {
353 : 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x20, 0x09,
354 : 0x20, 0x09, 0x30, 0x11, 0x30, 0x09, 0x28, 0x21, 0x28, 0x09, 0x24, 0x41,
355 : 0x3c, 0x69, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00};
356 : #define flipcurmask_width 16
357 : #define flipcurmask_height 16
358 : static unsigned char flipcurmask_bits[] = {
359 : 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x20, 0x09,
360 : 0x20, 0x09, 0x30, 0x19, 0x30, 0x19, 0x28, 0x29, 0x28, 0x29, 0x24, 0x49,
361 : 0x3c, 0x79, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00};
362 : #define rotatecur_width 16
363 : #define rotatecur_height 16
364 : #define rotatecur_x_hot 3
365 : #define rotatecur_y_hot 12
366 : static unsigned char rotatecur_bits[] = {
367 : 0x08, 0x01, 0x88, 0x07, 0x08, 0x09, 0x08, 0x10, 0x08, 0x20, 0x08, 0x20,
368 : 0x08, 0x80, 0x08, 0x60, 0x08, 0x18, 0x08, 0x06, 0x88, 0x01, 0x68, 0x00,
369 : 0xff, 0xff, 0x08, 0x00, 0x08, 0x00, 0x08, 0x00};
370 : #define scalecur_width 16
371 : #define scalecur_height 16
372 : #define scalecur_x_hot 0
373 : #define scalecur_y_hot 15
374 : static unsigned char scalecur_bits[] = {
375 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x05, 0x00, 0x00, 0x01, 0x04,
376 : 0x00, 0x00, 0x7f, 0x04, 0x41, 0x00, 0x41, 0x04, 0x41, 0x00, 0x41, 0x04,
377 : 0x41, 0x00, 0x41, 0x04, 0x41, 0x00, 0x7f, 0x05};
378 : #define scalecurmask_width 16
379 : #define scalecurmask_height 16
380 : static unsigned char scalecurmask_bits[] = {
381 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x07, 0x01, 0x04, 0x01, 0x04,
382 : 0x01, 0x04, 0x7f, 0x04, 0x41, 0x04, 0x41, 0x04, 0x41, 0x04, 0x41, 0x04,
383 : 0x41, 0x04, 0x41, 0x04, 0x41, 0x04, 0xff, 0x07};
384 : #define skewcur_width 16
385 : #define skewcur_height 16
386 : #define skewcur_x_hot 0
387 : #define skewcur_y_hot 15
388 : static unsigned char skewcur_bits[] = {
389 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
390 : 0x00, 0x00, 0x7f, 0x05, 0x41, 0x00, 0x49, 0x02, 0x41, 0x00, 0x45, 0x01,
391 : 0x41, 0x00, 0xc3, 0x00, 0x41, 0x00, 0x7f, 0x00};
392 : #define skewcurmask_width 16
393 : #define skewcurmask_height 16
394 : static unsigned char skewcurmask_bits[] = {
395 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
396 : 0x00, 0x00, 0xff, 0x07, 0x49, 0x02, 0x49, 0x02, 0x45, 0x01, 0x45, 0x01,
397 : 0xc3, 0x00, 0xc3, 0x00, 0x41, 0x00, 0x7f, 0x00};
398 : #define rotate3dcur_width 16
399 : #define rotate3dcur_height 16
400 : #define rotate3dcur_x_hot 1
401 : #define rotate3dcur_y_hot 13
402 : static unsigned char rotate3dcur_bits[] = {
403 : 0x02, 0x00, 0xfa, 0x00, 0x8a, 0x00, 0x8a, 0x00, 0x8a, 0x00, 0x8a, 0x00,
404 : 0x8a, 0x00, 0xfa, 0x00, 0x02, 0x1c, 0xaa, 0x22, 0x02, 0xaa, 0xaa, 0x72,
405 : 0x02, 0x22, 0xff, 0x8f, 0x02, 0x02, 0x02, 0x3c};
406 : #define perspectivecur_width 16
407 : #define perspectivecur_height 16
408 : #define perspectivecur_x_hot 0
409 : #define perspectivecur_y_hot 15
410 : static unsigned char perspectivecur_bits[] = {
411 : 0x41, 0x04, 0x41, 0x04, 0x21, 0x08, 0x21, 0x08, 0x11, 0x10, 0xf1, 0x1f,
412 : 0x31, 0x19, 0x29, 0x28, 0xa9, 0x2a, 0x25, 0x48, 0x65, 0x4c, 0x25, 0x48,
413 : 0xe3, 0x8f, 0x03, 0x80, 0x01, 0x00, 0xff, 0xff};
414 : #define setwidthcur_width 16
415 : #define setwidthcur_height 16
416 : #define setwidthcur_x_hot 14
417 : #define setwidthcur_y_hot 7
418 : static unsigned char setwidthcur_bits[] = {
419 : 0x00, 0x00, 0x01, 0x40, 0x00, 0x40, 0x01, 0x40, 0x00, 0x40, 0x09, 0x48,
420 : 0x04, 0x50, 0xab, 0x6a, 0x04, 0x50, 0x09, 0x48, 0x00, 0x40, 0x01, 0x40,
421 : 0x00, 0x40, 0x01, 0x40, 0x00, 0x00, 0x00, 0x00};
422 : /*static unsigned char setwidthmask_bits[] = { */
423 : /* 0x00, 0x00, 0x01, 0x40, 0x01, 0x40, 0x01, 0x40, 0x01, 0x40, 0x09, 0x48, */
424 : /* 0x05, 0x50, 0xff, 0x7f, 0x05, 0x50, 0x09, 0x48, 0x01, 0x40, 0x01, 0x40, */
425 : /* 0x01, 0x40, 0x01, 0x40, 0x00, 0x00, 0x00, 0x00}; */
426 :
427 : #define updown_width 8
428 : #define updown_height 15
429 : #define updown_x_hot 3
430 : #define updown_y_hot 7
431 : static unsigned char updown_bits[] = {
432 : 0x08, 0x14, 0x36, 0x55, 0x14, 0x14, 0x14, 0x7f, 0x14, 0x14, 0x14, 0x55,
433 : 0x36, 0x14, 0x08};
434 : #define leftright_width 16
435 : #define leftright_height 9
436 : #define leftright_x_hot 7
437 : #define leftright_y_hot 4
438 : static unsigned char leftright_bits[] = {
439 : 0x80, 0x00, 0x88, 0x08, 0x84, 0x10, 0xfe, 0x3f, 0x81, 0x40, 0xfe, 0x3f,
440 : 0x84, 0x10, 0x88, 0x08, 0x80, 0x00};
441 : #define nesw_width 16
442 : #define nesw_height 15
443 : #define nesw_x_hot 8
444 : #define nesw_y_hot 7
445 : static unsigned char nesw_bits[] = {
446 : 0x00, 0xfc, 0x00, 0x90, 0x00, 0x88, 0x10, 0xc4, 0x20, 0xa2, 0x40, 0x91,
447 : 0x80, 0x08, 0x40, 0x05, 0x20, 0x02, 0x12, 0x05, 0x8a, 0x08, 0x46, 0x10,
448 : 0x22, 0x00, 0x12, 0x00, 0x7e, 0x00};
449 : #define nwse_width 16
450 : #define nwse_height 15
451 : #define nwse_x_hot 8
452 : #define nwse_y_hot 7
453 : static unsigned char nwse_bits[] = {
454 : 0x7e, 0x00, 0x12, 0x00, 0x22, 0x00, 0x46, 0x10, 0x8a, 0x08, 0x12, 0x05,
455 : 0x20, 0x02, 0x40, 0x05, 0x80, 0x08, 0x40, 0x91, 0x20, 0xa2, 0x10, 0xc4,
456 : 0x00, 0x88, 0x00, 0x90, 0x00, 0xfc};
457 : #define rectcur_width 16
458 : #define rectcur_height 8
459 : #define rectcur_x_hot 0
460 : #define rectcur_y_hot 2
461 : static unsigned char rectcur_bits[] = {
462 : 0x04, 0x00, 0x02, 0x00, 0xff, 0x7f, 0x12, 0x40, 0x14, 0x40, 0x10, 0x40,
463 : 0xf0, 0x7f, 0x00, 0x00};
464 : #define elipsecur_width 16
465 : #define elipsecur_height 8
466 : #define elipsecur_x_hot 0
467 : #define elipsecur_y_hot 2
468 : static unsigned char elipsecur_bits[] = {
469 : 0x04, 0x00, 0x02, 0x00, 0x3f, 0x1f, 0xc2, 0x60, 0x24, 0x80, 0xc0, 0x60,
470 : 0x00, 0x1f, 0x00, 0x00};
471 : #define polycur_width 16
472 : #define polycur_height 16
473 : #define polycur_x_hot 1
474 : #define polycur_y_hot 7
475 : static unsigned char polycur_bits[] = {
476 : 0x80, 0x01, 0x60, 0x06, 0x18, 0x18, 0x06, 0x60, 0x02, 0x40, 0x02, 0x40,
477 : 0x02, 0x40, 0x02, 0x40, 0x02, 0x40, 0x02, 0x40, 0x02, 0x40, 0x06, 0x60,
478 : 0x18, 0x18, 0x60, 0x06, 0x80, 0x01, 0x00, 0x00};
479 : #define starcur_width 16
480 : #define starcur_height 16
481 : #define starcur_x_hot 0
482 : #define starcur_y_hot 6
483 : static unsigned char starcur_bits[] = {
484 : 0x10, 0x08, 0x70, 0x0e, 0x90, 0x09, 0x10, 0x08, 0x08, 0x10, 0x06, 0x60,
485 : 0x01, 0x80, 0x06, 0x60, 0x08, 0x10, 0x10, 0x08, 0x90, 0x09, 0x70, 0x0e,
486 : 0x10, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
487 :
488 : #define pencil_width 16
489 : #define pencil_height 16
490 : #define pencil_x_hot 1
491 : #define pencil_y_hot 1
492 : static unsigned char pencil_bits[] = {
493 : 0x00, 0x00, 0x0e, 0x00, 0x16, 0x00, 0x22, 0x00, 0x44, 0x00, 0x88, 0x00,
494 : 0x10, 0x01, 0x20, 0x02, 0x40, 0x04, 0x80, 0x08, 0x00, 0x11, 0x00, 0x22,
495 : 0x00, 0x64, 0x00, 0x98, 0x00, 0x50, 0x00, 0x20};
496 : #define pencilmask_width 16
497 : #define pencilmask_height 16
498 : static unsigned char pencilmask_bits[] = {
499 : 0x00, 0x00, 0x0e, 0x00, 0x1e, 0x00, 0x3e, 0x00, 0x7c, 0x00, 0xf8, 0x00,
500 : 0xf0, 0x01, 0xe0, 0x03, 0xc0, 0x07, 0x80, 0x0f, 0x00, 0x1f, 0x00, 0x3e,
501 : 0x00, 0x7c, 0x00, 0x98, 0x00, 0x50, 0x00, 0x20};
502 : #define eyedropper_width 16
503 : #define eyedropper_height 16
504 : #define eyedropper_x_hot 0
505 : #define eyedropper_y_hot 0
506 : static unsigned char eyedropper_bits[] = {
507 : 0x02, 0x00, 0x0d, 0x00, 0x12, 0x00, 0x22, 0x00, 0x44, 0x00, 0x88, 0x00,
508 : 0x10, 0x09, 0x20, 0x0e, 0x40, 0x0e, 0x80, 0x1f, 0x80, 0x7f, 0xc0, 0xff,
509 : 0x00, 0xfe, 0x00, 0xfc, 0x00, 0xfc, 0x00, 0x78};
510 : #define eyedroppermask_width 16
511 : #define eyedroppermask_height 16
512 : static unsigned char eyedroppermask_bits[] = {
513 : 0x03, 0x00, 0x0f, 0x00, 0x1e, 0x00, 0x3e, 0x00, 0x7c, 0x00, 0xf8, 0x00,
514 : 0xf0, 0x09, 0xe0, 0x0f, 0xc0, 0x0f, 0x80, 0x1f, 0x80, 0x7f, 0xc0, 0xff,
515 : 0x00, 0xfe, 0x00, 0xfc, 0x00, 0xfc, 0x00, 0x78};
516 : #define shift_width 16
517 : #define shift_height 16
518 : #define shift_x_hot 7
519 : #define shift_y_hot 7
520 : static unsigned char shift_bits[] = {
521 : 0x80, 0x00, 0xc0, 0x01, 0xa0, 0x02, 0x80, 0x00, 0x80, 0x00, 0x84, 0x10,
522 : 0x82, 0x20, 0xff, 0x7f, 0x82, 0x20, 0x84, 0x10, 0x80, 0x00, 0x80, 0x00,
523 : 0xa0, 0x02, 0xc0, 0x01, 0x80, 0x00, 0x00, 0x00};
524 : #define linecur_width 16
525 : #define linecur_height 16
526 : #define linecur_x_hot 0
527 : #define linecur_y_hot 0
528 : static unsigned char linecur_bits[] = {
529 : 0xc1, 0xff, 0x62, 0xa0, 0xc4, 0xff, 0x08, 0x00, 0x10, 0x00, 0x20, 0x00,
530 : 0x40, 0x00, 0x80, 0x00, 0x00, 0x01, 0x00, 0x02, 0x00, 0x04, 0x00, 0x08,
531 : 0x00, 0x10, 0x00, 0x20, 0x00, 0x40, 0x00, 0x80};
532 : #if _CursorsMustBe16x16
533 : #define hand_width 16
534 : #define hand_height 16
535 : #define hand_x_hot 8
536 : #define hand_y_hot 12
537 : static unsigned char hand_bits[] = {
538 : 0x80, 0x01, 0x40, 0x02, 0x48, 0x0e, 0x54, 0x12, 0x54, 0x52, 0x64, 0xb2,
539 : 0x68, 0xb2, 0x48, 0x92, 0x17, 0x80, 0x19, 0x40, 0x11, 0x40, 0x02, 0x40,
540 : 0x04, 0x20, 0x08, 0x20, 0x08, 0x20, 0x10, 0x10};
541 : #define handmask_width 16
542 : #define handmask_height 16
543 : static unsigned char handmask_bits[] = {
544 : 0x80, 0x01, 0xc0, 0x03, 0xc8, 0x0f, 0xdc, 0x1f, 0xdc, 0x5f, 0xfc, 0xff,
545 : 0xf8, 0xff, 0xf8, 0xff, 0xff, 0xff, 0xff, 0x7f, 0xff, 0x7f, 0xfe, 0x7f,
546 : 0xfc, 0x3f, 0xf8, 0x3f, 0xf8, 0x3f, 0xf0, 0x1f};
547 : #else
548 : #define hand_width 24
549 : #define hand_height 24
550 : #define hand_x_hot 11
551 : #define hand_y_hot 15
552 : static unsigned char hand_bits[] = {
553 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00,
554 : 0x00, 0x12, 0x00, 0x40, 0x72, 0x00, 0xa0, 0x92, 0x00, 0xa0, 0x92, 0x02,
555 : 0x20, 0x93, 0x05, 0x40, 0x93, 0x05, 0x40, 0x92, 0x04, 0xb8, 0x00, 0x04,
556 : 0xc8, 0x00, 0x02, 0x88, 0x00, 0x02, 0x10, 0x00, 0x02, 0x20, 0x00, 0x01,
557 : 0x40, 0x00, 0x01, 0x40, 0x00, 0x01, 0x80, 0x80, 0x00, 0x00, 0x81, 0x00,
558 : 0x00, 0x82, 0x00, 0x00, 0x82, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
559 : #define handmask_width 24
560 : #define handmask_height 24
561 : static unsigned char handmask_bits[] = {
562 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00,
563 : 0x00, 0x1e, 0x00, 0x40, 0x7e, 0x00, 0xe0, 0xfe, 0x00, 0xe0, 0xfe, 0x02,
564 : 0xe0, 0xff, 0x07, 0xc0, 0xff, 0x07, 0xc0, 0xff, 0x07, 0xb8, 0xff, 0x07,
565 : 0xf8, 0xff, 0x03, 0xf8, 0xff, 0x03, 0xf0, 0xff, 0x03, 0xe0, 0xff, 0x01,
566 : 0xc0, 0xff, 0x01, 0xc0, 0xff, 0x01, 0x80, 0xff, 0x00, 0x00, 0xff, 0x00,
567 : 0x00, 0xfe, 0x00, 0x00, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
568 : #endif
569 : #define filledrectcur_width 16
570 : #define filledrectcur_height 8
571 : #define filledrectcur_x_hot 0
572 : #define filledrectcur_y_hot 2
573 : static unsigned char filledrectcur_bits[] = {
574 : 0x04, 0x00, 0x02, 0x00, 0xff, 0xff, 0xe2, 0xff, 0xe4, 0xff, 0xe0, 0xff,
575 : 0xe0, 0xff, 0x00, 0x00};
576 : #define filledelipsecur_width 16
577 : #define filledelipsecur_height 8
578 : #define filledelipsecur_x_hot 0
579 : #define filledelipsecur_y_hot 2
580 : static unsigned char filledelipsecur_bits[] = {
581 : 0x04, 0x00, 0x02, 0x00, 0x3f, 0x1f, 0xc2, 0x7f, 0xe4, 0xff, 0xc0, 0x7f,
582 : 0x00, 0x1f, 0x00, 0x00};
583 : #define kerncur_width 16
584 : #define kerncur_height 15
585 : #define kerncur_x_hot 7
586 : #define kerncur_y_hot 7
587 : static unsigned char kerncur_bits[] = {
588 : 0x80, 0x00, 0x80, 0x00, 0xf8, 0x0f, 0x08, 0x08, 0x28, 0x0a, 0x28, 0x09,
589 : 0xaa, 0x28, 0x6f, 0x78, 0xaa, 0x28, 0x28, 0x09, 0x28, 0x0a, 0x08, 0x08,
590 : 0xf8, 0x0f, 0x80, 0x00, 0x80, 0x00};
591 : #define rbearcur_width 16
592 : #define rbearcur_height 15
593 : #define rbearcur_x_hot 7
594 : #define rbearcur_y_hot 7
595 : static unsigned char rbearcur_bits[] = {
596 : 0x80, 0x00, 0x80, 0x00, 0xf8, 0x0f, 0x08, 0x08, 0xe8, 0x09, 0x28, 0x0a,
597 : 0x2a, 0x2a, 0xef, 0x79, 0x2a, 0x29, 0x28, 0x09, 0x28, 0x0a, 0x08, 0x08,
598 : 0xf8, 0x0f, 0x80, 0x00, 0x80, 0x00};
599 : #define rbearmask_width 16
600 : #define rbearmask_height 15
601 : static unsigned char rbearmask_bits[] = {
602 : 0x80, 0x00, 0xfc, 0x1f, 0xfc, 0x1f, 0xfc, 0x1f, 0xfc, 0x1f, 0xfe, 0x3f,
603 : 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xfe, 0x3f, 0xfc, 0x1f, 0xfc, 0x1f,
604 : 0xfc, 0x1f, 0xfc, 0x1f, 0x80, 0x00};
605 : #define lbearcur_width 16
606 : #define lbearcur_height 15
607 : #define lbearcur_x_hot 7
608 : #define lbearcur_y_hot 7
609 : static unsigned char lbearcur_bits[] = {
610 : 0x80, 0x00, 0x80, 0x00, 0xf0, 0x07, 0x10, 0x04, 0x50, 0x04, 0x54, 0x14,
611 : 0x52, 0x24, 0x5f, 0x7c, 0x52, 0x24, 0x54, 0x14, 0xd0, 0x05, 0x10, 0x04,
612 : 0xf0, 0x07, 0x80, 0x00, 0x80, 0x00};
613 : #define lbearmask_width 16
614 : #define lbearmask_height 15
615 : static unsigned char lbearmask_bits[] = {
616 : 0x80, 0x00, 0xf8, 0x0f, 0xf8, 0x0f, 0xf8, 0x0f, 0xfc, 0x1f, 0xfe, 0x3f,
617 : 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xfe, 0x3f, 0xfc, 0x1f, 0xf8, 0x0f,
618 : 0xf8, 0x0f, 0xf8, 0x0f, 0x80, 0x00};
619 :
620 : #define logo_width 32
621 : #define logo_height 32
622 : static unsigned char logo_bits[] = {
623 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3c, 0xf0, 0x00, 0x00,
624 : 0x6c, 0xb0, 0x01, 0x00, 0xe0, 0x86, 0xfb, 0x01, 0xc0, 0x28, 0x53, 0x03,
625 : 0xd0, 0x55, 0xa7, 0x02, 0x80, 0x01, 0x06, 0x03, 0xf0, 0xdf, 0x7f, 0x02,
626 : 0xf0, 0xdf, 0x7f, 0x03, 0x00, 0x03, 0x0c, 0x02, 0x30, 0x57, 0x5d, 0x03,
627 : 0x50, 0xa6, 0x98, 0x02, 0xb0, 0x4e, 0x39, 0x03, 0x50, 0xae, 0x3a, 0x02,
628 : 0xb0, 0x4c, 0x31, 0x03, 0x50, 0x9d, 0x72, 0x02, 0xb0, 0x18, 0x65, 0x02,
629 : 0x50, 0x39, 0xe0, 0x00, 0xb0, 0x72, 0xc6, 0x19, 0x50, 0xe5, 0x97, 0x1f,
630 : 0xb0, 0x8a, 0x23, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
631 : 0xf0, 0x3f, 0xff, 0x03, 0xe0, 0x3f, 0xff, 0x01, 0x00, 0x00, 0x00, 0x00,
632 : 0x00, 0x00, 0x00, 0x00, 0xf0, 0x3f, 0xff, 0x03, 0xf0, 0x3f, 0xff, 0x03,
633 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
634 :
635 : #define prohibition_width 16
636 : #define prohibition_height 16
637 : #define prohibition_x_hot 7
638 : #define prohibition_y_hot 7
639 : static unsigned char prohibition_bits[] = {
640 : 0xc0, 0x01, 0x30, 0x06, 0x0c, 0x18, 0x0c, 0x10, 0x12, 0x20, 0x22, 0x20,
641 : 0x41, 0x40, 0x81, 0x40, 0x01, 0x41, 0x02, 0x22, 0x02, 0x24, 0x04, 0x18,
642 : 0x0c, 0x18, 0x30, 0x06, 0xc0, 0x01, 0x00, 0x00};
643 : static unsigned char prohibitionmask_bits[] = {
644 : 0xc0, 0x01, 0xf0, 0x07, 0xfc, 0x1f, 0xfc, 0x1f, 0xfe, 0x3f, 0xfe, 0x3f,
645 : 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x7f, 0xfe, 0x3f, 0xfe, 0x3f, 0xfc, 0x1f,
646 : 0xfc, 0x1f, 0xf0, 0x07, 0xc0, 0x01, 0x00, 0x00};
647 : #define ddcursor_width 16
648 : #define ddcursor_height 16
649 : #define ddcursor_x_hot 0
650 : #define ddcursor_y_hot 0
651 : static unsigned char ddcursor_bits[] = {
652 : 0x0f, 0x00, 0x03, 0x00, 0x05, 0x00, 0x09, 0x00, 0x10, 0x00, 0x00, 0x00,
653 : 0x00, 0x02, 0x00, 0x02, 0x60, 0xc6, 0x50, 0x2a, 0x50, 0x2a, 0xa0, 0xc6,
654 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
655 : #define featurescursor_width 16
656 : #define featurescursor_height 16
657 : #define featurescursor_x_hot 0
658 : #define featurescursor_y_hot 0
659 : static unsigned char featurescursor_bits[] = {
660 : 0x0f, 0x00, 0x03, 0x00, 0x05, 0x00, 0x09, 0x00, 0x10, 0x00, 0x00, 0x00,
661 : 0x04, 0x00, 0x02, 0x40, 0x67, 0xec, 0xf2, 0x4a, 0x12, 0x4a, 0x62, 0x94,
662 : 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
663 :
664 :
665 0 : void InitCursors(void) {
666 : GWindow mask, image;
667 : /* The XServer shipping with redhat 7.1 seems to suffer a protocol change */
668 : /* with the red and blue members of XColor structure reversed */
669 : /* So all of my cursors which should be red (to match the points drawn */
670 : /* on the screen) come out blue. If I run the same image on another server*/
671 : /* it's red. Oh well. */
672 :
673 0 : image = GDrawCreateBitmap(NULL,magplus_width,magplus_height,magplus_bits);
674 0 : ct_magplus = GDrawCreateCursor(image,image,0x000000,0xffffff,magplus_x_hot,
675 : magplus_y_hot);
676 0 : GDrawDestroyWindow(image);
677 0 : image = GDrawCreateBitmap(NULL,magminus_width,magminus_height,magminus_bits);
678 0 : ct_magminus = GDrawCreateCursor(image,image,0x000000,0xffffff,magminus_x_hot,
679 : magminus_y_hot);
680 0 : GDrawDestroyWindow(image);
681 :
682 0 : image = GDrawCreateBitmap(NULL,pointercur_width,pointercur_height,pointercur_bits);
683 0 : mask = GDrawCreateBitmap(NULL,pointercurmask_width,pointercurmask_height,pointercurmask_bits);
684 0 : ct_mypointer = GDrawCreateCursor(image,mask,0x000000,0xffffff,pointercur_x_hot,
685 : pointercur_y_hot);
686 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
687 :
688 0 : image = GDrawCreateBitmap(NULL,pointercic_width,pointercic_height,pointercic_bits);
689 0 : mask = GDrawCreateBitmap(NULL,pointercic_width,pointercic_height,pointercicmask_bits);
690 0 : ct_circle = GDrawCreateCursor(image,mask,0xff0000,0xffffff,pointercic_x_hot,
691 : pointercic_y_hot);
692 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
693 0 : image = GDrawCreateBitmap(NULL,pointerhvcic_width,pointerhvcic_height,pointerhvcic_bits);
694 0 : mask = GDrawCreateBitmap(NULL,pointerhvcic_width,pointerhvcic_height,pointerhvcicmask_bits);
695 0 : ct_hvcircle = GDrawCreateCursor(image,mask,0xff0000,0xffffff,pointerhvcic_x_hot,
696 : pointerhvcic_y_hot);
697 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
698 0 : image = GDrawCreateBitmap(NULL,pointertri_width,pointertri_height,pointertri_bits);
699 0 : mask = GDrawCreateBitmap(NULL,pointertri_width,pointertri_height,pointertrimask_bits);
700 0 : ct_triangle = GDrawCreateCursor(image,mask,0xff0000,0xffffff,pointertri_x_hot,
701 : pointertri_y_hot);
702 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
703 0 : image = GDrawCreateBitmap(NULL,pointersqr_width,pointersqr_height,pointersqr_bits);
704 0 : mask = GDrawCreateBitmap(NULL,pointersqr_width,pointersqr_height,pointersqrmask_bits);
705 0 : ct_square = GDrawCreateCursor(image,mask,0xff0000,0xffffff,pointersqr_x_hot,
706 : pointersqr_y_hot);
707 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
708 0 : image = GDrawCreateBitmap(NULL,pencur_width,pencur_height,pencur_bits);
709 0 : mask = GDrawCreateBitmap(NULL,pencur_width,pencur_height,pencurmask_bits);
710 0 : ct_pen = GDrawCreateCursor(image,mask,0xff0000,0xffffff,pencur_x_hot,
711 : pencur_y_hot);
712 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
713 0 : image = GDrawCreateBitmap(NULL,setwidthcur_width,setwidthcur_height,setwidthcur_bits);
714 : /*mask = GDrawCreateBitmap(NULL,setwidthcur_width,setwidthcur_height,setwidthmask_bits);*/
715 0 : ct_setwidth = GDrawCreateCursor(image,image,0xff0000,0xffffff,setwidthcur_x_hot,
716 : setwidthcur_y_hot);
717 0 : GDrawDestroyWindow(image);
718 : #if _CursorsMustBe16x16
719 : ct_g2circle = ct_hvcircle;
720 : #else
721 0 : image = GDrawCreateBitmap(NULL,pointerg2cic_width,pointerg2cic_height,pointerg2cic_bits);
722 0 : mask = GDrawCreateBitmap(NULL,pointerg2cic_width,pointerg2cic_height,pointerg2cicmask_bits);
723 0 : ct_g2circle = GDrawCreateCursor(image,mask,0xff0000,0xffffff,pointerg2cic_x_hot,
724 : pointerg2cic_y_hot);
725 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
726 : #endif
727 :
728 0 : image = GDrawCreateBitmap(NULL,pointerleft_width,pointerleft_height,pointerleft_bits);
729 0 : mask = GDrawCreateBitmap(NULL,pointerleft_width,pointerleft_height,pointerleftmask_bits);
730 0 : ct_spiroleft = GDrawCreateCursor(image,mask,0xff0000,0xffffff,pointerleft_x_hot,
731 : pointerleft_y_hot);
732 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
733 0 : image = GDrawCreateBitmap(NULL,pointerright_width,pointerright_height,pointerright_bits);
734 0 : mask = GDrawCreateBitmap(NULL,pointerright_width,pointerright_height,pointerrightmask_bits);
735 0 : ct_spiroright = GDrawCreateCursor(image,mask,0xff0000,0xffffff,pointerright_x_hot,
736 : pointerright_y_hot);
737 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
738 :
739 0 : image = GDrawCreateBitmap(NULL,rulercur_width,rulercur_height,rulercur_bits);
740 0 : ct_ruler = GDrawCreateCursor(image,image,0x000000,0xffffff,rulercur_x_hot,
741 : rulercur_y_hot);
742 0 : GDrawDestroyWindow(image);
743 :
744 0 : image = GDrawCreateBitmap(NULL,knifecur_width,knifecur_height,knifecur_bits);
745 0 : mask = GDrawCreateBitmap(NULL,knifecur_width,knifecur_height,knifecurmask_bits);
746 0 : ct_knife = GDrawCreateCursor(image,mask,0xff0000,0xffffff,knifecur_x_hot,
747 : knifecur_y_hot);
748 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
749 :
750 0 : image = GDrawCreateBitmap(NULL,flipcur_width,flipcur_height,flipcur_bits);
751 0 : mask = GDrawCreateBitmap(NULL,flipcur_width,flipcur_height,flipcurmask_bits);
752 0 : ct_flip = GDrawCreateCursor(image,image,0xff0000,0xffffff,flipcur_x_hot,
753 : flipcur_y_hot);
754 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
755 :
756 0 : image = GDrawCreateBitmap(NULL,rotatecur_width,rotatecur_height,rotatecur_bits);
757 0 : ct_rotate = GDrawCreateCursor(image,image,0x000000,0xffffff,rotatecur_x_hot,
758 : rotatecur_y_hot);
759 0 : GDrawDestroyWindow(image);
760 :
761 0 : image = GDrawCreateBitmap(NULL,scalecur_width,scalecur_height,scalecur_bits);
762 0 : mask = GDrawCreateBitmap(NULL,scalecur_width,scalecur_height,scalecurmask_bits);
763 0 : ct_scale = GDrawCreateCursor(image,image,0xff0000,0xffffff,scalecur_x_hot,
764 : scalecur_y_hot);
765 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
766 :
767 0 : image = GDrawCreateBitmap(NULL,skewcur_width,skewcur_height,skewcur_bits);
768 0 : mask = GDrawCreateBitmap(NULL,skewcur_width,skewcur_height,skewcurmask_bits);
769 0 : ct_skew = GDrawCreateCursor(image,image,0xff0000,0xffffff,skewcur_x_hot,
770 : skewcur_y_hot);
771 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
772 :
773 0 : image = GDrawCreateBitmap(NULL,rotate3dcur_width,rotate3dcur_height,rotate3dcur_bits);
774 0 : ct_3drotate = GDrawCreateCursor(image,image,0xff0000,0xffffff,rotate3dcur_x_hot,
775 : rotate3dcur_y_hot);
776 0 : GDrawDestroyWindow(image);
777 :
778 0 : image = GDrawCreateBitmap(NULL,perspectivecur_width,perspectivecur_height,perspectivecur_bits);
779 0 : ct_perspective = GDrawCreateCursor(image,image,0xff0000,0xffffff,perspectivecur_x_hot,
780 : perspectivecur_y_hot);
781 0 : GDrawDestroyWindow(image);
782 :
783 0 : image = GDrawCreateBitmap(NULL,rectcur_width,rectcur_height,rectcur_bits);
784 0 : ct_rect = GDrawCreateCursor(image,image,0xff0000,0xffffff,rectcur_x_hot,
785 : rectcur_y_hot);
786 0 : GDrawDestroyWindow(image);
787 0 : image = GDrawCreateBitmap(NULL,elipsecur_width,elipsecur_height,elipsecur_bits);
788 0 : ct_elipse = GDrawCreateCursor(image,image,0xff0000,0xffffff,elipsecur_x_hot,
789 : elipsecur_y_hot);
790 0 : GDrawDestroyWindow(image);
791 0 : image = GDrawCreateBitmap(NULL,polycur_width,polycur_height,polycur_bits);
792 0 : ct_poly = GDrawCreateCursor(image,image,0xff0000,0xffffff,polycur_x_hot,
793 : polycur_y_hot);
794 0 : GDrawDestroyWindow(image);
795 0 : image = GDrawCreateBitmap(NULL,starcur_width,starcur_height,starcur_bits);
796 0 : ct_star = GDrawCreateCursor(image,image,0xff0000,0xffffff,starcur_x_hot,
797 : starcur_y_hot);
798 0 : GDrawDestroyWindow(image);
799 :
800 0 : image = GDrawCreateBitmap(NULL,nwse_width,nwse_height,nwse_bits);
801 0 : ct_nwse = GDrawCreateCursor(image,image,0xff0000,0xffffff,nwse_x_hot,
802 : nwse_y_hot);
803 0 : GDrawDestroyWindow(image);
804 0 : image = GDrawCreateBitmap(NULL,nesw_width,nesw_height,nesw_bits);
805 0 : ct_nesw = GDrawCreateCursor(image,image,0xff0000,0xffffff,nesw_x_hot,
806 : nesw_y_hot);
807 0 : GDrawDestroyWindow(image);
808 0 : image = GDrawCreateBitmap(NULL,leftright_width,leftright_height,leftright_bits);
809 0 : ct_leftright = GDrawCreateCursor(image,image,0xff0000,0xffffff,leftright_x_hot,
810 : leftright_y_hot);
811 0 : GDrawDestroyWindow(image);
812 0 : image = GDrawCreateBitmap(NULL,updown_width,updown_height,updown_bits);
813 0 : ct_updown = GDrawCreateCursor(image,image,0xff0000,0xffffff,updown_x_hot,
814 : updown_y_hot);
815 0 : GDrawDestroyWindow(image);
816 :
817 0 : image = GDrawCreateBitmap(NULL,pencil_width,pencil_height,pencil_bits);
818 0 : mask = GDrawCreateBitmap(NULL,pencil_width,pencil_height,pencilmask_bits);
819 0 : ct_pencil = GDrawCreateCursor(image,mask,0xff0000,0xffffff,pencil_x_hot,
820 : pencil_y_hot);
821 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
822 0 : image = GDrawCreateBitmap(NULL,eyedropper_width,eyedropper_height,eyedropper_bits);
823 0 : mask = GDrawCreateBitmap(NULL,eyedropper_width,eyedropper_height,eyedroppermask_bits);
824 0 : ct_eyedropper = GDrawCreateCursor(image,mask,0xff0000,0xffffff,eyedropper_x_hot,
825 : eyedropper_y_hot);
826 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
827 0 : image = GDrawCreateBitmap(NULL,shift_width,shift_height,shift_bits);
828 0 : ct_shift = GDrawCreateCursor(image,image,0xff0000,0xffffff,shift_x_hot,
829 : shift_y_hot);
830 0 : GDrawDestroyWindow(image);
831 0 : image = GDrawCreateBitmap(NULL,linecur_width,linecur_height,linecur_bits);
832 0 : ct_line = GDrawCreateCursor(image,image,0xff0000,0xffffff,linecur_x_hot,
833 : linecur_y_hot);
834 0 : GDrawDestroyWindow(image);
835 0 : image = GDrawCreateBitmap(NULL,hand_width,hand_height,hand_bits);
836 0 : mask = GDrawCreateBitmap(NULL,hand_width,hand_height,handmask_bits);
837 0 : ct_myhand = GDrawCreateCursor(image,mask,0xff0000,0xffffff,hand_x_hot,
838 : hand_y_hot);
839 0 : GDrawDestroyWindow(image); GDrawDestroyWindow(mask);
840 0 : image = GDrawCreateBitmap(NULL,filledrectcur_width,filledrectcur_height,filledrectcur_bits);
841 0 : ct_filledrect = GDrawCreateCursor(image,image,0xff0000,0xffffff,filledrectcur_x_hot,
842 : filledrectcur_y_hot);
843 0 : GDrawDestroyWindow(image);
844 0 : image = GDrawCreateBitmap(NULL,filledelipsecur_width,filledelipsecur_height,filledelipsecur_bits);
845 0 : ct_filledelipse = GDrawCreateCursor(image,image,0xff0000,0xffffff,filledelipsecur_x_hot,
846 : filledelipsecur_y_hot);
847 0 : GDrawDestroyWindow(image);
848 :
849 0 : image = GDrawCreateBitmap(NULL,kerncur_width,kerncur_height,kerncur_bits);
850 0 : mask = GDrawCreateBitmap(NULL,rbearmask_width,rbearmask_height,rbearmask_bits);
851 0 : ct_kerning = GDrawCreateCursor(image,mask,0xff0000,0xffffff,kerncur_x_hot,
852 : kerncur_y_hot);
853 0 : GDrawDestroyWindow(image);
854 0 : image = GDrawCreateBitmap(NULL,rbearcur_width,rbearcur_height,rbearcur_bits);
855 0 : ct_rbearing = GDrawCreateCursor(image,mask,0xff0000,0xffffff,rbearcur_x_hot,
856 : rbearcur_y_hot);
857 0 : GDrawDestroyWindow(image);
858 0 : GDrawDestroyWindow(mask);
859 0 : image = GDrawCreateBitmap(NULL,lbearcur_width,lbearcur_height,lbearcur_bits);
860 0 : mask = GDrawCreateBitmap(NULL,lbearmask_width,lbearmask_height,lbearmask_bits);
861 0 : ct_lbearing = GDrawCreateCursor(image,mask,0xff0000,0xffffff,lbearcur_x_hot,
862 : lbearcur_y_hot);
863 0 : GDrawDestroyWindow(image);
864 0 : GDrawDestroyWindow(mask);
865 :
866 0 : logo_icon = GDrawCreateBitmap(NULL,logo_width,logo_height,logo_bits);
867 0 : GDrawSetDefaultIcon(logo_icon);
868 :
869 0 : image = GDrawCreateBitmap(NULL,prohibition_width,prohibition_height,prohibition_bits);
870 0 : mask = GDrawCreateBitmap(NULL,prohibition_width,prohibition_height,prohibitionmask_bits);
871 0 : ct_prohibition = GDrawCreateCursor(image,mask,0xff0000,0xffffff,prohibition_x_hot,
872 : prohibition_y_hot);
873 0 : GDrawDestroyWindow(image);
874 0 : GDrawDestroyWindow(mask);
875 0 : image = GDrawCreateBitmap(NULL,ddcursor_width,ddcursor_height,ddcursor_bits);
876 0 : ct_ddcursor = GDrawCreateCursor(image,image,0xff0000,0xffffff,ddcursor_x_hot,
877 : ddcursor_y_hot);
878 0 : GDrawDestroyWindow(image);
879 0 : image = GDrawCreateBitmap(NULL,featurescursor_width,featurescursor_height,featurescursor_bits);
880 0 : ct_features = GDrawCreateCursor(image,image,0xff0000,0xffffff,featurescursor_x_hot,
881 : featurescursor_y_hot);
882 0 : GDrawDestroyWindow(image);
883 0 : }
|