comparison src/objects-msw.c @ 400:a86b2b5e0111 r21-2-30

Import from CVS: tag r21-2-30
author cvs
date Mon, 13 Aug 2007 11:14:34 +0200
parents 74fd4e045ea6
children 501cfd01ee6d
comparison
equal deleted inserted replaced
399:376370fb5946 400:a86b2b5e0111
57 #endif 57 #endif
58 58
59 typedef struct colormap_t 59 typedef struct colormap_t
60 { 60 {
61 const char *name; 61 const char *name;
62 const COLORREF colorref; 62 COLORREF colorref;
63 } colormap_t; 63 } colormap_t;
64 64
65 /* Colors from X11R6 "XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp" */ 65 /* Colors from X11R6 "XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp" */
66 /* MSWindows tends to round up the numbers in it's palette, ie where X uses
67 * 127, MSWindows uses 128. Colors commented as "Adjusted" are tweaked to
68 * match the Windows standard palette to increase the likelyhood of
69 * mswindows_color_to_string() finding a named match.
70 */
66 static const colormap_t mswindows_X_color_map[] = 71 static const colormap_t mswindows_X_color_map[] =
67 { 72 {
68 {"snow" , PALETTERGB (255, 250, 250) }, 73 {"white" , PALETTERGB (255, 255, 255) },
69 {"GhostWhite" , PALETTERGB (248, 248, 255) }, 74 {"black" , PALETTERGB (0, 0, 0) },
70 {"WhiteSmoke" , PALETTERGB (245, 245, 245) }, 75 {"snow" , PALETTERGB (255, 250, 250) },
71 {"gainsboro" , PALETTERGB (220, 220, 220) }, 76 {"GhostWhite" , PALETTERGB (248, 248, 255) },
72 {"FloralWhite" , PALETTERGB (255, 250, 240) }, 77 {"WhiteSmoke" , PALETTERGB (245, 245, 245) },
73 {"OldLace" , PALETTERGB (253, 245, 230) }, 78 {"gainsboro" , PALETTERGB (220, 220, 220) },
74 {"linen" , PALETTERGB (250, 240, 230) }, 79 {"FloralWhite" , PALETTERGB (255, 250, 240) },
75 {"AntiqueWhite" , PALETTERGB (250, 235, 215) }, 80 {"OldLace" , PALETTERGB (253, 245, 230) },
76 {"PapayaWhip" , PALETTERGB (255, 239, 213) }, 81 {"linen" , PALETTERGB (250, 240, 230) },
77 {"BlanchedAlmond" , PALETTERGB (255, 235, 205) }, 82 {"AntiqueWhite" , PALETTERGB (250, 235, 215) },
78 {"bisque" , PALETTERGB (255, 228, 196) }, 83 {"PapayaWhip" , PALETTERGB (255, 239, 213) },
79 {"PeachPuff" , PALETTERGB (255, 218, 185) }, 84 {"BlanchedAlmond" , PALETTERGB (255, 235, 205) },
80 {"NavajoWhite" , PALETTERGB (255, 222, 173) }, 85 {"bisque" , PALETTERGB (255, 228, 196) },
81 {"moccasin" , PALETTERGB (255, 228, 181) }, 86 {"PeachPuff" , PALETTERGB (255, 218, 185) },
82 {"cornsilk" , PALETTERGB (255, 248, 220) }, 87 {"NavajoWhite" , PALETTERGB (255, 222, 173) },
83 {"ivory" , PALETTERGB (255, 255, 240) }, 88 {"moccasin" , PALETTERGB (255, 228, 181) },
84 {"LemonChiffon" , PALETTERGB (255, 250, 205) }, 89 {"cornsilk" , PALETTERGB (255, 248, 220) },
85 {"seashell" , PALETTERGB (255, 245, 238) }, 90 {"ivory" , PALETTERGB (255, 255, 240) },
86 {"honeydew" , PALETTERGB (240, 255, 240) }, 91 {"LemonChiffon" , PALETTERGB (255, 250, 205) },
87 {"MintCream" , PALETTERGB (245, 255, 250) }, 92 {"seashell" , PALETTERGB (255, 245, 238) },
88 {"azure" , PALETTERGB (240, 255, 255) }, 93 {"honeydew" , PALETTERGB (240, 255, 240) },
89 {"AliceBlue" , PALETTERGB (240, 248, 255) }, 94 {"MintCream" , PALETTERGB (245, 255, 250) },
90 {"lavender" , PALETTERGB (230, 230, 250) }, 95 {"azure" , PALETTERGB (240, 255, 255) },
91 {"LavenderBlush" , PALETTERGB (255, 240, 245) }, 96 {"AliceBlue" , PALETTERGB (240, 248, 255) },
92 {"MistyRose" , PALETTERGB (255, 228, 225) }, 97 {"lavender" , PALETTERGB (230, 230, 250) },
93 {"white" , PALETTERGB (255, 255, 255) }, 98 {"LavenderBlush" , PALETTERGB (255, 240, 245) },
94 {"black" , PALETTERGB (0, 0, 0) }, 99 {"MistyRose" , PALETTERGB (255, 228, 225) },
95 {"DarkSlateGray" , PALETTERGB (47, 79, 79) }, 100 {"DarkSlateGray" , PALETTERGB (47, 79, 79) },
96 {"DarkSlateGrey" , PALETTERGB (47, 79, 79) }, 101 {"DarkSlateGrey" , PALETTERGB (47, 79, 79) },
97 {"DimGray" , PALETTERGB (105, 105, 105) }, 102 {"DimGray" , PALETTERGB (105, 105, 105) },
98 {"DimGrey" , PALETTERGB (105, 105, 105) }, 103 {"DimGrey" , PALETTERGB (105, 105, 105) },
99 {"SlateGray" , PALETTERGB (112, 128, 144) }, 104 {"SlateGray" , PALETTERGB (112, 128, 144) },
100 {"SlateGrey" , PALETTERGB (112, 128, 144) }, 105 {"SlateGrey" , PALETTERGB (112, 128, 144) },
101 {"LightSlateGray" , PALETTERGB (119, 136, 153) }, 106 {"LightSlateGray" , PALETTERGB (119, 136, 153) },
102 {"LightSlateGrey" , PALETTERGB (119, 136, 153) }, 107 {"LightSlateGrey" , PALETTERGB (119, 136, 153) },
103 {"gray" , PALETTERGB (190, 190, 190) }, 108 {"gray" , PALETTERGB (190, 190, 190) },
104 {"grey" , PALETTERGB (190, 190, 190) }, 109 {"grey" , PALETTERGB (190, 190, 190) },
105 {"LightGrey" , PALETTERGB (211, 211, 211) }, 110 {"LightGrey" , PALETTERGB (211, 211, 211) },
106 {"LightGray" , PALETTERGB (211, 211, 211) }, 111 {"LightGray" , PALETTERGB (211, 211, 211) },
107 {"MidnightBlue" , PALETTERGB (25, 25, 112) }, 112 {"MidnightBlue" , PALETTERGB (25, 25, 112) },
108 {"navy" , PALETTERGB (0, 0, 128) }, 113 {"navy" , PALETTERGB (0, 0, 128) },
109 {"NavyBlue" , PALETTERGB (0, 0, 128) }, 114 {"NavyBlue" , PALETTERGB (0, 0, 128) },
110 {"CornflowerBlue" , PALETTERGB (100, 149, 237) }, 115 {"CornflowerBlue" , PALETTERGB (100, 149, 237) },
111 {"DarkSlateBlue" , PALETTERGB (72, 61, 139) }, 116 {"DarkSlateBlue" , PALETTERGB (72, 61, 139) },
112 {"SlateBlue" , PALETTERGB (106, 90, 205) }, 117 {"SlateBlue" , PALETTERGB (106, 90, 205) },
113 {"MediumSlateBlue" , PALETTERGB (123, 104, 238) }, 118 {"MediumSlateBlue" , PALETTERGB (123, 104, 238) },
114 {"LightSlateBlue" , PALETTERGB (132, 112, 255) }, 119 {"LightSlateBlue" , PALETTERGB (132, 112, 255) },
115 {"MediumBlue" , PALETTERGB (0, 0, 205) }, 120 {"MediumBlue" , PALETTERGB (0, 0, 205) },
116 {"RoyalBlue" , PALETTERGB (65, 105, 225) }, 121 {"RoyalBlue" , PALETTERGB (65, 105, 225) },
117 {"blue" , PALETTERGB (0, 0, 255) }, 122 {"blue" , PALETTERGB (0, 0, 255) },
118 {"DodgerBlue" , PALETTERGB (30, 144, 255) }, 123 {"DodgerBlue" , PALETTERGB (30, 144, 255) },
119 {"DeepSkyBlue" , PALETTERGB (0, 191, 255) }, 124 {"DeepSkyBlue" , PALETTERGB (0, 191, 255) },
120 {"SkyBlue" , PALETTERGB (135, 206, 235) }, 125 {"SkyBlue" , PALETTERGB (135, 206, 235) },
121 {"LightSkyBlue" , PALETTERGB (135, 206, 250) }, 126 {"LightSkyBlue" , PALETTERGB (135, 206, 250) },
122 {"SteelBlue" , PALETTERGB (70, 130, 180) }, 127 {"SteelBlue" , PALETTERGB (70, 130, 180) },
123 {"LightSteelBlue" , PALETTERGB (176, 196, 222) }, 128 {"LightSteelBlue" , PALETTERGB (176, 196, 222) },
124 {"LightBlue" , PALETTERGB (173, 216, 230) }, 129 {"LightBlue" , PALETTERGB (173, 216, 230) },
125 {"PowderBlue" , PALETTERGB (176, 224, 230) }, 130 {"PowderBlue" , PALETTERGB (176, 224, 230) },
126 {"PaleTurquoise" , PALETTERGB (175, 238, 238) }, 131 {"PaleTurquoise" , PALETTERGB (175, 238, 238) },
127 {"DarkTurquoise" , PALETTERGB (0, 206, 209) }, 132 {"DarkTurquoise" , PALETTERGB (0, 206, 209) },
128 {"MediumTurquoise" , PALETTERGB (72, 209, 204) }, 133 {"MediumTurquoise" , PALETTERGB (72, 209, 204) },
129 {"turquoise" , PALETTERGB (64, 224, 208) }, 134 {"turquoise" , PALETTERGB (64, 224, 208) },
130 {"cyan" , PALETTERGB (0, 255, 255) }, 135 {"cyan" , PALETTERGB (0, 255, 255) },
131 {"LightCyan" , PALETTERGB (224, 255, 255) }, 136 {"LightCyan" , PALETTERGB (224, 255, 255) },
132 {"CadetBlue" , PALETTERGB (95, 158, 160) }, 137 {"CadetBlue" , PALETTERGB (95, 158, 160) },
133 {"MediumAquamarine" , PALETTERGB (102, 205, 170) }, 138 {"MediumAquamarine" , PALETTERGB (102, 205, 170) },
134 {"aquamarine" , PALETTERGB (127, 255, 212) }, 139 {"aquamarine" , PALETTERGB (127, 255, 212) },
135 {"DarkGreen" , PALETTERGB (0, 100, 0) }, 140 {"DarkGreen" , PALETTERGB (0, 128, 0) }, /* Adjusted */
136 {"DarkOliveGreen" , PALETTERGB (85, 107, 47) }, 141 {"DarkOliveGreen" , PALETTERGB (85, 107, 47) },
137 {"DarkSeaGreen" , PALETTERGB (143, 188, 143) }, 142 {"DarkSeaGreen" , PALETTERGB (143, 188, 143) },
138 {"SeaGreen" , PALETTERGB (46, 139, 87) }, 143 {"SeaGreen" , PALETTERGB (46, 139, 87) },
139 {"MediumSeaGreen" , PALETTERGB (60, 179, 113) }, 144 {"MediumSeaGreen" , PALETTERGB (60, 179, 113) },
140 {"LightSeaGreen" , PALETTERGB (32, 178, 170) }, 145 {"LightSeaGreen" , PALETTERGB (32, 178, 170) },
141 {"PaleGreen" , PALETTERGB (152, 251, 152) }, 146 {"PaleGreen" , PALETTERGB (152, 251, 152) },
142 {"SpringGreen" , PALETTERGB (0, 255, 127) }, 147 {"SpringGreen" , PALETTERGB (0, 255, 127) },
143 {"LawnGreen" , PALETTERGB (124, 252, 0) }, 148 {"LawnGreen" , PALETTERGB (124, 252, 0) },
144 {"green" , PALETTERGB (0, 255, 0) }, 149 {"green" , PALETTERGB (0, 255, 0) },
145 {"chartreuse" , PALETTERGB (127, 255, 0) }, 150 {"chartreuse" , PALETTERGB (127, 255, 0) },
146 {"MediumSpringGreen" , PALETTERGB (0, 250, 154) }, 151 {"MediumSpringGreen" , PALETTERGB (0, 250, 154) },
147 {"GreenYellow" , PALETTERGB (173, 255, 47) }, 152 {"GreenYellow" , PALETTERGB (173, 255, 47) },
148 {"LimeGreen" , PALETTERGB (50, 205, 50) }, 153 {"LimeGreen" , PALETTERGB (50, 205, 50) },
149 {"YellowGreen" , PALETTERGB (154, 205, 50) }, 154 {"YellowGreen" , PALETTERGB (154, 205, 50) },
150 {"ForestGreen" , PALETTERGB (34, 139, 34) }, 155 {"ForestGreen" , PALETTERGB (34, 139, 34) },
151 {"OliveDrab" , PALETTERGB (107, 142, 35) }, 156 {"OliveDrab" , PALETTERGB (107, 142, 35) },
152 {"DarkKhaki" , PALETTERGB (189, 183, 107) }, 157 {"DarkKhaki" , PALETTERGB (189, 183, 107) },
153 {"khaki" , PALETTERGB (240, 230, 140) }, 158 {"khaki" , PALETTERGB (240, 230, 140) },
154 {"PaleGoldenrod" , PALETTERGB (238, 232, 170) }, 159 {"PaleGoldenrod" , PALETTERGB (238, 232, 170) },
155 {"LightGoldenrodYellow" , PALETTERGB (250, 250, 210) }, 160 {"LightGoldenrodYellow", PALETTERGB (250, 250, 210) },
156 {"LightYellow" , PALETTERGB (255, 255, 224) }, 161 {"LightYellow" , PALETTERGB (255, 255, 224) },
157 {"yellow" , PALETTERGB (255, 255, 0) }, 162 {"LightYellow" , PALETTERGB (255, 255, 225) }, /* Adjusted */
158 {"gold" , PALETTERGB (255, 215, 0) }, 163 {"yellow" , PALETTERGB (255, 255, 0) },
159 {"LightGoldenrod" , PALETTERGB (238, 221, 130) }, 164 {"gold" , PALETTERGB (255, 215, 0) },
160 {"goldenrod" , PALETTERGB (218, 165, 32) }, 165 {"LightGoldenrod" , PALETTERGB (238, 221, 130) },
161 {"DarkGoldenrod" , PALETTERGB (184, 134, 11) }, 166 {"goldenrod" , PALETTERGB (218, 165, 32) },
162 {"RosyBrown" , PALETTERGB (188, 143, 143) }, 167 {"DarkGoldenrod" , PALETTERGB (184, 134, 11) },
163 {"IndianRed" , PALETTERGB (205, 92, 92) }, 168 {"RosyBrown" , PALETTERGB (188, 143, 143) },
164 {"SaddleBrown" , PALETTERGB (139, 69, 19) }, 169 {"IndianRed" , PALETTERGB (205, 92, 92) },
165 {"sienna" , PALETTERGB (160, 82, 45) }, 170 {"SaddleBrown" , PALETTERGB (139, 69, 19) },
166 {"peru" , PALETTERGB (205, 133, 63) }, 171 {"sienna" , PALETTERGB (160, 82, 45) },
167 {"burlywood" , PALETTERGB (222, 184, 135) }, 172 {"peru" , PALETTERGB (205, 133, 63) },
168 {"beige" , PALETTERGB (245, 245, 220) }, 173 {"burlywood" , PALETTERGB (222, 184, 135) },
169 {"wheat" , PALETTERGB (245, 222, 179) }, 174 {"beige" , PALETTERGB (245, 245, 220) },
170 {"SandyBrown" , PALETTERGB (244, 164, 96) }, 175 {"wheat" , PALETTERGB (245, 222, 179) },
171 {"tan" , PALETTERGB (210, 180, 140) }, 176 {"SandyBrown" , PALETTERGB (244, 164, 96) },
172 {"chocolate" , PALETTERGB (210, 105, 30) }, 177 {"tan" , PALETTERGB (210, 180, 140) },
173 {"firebrick" , PALETTERGB (178, 34, 34) }, 178 {"chocolate" , PALETTERGB (210, 105, 30) },
174 {"brown" , PALETTERGB (165, 42, 42) }, 179 {"firebrick" , PALETTERGB (178, 34, 34) },
175 {"DarkSalmon" , PALETTERGB (233, 150, 122) }, 180 {"brown" , PALETTERGB (165, 42, 42) },
176 {"salmon" , PALETTERGB (250, 128, 114) }, 181 {"DarkSalmon" , PALETTERGB (233, 150, 122) },
177 {"LightSalmon" , PALETTERGB (255, 160, 122) }, 182 {"salmon" , PALETTERGB (250, 128, 114) },
178 {"orange" , PALETTERGB (255, 165, 0) }, 183 {"LightSalmon" , PALETTERGB (255, 160, 122) },
179 {"DarkOrange" , PALETTERGB (255, 140, 0) }, 184 {"orange" , PALETTERGB (255, 165, 0) },
180 {"coral" , PALETTERGB (255, 127, 80) }, 185 {"DarkOrange" , PALETTERGB (255, 140, 0) },
181 {"LightCoral" , PALETTERGB (240, 128, 128) }, 186 {"coral" , PALETTERGB (255, 127, 80) },
182 {"tomato" , PALETTERGB (255, 99, 71) }, 187 {"LightCoral" , PALETTERGB (240, 128, 128) },
183 {"OrangeRed" , PALETTERGB (255, 69, 0) }, 188 {"tomato" , PALETTERGB (255, 99, 71) },
184 {"red" , PALETTERGB (255, 0, 0) }, 189 {"OrangeRed" , PALETTERGB (255, 69, 0) },
185 {"HotPink" , PALETTERGB (255, 105, 180) }, 190 {"red" , PALETTERGB (255, 0, 0) },
186 {"DeepPink" , PALETTERGB (255, 20, 147) }, 191 {"HotPink" , PALETTERGB (255, 105, 180) },
187 {"pink" , PALETTERGB (255, 192, 203) }, 192 {"DeepPink" , PALETTERGB (255, 20, 147) },
188 {"LightPink" , PALETTERGB (255, 182, 193) }, 193 {"pink" , PALETTERGB (255, 192, 203) },
189 {"PaleVioletRed" , PALETTERGB (219, 112, 147) }, 194 {"LightPink" , PALETTERGB (255, 182, 193) },
190 {"maroon" , PALETTERGB (176, 48, 96) }, 195 {"PaleVioletRed" , PALETTERGB (219, 112, 147) },
191 {"MediumVioletRed" , PALETTERGB (199, 21, 133) }, 196 {"maroon" , PALETTERGB (176, 48, 96) },
192 {"VioletRed" , PALETTERGB (208, 32, 144) }, 197 {"MediumVioletRed" , PALETTERGB (199, 21, 133) },
193 {"magenta" , PALETTERGB (255, 0, 255) }, 198 {"VioletRed" , PALETTERGB (208, 32, 144) },
194 {"violet" , PALETTERGB (238, 130, 238) }, 199 {"magenta" , PALETTERGB (255, 0, 255) },
195 {"plum" , PALETTERGB (221, 160, 221) }, 200 {"violet" , PALETTERGB (238, 130, 238) },
196 {"orchid" , PALETTERGB (218, 112, 214) }, 201 {"plum" , PALETTERGB (221, 160, 221) },
197 {"MediumOrchid" , PALETTERGB (186, 85, 211) }, 202 {"orchid" , PALETTERGB (218, 112, 214) },
198 {"DarkOrchid" , PALETTERGB (153, 50, 204) }, 203 {"MediumOrchid" , PALETTERGB (186, 85, 211) },
199 {"DarkViolet" , PALETTERGB (148, 0, 211) }, 204 {"DarkOrchid" , PALETTERGB (153, 50, 204) },
200 {"BlueViolet" , PALETTERGB (138, 43, 226) }, 205 {"DarkViolet" , PALETTERGB (148, 0, 211) },
201 {"purple" , PALETTERGB (160, 32, 240) }, 206 {"BlueViolet" , PALETTERGB (138, 43, 226) },
202 {"MediumPurple" , PALETTERGB (147, 112, 219) }, 207 {"purple" , PALETTERGB (160, 32, 240) },
203 {"thistle" , PALETTERGB (216, 191, 216) }, 208 {"MediumPurple" , PALETTERGB (147, 112, 219) },
204 {"snow1" , PALETTERGB (255, 250, 250) }, 209 {"thistle" , PALETTERGB (216, 191, 216) },
205 {"snow2" , PALETTERGB (238, 233, 233) }, 210 {"snow1" , PALETTERGB (255, 250, 250) },
206 {"snow3" , PALETTERGB (205, 201, 201) }, 211 {"snow2" , PALETTERGB (238, 233, 233) },
207 {"snow4" , PALETTERGB (139, 137, 137) }, 212 {"snow3" , PALETTERGB (205, 201, 201) },
208 {"seashell1" , PALETTERGB (255, 245, 238) }, 213 {"snow4" , PALETTERGB (139, 137, 137) },
209 {"seashell2" , PALETTERGB (238, 229, 222) }, 214 {"seashell1" , PALETTERGB (255, 245, 238) },
210 {"seashell3" , PALETTERGB (205, 197, 191) }, 215 {"seashell2" , PALETTERGB (238, 229, 222) },
211 {"seashell4" , PALETTERGB (139, 134, 130) }, 216 {"seashell3" , PALETTERGB (205, 197, 191) },
212 {"AntiqueWhite1" , PALETTERGB (255, 239, 219) }, 217 {"seashell4" , PALETTERGB (139, 134, 130) },
213 {"AntiqueWhite2" , PALETTERGB (238, 223, 204) }, 218 {"AntiqueWhite1" , PALETTERGB (255, 239, 219) },
214 {"AntiqueWhite3" , PALETTERGB (205, 192, 176) }, 219 {"AntiqueWhite2" , PALETTERGB (238, 223, 204) },
215 {"AntiqueWhite4" , PALETTERGB (139, 131, 120) }, 220 {"AntiqueWhite3" , PALETTERGB (205, 192, 176) },
216 {"bisque1" , PALETTERGB (255, 228, 196) }, 221 {"AntiqueWhite4" , PALETTERGB (139, 131, 120) },
217 {"bisque2" , PALETTERGB (238, 213, 183) }, 222 {"bisque1" , PALETTERGB (255, 228, 196) },
218 {"bisque3" , PALETTERGB (205, 183, 158) }, 223 {"bisque2" , PALETTERGB (238, 213, 183) },
219 {"bisque4" , PALETTERGB (139, 125, 107) }, 224 {"bisque3" , PALETTERGB (205, 183, 158) },
220 {"PeachPuff1" , PALETTERGB (255, 218, 185) }, 225 {"bisque4" , PALETTERGB (139, 125, 107) },
221 {"PeachPuff2" , PALETTERGB (238, 203, 173) }, 226 {"PeachPuff1" , PALETTERGB (255, 218, 185) },
222 {"PeachPuff3" , PALETTERGB (205, 175, 149) }, 227 {"PeachPuff2" , PALETTERGB (238, 203, 173) },
223 {"PeachPuff4" , PALETTERGB (139, 119, 101) }, 228 {"PeachPuff3" , PALETTERGB (205, 175, 149) },
224 {"NavajoWhite1" , PALETTERGB (255, 222, 173) }, 229 {"PeachPuff4" , PALETTERGB (139, 119, 101) },
225 {"NavajoWhite2" , PALETTERGB (238, 207, 161) }, 230 {"NavajoWhite1" , PALETTERGB (255, 222, 173) },
226 {"NavajoWhite3" , PALETTERGB (205, 179, 139) }, 231 {"NavajoWhite2" , PALETTERGB (238, 207, 161) },
227 {"NavajoWhite4" , PALETTERGB (139, 121, 94) }, 232 {"NavajoWhite3" , PALETTERGB (205, 179, 139) },
228 {"LemonChiffon1" , PALETTERGB (255, 250, 205) }, 233 {"NavajoWhite4" , PALETTERGB (139, 121, 94) },
229 {"LemonChiffon2" , PALETTERGB (238, 233, 191) }, 234 {"LemonChiffon1" , PALETTERGB (255, 250, 205) },
230 {"LemonChiffon3" , PALETTERGB (205, 201, 165) }, 235 {"LemonChiffon2" , PALETTERGB (238, 233, 191) },
231 {"LemonChiffon4" , PALETTERGB (139, 137, 112) }, 236 {"LemonChiffon3" , PALETTERGB (205, 201, 165) },
232 {"cornsilk1" , PALETTERGB (255, 248, 220) }, 237 {"LemonChiffon4" , PALETTERGB (139, 137, 112) },
233 {"cornsilk2" , PALETTERGB (238, 232, 205) }, 238 {"cornsilk1" , PALETTERGB (255, 248, 220) },
234 {"cornsilk3" , PALETTERGB (205, 200, 177) }, 239 {"cornsilk2" , PALETTERGB (238, 232, 205) },
235 {"cornsilk4" , PALETTERGB (139, 136, 120) }, 240 {"cornsilk3" , PALETTERGB (205, 200, 177) },
236 {"ivory1" , PALETTERGB (255, 255, 240) }, 241 {"cornsilk4" , PALETTERGB (139, 136, 120) },
237 {"ivory2" , PALETTERGB (238, 238, 224) }, 242 {"ivory1" , PALETTERGB (255, 255, 240) },
238 {"ivory3" , PALETTERGB (205, 205, 193) }, 243 {"ivory2" , PALETTERGB (240, 240, 208) }, /* Adjusted */
239 {"ivory4" , PALETTERGB (139, 139, 131) }, 244 {"ivory3" , PALETTERGB (205, 205, 193) },
240 {"honeydew1" , PALETTERGB (240, 255, 240) }, 245 {"ivory4" , PALETTERGB (139, 139, 131) },
241 {"honeydew2" , PALETTERGB (224, 238, 224) }, 246 {"honeydew1" , PALETTERGB (240, 255, 240) },
242 {"honeydew3" , PALETTERGB (193, 205, 193) }, 247 {"honeydew2" , PALETTERGB (224, 238, 224) },
243 {"honeydew4" , PALETTERGB (131, 139, 131) }, 248 {"honeydew3" , PALETTERGB (193, 205, 193) },
244 {"LavenderBlush1" , PALETTERGB (255, 240, 245) }, 249 {"honeydew4" , PALETTERGB (131, 139, 131) },
245 {"LavenderBlush2" , PALETTERGB (238, 224, 229) }, 250 {"LavenderBlush1" , PALETTERGB (255, 240, 245) },
246 {"LavenderBlush3" , PALETTERGB (205, 193, 197) }, 251 {"LavenderBlush2" , PALETTERGB (238, 224, 229) },
247 {"LavenderBlush4" , PALETTERGB (139, 131, 134) }, 252 {"LavenderBlush3" , PALETTERGB (205, 193, 197) },
248 {"MistyRose1" , PALETTERGB (255, 228, 225) }, 253 {"LavenderBlush4" , PALETTERGB (139, 131, 134) },
249 {"MistyRose2" , PALETTERGB (238, 213, 210) }, 254 {"MistyRose1" , PALETTERGB (255, 228, 225) },
250 {"MistyRose3" , PALETTERGB (205, 183, 181) }, 255 {"MistyRose2" , PALETTERGB (238, 213, 210) },
251 {"MistyRose4" , PALETTERGB (139, 125, 123) }, 256 {"MistyRose3" , PALETTERGB (205, 183, 181) },
252 {"azure1" , PALETTERGB (240, 255, 255) }, 257 {"MistyRose4" , PALETTERGB (139, 125, 123) },
253 {"azure2" , PALETTERGB (224, 238, 238) }, 258 {"azure1" , PALETTERGB (240, 255, 255) },
254 {"azure3" , PALETTERGB (193, 205, 205) }, 259 {"azure2" , PALETTERGB (224, 238, 238) },
255 {"azure4" , PALETTERGB (131, 139, 139) }, 260 {"azure3" , PALETTERGB (193, 205, 205) },
256 {"SlateBlue1" , PALETTERGB (131, 111, 255) }, 261 {"azure4" , PALETTERGB (131, 139, 139) },
257 {"SlateBlue2" , PALETTERGB (122, 103, 238) }, 262 {"SlateBlue1" , PALETTERGB (131, 111, 255) },
258 {"SlateBlue3" , PALETTERGB (105, 89, 205) }, 263 {"SlateBlue2" , PALETTERGB (122, 103, 238) },
259 {"SlateBlue4" , PALETTERGB (71, 60, 139) }, 264 {"SlateBlue3" , PALETTERGB (105, 89, 205) },
260 {"RoyalBlue1" , PALETTERGB (72, 118, 255) }, 265 {"SlateBlue4" , PALETTERGB (71, 60, 139) },
261 {"RoyalBlue2" , PALETTERGB (67, 110, 238) }, 266 {"RoyalBlue1" , PALETTERGB (72, 118, 255) },
262 {"RoyalBlue3" , PALETTERGB (58, 95, 205) }, 267 {"RoyalBlue2" , PALETTERGB (67, 110, 238) },
263 {"RoyalBlue4" , PALETTERGB (39, 64, 139) }, 268 {"RoyalBlue3" , PALETTERGB (58, 95, 205) },
264 {"blue1" , PALETTERGB (0, 0, 255) }, 269 {"RoyalBlue4" , PALETTERGB (39, 64, 139) },
265 {"blue2" , PALETTERGB (0, 0, 238) }, 270 {"blue1" , PALETTERGB (0, 0, 255) },
266 {"blue3" , PALETTERGB (0, 0, 205) }, 271 {"blue2" , PALETTERGB (0, 0, 238) },
267 {"blue4" , PALETTERGB (0, 0, 139) }, 272 {"blue3" , PALETTERGB (0, 0, 205) },
268 {"DodgerBlue1" , PALETTERGB (30, 144, 255) }, 273 {"blue4" , PALETTERGB (0, 0, 139) },
269 {"DodgerBlue2" , PALETTERGB (28, 134, 238) }, 274 {"DodgerBlue1" , PALETTERGB (30, 144, 255) },
270 {"DodgerBlue3" , PALETTERGB (24, 116, 205) }, 275 {"DodgerBlue2" , PALETTERGB (28, 134, 238) },
271 {"DodgerBlue4" , PALETTERGB (16, 78, 139) }, 276 {"DodgerBlue3" , PALETTERGB (24, 116, 205) },
272 {"SteelBlue1" , PALETTERGB (99, 184, 255) }, 277 {"DodgerBlue4" , PALETTERGB (16, 78, 139) },
273 {"SteelBlue2" , PALETTERGB (92, 172, 238) }, 278 {"SteelBlue1" , PALETTERGB (99, 184, 255) },
274 {"SteelBlue3" , PALETTERGB (79, 148, 205) }, 279 {"SteelBlue2" , PALETTERGB (92, 172, 238) },
275 {"SteelBlue4" , PALETTERGB (54, 100, 139) }, 280 {"SteelBlue3" , PALETTERGB (79, 148, 205) },
276 {"DeepSkyBlue1" , PALETTERGB (0, 191, 255) }, 281 {"SteelBlue4" , PALETTERGB (54, 100, 139) },
277 {"DeepSkyBlue2" , PALETTERGB (0, 178, 238) }, 282 {"DeepSkyBlue1" , PALETTERGB (0, 191, 255) },
278 {"DeepSkyBlue3" , PALETTERGB (0, 154, 205) }, 283 {"DeepSkyBlue2" , PALETTERGB (0, 178, 238) },
279 {"DeepSkyBlue4" , PALETTERGB (0, 104, 139) }, 284 {"DeepSkyBlue3" , PALETTERGB (0, 154, 205) },
280 {"SkyBlue1" , PALETTERGB (135, 206, 255) }, 285 {"DeepSkyBlue4" , PALETTERGB (0, 104, 139) },
281 {"SkyBlue2" , PALETTERGB (126, 192, 238) }, 286 {"SkyBlue1" , PALETTERGB (135, 206, 255) },
282 {"SkyBlue3" , PALETTERGB (108, 166, 205) }, 287 {"SkyBlue2" , PALETTERGB (126, 192, 238) },
283 {"SkyBlue4" , PALETTERGB (74, 112, 139) }, 288 {"SkyBlue3" , PALETTERGB (108, 166, 205) },
284 {"LightSkyBlue1" , PALETTERGB (176, 226, 255) }, 289 {"SkyBlue4" , PALETTERGB (74, 112, 139) },
285 {"LightSkyBlue2" , PALETTERGB (164, 211, 238) }, 290 {"LightSkyBlue1" , PALETTERGB (176, 226, 255) },
286 {"LightSkyBlue3" , PALETTERGB (141, 182, 205) }, 291 {"LightSkyBlue2" , PALETTERGB (164, 211, 238) },
287 {"LightSkyBlue4" , PALETTERGB (96, 123, 139) }, 292 {"LightSkyBlue3" , PALETTERGB (141, 182, 205) },
288 {"SlateGray1" , PALETTERGB (198, 226, 255) }, 293 {"LightSkyBlue4" , PALETTERGB (96, 123, 139) },
289 {"SlateGray2" , PALETTERGB (185, 211, 238) }, 294 {"SlateGray1" , PALETTERGB (198, 226, 255) },
290 {"SlateGray3" , PALETTERGB (159, 182, 205) }, 295 {"SlateGray2" , PALETTERGB (185, 211, 238) },
291 {"SlateGray4" , PALETTERGB (108, 123, 139) }, 296 {"SlateGray3" , PALETTERGB (159, 182, 205) },
292 {"LightSteelBlue1" , PALETTERGB (202, 225, 255) }, 297 {"SlateGray4" , PALETTERGB (108, 123, 139) },
293 {"LightSteelBlue2" , PALETTERGB (188, 210, 238) }, 298 {"LightSteelBlue1" , PALETTERGB (202, 225, 255) },
294 {"LightSteelBlue3" , PALETTERGB (162, 181, 205) }, 299 {"LightSteelBlue2" , PALETTERGB (188, 210, 238) },
295 {"LightSteelBlue4" , PALETTERGB (110, 123, 139) }, 300 {"LightSteelBlue3" , PALETTERGB (162, 181, 205) },
296 {"LightBlue1" , PALETTERGB (191, 239, 255) }, 301 {"LightSteelBlue4" , PALETTERGB (110, 123, 139) },
297 {"LightBlue2" , PALETTERGB (178, 223, 238) }, 302 {"LightBlue1" , PALETTERGB (191, 239, 255) },
298 {"LightBlue3" , PALETTERGB (154, 192, 205) }, 303 {"LightBlue2" , PALETTERGB (178, 223, 238) },
299 {"LightBlue4" , PALETTERGB (104, 131, 139) }, 304 {"LightBlue3" , PALETTERGB (154, 192, 205) },
300 {"LightCyan1" , PALETTERGB (224, 255, 255) }, 305 {"LightBlue4" , PALETTERGB (104, 131, 139) },
301 {"LightCyan2" , PALETTERGB (209, 238, 238) }, 306 {"LightCyan1" , PALETTERGB (224, 255, 255) },
302 {"LightCyan3" , PALETTERGB (180, 205, 205) }, 307 {"LightCyan2" , PALETTERGB (209, 238, 238) },
303 {"LightCyan4" , PALETTERGB (122, 139, 139) }, 308 {"LightCyan3" , PALETTERGB (180, 205, 205) },
304 {"PaleTurquoise1" , PALETTERGB (187, 255, 255) }, 309 {"LightCyan4" , PALETTERGB (122, 139, 139) },
305 {"PaleTurquoise2" , PALETTERGB (174, 238, 238) }, 310 {"PaleTurquoise1" , PALETTERGB (187, 255, 255) },
306 {"PaleTurquoise3" , PALETTERGB (150, 205, 205) }, 311 {"PaleTurquoise2" , PALETTERGB (174, 238, 238) },
307 {"PaleTurquoise4" , PALETTERGB (102, 139, 139) }, 312 {"PaleTurquoise3" , PALETTERGB (150, 205, 205) },
308 {"CadetBlue1" , PALETTERGB (152, 245, 255) }, 313 {"PaleTurquoise4" , PALETTERGB (102, 139, 139) },
309 {"CadetBlue2" , PALETTERGB (142, 229, 238) }, 314 {"CadetBlue1" , PALETTERGB (152, 245, 255) },
310 {"CadetBlue3" , PALETTERGB (122, 197, 205) }, 315 {"CadetBlue2" , PALETTERGB (144, 220, 240) }, /* Adjusted */
311 {"CadetBlue4" , PALETTERGB (83, 134, 139) }, 316 {"CadetBlue3" , PALETTERGB (122, 197, 205) },
312 {"turquoise1" , PALETTERGB (0, 245, 255) }, 317 {"CadetBlue4" , PALETTERGB (83, 134, 139) },
313 {"turquoise2" , PALETTERGB (0, 229, 238) }, 318 {"turquoise1" , PALETTERGB (0, 245, 255) },
314 {"turquoise3" , PALETTERGB (0, 197, 205) }, 319 {"turquoise2" , PALETTERGB (0, 229, 238) },
315 {"turquoise4" , PALETTERGB (0, 134, 139) }, 320 {"turquoise3" , PALETTERGB (0, 197, 205) },
316 {"cyan1" , PALETTERGB (0, 255, 255) }, 321 {"turquoise4" , PALETTERGB (0, 134, 139) },
317 {"cyan2" , PALETTERGB (0, 238, 238) }, 322 {"cyan1" , PALETTERGB (0, 255, 255) },
318 {"cyan3" , PALETTERGB (0, 205, 205) }, 323 {"cyan2" , PALETTERGB (0, 238, 238) },
319 {"cyan4" , PALETTERGB (0, 139, 139) }, 324 {"cyan3" , PALETTERGB (0, 205, 205) },
320 {"DarkSlateGray1" , PALETTERGB (151, 255, 255) }, 325 {"cyan4" , PALETTERGB (0, 139, 139) },
321 {"DarkSlateGray2" , PALETTERGB (141, 238, 238) }, 326 {"DarkSlateGray1" , PALETTERGB (151, 255, 255) },
322 {"DarkSlateGray3" , PALETTERGB (121, 205, 205) }, 327 {"DarkSlateGray2" , PALETTERGB (141, 238, 238) },
323 {"DarkSlateGray4" , PALETTERGB (82, 139, 139) }, 328 {"DarkSlateGray3" , PALETTERGB (121, 205, 205) },
324 {"aquamarine1" , PALETTERGB (127, 255, 212) }, 329 {"DarkSlateGray4" , PALETTERGB (82, 139, 139) },
325 {"aquamarine2" , PALETTERGB (118, 238, 198) }, 330 {"aquamarine1" , PALETTERGB (127, 255, 212) },
326 {"aquamarine3" , PALETTERGB (102, 205, 170) }, 331 {"aquamarine2" , PALETTERGB (118, 238, 198) },
327 {"aquamarine4" , PALETTERGB (69, 139, 116) }, 332 {"aquamarine3" , PALETTERGB (102, 205, 170) },
328 {"DarkSeaGreen1" , PALETTERGB (193, 255, 193) }, 333 {"aquamarine4" , PALETTERGB (69, 139, 116) },
329 {"DarkSeaGreen2" , PALETTERGB (180, 238, 180) }, 334 {"DarkSeaGreen1" , PALETTERGB (193, 255, 193) },
330 {"DarkSeaGreen3" , PALETTERGB (155, 205, 155) }, 335 {"DarkSeaGreen2" , PALETTERGB (180, 238, 180) },
331 {"DarkSeaGreen4" , PALETTERGB (105, 139, 105) }, 336 {"DarkSeaGreen3" , PALETTERGB (155, 205, 155) },
332 {"SeaGreen1" , PALETTERGB (84, 255, 159) }, 337 {"DarkSeaGreen4" , PALETTERGB (105, 139, 105) },
333 {"SeaGreen2" , PALETTERGB (78, 238, 148) }, 338 {"SeaGreen1" , PALETTERGB (84, 255, 159) },
334 {"SeaGreen3" , PALETTERGB (67, 205, 128) }, 339 {"SeaGreen2" , PALETTERGB (78, 238, 148) },
335 {"SeaGreen4" , PALETTERGB (46, 139, 87) }, 340 {"SeaGreen3" , PALETTERGB (67, 205, 128) },
336 {"PaleGreen1" , PALETTERGB (154, 255, 154) }, 341 {"SeaGreen4" , PALETTERGB (46, 139, 87) },
337 {"PaleGreen2" , PALETTERGB (144, 238, 144) }, 342 {"PaleGreen1" , PALETTERGB (154, 255, 154) },
338 {"PaleGreen3" , PALETTERGB (124, 205, 124) }, 343 {"PaleGreen2" , PALETTERGB (144, 238, 144) },
339 {"PaleGreen4" , PALETTERGB (84, 139, 84) }, 344 {"PaleGreen3" , PALETTERGB (124, 205, 124) },
340 {"SpringGreen1" , PALETTERGB (0, 255, 127) }, 345 {"PaleGreen4" , PALETTERGB (84, 139, 84) },
341 {"SpringGreen2" , PALETTERGB (0, 238, 118) }, 346 {"SpringGreen1" , PALETTERGB (0, 255, 127) },
342 {"SpringGreen3" , PALETTERGB (0, 205, 102) }, 347 {"SpringGreen2" , PALETTERGB (0, 238, 118) },
343 {"SpringGreen4" , PALETTERGB (0, 139, 69) }, 348 {"SpringGreen3" , PALETTERGB (0, 205, 102) },
344 {"green1" , PALETTERGB (0, 255, 0) }, 349 {"SpringGreen4" , PALETTERGB (0, 139, 69) },
345 {"green2" , PALETTERGB (0, 238, 0) }, 350 {"green1" , PALETTERGB (0, 255, 0) },
346 {"green3" , PALETTERGB (0, 205, 0) }, 351 {"green2" , PALETTERGB (0, 238, 0) },
347 {"green4" , PALETTERGB (0, 139, 0) }, 352 {"green3" , PALETTERGB (0, 205, 0) },
348 {"chartreuse1" , PALETTERGB (127, 255, 0) }, 353 {"green4" , PALETTERGB (0, 139, 0) },
349 {"chartreuse2" , PALETTERGB (118, 238, 0) }, 354 {"chartreuse1" , PALETTERGB (127, 255, 0) },
350 {"chartreuse3" , PALETTERGB (102, 205, 0) }, 355 {"chartreuse2" , PALETTERGB (118, 238, 0) },
351 {"chartreuse4" , PALETTERGB (69, 139, 0) }, 356 {"chartreuse3" , PALETTERGB (102, 205, 0) },
352 {"OliveDrab1" , PALETTERGB (192, 255, 62) }, 357 {"chartreuse4" , PALETTERGB (69, 139, 0) },
353 {"OliveDrab2" , PALETTERGB (179, 238, 58) }, 358 {"OliveDrab1" , PALETTERGB (192, 255, 62) },
354 {"OliveDrab3" , PALETTERGB (154, 205, 50) }, 359 {"OliveDrab2" , PALETTERGB (179, 238, 58) },
355 {"OliveDrab4" , PALETTERGB (105, 139, 34) }, 360 {"OliveDrab3" , PALETTERGB (154, 205, 50) },
356 {"DarkOliveGreen1" , PALETTERGB (202, 255, 112) }, 361 {"OliveDrab4" , PALETTERGB (105, 139, 34) },
357 {"DarkOliveGreen2" , PALETTERGB (188, 238, 104) }, 362 {"DarkOliveGreen1" , PALETTERGB (202, 255, 112) },
358 {"DarkOliveGreen3" , PALETTERGB (162, 205, 90) }, 363 {"DarkOliveGreen2" , PALETTERGB (188, 238, 104) },
359 {"DarkOliveGreen4" , PALETTERGB (110, 139, 61) }, 364 {"DarkOliveGreen3" , PALETTERGB (162, 205, 90) },
360 {"khaki1" , PALETTERGB (255, 246, 143) }, 365 {"DarkOliveGreen4" , PALETTERGB (110, 139, 61) },
361 {"khaki2" , PALETTERGB (238, 230, 133) }, 366 {"khaki1" , PALETTERGB (255, 246, 143) },
362 {"khaki3" , PALETTERGB (205, 198, 115) }, 367 {"khaki2" , PALETTERGB (238, 230, 133) },
363 {"khaki4" , PALETTERGB (139, 134, 78) }, 368 {"khaki3" , PALETTERGB (205, 198, 115) },
364 {"LightGoldenrod1" , PALETTERGB (255, 236, 139) }, 369 {"khaki4" , PALETTERGB (139, 134, 78) },
365 {"LightGoldenrod2" , PALETTERGB (238, 220, 130) }, 370 {"LightGoldenrod1" , PALETTERGB (255, 236, 139) },
366 {"LightGoldenrod3" , PALETTERGB (205, 190, 112) }, 371 {"LightGoldenrod2" , PALETTERGB (238, 220, 130) },
367 {"LightGoldenrod4" , PALETTERGB (139, 129, 76) }, 372 {"LightGoldenrod3" , PALETTERGB (205, 190, 112) },
368 {"LightYellow1" , PALETTERGB (255, 255, 224) }, 373 {"LightGoldenrod4" , PALETTERGB (139, 129, 76) },
369 {"LightYellow2" , PALETTERGB (238, 238, 209) }, 374 {"LightYellow1" , PALETTERGB (255, 255, 224) },
370 {"LightYellow3" , PALETTERGB (205, 205, 180) }, 375 {"LightYellow2" , PALETTERGB (238, 238, 209) },
371 {"LightYellow4" , PALETTERGB (139, 139, 122) }, 376 {"LightYellow3" , PALETTERGB (205, 205, 180) },
372 {"yellow1" , PALETTERGB (255, 255, 0) }, 377 {"LightYellow4" , PALETTERGB (139, 139, 122) },
373 {"yellow2" , PALETTERGB (238, 238, 0) }, 378 {"yellow1" , PALETTERGB (255, 255, 0) },
374 {"yellow3" , PALETTERGB (205, 205, 0) }, 379 {"yellow2" , PALETTERGB (238, 238, 0) },
375 {"yellow4" , PALETTERGB (139, 139, 0) }, 380 {"yellow3" , PALETTERGB (205, 205, 0) },
376 {"gold1" , PALETTERGB (255, 215, 0) }, 381 {"yellow4" , PALETTERGB (139, 139, 0) },
377 {"gold2" , PALETTERGB (238, 201, 0) }, 382 {"gold1" , PALETTERGB (255, 215, 0) },
378 {"gold3" , PALETTERGB (205, 173, 0) }, 383 {"gold2" , PALETTERGB (238, 201, 0) },
379 {"gold4" , PALETTERGB (139, 117, 0) }, 384 {"gold3" , PALETTERGB (205, 173, 0) },
380 {"goldenrod1" , PALETTERGB (255, 193, 37) }, 385 {"gold4" , PALETTERGB (139, 117, 0) },
381 {"goldenrod2" , PALETTERGB (238, 180, 34) }, 386 {"goldenrod1" , PALETTERGB (255, 193, 37) },
382 {"goldenrod3" , PALETTERGB (205, 155, 29) }, 387 {"goldenrod2" , PALETTERGB (238, 180, 34) },
383 {"goldenrod4" , PALETTERGB (139, 105, 20) }, 388 {"goldenrod3" , PALETTERGB (205, 155, 29) },
384 {"DarkGoldenrod1" , PALETTERGB (255, 185, 15) }, 389 {"goldenrod4" , PALETTERGB (139, 105, 20) },
385 {"DarkGoldenrod2" , PALETTERGB (238, 173, 14) }, 390 {"DarkGoldenrod1" , PALETTERGB (255, 185, 15) },
386 {"DarkGoldenrod3" , PALETTERGB (205, 149, 12) }, 391 {"DarkGoldenrod2" , PALETTERGB (238, 173, 14) },
387 {"DarkGoldenrod4" , PALETTERGB (139, 101, 8) }, 392 {"DarkGoldenrod3" , PALETTERGB (205, 149, 12) },
388 {"RosyBrown1" , PALETTERGB (255, 193, 193) }, 393 {"DarkGoldenrod4" , PALETTERGB (139, 101, 8) },
389 {"RosyBrown2" , PALETTERGB (238, 180, 180) }, 394 {"RosyBrown1" , PALETTERGB (255, 193, 193) },
390 {"RosyBrown3" , PALETTERGB (205, 155, 155) }, 395 {"RosyBrown2" , PALETTERGB (238, 180, 180) },
391 {"RosyBrown4" , PALETTERGB (139, 105, 105) }, 396 {"RosyBrown3" , PALETTERGB (205, 155, 155) },
392 {"IndianRed1" , PALETTERGB (255, 106, 106) }, 397 {"RosyBrown4" , PALETTERGB (139, 105, 105) },
393 {"IndianRed2" , PALETTERGB (238, 99, 99) }, 398 {"IndianRed1" , PALETTERGB (255, 106, 106) },
394 {"IndianRed3" , PALETTERGB (205, 85, 85) }, 399 {"IndianRed2" , PALETTERGB (238, 99, 99) },
395 {"IndianRed4" , PALETTERGB (139, 58, 58) }, 400 {"IndianRed3" , PALETTERGB (205, 85, 85) },
396 {"sienna1" , PALETTERGB (255, 130, 71) }, 401 {"IndianRed4" , PALETTERGB (139, 58, 58) },
397 {"sienna2" , PALETTERGB (238, 121, 66) }, 402 {"sienna1" , PALETTERGB (255, 130, 71) },
398 {"sienna3" , PALETTERGB (205, 104, 57) }, 403 {"sienna2" , PALETTERGB (238, 121, 66) },
399 {"sienna4" , PALETTERGB (139, 71, 38) }, 404 {"sienna3" , PALETTERGB (205, 104, 57) },
400 {"burlywood1" , PALETTERGB (255, 211, 155) }, 405 {"sienna4" , PALETTERGB (139, 71, 38) },
401 {"burlywood2" , PALETTERGB (238, 197, 145) }, 406 {"burlywood1" , PALETTERGB (255, 211, 155) },
402 {"burlywood3" , PALETTERGB (205, 170, 125) }, 407 {"burlywood2" , PALETTERGB (238, 197, 145) },
403 {"burlywood4" , PALETTERGB (139, 115, 85) }, 408 {"burlywood3" , PALETTERGB (205, 170, 125) },
404 {"wheat1" , PALETTERGB (255, 231, 186) }, 409 {"burlywood4" , PALETTERGB (139, 115, 85) },
405 {"wheat2" , PALETTERGB (238, 216, 174) }, 410 {"wheat1" , PALETTERGB (255, 231, 186) },
406 {"wheat3" , PALETTERGB (205, 186, 150) }, 411 {"wheat2" , PALETTERGB (238, 216, 174) },
407 {"wheat4" , PALETTERGB (139, 126, 102) }, 412 {"wheat3" , PALETTERGB (205, 186, 150) },
408 {"tan1" , PALETTERGB (255, 165, 79) }, 413 {"wheat4" , PALETTERGB (139, 126, 102) },
409 {"tan2" , PALETTERGB (238, 154, 73) }, 414 {"tan1" , PALETTERGB (255, 165, 79) },
410 {"tan3" , PALETTERGB (205, 133, 63) }, 415 {"tan2" , PALETTERGB (238, 154, 73) },
411 {"tan4" , PALETTERGB (139, 90, 43) }, 416 {"tan3" , PALETTERGB (205, 133, 63) },
412 {"chocolate1" , PALETTERGB (255, 127, 36) }, 417 {"tan4" , PALETTERGB (139, 90, 43) },
413 {"chocolate2" , PALETTERGB (238, 118, 33) }, 418 {"chocolate1" , PALETTERGB (255, 127, 36) },
414 {"chocolate3" , PALETTERGB (205, 102, 29) }, 419 {"chocolate2" , PALETTERGB (238, 118, 33) },
415 {"chocolate4" , PALETTERGB (139, 69, 19) }, 420 {"chocolate3" , PALETTERGB (205, 102, 29) },
416 {"firebrick1" , PALETTERGB (255, 48, 48) }, 421 {"chocolate4" , PALETTERGB (139, 69, 19) },
417 {"firebrick2" , PALETTERGB (238, 44, 44) }, 422 {"firebrick1" , PALETTERGB (255, 48, 48) },
418 {"firebrick3" , PALETTERGB (205, 38, 38) }, 423 {"firebrick2" , PALETTERGB (238, 44, 44) },
419 {"firebrick4" , PALETTERGB (139, 26, 26) }, 424 {"firebrick3" , PALETTERGB (205, 38, 38) },
420 {"brown1" , PALETTERGB (255, 64, 64) }, 425 {"firebrick4" , PALETTERGB (139, 26, 26) },
421 {"brown2" , PALETTERGB (238, 59, 59) }, 426 {"brown1" , PALETTERGB (255, 64, 64) },
422 {"brown3" , PALETTERGB (205, 51, 51) }, 427 {"brown2" , PALETTERGB (238, 59, 59) },
423 {"brown4" , PALETTERGB (139, 35, 35) }, 428 {"brown3" , PALETTERGB (205, 51, 51) },
424 {"salmon1" , PALETTERGB (255, 140, 105) }, 429 {"brown4" , PALETTERGB (139, 35, 35) },
425 {"salmon2" , PALETTERGB (238, 130, 98) }, 430 {"salmon1" , PALETTERGB (255, 140, 105) },
426 {"salmon3" , PALETTERGB (205, 112, 84) }, 431 {"salmon2" , PALETTERGB (238, 130, 98) },
427 {"salmon4" , PALETTERGB (139, 76, 57) }, 432 {"salmon3" , PALETTERGB (205, 112, 84) },
428 {"LightSalmon1" , PALETTERGB (255, 160, 122) }, 433 {"salmon4" , PALETTERGB (139, 76, 57) },
429 {"LightSalmon2" , PALETTERGB (238, 149, 114) }, 434 {"LightSalmon1" , PALETTERGB (255, 160, 122) },
430 {"LightSalmon3" , PALETTERGB (205, 129, 98) }, 435 {"LightSalmon2" , PALETTERGB (238, 149, 114) },
431 {"LightSalmon4" , PALETTERGB (139, 87, 66) }, 436 {"LightSalmon3" , PALETTERGB (205, 129, 98) },
432 {"orange1" , PALETTERGB (255, 165, 0) }, 437 {"LightSalmon4" , PALETTERGB (139, 87, 66) },
433 {"orange2" , PALETTERGB (238, 154, 0) }, 438 {"orange1" , PALETTERGB (255, 165, 0) },
434 {"orange3" , PALETTERGB (205, 133, 0) }, 439 {"orange2" , PALETTERGB (238, 154, 0) },
435 {"orange4" , PALETTERGB (139, 90, 0) }, 440 {"orange3" , PALETTERGB (205, 133, 0) },
436 {"DarkOrange1" , PALETTERGB (255, 127, 0) }, 441 {"orange4" , PALETTERGB (139, 90, 0) },
437 {"DarkOrange2" , PALETTERGB (238, 118, 0) }, 442 {"DarkOrange1" , PALETTERGB (255, 127, 0) },
438 {"DarkOrange3" , PALETTERGB (205, 102, 0) }, 443 {"DarkOrange2" , PALETTERGB (238, 118, 0) },
439 {"DarkOrange4" , PALETTERGB (139, 69, 0) }, 444 {"DarkOrange3" , PALETTERGB (205, 102, 0) },
440 {"coral1" , PALETTERGB (255, 114, 86) }, 445 {"DarkOrange4" , PALETTERGB (139, 69, 0) },
441 {"coral2" , PALETTERGB (238, 106, 80) }, 446 {"coral1" , PALETTERGB (255, 114, 86) },
442 {"coral3" , PALETTERGB (205, 91, 69) }, 447 {"coral2" , PALETTERGB (238, 106, 80) },
443 {"coral4" , PALETTERGB (139, 62, 47) }, 448 {"coral3" , PALETTERGB (205, 91, 69) },
444 {"tomato1" , PALETTERGB (255, 99, 71) }, 449 {"coral4" , PALETTERGB (139, 62, 47) },
445 {"tomato2" , PALETTERGB (238, 92, 66) }, 450 {"tomato1" , PALETTERGB (255, 99, 71) },
446 {"tomato3" , PALETTERGB (205, 79, 57) }, 451 {"tomato2" , PALETTERGB (238, 92, 66) },
447 {"tomato4" , PALETTERGB (139, 54, 38) }, 452 {"tomato3" , PALETTERGB (205, 79, 57) },
448 {"OrangeRed1" , PALETTERGB (255, 69, 0) }, 453 {"tomato4" , PALETTERGB (139, 54, 38) },
449 {"OrangeRed2" , PALETTERGB (238, 64, 0) }, 454 {"OrangeRed1" , PALETTERGB (255, 69, 0) },
450 {"OrangeRed3" , PALETTERGB (205, 55, 0) }, 455 {"OrangeRed2" , PALETTERGB (238, 64, 0) },
451 {"OrangeRed4" , PALETTERGB (139, 37, 0) }, 456 {"OrangeRed3" , PALETTERGB (205, 55, 0) },
452 {"red1" , PALETTERGB (255, 0, 0) }, 457 {"OrangeRed4" , PALETTERGB (139, 37, 0) },
453 {"red2" , PALETTERGB (238, 0, 0) }, 458 {"red1" , PALETTERGB (255, 0, 0) },
454 {"red3" , PALETTERGB (205, 0, 0) }, 459 {"red2" , PALETTERGB (238, 0, 0) },
455 {"red4" , PALETTERGB (139, 0, 0) }, 460 {"red3" , PALETTERGB (205, 0, 0) },
456 {"DeepPink1" , PALETTERGB (255, 20, 147) }, 461 {"red4" , PALETTERGB (139, 0, 0) },
457 {"DeepPink2" , PALETTERGB (238, 18, 137) }, 462 {"DeepPink1" , PALETTERGB (255, 20, 147) },
458 {"DeepPink3" , PALETTERGB (205, 16, 118) }, 463 {"DeepPink2" , PALETTERGB (238, 18, 137) },
459 {"DeepPink4" , PALETTERGB (139, 10, 80) }, 464 {"DeepPink3" , PALETTERGB (205, 16, 118) },
460 {"HotPink1" , PALETTERGB (255, 110, 180) }, 465 {"DeepPink4" , PALETTERGB (139, 10, 80) },
461 {"HotPink2" , PALETTERGB (238, 106, 167) }, 466 {"HotPink1" , PALETTERGB (255, 110, 180) },
462 {"HotPink3" , PALETTERGB (205, 96, 144) }, 467 {"HotPink2" , PALETTERGB (238, 106, 167) },
463 {"HotPink4" , PALETTERGB (139, 58, 98) }, 468 {"HotPink3" , PALETTERGB (205, 96, 144) },
464 {"pink1" , PALETTERGB (255, 181, 197) }, 469 {"HotPink4" , PALETTERGB (139, 58, 98) },
465 {"pink2" , PALETTERGB (238, 169, 184) }, 470 {"pink1" , PALETTERGB (255, 181, 197) },
466 {"pink3" , PALETTERGB (205, 145, 158) }, 471 {"pink2" , PALETTERGB (238, 169, 184) },
467 {"pink4" , PALETTERGB (139, 99, 108) }, 472 {"pink3" , PALETTERGB (205, 145, 158) },
468 {"LightPink1" , PALETTERGB (255, 174, 185) }, 473 {"pink4" , PALETTERGB (139, 99, 108) },
469 {"LightPink2" , PALETTERGB (238, 162, 173) }, 474 {"LightPink1" , PALETTERGB (255, 174, 185) },
470 {"LightPink3" , PALETTERGB (205, 140, 149) }, 475 {"LightPink2" , PALETTERGB (238, 162, 173) },
471 {"LightPink4" , PALETTERGB (139, 95, 101) }, 476 {"LightPink3" , PALETTERGB (205, 140, 149) },
472 {"PaleVioletRed1" , PALETTERGB (255, 130, 171) }, 477 {"LightPink4" , PALETTERGB (139, 95, 101) },
473 {"PaleVioletRed2" , PALETTERGB (238, 121, 159) }, 478 {"PaleVioletRed1" , PALETTERGB (255, 130, 171) },
474 {"PaleVioletRed3" , PALETTERGB (205, 104, 137) }, 479 {"PaleVioletRed2" , PALETTERGB (238, 121, 159) },
475 {"PaleVioletRed4" , PALETTERGB (139, 71, 93) }, 480 {"PaleVioletRed3" , PALETTERGB (205, 104, 137) },
476 {"maroon1" , PALETTERGB (255, 52, 179) }, 481 {"PaleVioletRed4" , PALETTERGB (139, 71, 93) },
477 {"maroon2" , PALETTERGB (238, 48, 167) }, 482 {"maroon1" , PALETTERGB (255, 52, 179) },
478 {"maroon3" , PALETTERGB (205, 41, 144) }, 483 {"maroon2" , PALETTERGB (238, 48, 167) },
479 {"maroon4" , PALETTERGB (139, 28, 98) }, 484 {"maroon3" , PALETTERGB (205, 41, 144) },
480 {"VioletRed1" , PALETTERGB (255, 62, 150) }, 485 {"maroon4" , PALETTERGB (139, 28, 98) },
481 {"VioletRed2" , PALETTERGB (238, 58, 140) }, 486 {"VioletRed1" , PALETTERGB (255, 62, 150) },
482 {"VioletRed3" , PALETTERGB (205, 50, 120) }, 487 {"VioletRed2" , PALETTERGB (238, 58, 140) },
483 {"VioletRed4" , PALETTERGB (139, 34, 82) }, 488 {"VioletRed3" , PALETTERGB (205, 50, 120) },
484 {"magenta1" , PALETTERGB (255, 0, 255) }, 489 {"VioletRed4" , PALETTERGB (139, 34, 82) },
485 {"magenta2" , PALETTERGB (238, 0, 238) }, 490 {"magenta1" , PALETTERGB (255, 0, 255) },
486 {"magenta3" , PALETTERGB (205, 0, 205) }, 491 {"magenta2" , PALETTERGB (238, 0, 238) },
487 {"magenta4" , PALETTERGB (139, 0, 139) }, 492 {"magenta3" , PALETTERGB (205, 0, 205) },
488 {"orchid1" , PALETTERGB (255, 131, 250) }, 493 {"magenta4" , PALETTERGB (139, 0, 139) },
489 {"orchid2" , PALETTERGB (238, 122, 233) }, 494 {"orchid1" , PALETTERGB (255, 131, 250) },
490 {"orchid3" , PALETTERGB (205, 105, 201) }, 495 {"orchid2" , PALETTERGB (238, 122, 233) },
491 {"orchid4" , PALETTERGB (139, 71, 137) }, 496 {"orchid3" , PALETTERGB (205, 105, 201) },
492 {"plum1" , PALETTERGB (255, 187, 255) }, 497 {"orchid4" , PALETTERGB (139, 71, 137) },
493 {"plum2" , PALETTERGB (238, 174, 238) }, 498 {"plum1" , PALETTERGB (255, 187, 255) },
494 {"plum3" , PALETTERGB (205, 150, 205) }, 499 {"plum2" , PALETTERGB (238, 174, 238) },
495 {"plum4" , PALETTERGB (139, 102, 139) }, 500 {"plum3" , PALETTERGB (205, 150, 205) },
496 {"MediumOrchid1" , PALETTERGB (224, 102, 255) }, 501 {"plum4" , PALETTERGB (139, 102, 139) },
497 {"MediumOrchid2" , PALETTERGB (209, 95, 238) }, 502 {"MediumOrchid1" , PALETTERGB (224, 102, 255) },
498 {"MediumOrchid3" , PALETTERGB (180, 82, 205) }, 503 {"MediumOrchid2" , PALETTERGB (209, 95, 238) },
499 {"MediumOrchid4" , PALETTERGB (122, 55, 139) }, 504 {"MediumOrchid3" , PALETTERGB (180, 82, 205) },
500 {"DarkOrchid1" , PALETTERGB (191, 62, 255) }, 505 {"MediumOrchid4" , PALETTERGB (122, 55, 139) },
501 {"DarkOrchid2" , PALETTERGB (178, 58, 238) }, 506 {"DarkOrchid1" , PALETTERGB (191, 62, 255) },
502 {"DarkOrchid3" , PALETTERGB (154, 50, 205) }, 507 {"DarkOrchid2" , PALETTERGB (178, 58, 238) },
503 {"DarkOrchid4" , PALETTERGB (104, 34, 139) }, 508 {"DarkOrchid3" , PALETTERGB (154, 50, 205) },
504 {"purple1" , PALETTERGB (155, 48, 255) }, 509 {"DarkOrchid4" , PALETTERGB (104, 34, 139) },
505 {"purple2" , PALETTERGB (145, 44, 238) }, 510 {"purple1" , PALETTERGB (155, 48, 255) },
506 {"purple3" , PALETTERGB (125, 38, 205) }, 511 {"purple2" , PALETTERGB (145, 44, 238) },
507 {"purple4" , PALETTERGB (85, 26, 139) }, 512 {"purple3" , PALETTERGB (125, 38, 205) },
508 {"MediumPurple1" , PALETTERGB (171, 130, 255) }, 513 {"purple4" , PALETTERGB (85, 26, 139) },
509 {"MediumPurple2" , PALETTERGB (159, 121, 238) }, 514 {"MediumPurple1" , PALETTERGB (171, 130, 255) },
510 {"MediumPurple3" , PALETTERGB (137, 104, 205) }, 515 {"MediumPurple2" , PALETTERGB (159, 121, 238) },
511 {"MediumPurple4" , PALETTERGB (93, 71, 139) }, 516 {"MediumPurple3" , PALETTERGB (137, 104, 205) },
512 {"thistle1" , PALETTERGB (255, 225, 255) }, 517 {"MediumPurple4" , PALETTERGB (93, 71, 139) },
513 {"thistle2" , PALETTERGB (238, 210, 238) }, 518 {"thistle1" , PALETTERGB (255, 225, 255) },
514 {"thistle3" , PALETTERGB (205, 181, 205) }, 519 {"thistle2" , PALETTERGB (238, 210, 238) },
515 {"thistle4" , PALETTERGB (139, 123, 139) }, 520 {"thistle3" , PALETTERGB (205, 181, 205) },
516 {"gray0" , PALETTERGB (0, 0, 0) }, 521 {"thistle4" , PALETTERGB (139, 123, 139) },
517 {"grey0" , PALETTERGB (0, 0, 0) }, 522 {"gray0" , PALETTERGB (0, 0, 0) },
518 {"gray1" , PALETTERGB (3, 3, 3) }, 523 {"grey0" , PALETTERGB (0, 0, 0) },
519 {"grey1" , PALETTERGB (3, 3, 3) }, 524 {"gray1" , PALETTERGB (3, 3, 3) },
520 {"gray2" , PALETTERGB (5, 5, 5) }, 525 {"grey1" , PALETTERGB (3, 3, 3) },
521 {"grey2" , PALETTERGB (5, 5, 5) }, 526 {"gray2" , PALETTERGB (5, 5, 5) },
522 {"gray3" , PALETTERGB (8, 8, 8) }, 527 {"grey2" , PALETTERGB (5, 5, 5) },
523 {"grey3" , PALETTERGB (8, 8, 8) }, 528 {"gray3" , PALETTERGB (8, 8, 8) },
524 {"gray4" , PALETTERGB (10, 10, 10) }, 529 {"grey3" , PALETTERGB (8, 8, 8) },
525 {"grey4" , PALETTERGB (10, 10, 10) }, 530 {"gray4" , PALETTERGB (10, 10, 10) },
526 {"gray5" , PALETTERGB (13, 13, 13) }, 531 {"grey4" , PALETTERGB (10, 10, 10) },
527 {"grey5" , PALETTERGB (13, 13, 13) }, 532 {"gray5" , PALETTERGB (13, 13, 13) },
528 {"gray6" , PALETTERGB (15, 15, 15) }, 533 {"grey5" , PALETTERGB (13, 13, 13) },
529 {"grey6" , PALETTERGB (15, 15, 15) }, 534 {"gray6" , PALETTERGB (15, 15, 15) },
530 {"gray7" , PALETTERGB (18, 18, 18) }, 535 {"grey6" , PALETTERGB (15, 15, 15) },
531 {"grey7" , PALETTERGB (18, 18, 18) }, 536 {"gray7" , PALETTERGB (18, 18, 18) },
532 {"gray8" , PALETTERGB (20, 20, 20) }, 537 {"grey7" , PALETTERGB (18, 18, 18) },
533 {"grey8" , PALETTERGB (20, 20, 20) }, 538 {"gray8" , PALETTERGB (20, 20, 20) },
534 {"gray9" , PALETTERGB (23, 23, 23) }, 539 {"grey8" , PALETTERGB (20, 20, 20) },
535 {"grey9" , PALETTERGB (23, 23, 23) }, 540 {"gray9" , PALETTERGB (23, 23, 23) },
536 {"gray10" , PALETTERGB (26, 26, 26) }, 541 {"grey9" , PALETTERGB (23, 23, 23) },
537 {"grey10" , PALETTERGB (26, 26, 26) }, 542 {"gray10" , PALETTERGB (26, 26, 26) },
538 {"gray11" , PALETTERGB (28, 28, 28) }, 543 {"grey10" , PALETTERGB (26, 26, 26) },
539 {"grey11" , PALETTERGB (28, 28, 28) }, 544 {"gray11" , PALETTERGB (28, 28, 28) },
540 {"gray12" , PALETTERGB (31, 31, 31) }, 545 {"grey11" , PALETTERGB (28, 28, 28) },
541 {"grey12" , PALETTERGB (31, 31, 31) }, 546 {"gray12" , PALETTERGB (31, 31, 31) },
542 {"gray13" , PALETTERGB (33, 33, 33) }, 547 {"grey12" , PALETTERGB (31, 31, 31) },
543 {"grey13" , PALETTERGB (33, 33, 33) }, 548 {"gray13" , PALETTERGB (33, 33, 33) },
544 {"gray14" , PALETTERGB (36, 36, 36) }, 549 {"grey13" , PALETTERGB (33, 33, 33) },
545 {"grey14" , PALETTERGB (36, 36, 36) }, 550 {"gray14" , PALETTERGB (36, 36, 36) },
546 {"gray15" , PALETTERGB (38, 38, 38) }, 551 {"grey14" , PALETTERGB (36, 36, 36) },
547 {"grey15" , PALETTERGB (38, 38, 38) }, 552 {"gray15" , PALETTERGB (38, 38, 38) },
548 {"gray16" , PALETTERGB (41, 41, 41) }, 553 {"grey15" , PALETTERGB (38, 38, 38) },
549 {"grey16" , PALETTERGB (41, 41, 41) }, 554 {"gray16" , PALETTERGB (41, 41, 41) },
550 {"gray17" , PALETTERGB (43, 43, 43) }, 555 {"grey16" , PALETTERGB (41, 41, 41) },
551 {"grey17" , PALETTERGB (43, 43, 43) }, 556 {"gray17" , PALETTERGB (43, 43, 43) },
552 {"gray18" , PALETTERGB (46, 46, 46) }, 557 {"grey17" , PALETTERGB (43, 43, 43) },
553 {"grey18" , PALETTERGB (46, 46, 46) }, 558 {"gray18" , PALETTERGB (46, 46, 46) },
554 {"gray19" , PALETTERGB (48, 48, 48) }, 559 {"grey18" , PALETTERGB (46, 46, 46) },
555 {"grey19" , PALETTERGB (48, 48, 48) }, 560 {"gray19" , PALETTERGB (48, 48, 48) },
556 {"gray20" , PALETTERGB (51, 51, 51) }, 561 {"grey19" , PALETTERGB (48, 48, 48) },
557 {"grey20" , PALETTERGB (51, 51, 51) }, 562 {"gray20" , PALETTERGB (51, 51, 51) },
558 {"gray21" , PALETTERGB (54, 54, 54) }, 563 {"grey20" , PALETTERGB (51, 51, 51) },
559 {"grey21" , PALETTERGB (54, 54, 54) }, 564 {"gray21" , PALETTERGB (54, 54, 54) },
560 {"gray22" , PALETTERGB (56, 56, 56) }, 565 {"grey21" , PALETTERGB (54, 54, 54) },
561 {"grey22" , PALETTERGB (56, 56, 56) }, 566 {"gray22" , PALETTERGB (56, 56, 56) },
562 {"gray23" , PALETTERGB (59, 59, 59) }, 567 {"grey22" , PALETTERGB (56, 56, 56) },
563 {"grey23" , PALETTERGB (59, 59, 59) }, 568 {"gray23" , PALETTERGB (59, 59, 59) },
564 {"gray24" , PALETTERGB (61, 61, 61) }, 569 {"grey23" , PALETTERGB (59, 59, 59) },
565 {"grey24" , PALETTERGB (61, 61, 61) }, 570 {"gray24" , PALETTERGB (61, 61, 61) },
566 {"gray25" , PALETTERGB (64, 64, 64) }, 571 {"grey24" , PALETTERGB (61, 61, 61) },
567 {"grey25" , PALETTERGB (64, 64, 64) }, 572 {"gray25" , PALETTERGB (64, 64, 64) },
568 {"gray26" , PALETTERGB (66, 66, 66) }, 573 {"grey25" , PALETTERGB (64, 64, 64) },
569 {"grey26" , PALETTERGB (66, 66, 66) }, 574 {"gray26" , PALETTERGB (66, 66, 66) },
570 {"gray27" , PALETTERGB (69, 69, 69) }, 575 {"grey26" , PALETTERGB (66, 66, 66) },
571 {"grey27" , PALETTERGB (69, 69, 69) }, 576 {"gray27" , PALETTERGB (69, 69, 69) },
572 {"gray28" , PALETTERGB (71, 71, 71) }, 577 {"grey27" , PALETTERGB (69, 69, 69) },
573 {"grey28" , PALETTERGB (71, 71, 71) }, 578 {"gray28" , PALETTERGB (71, 71, 71) },
574 {"gray29" , PALETTERGB (74, 74, 74) }, 579 {"grey28" , PALETTERGB (71, 71, 71) },
575 {"grey29" , PALETTERGB (74, 74, 74) }, 580 {"gray29" , PALETTERGB (74, 74, 74) },
576 {"gray30" , PALETTERGB (77, 77, 77) }, 581 {"grey29" , PALETTERGB (74, 74, 74) },
577 {"grey30" , PALETTERGB (77, 77, 77) }, 582 {"gray30" , PALETTERGB (77, 77, 77) },
578 {"gray31" , PALETTERGB (79, 79, 79) }, 583 {"grey30" , PALETTERGB (77, 77, 77) },
579 {"grey31" , PALETTERGB (79, 79, 79) }, 584 {"gray31" , PALETTERGB (79, 79, 79) },
580 {"gray32" , PALETTERGB (82, 82, 82) }, 585 {"grey31" , PALETTERGB (79, 79, 79) },
581 {"grey32" , PALETTERGB (82, 82, 82) }, 586 {"gray32" , PALETTERGB (82, 82, 82) },
582 {"gray33" , PALETTERGB (84, 84, 84) }, 587 {"grey32" , PALETTERGB (82, 82, 82) },
583 {"grey33" , PALETTERGB (84, 84, 84) }, 588 {"gray33" , PALETTERGB (84, 84, 84) },
584 {"gray34" , PALETTERGB (87, 87, 87) }, 589 {"grey33" , PALETTERGB (84, 84, 84) },
585 {"grey34" , PALETTERGB (87, 87, 87) }, 590 {"gray34" , PALETTERGB (87, 87, 87) },
586 {"gray35" , PALETTERGB (89, 89, 89) }, 591 {"grey34" , PALETTERGB (87, 87, 87) },
587 {"grey35" , PALETTERGB (89, 89, 89) }, 592 {"gray35" , PALETTERGB (89, 89, 89) },
588 {"gray36" , PALETTERGB (92, 92, 92) }, 593 {"grey35" , PALETTERGB (89, 89, 89) },
589 {"grey36" , PALETTERGB (92, 92, 92) }, 594 {"gray36" , PALETTERGB (92, 92, 92) },
590 {"gray37" , PALETTERGB (94, 94, 94) }, 595 {"grey36" , PALETTERGB (92, 92, 92) },
591 {"grey37" , PALETTERGB (94, 94, 94) }, 596 {"gray37" , PALETTERGB (94, 94, 94) },
592 {"gray38" , PALETTERGB (97, 97, 97) }, 597 {"grey37" , PALETTERGB (94, 94, 94) },
593 {"grey38" , PALETTERGB (97, 97, 97) }, 598 {"gray38" , PALETTERGB (97, 97, 97) },
594 {"gray39" , PALETTERGB (99, 99, 99) }, 599 {"grey38" , PALETTERGB (97, 97, 97) },
595 {"grey39" , PALETTERGB (99, 99, 99) }, 600 {"gray39" , PALETTERGB (99, 99, 99) },
596 {"gray40" , PALETTERGB (102, 102, 102) }, 601 {"grey39" , PALETTERGB (99, 99, 99) },
597 {"grey40" , PALETTERGB (102, 102, 102) }, 602 {"gray40" , PALETTERGB (102, 102, 102) },
598 {"gray41" , PALETTERGB (105, 105, 105) }, 603 {"grey40" , PALETTERGB (102, 102, 102) },
599 {"grey41" , PALETTERGB (105, 105, 105) }, 604 {"gray41" , PALETTERGB (105, 105, 105) },
600 {"gray42" , PALETTERGB (107, 107, 107) }, 605 {"grey41" , PALETTERGB (105, 105, 105) },
601 {"grey42" , PALETTERGB (107, 107, 107) }, 606 {"gray42" , PALETTERGB (107, 107, 107) },
602 {"gray43" , PALETTERGB (110, 110, 110) }, 607 {"grey42" , PALETTERGB (107, 107, 107) },
603 {"grey43" , PALETTERGB (110, 110, 110) }, 608 {"gray43" , PALETTERGB (110, 110, 110) },
604 {"gray44" , PALETTERGB (112, 112, 112) }, 609 {"grey43" , PALETTERGB (110, 110, 110) },
605 {"grey44" , PALETTERGB (112, 112, 112) }, 610 {"gray44" , PALETTERGB (112, 112, 112) },
606 {"gray45" , PALETTERGB (115, 115, 115) }, 611 {"grey44" , PALETTERGB (112, 112, 112) },
607 {"grey45" , PALETTERGB (115, 115, 115) }, 612 {"gray45" , PALETTERGB (115, 115, 115) },
608 {"gray46" , PALETTERGB (117, 117, 117) }, 613 {"grey45" , PALETTERGB (115, 115, 115) },
609 {"grey46" , PALETTERGB (117, 117, 117) }, 614 {"gray46" , PALETTERGB (117, 117, 117) },
610 {"gray47" , PALETTERGB (120, 120, 120) }, 615 {"grey46" , PALETTERGB (117, 117, 117) },
611 {"grey47" , PALETTERGB (120, 120, 120) }, 616 {"gray47" , PALETTERGB (120, 120, 120) },
612 {"gray48" , PALETTERGB (122, 122, 122) }, 617 {"grey47" , PALETTERGB (120, 120, 120) },
613 {"grey48" , PALETTERGB (122, 122, 122) }, 618 {"gray48" , PALETTERGB (122, 122, 122) },
614 {"gray49" , PALETTERGB (125, 125, 125) }, 619 {"grey48" , PALETTERGB (122, 122, 122) },
615 {"grey49" , PALETTERGB (125, 125, 125) }, 620 {"gray49" , PALETTERGB (125, 125, 125) },
616 {"gray50" , PALETTERGB (127, 127, 127) }, 621 {"grey49" , PALETTERGB (125, 125, 125) },
617 {"grey50" , PALETTERGB (127, 127, 127) }, 622 {"gray50" , PALETTERGB (128, 128, 128) }, /* Adjusted */
618 {"gray51" , PALETTERGB (130, 130, 130) }, 623 {"grey50" , PALETTERGB (128, 128, 128) }, /* Adjusted */
619 {"grey51" , PALETTERGB (130, 130, 130) }, 624 {"gray51" , PALETTERGB (130, 130, 130) },
620 {"gray52" , PALETTERGB (133, 133, 133) }, 625 {"grey51" , PALETTERGB (130, 130, 130) },
621 {"grey52" , PALETTERGB (133, 133, 133) }, 626 {"gray52" , PALETTERGB (133, 133, 133) },
622 {"gray53" , PALETTERGB (135, 135, 135) }, 627 {"grey52" , PALETTERGB (133, 133, 133) },
623 {"grey53" , PALETTERGB (135, 135, 135) }, 628 {"gray53" , PALETTERGB (135, 135, 135) },
624 {"gray54" , PALETTERGB (138, 138, 138) }, 629 {"grey53" , PALETTERGB (135, 135, 135) },
625 {"grey54" , PALETTERGB (138, 138, 138) }, 630 {"gray54" , PALETTERGB (138, 138, 138) },
626 {"gray55" , PALETTERGB (140, 140, 140) }, 631 {"grey54" , PALETTERGB (138, 138, 138) },
627 {"grey55" , PALETTERGB (140, 140, 140) }, 632 {"gray55" , PALETTERGB (140, 140, 140) },
628 {"gray56" , PALETTERGB (143, 143, 143) }, 633 {"grey55" , PALETTERGB (140, 140, 140) },
629 {"grey56" , PALETTERGB (143, 143, 143) }, 634 {"gray56" , PALETTERGB (143, 143, 143) },
630 {"gray57" , PALETTERGB (145, 145, 145) }, 635 {"grey56" , PALETTERGB (143, 143, 143) },
631 {"grey57" , PALETTERGB (145, 145, 145) }, 636 {"gray57" , PALETTERGB (145, 145, 145) },
632 {"gray58" , PALETTERGB (148, 148, 148) }, 637 {"grey57" , PALETTERGB (145, 145, 145) },
633 {"grey58" , PALETTERGB (148, 148, 148) }, 638 {"gray58" , PALETTERGB (148, 148, 148) },
634 {"gray59" , PALETTERGB (150, 150, 150) }, 639 {"grey58" , PALETTERGB (148, 148, 148) },
635 {"grey59" , PALETTERGB (150, 150, 150) }, 640 {"gray59" , PALETTERGB (150, 150, 150) },
636 {"gray60" , PALETTERGB (153, 153, 153) }, 641 {"grey59" , PALETTERGB (150, 150, 150) },
637 {"grey60" , PALETTERGB (153, 153, 153) }, 642 {"gray60" , PALETTERGB (153, 153, 153) },
638 {"gray61" , PALETTERGB (156, 156, 156) }, 643 {"grey60" , PALETTERGB (153, 153, 153) },
639 {"grey61" , PALETTERGB (156, 156, 156) }, 644 {"gray61" , PALETTERGB (156, 156, 156) },
640 {"gray62" , PALETTERGB (158, 158, 158) }, 645 {"grey61" , PALETTERGB (156, 156, 156) },
641 {"grey62" , PALETTERGB (158, 158, 158) }, 646 {"gray62" , PALETTERGB (158, 158, 158) },
642 {"gray63" , PALETTERGB (161, 161, 161) }, 647 {"grey62" , PALETTERGB (158, 158, 158) },
643 {"grey63" , PALETTERGB (161, 161, 161) }, 648 {"gray63" , PALETTERGB (161, 161, 161) },
644 {"gray64" , PALETTERGB (163, 163, 163) }, 649 {"grey63" , PALETTERGB (161, 161, 161) },
645 {"grey64" , PALETTERGB (163, 163, 163) }, 650 {"gray64" , PALETTERGB (163, 163, 163) },
646 {"gray65" , PALETTERGB (166, 166, 166) }, 651 {"grey64" , PALETTERGB (163, 163, 163) },
647 {"grey65" , PALETTERGB (166, 166, 166) }, 652 {"gray65" , PALETTERGB (166, 166, 166) },
648 {"gray66" , PALETTERGB (168, 168, 168) }, 653 {"grey65" , PALETTERGB (166, 166, 166) },
649 {"grey66" , PALETTERGB (168, 168, 168) }, 654 {"gray66" , PALETTERGB (168, 168, 168) },
650 {"gray67" , PALETTERGB (171, 171, 171) }, 655 {"grey66" , PALETTERGB (168, 168, 168) },
651 {"grey67" , PALETTERGB (171, 171, 171) }, 656 {"gray67" , PALETTERGB (171, 171, 171) },
652 {"gray68" , PALETTERGB (173, 173, 173) }, 657 {"grey67" , PALETTERGB (171, 171, 171) },
653 {"grey68" , PALETTERGB (173, 173, 173) }, 658 {"gray68" , PALETTERGB (173, 173, 173) },
654 {"gray69" , PALETTERGB (176, 176, 176) }, 659 {"grey68" , PALETTERGB (173, 173, 173) },
655 {"grey69" , PALETTERGB (176, 176, 176) }, 660 {"gray69" , PALETTERGB (176, 176, 176) },
656 {"gray70" , PALETTERGB (179, 179, 179) }, 661 {"grey69" , PALETTERGB (176, 176, 176) },
657 {"grey70" , PALETTERGB (179, 179, 179) }, 662 {"gray70" , PALETTERGB (179, 179, 179) },
658 {"gray71" , PALETTERGB (181, 181, 181) }, 663 {"grey70" , PALETTERGB (179, 179, 179) },
659 {"grey71" , PALETTERGB (181, 181, 181) }, 664 {"gray71" , PALETTERGB (181, 181, 181) },
660 {"gray72" , PALETTERGB (184, 184, 184) }, 665 {"grey71" , PALETTERGB (181, 181, 181) },
661 {"grey72" , PALETTERGB (184, 184, 184) }, 666 {"gray72" , PALETTERGB (184, 184, 184) },
662 {"gray73" , PALETTERGB (186, 186, 186) }, 667 {"grey72" , PALETTERGB (184, 184, 184) },
663 {"grey73" , PALETTERGB (186, 186, 186) }, 668 {"gray73" , PALETTERGB (186, 186, 186) },
664 {"gray74" , PALETTERGB (189, 189, 189) }, 669 {"grey73" , PALETTERGB (186, 186, 186) },
665 {"grey74" , PALETTERGB (189, 189, 189) }, 670 {"gray74" , PALETTERGB (189, 189, 189) },
666 {"gray75" , PALETTERGB (191, 191, 191) }, 671 {"grey74" , PALETTERGB (189, 189, 189) },
667 {"grey75" , PALETTERGB (191, 191, 191) }, 672 {"gray75" , PALETTERGB (192, 192, 192) }, /* Adjusted */
668 {"gray76" , PALETTERGB (194, 194, 194) }, 673 {"grey75" , PALETTERGB (192, 192, 192) }, /* Adjusted */
669 {"grey76" , PALETTERGB (194, 194, 194) }, 674 {"gray76" , PALETTERGB (194, 194, 194) },
670 {"gray77" , PALETTERGB (196, 196, 196) }, 675 {"grey76" , PALETTERGB (194, 194, 194) },
671 {"grey77" , PALETTERGB (196, 196, 196) }, 676 {"gray77" , PALETTERGB (196, 196, 196) },
672 {"gray78" , PALETTERGB (199, 199, 199) }, 677 {"grey77" , PALETTERGB (196, 196, 196) },
673 {"grey78" , PALETTERGB (199, 199, 199) }, 678 {"gray78" , PALETTERGB (199, 199, 199) },
674 {"gray79" , PALETTERGB (201, 201, 201) }, 679 {"grey78" , PALETTERGB (199, 199, 199) },
675 {"grey79" , PALETTERGB (201, 201, 201) }, 680 {"gray79" , PALETTERGB (201, 201, 201) },
676 {"gray80" , PALETTERGB (204, 204, 204) }, 681 {"grey79" , PALETTERGB (201, 201, 201) },
677 {"grey80" , PALETTERGB (204, 204, 204) }, 682 {"gray80" , PALETTERGB (204, 204, 204) },
678 {"gray81" , PALETTERGB (207, 207, 207) }, 683 {"grey80" , PALETTERGB (204, 204, 204) },
679 {"grey81" , PALETTERGB (207, 207, 207) }, 684 {"gray81" , PALETTERGB (207, 207, 207) },
680 {"gray82" , PALETTERGB (209, 209, 209) }, 685 {"grey81" , PALETTERGB (207, 207, 207) },
681 {"grey82" , PALETTERGB (209, 209, 209) }, 686 {"gray82" , PALETTERGB (209, 209, 209) },
682 {"gray83" , PALETTERGB (212, 212, 212) }, 687 {"grey82" , PALETTERGB (209, 209, 209) },
683 {"grey83" , PALETTERGB (212, 212, 212) }, 688 {"gray83" , PALETTERGB (212, 212, 212) },
684 {"gray84" , PALETTERGB (214, 214, 214) }, 689 {"grey83" , PALETTERGB (212, 212, 212) },
685 {"grey84" , PALETTERGB (214, 214, 214) }, 690 {"gray84" , PALETTERGB (214, 214, 214) },
686 {"gray85" , PALETTERGB (217, 217, 217) }, 691 {"grey84" , PALETTERGB (214, 214, 214) },
687 {"grey85" , PALETTERGB (217, 217, 217) }, 692 {"gray85" , PALETTERGB (217, 217, 217) },
688 {"gray86" , PALETTERGB (219, 219, 219) }, 693 {"grey85" , PALETTERGB (217, 217, 217) },
689 {"grey86" , PALETTERGB (219, 219, 219) }, 694 {"gray86" , PALETTERGB (219, 219, 219) },
690 {"gray87" , PALETTERGB (222, 222, 222) }, 695 {"grey86" , PALETTERGB (219, 219, 219) },
691 {"grey87" , PALETTERGB (222, 222, 222) }, 696 {"gray87" , PALETTERGB (222, 222, 222) },
692 {"gray88" , PALETTERGB (224, 224, 224) }, 697 {"grey87" , PALETTERGB (222, 222, 222) },
693 {"grey88" , PALETTERGB (224, 224, 224) }, 698 {"gray88" , PALETTERGB (224, 224, 224) },
694 {"gray89" , PALETTERGB (227, 227, 227) }, 699 {"grey88" , PALETTERGB (224, 224, 224) },
695 {"grey89" , PALETTERGB (227, 227, 227) }, 700 {"gray89" , PALETTERGB (227, 227, 227) },
696 {"gray90" , PALETTERGB (229, 229, 229) }, 701 {"grey89" , PALETTERGB (227, 227, 227) },
697 {"grey90" , PALETTERGB (229, 229, 229) }, 702 {"gray90" , PALETTERGB (229, 229, 229) },
698 {"gray91" , PALETTERGB (232, 232, 232) }, 703 {"grey90" , PALETTERGB (229, 229, 229) },
699 {"grey91" , PALETTERGB (232, 232, 232) }, 704 {"gray91" , PALETTERGB (232, 232, 232) },
700 {"gray92" , PALETTERGB (235, 235, 235) }, 705 {"grey91" , PALETTERGB (232, 232, 232) },
701 {"grey92" , PALETTERGB (235, 235, 235) }, 706 {"gray92" , PALETTERGB (235, 235, 235) },
702 {"gray93" , PALETTERGB (237, 237, 237) }, 707 {"grey92" , PALETTERGB (235, 235, 235) },
703 {"grey93" , PALETTERGB (237, 237, 237) }, 708 {"gray93" , PALETTERGB (237, 237, 237) },
704 {"gray94" , PALETTERGB (240, 240, 240) }, 709 {"grey93" , PALETTERGB (237, 237, 237) },
705 {"grey94" , PALETTERGB (240, 240, 240) }, 710 {"gray94" , PALETTERGB (240, 240, 240) },
706 {"gray95" , PALETTERGB (242, 242, 242) }, 711 {"grey94" , PALETTERGB (240, 240, 240) },
707 {"grey95" , PALETTERGB (242, 242, 242) }, 712 {"gray95" , PALETTERGB (242, 242, 242) },
708 {"gray96" , PALETTERGB (245, 245, 245) }, 713 {"grey95" , PALETTERGB (242, 242, 242) },
709 {"grey96" , PALETTERGB (245, 245, 245) }, 714 {"gray96" , PALETTERGB (245, 245, 245) },
710 {"gray97" , PALETTERGB (247, 247, 247) }, 715 {"grey96" , PALETTERGB (245, 245, 245) },
711 {"grey97" , PALETTERGB (247, 247, 247) }, 716 {"gray97" , PALETTERGB (247, 247, 247) },
712 {"gray98" , PALETTERGB (250, 250, 250) }, 717 {"grey97" , PALETTERGB (247, 247, 247) },
713 {"grey98" , PALETTERGB (250, 250, 250) }, 718 {"gray98" , PALETTERGB (250, 250, 250) },
714 {"gray99" , PALETTERGB (252, 252, 252) }, 719 {"grey98" , PALETTERGB (250, 250, 250) },
715 {"grey99" , PALETTERGB (252, 252, 252) }, 720 {"gray99" , PALETTERGB (252, 252, 252) },
716 {"gray100" , PALETTERGB (255, 255, 255) }, 721 {"grey99" , PALETTERGB (252, 252, 252) },
717 {"grey100" , PALETTERGB (255, 255, 255) }, 722 {"gray100" , PALETTERGB (255, 255, 255) },
718 {"DarkGrey" , PALETTERGB (169, 169, 169) }, 723 {"grey100" , PALETTERGB (255, 255, 255) },
719 {"DarkGray" , PALETTERGB (169, 169, 169) }, 724 {"DarkGrey" , PALETTERGB (169, 169, 169) },
720 {"DarkBlue" , PALETTERGB (0, 0, 139) }, 725 {"DarkGray" , PALETTERGB (169, 169, 169) },
721 {"DarkCyan" , PALETTERGB (0, 139, 139) }, 726 {"DarkBlue" , PALETTERGB (0, 0, 128) }, /* Adjusted == Navy */
722 {"DarkMagenta" , PALETTERGB (139, 0, 139) }, 727 {"DarkCyan" , PALETTERGB (0, 128, 128) }, /* Adjusted */
723 {"DarkRed" , PALETTERGB (139, 0, 0) }, 728 {"DarkMagenta" , PALETTERGB (128, 0, 128) }, /* Adjusted */
724 {"LightGreen" , PALETTERGB (144, 238, 144) } 729 {"DarkRed" , PALETTERGB (128, 0, 0) }, /* Adjusted */
730 {"LightGreen" , PALETTERGB (144, 238, 144) },
731 /* Added to match values in the default Windows palette: */
732 {"DarkYellow" , PALETTERGB (128, 128, 0) },
733 {"PaleYellow" , PALETTERGB (255, 255, 128) }
725 }; 734 };
726 735
727 736
728 typedef struct fontmap_t 737 typedef struct fontmap_t
729 { 738 {
730 const char *name; 739 const char *name;
731 const int value; 740 int value;
732 } fontmap_t; 741 } fontmap_t;
733 742
734 /* Default weight first, preferred names listed before synonyms */ 743 /* Default weight first, preferred names listed before synonyms */
735 static const fontmap_t fontweight_map[] = 744 static const fontmap_t fontweight_map[] =
736 { 745 {
855 else 864 else
856 return (COLORREF) -1; 865 return (COLORREF) -1;
857 } 866 }
858 else if (*name) /* Can't be an empty string */ 867 else if (*name) /* Can't be an empty string */
859 { 868 {
860 char *nospaces = alloca (strlen (name)+1); 869 char *nospaces = (char*) alloca (strlen (name)+1);
861 char *c=nospaces; 870 char *c = nospaces;
862 while (*name) 871 while (*name)
863 if (*name != ' ') 872 if (*name != ' ')
864 *(c++) = *(name++); 873 *c++ = *name++;
865 else 874 else
866 name++; 875 name++;
867 *c = '\0'; 876 *c = '\0';
868 877
869 for (i=0; i< countof (mswindows_X_color_map); i++) 878 for (i = 0; i < countof (mswindows_X_color_map); i++)
870 if (!stricmp (nospaces, mswindows_X_color_map[i].name)) 879 if (!stricmp (nospaces, mswindows_X_color_map[i].name))
871 return (mswindows_X_color_map[i].colorref); 880 return (mswindows_X_color_map[i].colorref);
872 } 881 }
873 return (COLORREF) -1; 882 return (COLORREF) -1;
883 }
884
885 Lisp_Object
886 mswindows_color_to_string (COLORREF color)
887 {
888 int i;
889 char buf[8];
890 COLORREF pcolor = PALETTERGB (GetRValue (color), GetGValue (color),
891 GetBValue (color));
892
893 for (i=0; i < countof (mswindows_X_color_map); i++)
894 if (pcolor == (mswindows_X_color_map[i].colorref))
895 return build_string (mswindows_X_color_map[i].name);
896
897 sprintf (buf, "#%02X%02X%02X",
898 GetRValue (color), GetGValue (color), GetBValue (color));
899 return build_string (buf);
874 } 900 }
875 901
876 /* 902 /*
877 * Returns non-zero if the two supplied font patterns match. 903 * Returns non-zero if the two supplied font patterns match.
878 * If they match and fontname is not NULL, copies the logical OR of the 904 * If they match and fontname is not NULL, copies the logical OR of the
1426 of the font */ 1452 of the font */
1427 hfont2 = mswindows_create_font_variant (f, 1, 0); 1453 hfont2 = mswindows_create_font_variant (f, 1, 0);
1428 if (hfont2 != MSWINDOWS_BAD_HFONT) 1454 if (hfont2 != MSWINDOWS_BAD_HFONT)
1429 hfont = hfont2; 1455 hfont = hfont2;
1430 1456
1431 hfont2 = SelectObject(hdc, hfont); 1457 hfont2 = (HFONT) SelectObject (hdc, hfont);
1432 if (!hfont2) 1458 if (!hfont2)
1433 { 1459 {
1434 mswindows_finalize_font_instance (f); 1460 mswindows_finalize_font_instance (f);
1435 maybe_signal_simple_error ("Couldn't map font", name, Qfont, errb); 1461 maybe_signal_simple_error ("Couldn't map font", name, Qfont, errb);
1436 return 0; 1462 return 0;
1537 mswindows_font_instance_truename (Lisp_Font_Instance *f, Error_behavior errb) 1563 mswindows_font_instance_truename (Lisp_Font_Instance *f, Error_behavior errb)
1538 { 1564 {
1539 int nsep=0; 1565 int nsep=0;
1540 char *name = (char *) XSTRING_DATA (f->name); 1566 char *name = (char *) XSTRING_DATA (f->name);
1541 char* ptr = name; 1567 char* ptr = name;
1542 char* extname = alloca (strlen (name) + 19); 1568 char* extname = (char*) alloca (strlen (name) + 19);
1543 strcpy (extname, name); 1569 strcpy (extname, name);
1544 1570
1545 while ((ptr = strchr (ptr, ':')) != 0) 1571 while ((ptr = strchr (ptr, ':')) != 0)
1546 { 1572 {
1547 ptr++; 1573 ptr++;