213
|
1 /* mswindows-specific Lisp objects.
|
|
2 Copyright (C) 1993, 1994 Free Software Foundation, Inc.
|
|
3 Copyright (C) 1995 Board of Trustees, University of Illinois.
|
|
4 Copyright (C) 1995 Tinker Systems.
|
|
5 Copyright (C) 1995, 1996 Ben Wing.
|
|
6 Copyright (C) 1995 Sun Microsystems, Inc.
|
|
7 Copyright (C) 1997 Jonathan Harris.
|
|
8
|
|
9 This file is part of XEmacs.
|
|
10
|
|
11 XEmacs is free software; you can redistribute it and/or modify it
|
|
12 under the terms of the GNU General Public License as published by the
|
|
13 Free Software Foundation; either version 2, or (at your option) any
|
|
14 later version.
|
|
15
|
|
16 XEmacs is distributed in the hope that it will be useful, but WITHOUT
|
|
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
19 for more details.
|
|
20
|
|
21 You should have received a copy of the GNU General Public License
|
|
22 along with XEmacs; see the file COPYING. If not, write to
|
|
23 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
24 Boston, MA 02111-1307, USA. */
|
|
25
|
|
26 /* Synched up with: Not in FSF. */
|
|
27
|
|
28 /* Authorship:
|
|
29
|
|
30 Jamie Zawinski, Chuck Thompson, Ben Wing
|
|
31 Rewritten for mswindows by Jonathan Harris, November 1997 for 20.4.
|
|
32 */
|
|
33
|
|
34
|
|
35 /* TODO: palette handling */
|
|
36
|
|
37 #include <config.h>
|
|
38 #include "lisp.h"
|
|
39
|
|
40 #include "console-msw.h"
|
|
41 #include "objects-msw.h"
|
|
42
|
|
43 #ifdef MULE
|
|
44 #include "mule-charset.h"
|
|
45 #endif
|
|
46
|
|
47 #include "buffer.h"
|
|
48 #include "device.h"
|
|
49 #include "insdel.h"
|
|
50
|
231
|
51 #ifdef __CYGWIN32__
|
|
52 #define stricmp strcasecmp
|
|
53 #endif
|
213
|
54
|
|
55 typedef struct colormap_t
|
|
56 {
|
|
57 char *name;
|
|
58 COLORREF colorref;
|
|
59 } colormap_t;
|
|
60
|
251
|
61 /* Colors from X11R6 "XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp" */
|
213
|
62 static CONST colormap_t mswindows_X_color_map[] =
|
|
63 {
|
251
|
64 {"snow" , PALETTERGB (255, 250, 250) },
|
|
65 {"GhostWhite" , PALETTERGB (248, 248, 255) },
|
|
66 {"WhiteSmoke" , PALETTERGB (245, 245, 245) },
|
|
67 {"gainsboro" , PALETTERGB (220, 220, 220) },
|
|
68 {"FloralWhite" , PALETTERGB (255, 250, 240) },
|
|
69 {"OldLace" , PALETTERGB (253, 245, 230) },
|
|
70 {"linen" , PALETTERGB (250, 240, 230) },
|
|
71 {"AntiqueWhite" , PALETTERGB (250, 235, 215) },
|
|
72 {"PapayaWhip" , PALETTERGB (255, 239, 213) },
|
|
73 {"BlanchedAlmond" , PALETTERGB (255, 235, 205) },
|
|
74 {"bisque" , PALETTERGB (255, 228, 196) },
|
|
75 {"PeachPuff" , PALETTERGB (255, 218, 185) },
|
|
76 {"NavajoWhite" , PALETTERGB (255, 222, 173) },
|
|
77 {"moccasin" , PALETTERGB (255, 228, 181) },
|
|
78 {"cornsilk" , PALETTERGB (255, 248, 220) },
|
|
79 {"ivory" , PALETTERGB (255, 255, 240) },
|
|
80 {"LemonChiffon" , PALETTERGB (255, 250, 205) },
|
|
81 {"seashell" , PALETTERGB (255, 245, 238) },
|
|
82 {"honeydew" , PALETTERGB (240, 255, 240) },
|
|
83 {"MintCream" , PALETTERGB (245, 255, 250) },
|
|
84 {"azure" , PALETTERGB (240, 255, 255) },
|
|
85 {"AliceBlue" , PALETTERGB (240, 248, 255) },
|
|
86 {"lavender" , PALETTERGB (230, 230, 250) },
|
|
87 {"LavenderBlush" , PALETTERGB (255, 240, 245) },
|
|
88 {"MistyRose" , PALETTERGB (255, 228, 225) },
|
|
89 {"white" , PALETTERGB (255, 255, 255) },
|
|
90 {"black" , PALETTERGB (0, 0, 0) },
|
|
91 {"DarkSlateGray" , PALETTERGB (47, 79, 79) },
|
|
92 {"DarkSlateGrey" , PALETTERGB (47, 79, 79) },
|
|
93 {"DimGray" , PALETTERGB (105, 105, 105) },
|
|
94 {"DimGrey" , PALETTERGB (105, 105, 105) },
|
|
95 {"SlateGray" , PALETTERGB (112, 128, 144) },
|
|
96 {"SlateGrey" , PALETTERGB (112, 128, 144) },
|
|
97 {"LightSlateGray" , PALETTERGB (119, 136, 153) },
|
|
98 {"LightSlateGrey" , PALETTERGB (119, 136, 153) },
|
|
99 {"gray" , PALETTERGB (190, 190, 190) },
|
|
100 {"grey" , PALETTERGB (190, 190, 190) },
|
|
101 {"LightGrey" , PALETTERGB (211, 211, 211) },
|
|
102 {"LightGray" , PALETTERGB (211, 211, 211) },
|
|
103 {"MidnightBlue" , PALETTERGB (25, 25, 112) },
|
|
104 {"navy" , PALETTERGB (0, 0, 128) },
|
|
105 {"NavyBlue" , PALETTERGB (0, 0, 128) },
|
|
106 {"CornflowerBlue" , PALETTERGB (100, 149, 237) },
|
|
107 {"DarkSlateBlue" , PALETTERGB (72, 61, 139) },
|
|
108 {"SlateBlue" , PALETTERGB (106, 90, 205) },
|
|
109 {"MediumSlateBlue" , PALETTERGB (123, 104, 238) },
|
|
110 {"LightSlateBlue" , PALETTERGB (132, 112, 255) },
|
|
111 {"MediumBlue" , PALETTERGB (0, 0, 205) },
|
|
112 {"RoyalBlue" , PALETTERGB (65, 105, 225) },
|
|
113 {"blue" , PALETTERGB (0, 0, 255) },
|
|
114 {"DodgerBlue" , PALETTERGB (30, 144, 255) },
|
|
115 {"DeepSkyBlue" , PALETTERGB (0, 191, 255) },
|
|
116 {"SkyBlue" , PALETTERGB (135, 206, 235) },
|
|
117 {"LightSkyBlue" , PALETTERGB (135, 206, 250) },
|
|
118 {"SteelBlue" , PALETTERGB (70, 130, 180) },
|
|
119 {"LightSteelBlue" , PALETTERGB (176, 196, 222) },
|
|
120 {"LightBlue" , PALETTERGB (173, 216, 230) },
|
|
121 {"PowderBlue" , PALETTERGB (176, 224, 230) },
|
|
122 {"PaleTurquoise" , PALETTERGB (175, 238, 238) },
|
|
123 {"DarkTurquoise" , PALETTERGB (0, 206, 209) },
|
|
124 {"MediumTurquoise" , PALETTERGB (72, 209, 204) },
|
|
125 {"turquoise" , PALETTERGB (64, 224, 208) },
|
|
126 {"cyan" , PALETTERGB (0, 255, 255) },
|
|
127 {"LightCyan" , PALETTERGB (224, 255, 255) },
|
|
128 {"CadetBlue" , PALETTERGB (95, 158, 160) },
|
|
129 {"MediumAquamarine" , PALETTERGB (102, 205, 170) },
|
|
130 {"aquamarine" , PALETTERGB (127, 255, 212) },
|
|
131 {"DarkGreen" , PALETTERGB (0, 100, 0) },
|
|
132 {"DarkOliveGreen" , PALETTERGB (85, 107, 47) },
|
|
133 {"DarkSeaGreen" , PALETTERGB (143, 188, 143) },
|
|
134 {"SeaGreen" , PALETTERGB (46, 139, 87) },
|
|
135 {"MediumSeaGreen" , PALETTERGB (60, 179, 113) },
|
|
136 {"LightSeaGreen" , PALETTERGB (32, 178, 170) },
|
|
137 {"PaleGreen" , PALETTERGB (152, 251, 152) },
|
|
138 {"SpringGreen" , PALETTERGB (0, 255, 127) },
|
|
139 {"LawnGreen" , PALETTERGB (124, 252, 0) },
|
|
140 {"green" , PALETTERGB (0, 255, 0) },
|
|
141 {"chartreuse" , PALETTERGB (127, 255, 0) },
|
|
142 {"MediumSpringGreen" , PALETTERGB (0, 250, 154) },
|
|
143 {"GreenYellow" , PALETTERGB (173, 255, 47) },
|
|
144 {"LimeGreen" , PALETTERGB (50, 205, 50) },
|
|
145 {"YellowGreen" , PALETTERGB (154, 205, 50) },
|
|
146 {"ForestGreen" , PALETTERGB (34, 139, 34) },
|
|
147 {"OliveDrab" , PALETTERGB (107, 142, 35) },
|
|
148 {"DarkKhaki" , PALETTERGB (189, 183, 107) },
|
|
149 {"khaki" , PALETTERGB (240, 230, 140) },
|
|
150 {"PaleGoldenrod" , PALETTERGB (238, 232, 170) },
|
|
151 {"LightGoldenrodYellow" , PALETTERGB (250, 250, 210) },
|
|
152 {"LightYellow" , PALETTERGB (255, 255, 224) },
|
|
153 {"yellow" , PALETTERGB (255, 255, 0) },
|
|
154 {"gold" , PALETTERGB (255, 215, 0) },
|
|
155 {"LightGoldenrod" , PALETTERGB (238, 221, 130) },
|
|
156 {"goldenrod" , PALETTERGB (218, 165, 32) },
|
|
157 {"DarkGoldenrod" , PALETTERGB (184, 134, 11) },
|
|
158 {"RosyBrown" , PALETTERGB (188, 143, 143) },
|
|
159 {"IndianRed" , PALETTERGB (205, 92, 92) },
|
|
160 {"SaddleBrown" , PALETTERGB (139, 69, 19) },
|
|
161 {"sienna" , PALETTERGB (160, 82, 45) },
|
|
162 {"peru" , PALETTERGB (205, 133, 63) },
|
|
163 {"burlywood" , PALETTERGB (222, 184, 135) },
|
|
164 {"beige" , PALETTERGB (245, 245, 220) },
|
|
165 {"wheat" , PALETTERGB (245, 222, 179) },
|
|
166 {"SandyBrown" , PALETTERGB (244, 164, 96) },
|
|
167 {"tan" , PALETTERGB (210, 180, 140) },
|
|
168 {"chocolate" , PALETTERGB (210, 105, 30) },
|
|
169 {"firebrick" , PALETTERGB (178, 34, 34) },
|
|
170 {"brown" , PALETTERGB (165, 42, 42) },
|
|
171 {"DarkSalmon" , PALETTERGB (233, 150, 122) },
|
|
172 {"salmon" , PALETTERGB (250, 128, 114) },
|
|
173 {"LightSalmon" , PALETTERGB (255, 160, 122) },
|
|
174 {"orange" , PALETTERGB (255, 165, 0) },
|
|
175 {"DarkOrange" , PALETTERGB (255, 140, 0) },
|
|
176 {"coral" , PALETTERGB (255, 127, 80) },
|
|
177 {"LightCoral" , PALETTERGB (240, 128, 128) },
|
|
178 {"tomato" , PALETTERGB (255, 99, 71) },
|
|
179 {"OrangeRed" , PALETTERGB (255, 69, 0) },
|
|
180 {"red" , PALETTERGB (255, 0, 0) },
|
|
181 {"HotPink" , PALETTERGB (255, 105, 180) },
|
|
182 {"DeepPink" , PALETTERGB (255, 20, 147) },
|
|
183 {"pink" , PALETTERGB (255, 192, 203) },
|
|
184 {"LightPink" , PALETTERGB (255, 182, 193) },
|
|
185 {"PaleVioletRed" , PALETTERGB (219, 112, 147) },
|
|
186 {"maroon" , PALETTERGB (176, 48, 96) },
|
|
187 {"MediumVioletRed" , PALETTERGB (199, 21, 133) },
|
|
188 {"VioletRed" , PALETTERGB (208, 32, 144) },
|
|
189 {"magenta" , PALETTERGB (255, 0, 255) },
|
|
190 {"violet" , PALETTERGB (238, 130, 238) },
|
|
191 {"plum" , PALETTERGB (221, 160, 221) },
|
|
192 {"orchid" , PALETTERGB (218, 112, 214) },
|
|
193 {"MediumOrchid" , PALETTERGB (186, 85, 211) },
|
|
194 {"DarkOrchid" , PALETTERGB (153, 50, 204) },
|
|
195 {"DarkViolet" , PALETTERGB (148, 0, 211) },
|
|
196 {"BlueViolet" , PALETTERGB (138, 43, 226) },
|
|
197 {"purple" , PALETTERGB (160, 32, 240) },
|
|
198 {"MediumPurple" , PALETTERGB (147, 112, 219) },
|
|
199 {"thistle" , PALETTERGB (216, 191, 216) },
|
|
200 {"snow1" , PALETTERGB (255, 250, 250) },
|
|
201 {"snow2" , PALETTERGB (238, 233, 233) },
|
|
202 {"snow3" , PALETTERGB (205, 201, 201) },
|
|
203 {"snow4" , PALETTERGB (139, 137, 137) },
|
|
204 {"seashell1" , PALETTERGB (255, 245, 238) },
|
|
205 {"seashell2" , PALETTERGB (238, 229, 222) },
|
|
206 {"seashell3" , PALETTERGB (205, 197, 191) },
|
|
207 {"seashell4" , PALETTERGB (139, 134, 130) },
|
|
208 {"AntiqueWhite1" , PALETTERGB (255, 239, 219) },
|
|
209 {"AntiqueWhite2" , PALETTERGB (238, 223, 204) },
|
|
210 {"AntiqueWhite3" , PALETTERGB (205, 192, 176) },
|
|
211 {"AntiqueWhite4" , PALETTERGB (139, 131, 120) },
|
|
212 {"bisque1" , PALETTERGB (255, 228, 196) },
|
|
213 {"bisque2" , PALETTERGB (238, 213, 183) },
|
|
214 {"bisque3" , PALETTERGB (205, 183, 158) },
|
|
215 {"bisque4" , PALETTERGB (139, 125, 107) },
|
|
216 {"PeachPuff1" , PALETTERGB (255, 218, 185) },
|
|
217 {"PeachPuff2" , PALETTERGB (238, 203, 173) },
|
|
218 {"PeachPuff3" , PALETTERGB (205, 175, 149) },
|
|
219 {"PeachPuff4" , PALETTERGB (139, 119, 101) },
|
|
220 {"NavajoWhite1" , PALETTERGB (255, 222, 173) },
|
|
221 {"NavajoWhite2" , PALETTERGB (238, 207, 161) },
|
|
222 {"NavajoWhite3" , PALETTERGB (205, 179, 139) },
|
|
223 {"NavajoWhite4" , PALETTERGB (139, 121, 94) },
|
|
224 {"LemonChiffon1" , PALETTERGB (255, 250, 205) },
|
|
225 {"LemonChiffon2" , PALETTERGB (238, 233, 191) },
|
|
226 {"LemonChiffon3" , PALETTERGB (205, 201, 165) },
|
|
227 {"LemonChiffon4" , PALETTERGB (139, 137, 112) },
|
|
228 {"cornsilk1" , PALETTERGB (255, 248, 220) },
|
|
229 {"cornsilk2" , PALETTERGB (238, 232, 205) },
|
|
230 {"cornsilk3" , PALETTERGB (205, 200, 177) },
|
|
231 {"cornsilk4" , PALETTERGB (139, 136, 120) },
|
|
232 {"ivory1" , PALETTERGB (255, 255, 240) },
|
|
233 {"ivory2" , PALETTERGB (238, 238, 224) },
|
|
234 {"ivory3" , PALETTERGB (205, 205, 193) },
|
|
235 {"ivory4" , PALETTERGB (139, 139, 131) },
|
|
236 {"honeydew1" , PALETTERGB (240, 255, 240) },
|
|
237 {"honeydew2" , PALETTERGB (224, 238, 224) },
|
|
238 {"honeydew3" , PALETTERGB (193, 205, 193) },
|
|
239 {"honeydew4" , PALETTERGB (131, 139, 131) },
|
|
240 {"LavenderBlush1" , PALETTERGB (255, 240, 245) },
|
|
241 {"LavenderBlush2" , PALETTERGB (238, 224, 229) },
|
|
242 {"LavenderBlush3" , PALETTERGB (205, 193, 197) },
|
|
243 {"LavenderBlush4" , PALETTERGB (139, 131, 134) },
|
|
244 {"MistyRose1" , PALETTERGB (255, 228, 225) },
|
|
245 {"MistyRose2" , PALETTERGB (238, 213, 210) },
|
|
246 {"MistyRose3" , PALETTERGB (205, 183, 181) },
|
|
247 {"MistyRose4" , PALETTERGB (139, 125, 123) },
|
|
248 {"azure1" , PALETTERGB (240, 255, 255) },
|
|
249 {"azure2" , PALETTERGB (224, 238, 238) },
|
|
250 {"azure3" , PALETTERGB (193, 205, 205) },
|
|
251 {"azure4" , PALETTERGB (131, 139, 139) },
|
|
252 {"SlateBlue1" , PALETTERGB (131, 111, 255) },
|
|
253 {"SlateBlue2" , PALETTERGB (122, 103, 238) },
|
|
254 {"SlateBlue3" , PALETTERGB (105, 89, 205) },
|
|
255 {"SlateBlue4" , PALETTERGB (71, 60, 139) },
|
|
256 {"RoyalBlue1" , PALETTERGB (72, 118, 255) },
|
|
257 {"RoyalBlue2" , PALETTERGB (67, 110, 238) },
|
|
258 {"RoyalBlue3" , PALETTERGB (58, 95, 205) },
|
|
259 {"RoyalBlue4" , PALETTERGB (39, 64, 139) },
|
|
260 {"blue1" , PALETTERGB (0, 0, 255) },
|
|
261 {"blue2" , PALETTERGB (0, 0, 238) },
|
|
262 {"blue3" , PALETTERGB (0, 0, 205) },
|
|
263 {"blue4" , PALETTERGB (0, 0, 139) },
|
|
264 {"DodgerBlue1" , PALETTERGB (30, 144, 255) },
|
|
265 {"DodgerBlue2" , PALETTERGB (28, 134, 238) },
|
|
266 {"DodgerBlue3" , PALETTERGB (24, 116, 205) },
|
|
267 {"DodgerBlue4" , PALETTERGB (16, 78, 139) },
|
|
268 {"SteelBlue1" , PALETTERGB (99, 184, 255) },
|
|
269 {"SteelBlue2" , PALETTERGB (92, 172, 238) },
|
|
270 {"SteelBlue3" , PALETTERGB (79, 148, 205) },
|
|
271 {"SteelBlue4" , PALETTERGB (54, 100, 139) },
|
|
272 {"DeepSkyBlue1" , PALETTERGB (0, 191, 255) },
|
|
273 {"DeepSkyBlue2" , PALETTERGB (0, 178, 238) },
|
|
274 {"DeepSkyBlue3" , PALETTERGB (0, 154, 205) },
|
|
275 {"DeepSkyBlue4" , PALETTERGB (0, 104, 139) },
|
|
276 {"SkyBlue1" , PALETTERGB (135, 206, 255) },
|
|
277 {"SkyBlue2" , PALETTERGB (126, 192, 238) },
|
|
278 {"SkyBlue3" , PALETTERGB (108, 166, 205) },
|
|
279 {"SkyBlue4" , PALETTERGB (74, 112, 139) },
|
|
280 {"LightSkyBlue1" , PALETTERGB (176, 226, 255) },
|
|
281 {"LightSkyBlue2" , PALETTERGB (164, 211, 238) },
|
|
282 {"LightSkyBlue3" , PALETTERGB (141, 182, 205) },
|
|
283 {"LightSkyBlue4" , PALETTERGB (96, 123, 139) },
|
|
284 {"SlateGray1" , PALETTERGB (198, 226, 255) },
|
|
285 {"SlateGray2" , PALETTERGB (185, 211, 238) },
|
|
286 {"SlateGray3" , PALETTERGB (159, 182, 205) },
|
|
287 {"SlateGray4" , PALETTERGB (108, 123, 139) },
|
|
288 {"LightSteelBlue1" , PALETTERGB (202, 225, 255) },
|
|
289 {"LightSteelBlue2" , PALETTERGB (188, 210, 238) },
|
|
290 {"LightSteelBlue3" , PALETTERGB (162, 181, 205) },
|
|
291 {"LightSteelBlue4" , PALETTERGB (110, 123, 139) },
|
|
292 {"LightBlue1" , PALETTERGB (191, 239, 255) },
|
|
293 {"LightBlue2" , PALETTERGB (178, 223, 238) },
|
|
294 {"LightBlue3" , PALETTERGB (154, 192, 205) },
|
|
295 {"LightBlue4" , PALETTERGB (104, 131, 139) },
|
|
296 {"LightCyan1" , PALETTERGB (224, 255, 255) },
|
|
297 {"LightCyan2" , PALETTERGB (209, 238, 238) },
|
|
298 {"LightCyan3" , PALETTERGB (180, 205, 205) },
|
|
299 {"LightCyan4" , PALETTERGB (122, 139, 139) },
|
|
300 {"PaleTurquoise1" , PALETTERGB (187, 255, 255) },
|
|
301 {"PaleTurquoise2" , PALETTERGB (174, 238, 238) },
|
|
302 {"PaleTurquoise3" , PALETTERGB (150, 205, 205) },
|
|
303 {"PaleTurquoise4" , PALETTERGB (102, 139, 139) },
|
|
304 {"CadetBlue1" , PALETTERGB (152, 245, 255) },
|
|
305 {"CadetBlue2" , PALETTERGB (142, 229, 238) },
|
|
306 {"CadetBlue3" , PALETTERGB (122, 197, 205) },
|
|
307 {"CadetBlue4" , PALETTERGB (83, 134, 139) },
|
|
308 {"turquoise1" , PALETTERGB (0, 245, 255) },
|
|
309 {"turquoise2" , PALETTERGB (0, 229, 238) },
|
|
310 {"turquoise3" , PALETTERGB (0, 197, 205) },
|
|
311 {"turquoise4" , PALETTERGB (0, 134, 139) },
|
|
312 {"cyan1" , PALETTERGB (0, 255, 255) },
|
|
313 {"cyan2" , PALETTERGB (0, 238, 238) },
|
|
314 {"cyan3" , PALETTERGB (0, 205, 205) },
|
|
315 {"cyan4" , PALETTERGB (0, 139, 139) },
|
|
316 {"DarkSlateGray1" , PALETTERGB (151, 255, 255) },
|
|
317 {"DarkSlateGray2" , PALETTERGB (141, 238, 238) },
|
|
318 {"DarkSlateGray3" , PALETTERGB (121, 205, 205) },
|
|
319 {"DarkSlateGray4" , PALETTERGB (82, 139, 139) },
|
|
320 {"aquamarine1" , PALETTERGB (127, 255, 212) },
|
|
321 {"aquamarine2" , PALETTERGB (118, 238, 198) },
|
|
322 {"aquamarine3" , PALETTERGB (102, 205, 170) },
|
|
323 {"aquamarine4" , PALETTERGB (69, 139, 116) },
|
|
324 {"DarkSeaGreen1" , PALETTERGB (193, 255, 193) },
|
|
325 {"DarkSeaGreen2" , PALETTERGB (180, 238, 180) },
|
|
326 {"DarkSeaGreen3" , PALETTERGB (155, 205, 155) },
|
|
327 {"DarkSeaGreen4" , PALETTERGB (105, 139, 105) },
|
|
328 {"SeaGreen1" , PALETTERGB (84, 255, 159) },
|
|
329 {"SeaGreen2" , PALETTERGB (78, 238, 148) },
|
|
330 {"SeaGreen3" , PALETTERGB (67, 205, 128) },
|
|
331 {"SeaGreen4" , PALETTERGB (46, 139, 87) },
|
|
332 {"PaleGreen1" , PALETTERGB (154, 255, 154) },
|
|
333 {"PaleGreen2" , PALETTERGB (144, 238, 144) },
|
|
334 {"PaleGreen3" , PALETTERGB (124, 205, 124) },
|
|
335 {"PaleGreen4" , PALETTERGB (84, 139, 84) },
|
|
336 {"SpringGreen1" , PALETTERGB (0, 255, 127) },
|
|
337 {"SpringGreen2" , PALETTERGB (0, 238, 118) },
|
|
338 {"SpringGreen3" , PALETTERGB (0, 205, 102) },
|
|
339 {"SpringGreen4" , PALETTERGB (0, 139, 69) },
|
|
340 {"green1" , PALETTERGB (0, 255, 0) },
|
|
341 {"green2" , PALETTERGB (0, 238, 0) },
|
|
342 {"green3" , PALETTERGB (0, 205, 0) },
|
|
343 {"green4" , PALETTERGB (0, 139, 0) },
|
|
344 {"chartreuse1" , PALETTERGB (127, 255, 0) },
|
|
345 {"chartreuse2" , PALETTERGB (118, 238, 0) },
|
|
346 {"chartreuse3" , PALETTERGB (102, 205, 0) },
|
|
347 {"chartreuse4" , PALETTERGB (69, 139, 0) },
|
|
348 {"OliveDrab1" , PALETTERGB (192, 255, 62) },
|
|
349 {"OliveDrab2" , PALETTERGB (179, 238, 58) },
|
|
350 {"OliveDrab3" , PALETTERGB (154, 205, 50) },
|
|
351 {"OliveDrab4" , PALETTERGB (105, 139, 34) },
|
|
352 {"DarkOliveGreen1" , PALETTERGB (202, 255, 112) },
|
|
353 {"DarkOliveGreen2" , PALETTERGB (188, 238, 104) },
|
|
354 {"DarkOliveGreen3" , PALETTERGB (162, 205, 90) },
|
|
355 {"DarkOliveGreen4" , PALETTERGB (110, 139, 61) },
|
|
356 {"khaki1" , PALETTERGB (255, 246, 143) },
|
|
357 {"khaki2" , PALETTERGB (238, 230, 133) },
|
|
358 {"khaki3" , PALETTERGB (205, 198, 115) },
|
|
359 {"khaki4" , PALETTERGB (139, 134, 78) },
|
|
360 {"LightGoldenrod1" , PALETTERGB (255, 236, 139) },
|
|
361 {"LightGoldenrod2" , PALETTERGB (238, 220, 130) },
|
|
362 {"LightGoldenrod3" , PALETTERGB (205, 190, 112) },
|
|
363 {"LightGoldenrod4" , PALETTERGB (139, 129, 76) },
|
|
364 {"LightYellow1" , PALETTERGB (255, 255, 224) },
|
|
365 {"LightYellow2" , PALETTERGB (238, 238, 209) },
|
|
366 {"LightYellow3" , PALETTERGB (205, 205, 180) },
|
|
367 {"LightYellow4" , PALETTERGB (139, 139, 122) },
|
|
368 {"yellow1" , PALETTERGB (255, 255, 0) },
|
|
369 {"yellow2" , PALETTERGB (238, 238, 0) },
|
|
370 {"yellow3" , PALETTERGB (205, 205, 0) },
|
|
371 {"yellow4" , PALETTERGB (139, 139, 0) },
|
|
372 {"gold1" , PALETTERGB (255, 215, 0) },
|
|
373 {"gold2" , PALETTERGB (238, 201, 0) },
|
|
374 {"gold3" , PALETTERGB (205, 173, 0) },
|
|
375 {"gold4" , PALETTERGB (139, 117, 0) },
|
|
376 {"goldenrod1" , PALETTERGB (255, 193, 37) },
|
|
377 {"goldenrod2" , PALETTERGB (238, 180, 34) },
|
|
378 {"goldenrod3" , PALETTERGB (205, 155, 29) },
|
|
379 {"goldenrod4" , PALETTERGB (139, 105, 20) },
|
|
380 {"DarkGoldenrod1" , PALETTERGB (255, 185, 15) },
|
|
381 {"DarkGoldenrod2" , PALETTERGB (238, 173, 14) },
|
|
382 {"DarkGoldenrod3" , PALETTERGB (205, 149, 12) },
|
|
383 {"DarkGoldenrod4" , PALETTERGB (139, 101, 8) },
|
|
384 {"RosyBrown1" , PALETTERGB (255, 193, 193) },
|
|
385 {"RosyBrown2" , PALETTERGB (238, 180, 180) },
|
|
386 {"RosyBrown3" , PALETTERGB (205, 155, 155) },
|
|
387 {"RosyBrown4" , PALETTERGB (139, 105, 105) },
|
|
388 {"IndianRed1" , PALETTERGB (255, 106, 106) },
|
|
389 {"IndianRed2" , PALETTERGB (238, 99, 99) },
|
|
390 {"IndianRed3" , PALETTERGB (205, 85, 85) },
|
|
391 {"IndianRed4" , PALETTERGB (139, 58, 58) },
|
|
392 {"sienna1" , PALETTERGB (255, 130, 71) },
|
|
393 {"sienna2" , PALETTERGB (238, 121, 66) },
|
|
394 {"sienna3" , PALETTERGB (205, 104, 57) },
|
|
395 {"sienna4" , PALETTERGB (139, 71, 38) },
|
|
396 {"burlywood1" , PALETTERGB (255, 211, 155) },
|
|
397 {"burlywood2" , PALETTERGB (238, 197, 145) },
|
|
398 {"burlywood3" , PALETTERGB (205, 170, 125) },
|
|
399 {"burlywood4" , PALETTERGB (139, 115, 85) },
|
|
400 {"wheat1" , PALETTERGB (255, 231, 186) },
|
|
401 {"wheat2" , PALETTERGB (238, 216, 174) },
|
|
402 {"wheat3" , PALETTERGB (205, 186, 150) },
|
|
403 {"wheat4" , PALETTERGB (139, 126, 102) },
|
|
404 {"tan1" , PALETTERGB (255, 165, 79) },
|
|
405 {"tan2" , PALETTERGB (238, 154, 73) },
|
|
406 {"tan3" , PALETTERGB (205, 133, 63) },
|
|
407 {"tan4" , PALETTERGB (139, 90, 43) },
|
|
408 {"chocolate1" , PALETTERGB (255, 127, 36) },
|
|
409 {"chocolate2" , PALETTERGB (238, 118, 33) },
|
|
410 {"chocolate3" , PALETTERGB (205, 102, 29) },
|
|
411 {"chocolate4" , PALETTERGB (139, 69, 19) },
|
|
412 {"firebrick1" , PALETTERGB (255, 48, 48) },
|
|
413 {"firebrick2" , PALETTERGB (238, 44, 44) },
|
|
414 {"firebrick3" , PALETTERGB (205, 38, 38) },
|
|
415 {"firebrick4" , PALETTERGB (139, 26, 26) },
|
|
416 {"brown1" , PALETTERGB (255, 64, 64) },
|
|
417 {"brown2" , PALETTERGB (238, 59, 59) },
|
|
418 {"brown3" , PALETTERGB (205, 51, 51) },
|
|
419 {"brown4" , PALETTERGB (139, 35, 35) },
|
|
420 {"salmon1" , PALETTERGB (255, 140, 105) },
|
|
421 {"salmon2" , PALETTERGB (238, 130, 98) },
|
|
422 {"salmon3" , PALETTERGB (205, 112, 84) },
|
|
423 {"salmon4" , PALETTERGB (139, 76, 57) },
|
|
424 {"LightSalmon1" , PALETTERGB (255, 160, 122) },
|
|
425 {"LightSalmon2" , PALETTERGB (238, 149, 114) },
|
|
426 {"LightSalmon3" , PALETTERGB (205, 129, 98) },
|
|
427 {"LightSalmon4" , PALETTERGB (139, 87, 66) },
|
|
428 {"orange1" , PALETTERGB (255, 165, 0) },
|
|
429 {"orange2" , PALETTERGB (238, 154, 0) },
|
|
430 {"orange3" , PALETTERGB (205, 133, 0) },
|
|
431 {"orange4" , PALETTERGB (139, 90, 0) },
|
|
432 {"DarkOrange1" , PALETTERGB (255, 127, 0) },
|
|
433 {"DarkOrange2" , PALETTERGB (238, 118, 0) },
|
|
434 {"DarkOrange3" , PALETTERGB (205, 102, 0) },
|
|
435 {"DarkOrange4" , PALETTERGB (139, 69, 0) },
|
|
436 {"coral1" , PALETTERGB (255, 114, 86) },
|
|
437 {"coral2" , PALETTERGB (238, 106, 80) },
|
|
438 {"coral3" , PALETTERGB (205, 91, 69) },
|
|
439 {"coral4" , PALETTERGB (139, 62, 47) },
|
|
440 {"tomato1" , PALETTERGB (255, 99, 71) },
|
|
441 {"tomato2" , PALETTERGB (238, 92, 66) },
|
|
442 {"tomato3" , PALETTERGB (205, 79, 57) },
|
|
443 {"tomato4" , PALETTERGB (139, 54, 38) },
|
|
444 {"OrangeRed1" , PALETTERGB (255, 69, 0) },
|
|
445 {"OrangeRed2" , PALETTERGB (238, 64, 0) },
|
|
446 {"OrangeRed3" , PALETTERGB (205, 55, 0) },
|
|
447 {"OrangeRed4" , PALETTERGB (139, 37, 0) },
|
|
448 {"red1" , PALETTERGB (255, 0, 0) },
|
|
449 {"red2" , PALETTERGB (238, 0, 0) },
|
|
450 {"red3" , PALETTERGB (205, 0, 0) },
|
|
451 {"red4" , PALETTERGB (139, 0, 0) },
|
|
452 {"DeepPink1" , PALETTERGB (255, 20, 147) },
|
|
453 {"DeepPink2" , PALETTERGB (238, 18, 137) },
|
|
454 {"DeepPink3" , PALETTERGB (205, 16, 118) },
|
|
455 {"DeepPink4" , PALETTERGB (139, 10, 80) },
|
|
456 {"HotPink1" , PALETTERGB (255, 110, 180) },
|
|
457 {"HotPink2" , PALETTERGB (238, 106, 167) },
|
|
458 {"HotPink3" , PALETTERGB (205, 96, 144) },
|
|
459 {"HotPink4" , PALETTERGB (139, 58, 98) },
|
|
460 {"pink1" , PALETTERGB (255, 181, 197) },
|
|
461 {"pink2" , PALETTERGB (238, 169, 184) },
|
|
462 {"pink3" , PALETTERGB (205, 145, 158) },
|
|
463 {"pink4" , PALETTERGB (139, 99, 108) },
|
|
464 {"LightPink1" , PALETTERGB (255, 174, 185) },
|
|
465 {"LightPink2" , PALETTERGB (238, 162, 173) },
|
|
466 {"LightPink3" , PALETTERGB (205, 140, 149) },
|
|
467 {"LightPink4" , PALETTERGB (139, 95, 101) },
|
|
468 {"PaleVioletRed1" , PALETTERGB (255, 130, 171) },
|
|
469 {"PaleVioletRed2" , PALETTERGB (238, 121, 159) },
|
|
470 {"PaleVioletRed3" , PALETTERGB (205, 104, 137) },
|
|
471 {"PaleVioletRed4" , PALETTERGB (139, 71, 93) },
|
|
472 {"maroon1" , PALETTERGB (255, 52, 179) },
|
|
473 {"maroon2" , PALETTERGB (238, 48, 167) },
|
|
474 {"maroon3" , PALETTERGB (205, 41, 144) },
|
|
475 {"maroon4" , PALETTERGB (139, 28, 98) },
|
|
476 {"VioletRed1" , PALETTERGB (255, 62, 150) },
|
|
477 {"VioletRed2" , PALETTERGB (238, 58, 140) },
|
|
478 {"VioletRed3" , PALETTERGB (205, 50, 120) },
|
|
479 {"VioletRed4" , PALETTERGB (139, 34, 82) },
|
|
480 {"magenta1" , PALETTERGB (255, 0, 255) },
|
|
481 {"magenta2" , PALETTERGB (238, 0, 238) },
|
|
482 {"magenta3" , PALETTERGB (205, 0, 205) },
|
|
483 {"magenta4" , PALETTERGB (139, 0, 139) },
|
|
484 {"orchid1" , PALETTERGB (255, 131, 250) },
|
|
485 {"orchid2" , PALETTERGB (238, 122, 233) },
|
|
486 {"orchid3" , PALETTERGB (205, 105, 201) },
|
|
487 {"orchid4" , PALETTERGB (139, 71, 137) },
|
|
488 {"plum1" , PALETTERGB (255, 187, 255) },
|
|
489 {"plum2" , PALETTERGB (238, 174, 238) },
|
|
490 {"plum3" , PALETTERGB (205, 150, 205) },
|
|
491 {"plum4" , PALETTERGB (139, 102, 139) },
|
|
492 {"MediumOrchid1" , PALETTERGB (224, 102, 255) },
|
|
493 {"MediumOrchid2" , PALETTERGB (209, 95, 238) },
|
|
494 {"MediumOrchid3" , PALETTERGB (180, 82, 205) },
|
|
495 {"MediumOrchid4" , PALETTERGB (122, 55, 139) },
|
|
496 {"DarkOrchid1" , PALETTERGB (191, 62, 255) },
|
|
497 {"DarkOrchid2" , PALETTERGB (178, 58, 238) },
|
|
498 {"DarkOrchid3" , PALETTERGB (154, 50, 205) },
|
|
499 {"DarkOrchid4" , PALETTERGB (104, 34, 139) },
|
|
500 {"purple1" , PALETTERGB (155, 48, 255) },
|
|
501 {"purple2" , PALETTERGB (145, 44, 238) },
|
|
502 {"purple3" , PALETTERGB (125, 38, 205) },
|
|
503 {"purple4" , PALETTERGB (85, 26, 139) },
|
|
504 {"MediumPurple1" , PALETTERGB (171, 130, 255) },
|
|
505 {"MediumPurple2" , PALETTERGB (159, 121, 238) },
|
|
506 {"MediumPurple3" , PALETTERGB (137, 104, 205) },
|
|
507 {"MediumPurple4" , PALETTERGB (93, 71, 139) },
|
|
508 {"thistle1" , PALETTERGB (255, 225, 255) },
|
|
509 {"thistle2" , PALETTERGB (238, 210, 238) },
|
|
510 {"thistle3" , PALETTERGB (205, 181, 205) },
|
|
511 {"thistle4" , PALETTERGB (139, 123, 139) },
|
|
512 {"gray0" , PALETTERGB (0, 0, 0) },
|
|
513 {"grey0" , PALETTERGB (0, 0, 0) },
|
|
514 {"gray1" , PALETTERGB (3, 3, 3) },
|
|
515 {"grey1" , PALETTERGB (3, 3, 3) },
|
|
516 {"gray2" , PALETTERGB (5, 5, 5) },
|
|
517 {"grey2" , PALETTERGB (5, 5, 5) },
|
|
518 {"gray3" , PALETTERGB (8, 8, 8) },
|
|
519 {"grey3" , PALETTERGB (8, 8, 8) },
|
|
520 {"gray4" , PALETTERGB (10, 10, 10) },
|
|
521 {"grey4" , PALETTERGB (10, 10, 10) },
|
|
522 {"gray5" , PALETTERGB (13, 13, 13) },
|
|
523 {"grey5" , PALETTERGB (13, 13, 13) },
|
|
524 {"gray6" , PALETTERGB (15, 15, 15) },
|
|
525 {"grey6" , PALETTERGB (15, 15, 15) },
|
|
526 {"gray7" , PALETTERGB (18, 18, 18) },
|
|
527 {"grey7" , PALETTERGB (18, 18, 18) },
|
|
528 {"gray8" , PALETTERGB (20, 20, 20) },
|
|
529 {"grey8" , PALETTERGB (20, 20, 20) },
|
|
530 {"gray9" , PALETTERGB (23, 23, 23) },
|
|
531 {"grey9" , PALETTERGB (23, 23, 23) },
|
|
532 {"gray10" , PALETTERGB (26, 26, 26) },
|
|
533 {"grey10" , PALETTERGB (26, 26, 26) },
|
|
534 {"gray11" , PALETTERGB (28, 28, 28) },
|
|
535 {"grey11" , PALETTERGB (28, 28, 28) },
|
|
536 {"gray12" , PALETTERGB (31, 31, 31) },
|
|
537 {"grey12" , PALETTERGB (31, 31, 31) },
|
|
538 {"gray13" , PALETTERGB (33, 33, 33) },
|
|
539 {"grey13" , PALETTERGB (33, 33, 33) },
|
|
540 {"gray14" , PALETTERGB (36, 36, 36) },
|
|
541 {"grey14" , PALETTERGB (36, 36, 36) },
|
|
542 {"gray15" , PALETTERGB (38, 38, 38) },
|
|
543 {"grey15" , PALETTERGB (38, 38, 38) },
|
|
544 {"gray16" , PALETTERGB (41, 41, 41) },
|
|
545 {"grey16" , PALETTERGB (41, 41, 41) },
|
|
546 {"gray17" , PALETTERGB (43, 43, 43) },
|
|
547 {"grey17" , PALETTERGB (43, 43, 43) },
|
|
548 {"gray18" , PALETTERGB (46, 46, 46) },
|
|
549 {"grey18" , PALETTERGB (46, 46, 46) },
|
|
550 {"gray19" , PALETTERGB (48, 48, 48) },
|
|
551 {"grey19" , PALETTERGB (48, 48, 48) },
|
|
552 {"gray20" , PALETTERGB (51, 51, 51) },
|
|
553 {"grey20" , PALETTERGB (51, 51, 51) },
|
|
554 {"gray21" , PALETTERGB (54, 54, 54) },
|
|
555 {"grey21" , PALETTERGB (54, 54, 54) },
|
|
556 {"gray22" , PALETTERGB (56, 56, 56) },
|
|
557 {"grey22" , PALETTERGB (56, 56, 56) },
|
|
558 {"gray23" , PALETTERGB (59, 59, 59) },
|
|
559 {"grey23" , PALETTERGB (59, 59, 59) },
|
|
560 {"gray24" , PALETTERGB (61, 61, 61) },
|
|
561 {"grey24" , PALETTERGB (61, 61, 61) },
|
|
562 {"gray25" , PALETTERGB (64, 64, 64) },
|
|
563 {"grey25" , PALETTERGB (64, 64, 64) },
|
|
564 {"gray26" , PALETTERGB (66, 66, 66) },
|
|
565 {"grey26" , PALETTERGB (66, 66, 66) },
|
|
566 {"gray27" , PALETTERGB (69, 69, 69) },
|
|
567 {"grey27" , PALETTERGB (69, 69, 69) },
|
|
568 {"gray28" , PALETTERGB (71, 71, 71) },
|
|
569 {"grey28" , PALETTERGB (71, 71, 71) },
|
|
570 {"gray29" , PALETTERGB (74, 74, 74) },
|
|
571 {"grey29" , PALETTERGB (74, 74, 74) },
|
|
572 {"gray30" , PALETTERGB (77, 77, 77) },
|
|
573 {"grey30" , PALETTERGB (77, 77, 77) },
|
|
574 {"gray31" , PALETTERGB (79, 79, 79) },
|
|
575 {"grey31" , PALETTERGB (79, 79, 79) },
|
|
576 {"gray32" , PALETTERGB (82, 82, 82) },
|
|
577 {"grey32" , PALETTERGB (82, 82, 82) },
|
|
578 {"gray33" , PALETTERGB (84, 84, 84) },
|
|
579 {"grey33" , PALETTERGB (84, 84, 84) },
|
|
580 {"gray34" , PALETTERGB (87, 87, 87) },
|
|
581 {"grey34" , PALETTERGB (87, 87, 87) },
|
|
582 {"gray35" , PALETTERGB (89, 89, 89) },
|
|
583 {"grey35" , PALETTERGB (89, 89, 89) },
|
|
584 {"gray36" , PALETTERGB (92, 92, 92) },
|
|
585 {"grey36" , PALETTERGB (92, 92, 92) },
|
|
586 {"gray37" , PALETTERGB (94, 94, 94) },
|
|
587 {"grey37" , PALETTERGB (94, 94, 94) },
|
|
588 {"gray38" , PALETTERGB (97, 97, 97) },
|
|
589 {"grey38" , PALETTERGB (97, 97, 97) },
|
|
590 {"gray39" , PALETTERGB (99, 99, 99) },
|
|
591 {"grey39" , PALETTERGB (99, 99, 99) },
|
|
592 {"gray40" , PALETTERGB (102, 102, 102) },
|
|
593 {"grey40" , PALETTERGB (102, 102, 102) },
|
|
594 {"gray41" , PALETTERGB (105, 105, 105) },
|
|
595 {"grey41" , PALETTERGB (105, 105, 105) },
|
|
596 {"gray42" , PALETTERGB (107, 107, 107) },
|
|
597 {"grey42" , PALETTERGB (107, 107, 107) },
|
|
598 {"gray43" , PALETTERGB (110, 110, 110) },
|
|
599 {"grey43" , PALETTERGB (110, 110, 110) },
|
|
600 {"gray44" , PALETTERGB (112, 112, 112) },
|
|
601 {"grey44" , PALETTERGB (112, 112, 112) },
|
|
602 {"gray45" , PALETTERGB (115, 115, 115) },
|
|
603 {"grey45" , PALETTERGB (115, 115, 115) },
|
|
604 {"gray46" , PALETTERGB (117, 117, 117) },
|
|
605 {"grey46" , PALETTERGB (117, 117, 117) },
|
|
606 {"gray47" , PALETTERGB (120, 120, 120) },
|
|
607 {"grey47" , PALETTERGB (120, 120, 120) },
|
|
608 {"gray48" , PALETTERGB (122, 122, 122) },
|
|
609 {"grey48" , PALETTERGB (122, 122, 122) },
|
|
610 {"gray49" , PALETTERGB (125, 125, 125) },
|
|
611 {"grey49" , PALETTERGB (125, 125, 125) },
|
|
612 {"gray50" , PALETTERGB (127, 127, 127) },
|
|
613 {"grey50" , PALETTERGB (127, 127, 127) },
|
|
614 {"gray51" , PALETTERGB (130, 130, 130) },
|
|
615 {"grey51" , PALETTERGB (130, 130, 130) },
|
|
616 {"gray52" , PALETTERGB (133, 133, 133) },
|
|
617 {"grey52" , PALETTERGB (133, 133, 133) },
|
|
618 {"gray53" , PALETTERGB (135, 135, 135) },
|
|
619 {"grey53" , PALETTERGB (135, 135, 135) },
|
|
620 {"gray54" , PALETTERGB (138, 138, 138) },
|
|
621 {"grey54" , PALETTERGB (138, 138, 138) },
|
|
622 {"gray55" , PALETTERGB (140, 140, 140) },
|
|
623 {"grey55" , PALETTERGB (140, 140, 140) },
|
|
624 {"gray56" , PALETTERGB (143, 143, 143) },
|
|
625 {"grey56" , PALETTERGB (143, 143, 143) },
|
|
626 {"gray57" , PALETTERGB (145, 145, 145) },
|
|
627 {"grey57" , PALETTERGB (145, 145, 145) },
|
|
628 {"gray58" , PALETTERGB (148, 148, 148) },
|
|
629 {"grey58" , PALETTERGB (148, 148, 148) },
|
|
630 {"gray59" , PALETTERGB (150, 150, 150) },
|
|
631 {"grey59" , PALETTERGB (150, 150, 150) },
|
|
632 {"gray60" , PALETTERGB (153, 153, 153) },
|
|
633 {"grey60" , PALETTERGB (153, 153, 153) },
|
|
634 {"gray61" , PALETTERGB (156, 156, 156) },
|
|
635 {"grey61" , PALETTERGB (156, 156, 156) },
|
|
636 {"gray62" , PALETTERGB (158, 158, 158) },
|
|
637 {"grey62" , PALETTERGB (158, 158, 158) },
|
|
638 {"gray63" , PALETTERGB (161, 161, 161) },
|
|
639 {"grey63" , PALETTERGB (161, 161, 161) },
|
|
640 {"gray64" , PALETTERGB (163, 163, 163) },
|
|
641 {"grey64" , PALETTERGB (163, 163, 163) },
|
|
642 {"gray65" , PALETTERGB (166, 166, 166) },
|
|
643 {"grey65" , PALETTERGB (166, 166, 166) },
|
|
644 {"gray66" , PALETTERGB (168, 168, 168) },
|
|
645 {"grey66" , PALETTERGB (168, 168, 168) },
|
|
646 {"gray67" , PALETTERGB (171, 171, 171) },
|
|
647 {"grey67" , PALETTERGB (171, 171, 171) },
|
|
648 {"gray68" , PALETTERGB (173, 173, 173) },
|
|
649 {"grey68" , PALETTERGB (173, 173, 173) },
|
|
650 {"gray69" , PALETTERGB (176, 176, 176) },
|
|
651 {"grey69" , PALETTERGB (176, 176, 176) },
|
|
652 {"gray70" , PALETTERGB (179, 179, 179) },
|
|
653 {"grey70" , PALETTERGB (179, 179, 179) },
|
|
654 {"gray71" , PALETTERGB (181, 181, 181) },
|
|
655 {"grey71" , PALETTERGB (181, 181, 181) },
|
|
656 {"gray72" , PALETTERGB (184, 184, 184) },
|
|
657 {"grey72" , PALETTERGB (184, 184, 184) },
|
|
658 {"gray73" , PALETTERGB (186, 186, 186) },
|
|
659 {"grey73" , PALETTERGB (186, 186, 186) },
|
|
660 {"gray74" , PALETTERGB (189, 189, 189) },
|
|
661 {"grey74" , PALETTERGB (189, 189, 189) },
|
|
662 {"gray75" , PALETTERGB (191, 191, 191) },
|
|
663 {"grey75" , PALETTERGB (191, 191, 191) },
|
|
664 {"gray76" , PALETTERGB (194, 194, 194) },
|
|
665 {"grey76" , PALETTERGB (194, 194, 194) },
|
|
666 {"gray77" , PALETTERGB (196, 196, 196) },
|
|
667 {"grey77" , PALETTERGB (196, 196, 196) },
|
|
668 {"gray78" , PALETTERGB (199, 199, 199) },
|
|
669 {"grey78" , PALETTERGB (199, 199, 199) },
|
|
670 {"gray79" , PALETTERGB (201, 201, 201) },
|
|
671 {"grey79" , PALETTERGB (201, 201, 201) },
|
|
672 {"gray80" , PALETTERGB (204, 204, 204) },
|
|
673 {"grey80" , PALETTERGB (204, 204, 204) },
|
|
674 {"gray81" , PALETTERGB (207, 207, 207) },
|
|
675 {"grey81" , PALETTERGB (207, 207, 207) },
|
|
676 {"gray82" , PALETTERGB (209, 209, 209) },
|
|
677 {"grey82" , PALETTERGB (209, 209, 209) },
|
|
678 {"gray83" , PALETTERGB (212, 212, 212) },
|
|
679 {"grey83" , PALETTERGB (212, 212, 212) },
|
|
680 {"gray84" , PALETTERGB (214, 214, 214) },
|
|
681 {"grey84" , PALETTERGB (214, 214, 214) },
|
|
682 {"gray85" , PALETTERGB (217, 217, 217) },
|
|
683 {"grey85" , PALETTERGB (217, 217, 217) },
|
|
684 {"gray86" , PALETTERGB (219, 219, 219) },
|
|
685 {"grey86" , PALETTERGB (219, 219, 219) },
|
|
686 {"gray87" , PALETTERGB (222, 222, 222) },
|
|
687 {"grey87" , PALETTERGB (222, 222, 222) },
|
|
688 {"gray88" , PALETTERGB (224, 224, 224) },
|
|
689 {"grey88" , PALETTERGB (224, 224, 224) },
|
|
690 {"gray89" , PALETTERGB (227, 227, 227) },
|
|
691 {"grey89" , PALETTERGB (227, 227, 227) },
|
|
692 {"gray90" , PALETTERGB (229, 229, 229) },
|
|
693 {"grey90" , PALETTERGB (229, 229, 229) },
|
|
694 {"gray91" , PALETTERGB (232, 232, 232) },
|
|
695 {"grey91" , PALETTERGB (232, 232, 232) },
|
|
696 {"gray92" , PALETTERGB (235, 235, 235) },
|
|
697 {"grey92" , PALETTERGB (235, 235, 235) },
|
|
698 {"gray93" , PALETTERGB (237, 237, 237) },
|
|
699 {"grey93" , PALETTERGB (237, 237, 237) },
|
|
700 {"gray94" , PALETTERGB (240, 240, 240) },
|
|
701 {"grey94" , PALETTERGB (240, 240, 240) },
|
|
702 {"gray95" , PALETTERGB (242, 242, 242) },
|
|
703 {"grey95" , PALETTERGB (242, 242, 242) },
|
|
704 {"gray96" , PALETTERGB (245, 245, 245) },
|
|
705 {"grey96" , PALETTERGB (245, 245, 245) },
|
|
706 {"gray97" , PALETTERGB (247, 247, 247) },
|
|
707 {"grey97" , PALETTERGB (247, 247, 247) },
|
|
708 {"gray98" , PALETTERGB (250, 250, 250) },
|
|
709 {"grey98" , PALETTERGB (250, 250, 250) },
|
|
710 {"gray99" , PALETTERGB (252, 252, 252) },
|
|
711 {"grey99" , PALETTERGB (252, 252, 252) },
|
|
712 {"gray100" , PALETTERGB (255, 255, 255) },
|
|
713 {"grey100" , PALETTERGB (255, 255, 255) },
|
|
714 {"DarkGrey" , PALETTERGB (169, 169, 169) },
|
|
715 {"DarkGray" , PALETTERGB (169, 169, 169) },
|
|
716 {"DarkBlue" , PALETTERGB (0, 0, 139) },
|
|
717 {"DarkCyan" , PALETTERGB (0, 139, 139) },
|
|
718 {"DarkMagenta" , PALETTERGB (139, 0, 139) },
|
|
719 {"DarkRed" , PALETTERGB (139, 0, 0) },
|
|
720 {"LightGreen" , PALETTERGB (144, 238, 144) }
|
213
|
721 };
|
|
722
|
227
|
723 static int
|
|
724 hexval (char c)
|
|
725 {
|
251
|
726 /* assumes ASCII and isxdigit(c) */
|
|
727 if (c >= 'a')
|
227
|
728 return c-'a' + 10;
|
251
|
729 else if (c >= 'A')
|
239
|
730 return c-'A' + 10;
|
|
731 else
|
|
732 return c-'0';
|
227
|
733 }
|
|
734
|
213
|
735 static COLORREF
|
|
736 mswindows_string_to_color(CONST char *name)
|
|
737 {
|
227
|
738 int i;
|
251
|
739
|
213
|
740 if (*name == '#')
|
251
|
741 {
|
|
742 /* numeric names look like "#RRGGBB", "#RRRGGGBBB" or "#RRRRGGGGBBBB" */
|
|
743 unsigned int r, g, b;
|
|
744
|
|
745 for (i=1; i<strlen(name); i++)
|
|
746 {
|
|
747 if (!isxdigit (name[i]))
|
|
748 return(-1);
|
|
749 }
|
|
750 if (strlen(name)==7)
|
|
751 {
|
|
752 r = hexval (name[1]) * 16 + hexval (name[2]);
|
|
753 g = hexval (name[3]) * 16 + hexval (name[4]);
|
|
754 b = hexval (name[5]) * 16 + hexval (name[6]);
|
|
755 return (PALETTERGB (r, g, b));
|
|
756 }
|
|
757 else if (strlen(name)==10)
|
|
758 {
|
|
759 r = hexval (name[1]) * 16 + hexval (name[2]);
|
|
760 g = hexval (name[4]) * 16 + hexval (name[5]);
|
|
761 b = hexval (name[7]) * 16 + hexval (name[8]);
|
|
762 return (PALETTERGB (r, g, b));
|
|
763 }
|
|
764 else if (strlen(name)==13)
|
|
765 {
|
|
766 r = hexval (name[1]) * 16 + hexval (name[2]);
|
|
767 g = hexval (name[5]) * 16 + hexval (name[6]);
|
|
768 b = hexval (name[9]) * 16 + hexval (name[10]);
|
|
769 return (PALETTERGB (r, g, b));
|
|
770 }
|
|
771 }
|
|
772 else if (*name) /* Can't be an empty string */
|
|
773 {
|
|
774 char *nospaces = alloca (strlen (name)+1);
|
|
775 char *c=nospaces;
|
|
776 while (*name)
|
|
777 if (*name != ' ')
|
|
778 *(c++) = *(name++);
|
|
779 else
|
|
780 name++;
|
|
781 *c = '\0';
|
|
782
|
|
783 for(i=0; i<(sizeof (mswindows_X_color_map) / sizeof (colormap_t)); i++)
|
|
784 if (!stricmp (nospaces, mswindows_X_color_map[i].name))
|
|
785 return (mswindows_X_color_map[i].colorref);
|
|
786 }
|
213
|
787 return(-1);
|
|
788 }
|
|
789
|
|
790 static int
|
|
791 mswindows_initialize_color_instance (struct Lisp_Color_Instance *c, Lisp_Object name,
|
|
792 Lisp_Object device, Error_behavior errb)
|
|
793 {
|
|
794 CONST char *extname;
|
|
795 COLORREF color;
|
|
796
|
|
797 GET_C_STRING_CTEXT_DATA_ALLOCA (name, extname);
|
|
798 color = mswindows_string_to_color(extname);
|
|
799 if (color != -1)
|
|
800 {
|
|
801 c->data = xnew (struct mswindows_color_instance_data);
|
|
802 COLOR_INSTANCE_MSWINDOWS_COLOR (c) = color;
|
|
803 COLOR_INSTANCE_MSWINDOWS_BRUSH (c) = CreateSolidBrush (color);
|
|
804 return 1;
|
|
805 }
|
|
806 maybe_signal_simple_error ("unrecognized color", name, Qcolor, errb);
|
|
807 return(0);
|
|
808 }
|
|
809
|
245
|
810 #if 0
|
213
|
811 static void
|
|
812 mswindows_mark_color_instance (struct Lisp_Color_Instance *c,
|
|
813 void (*markobj) (Lisp_Object))
|
|
814 {
|
|
815 }
|
245
|
816 #endif
|
213
|
817
|
|
818 static void
|
|
819 mswindows_print_color_instance (struct Lisp_Color_Instance *c,
|
|
820 Lisp_Object printcharfun,
|
|
821 int escapeflag)
|
|
822 {
|
|
823 char buf[32];
|
|
824 COLORREF color = COLOR_INSTANCE_MSWINDOWS_COLOR (c);
|
227
|
825 sprintf (buf, " %06ld=(%04X,%04X,%04X)", color & 0xffffff,
|
251
|
826 GetRValue(color)*257, GetGValue(color)*257, GetBValue(color)*257);
|
213
|
827 write_c_string (buf, printcharfun);
|
|
828 }
|
|
829
|
|
830 static void
|
|
831 mswindows_finalize_color_instance (struct Lisp_Color_Instance *c)
|
|
832 {
|
|
833 if (c->data)
|
|
834 {
|
|
835 DeleteObject (COLOR_INSTANCE_MSWINDOWS_BRUSH (c));
|
|
836 xfree (c->data);
|
|
837 c->data = 0;
|
|
838 }
|
|
839 }
|
|
840
|
|
841 static int
|
|
842 mswindows_color_instance_equal (struct Lisp_Color_Instance *c1,
|
|
843 struct Lisp_Color_Instance *c2,
|
|
844 int depth)
|
|
845 {
|
|
846 return (COLOR_INSTANCE_MSWINDOWS_COLOR(c1) == COLOR_INSTANCE_MSWINDOWS_COLOR(c2));
|
|
847 }
|
|
848
|
|
849 static unsigned long
|
|
850 mswindows_color_instance_hash (struct Lisp_Color_Instance *c, int depth)
|
|
851 {
|
|
852 return LISP_HASH (COLOR_INSTANCE_MSWINDOWS_COLOR(c));
|
|
853 }
|
|
854
|
|
855 static Lisp_Object
|
|
856 mswindows_color_instance_rgb_components (struct Lisp_Color_Instance *c)
|
|
857 {
|
|
858 COLORREF color = COLOR_INSTANCE_MSWINDOWS_COLOR (c);
|
243
|
859 return list3 (make_int (GetRValue (color) * 257),
|
|
860 make_int (GetGValue (color) * 257),
|
|
861 make_int (GetBValue (color) * 257));
|
213
|
862 }
|
|
863
|
|
864 static int
|
|
865 mswindows_valid_color_name_p (struct device *d, Lisp_Object color)
|
|
866 {
|
|
867 CONST char *extname;
|
|
868
|
|
869 GET_C_STRING_CTEXT_DATA_ALLOCA (color, extname);
|
|
870 return (mswindows_string_to_color(extname)!=-1);
|
|
871 }
|
|
872
|
|
873
|
|
874
|
|
875 static void
|
|
876 mswindows_finalize_font_instance (struct Lisp_Font_Instance *f)
|
|
877 {
|
|
878 if (f->data)
|
|
879 {
|
|
880 DeleteObject(f->data);
|
|
881 f->data=0;
|
|
882 }
|
|
883 }
|
|
884
|
|
885 static int
|
|
886 mswindows_initialize_font_instance (struct Lisp_Font_Instance *f, Lisp_Object name,
|
|
887 Lisp_Object device, Error_behavior errb)
|
|
888 {
|
|
889 CONST char *extname;
|
|
890 LOGFONT logfont;
|
|
891 int fields;
|
|
892 int pt;
|
|
893 char fontname[LF_FACESIZE], weight[32], *style, points[8], effects[32], charset[32];
|
|
894
|
|
895 GET_C_STRING_CTEXT_DATA_ALLOCA (f->name, extname);
|
|
896
|
|
897 /*
|
|
898 * mswindows fonts look like:
|
|
899 * fontname[:[weight ][style][:pointsize[:effects[:charset]]]]
|
|
900 * The font name field shouldn't be empty.
|
|
901 * XXX Windows will substitute a default (monospace) font if the font name
|
|
902 * specifies a non-existent font. We don't catch this.
|
|
903 * effects and charset are currently ignored.
|
|
904 *
|
|
905 * ie:
|
|
906 * Lucida Console:Regular:10
|
|
907 * minimal:
|
|
908 * Courier New
|
|
909 * maximal:
|
|
910 * Courier New:Bold Italic:10:underline strikeout:ansi
|
|
911 */
|
|
912 fields = sscanf (extname, "%31[^:]:%31[^:]:%7[^:]:%31[^:]:%31s",
|
|
913 fontname, weight, points, effects, charset);
|
|
914
|
|
915 if (fields<0)
|
|
916 {
|
|
917 maybe_signal_simple_error ("Invalid font", f->name, Qfont, errb);
|
|
918 return (0);
|
|
919 }
|
|
920
|
|
921 if (fields>0 && strlen(fontname))
|
|
922 {
|
|
923 strncpy (logfont.lfFaceName, fontname, LF_FACESIZE);
|
|
924 logfont.lfFaceName[LF_FACESIZE-1] = 0;
|
|
925 }
|
|
926 else
|
|
927 {
|
|
928 maybe_signal_simple_error ("Must specify a font name", f->name, Qfont, errb);
|
|
929 return (0);
|
|
930 }
|
|
931
|
|
932 if (fields > 1 && strlen(weight))
|
|
933 {
|
|
934 char *c;
|
|
935 /* Maybe split weight into weight and style */
|
245
|
936 if ((c=strchr(weight, ' ')))
|
213
|
937 {
|
|
938 *c = '\0';
|
|
939 style = c+1;
|
|
940 }
|
|
941 else
|
|
942 style = NULL;
|
|
943
|
|
944 /* weight: Most-often used (maybe) first */
|
|
945 if (stricmp (weight,"regular") == 0)
|
|
946 logfont.lfWeight = FW_REGULAR;
|
|
947 else if (stricmp (weight,"normal") == 0)
|
|
948 logfont.lfWeight = FW_NORMAL;
|
|
949 else if (stricmp (weight,"bold") == 0)
|
|
950 logfont.lfWeight = FW_BOLD;
|
|
951 else if (stricmp (weight,"medium") == 0)
|
|
952 logfont.lfWeight = FW_MEDIUM;
|
|
953 else if (stricmp (weight,"italic") == 0) /* Hack for early exit */
|
|
954 {
|
217
|
955 logfont.lfItalic = TRUE;
|
213
|
956 style=weight;
|
|
957 }
|
|
958 /* the rest */
|
|
959 else if (stricmp (weight,"black") == 0)
|
|
960 logfont.lfWeight = FW_BLACK;
|
|
961 else if (stricmp (weight,"heavy") == 0)
|
|
962 logfont.lfWeight = FW_HEAVY;
|
|
963 else if (stricmp (weight,"ultrabold") == 0)
|
|
964 logfont.lfWeight = FW_ULTRABOLD;
|
|
965 else if (stricmp (weight,"extrabold") == 0)
|
|
966 logfont.lfWeight = FW_EXTRABOLD;
|
|
967 else if (stricmp (weight,"demibold") == 0)
|
|
968 logfont.lfWeight = FW_SEMIBOLD;
|
|
969 else if (stricmp (weight,"semibold") == 0)
|
|
970 logfont.lfWeight = FW_SEMIBOLD;
|
|
971 else if (stricmp (weight,"light") == 0)
|
|
972 logfont.lfWeight = FW_LIGHT;
|
|
973 else if (stricmp (weight,"ultralight") == 0)
|
|
974 logfont.lfWeight = FW_ULTRALIGHT;
|
|
975 else if (stricmp (weight,"extralight") == 0)
|
|
976 logfont.lfWeight = FW_EXTRALIGHT;
|
|
977 else if (stricmp (weight,"thin") == 0)
|
|
978 logfont.lfWeight = FW_THIN;
|
|
979 else
|
|
980 {
|
|
981 logfont.lfWeight = FW_NORMAL;
|
|
982 if (!style)
|
|
983 style = weight; /* May have specified a style without a weight */
|
|
984 else
|
|
985 {
|
|
986 maybe_signal_simple_error ("Invalid font weight", f->name, Qfont, errb);
|
|
987 return (0); /* Invalid weight */
|
|
988 }
|
|
989 }
|
|
990
|
|
991 if (style)
|
|
992 {
|
|
993 /* XXX what about oblique? */
|
|
994 if (stricmp (style,"italic") == 0)
|
|
995 logfont.lfItalic = TRUE;
|
|
996 else if (stricmp (style,"roman") == 0)
|
|
997 logfont.lfItalic = FALSE;
|
|
998 else
|
|
999 {
|
|
1000 maybe_signal_simple_error ("Invalid font weight or style", f->name, Qfont, errb);
|
|
1001 return (0); /* Invalid weight or style */
|
|
1002 }
|
|
1003 }
|
|
1004 else
|
|
1005 {
|
|
1006 logfont.lfItalic = FALSE;
|
|
1007 }
|
|
1008
|
|
1009 }
|
|
1010 else
|
|
1011 {
|
|
1012 logfont.lfWeight = FW_NORMAL;
|
|
1013 logfont.lfItalic = FALSE;
|
|
1014 }
|
|
1015
|
|
1016 /* XXX Should we reject strings that don't specify a size? */
|
|
1017 if (fields < 3 || !strlen(points) || (pt=atoi(points))==0)
|
|
1018 pt = 10;
|
|
1019
|
|
1020 /* Formula for pointsize->height from LOGFONT docs in MSVC5 Platform SDK */
|
|
1021 logfont.lfHeight = -MulDiv(pt, DEVICE_MSWINDOWS_LOGPIXELSY(XDEVICE (device)), 72);
|
|
1022 logfont.lfWidth = 0;
|
|
1023
|
|
1024 /* Default to monospaced if the specified font name is not found */
|
|
1025 logfont.lfPitchAndFamily = FF_MODERN;
|
|
1026
|
|
1027 /* XXX: FIXME? */
|
|
1028 logfont.lfUnderline = FALSE;
|
|
1029 logfont.lfStrikeOut = FALSE;
|
|
1030
|
|
1031 /* XXX: FIXME: we ignore charset */
|
|
1032 logfont.lfCharSet = DEFAULT_CHARSET;
|
|
1033
|
|
1034 /* Misc crud */
|
|
1035 logfont.lfEscapement = logfont.lfOrientation = 0;
|
|
1036 #if 1
|
|
1037 logfont.lfOutPrecision = OUT_DEFAULT_PRECIS;
|
|
1038 logfont.lfClipPrecision = CLIP_DEFAULT_PRECIS;
|
|
1039 logfont.lfQuality = DEFAULT_QUALITY;
|
|
1040 #else
|
|
1041 logfont.lfOutPrecision = OUT_STROKE_PRECIS;
|
|
1042 logfont.lfClipPrecision = CLIP_STROKE_PRECIS;
|
|
1043 logfont.lfQuality = PROOF_QUALITY;
|
|
1044 #endif
|
|
1045
|
|
1046 if ((f->data = CreateFontIndirect(&logfont)) == NULL)
|
|
1047 {
|
|
1048 maybe_signal_simple_error ("Couldn't create font", f->name, Qfont, errb);
|
|
1049 return 0;
|
|
1050 }
|
|
1051
|
|
1052 /* Have to apply Font to a GC to get its values.
|
|
1053 * We'll borrow the desktop window becuase its the only window that we
|
|
1054 * know about that is guaranteed to exist when this gets called
|
|
1055 */
|
|
1056 {
|
|
1057 HWND hwnd;
|
|
1058 HDC hdc;
|
|
1059 HFONT holdfont;
|
|
1060 TEXTMETRIC metrics;
|
|
1061
|
|
1062 hwnd = GetDesktopWindow();
|
|
1063 assert(hdc = GetDC(hwnd)); /* XXX FIXME: can this temporarily fail? */
|
|
1064 holdfont = SelectObject(hdc, f->data);
|
|
1065 if (!holdfont)
|
|
1066 {
|
|
1067 mswindows_finalize_font_instance (f);
|
|
1068 maybe_signal_simple_error ("Couldn't map font", f->name, Qfont, errb);
|
|
1069 return 0;
|
|
1070 }
|
|
1071 GetTextMetrics(hdc, &metrics);
|
|
1072 SelectObject(hdc, holdfont);
|
|
1073 ReleaseDC(hwnd, hdc);
|
249
|
1074 f->width = (unsigned short) metrics.tmAveCharWidth;
|
|
1075 f->height = (unsigned short) metrics.tmHeight;
|
|
1076 f->ascent = (unsigned short) metrics.tmAscent;
|
|
1077 f->descent = (unsigned short) metrics.tmDescent;
|
213
|
1078 f->proportional_p = (metrics.tmPitchAndFamily & TMPF_FIXED_PITCH);
|
|
1079 }
|
|
1080
|
|
1081 return 1;
|
|
1082 }
|
|
1083
|
245
|
1084 #if 0
|
213
|
1085 static void
|
|
1086 mswindows_mark_font_instance (struct Lisp_Font_Instance *f,
|
|
1087 void (*markobj) (Lisp_Object))
|
|
1088 {
|
|
1089 }
|
245
|
1090 #endif
|
213
|
1091
|
|
1092 static void
|
|
1093 mswindows_print_font_instance (struct Lisp_Font_Instance *f,
|
|
1094 Lisp_Object printcharfun,
|
|
1095 int escapeflag)
|
|
1096 {
|
|
1097 }
|
|
1098
|
|
1099 static Lisp_Object
|
|
1100 mswindows_list_fonts (Lisp_Object pattern, Lisp_Object device)
|
|
1101 {
|
|
1102 /* XXX Implement me */
|
|
1103 return list1 (build_string ("Courier New:Regular:10"));
|
|
1104 }
|
|
1105
|
251
|
1106 #ifdef MULE
|
|
1107
|
|
1108 static int
|
|
1109 mswindows_font_spec_matches_charset (struct device *d, Lisp_Object charset,
|
|
1110 CONST Bufbyte *nonreloc, Lisp_Object reloc,
|
|
1111 Bytecount offset, Bytecount length)
|
|
1112 {
|
|
1113 /* XXX Implement me */
|
|
1114 if (UNBOUNDP (charset))
|
|
1115 return 1;
|
|
1116
|
|
1117 return 1;
|
|
1118 }
|
|
1119
|
|
1120 /* find a font spec that matches font spec FONT and also matches
|
|
1121 (the registry of) CHARSET. */
|
|
1122 static Lisp_Object
|
|
1123 mswindows_find_charset_font (Lisp_Object device, Lisp_Object font,
|
|
1124 Lisp_Object charset)
|
|
1125 {
|
|
1126 /* XXX Implement me */
|
|
1127 return build_string ("Courier New:Regular:10");
|
|
1128 }
|
|
1129
|
|
1130 #endif /* MULE */
|
213
|
1131
|
|
1132
|
|
1133 /************************************************************************/
|
|
1134 /* initialization */
|
|
1135 /************************************************************************/
|
|
1136
|
|
1137 void
|
|
1138 syms_of_objects_mswindows (void)
|
|
1139 {
|
|
1140 }
|
|
1141
|
|
1142 void
|
|
1143 console_type_create_objects_mswindows (void)
|
|
1144 {
|
|
1145 /* object methods */
|
|
1146 CONSOLE_HAS_METHOD (mswindows, initialize_color_instance);
|
|
1147 /* CONSOLE_HAS_METHOD (mswindows, mark_color_instance); */
|
|
1148 CONSOLE_HAS_METHOD (mswindows, print_color_instance);
|
|
1149 CONSOLE_HAS_METHOD (mswindows, finalize_color_instance);
|
|
1150 CONSOLE_HAS_METHOD (mswindows, color_instance_equal);
|
|
1151 CONSOLE_HAS_METHOD (mswindows, color_instance_hash);
|
|
1152 CONSOLE_HAS_METHOD (mswindows, color_instance_rgb_components);
|
|
1153 CONSOLE_HAS_METHOD (mswindows, valid_color_name_p);
|
|
1154
|
|
1155 CONSOLE_HAS_METHOD (mswindows, initialize_font_instance);
|
|
1156 /* CONSOLE_HAS_METHOD (mswindows, mark_font_instance); */
|
|
1157 CONSOLE_HAS_METHOD (mswindows, print_font_instance);
|
|
1158 CONSOLE_HAS_METHOD (mswindows, finalize_font_instance);
|
|
1159 /* CONSOLE_HAS_METHOD (mswindows, font_instance_truename); */
|
|
1160 CONSOLE_HAS_METHOD (mswindows, list_fonts);
|
|
1161 #ifdef MULE
|
|
1162 CONSOLE_HAS_METHOD (mswindows, font_spec_matches_charset);
|
|
1163 CONSOLE_HAS_METHOD (mswindows, find_charset_font);
|
|
1164 #endif
|
|
1165 }
|
|
1166
|
|
1167 void
|
|
1168 vars_of_objects_mswindows (void)
|
|
1169 {
|
|
1170 }
|