* menu.c (Fx_popup_menu): Use last_event_timestamp (Bug#4930).
[emacs.git] / src / emacs-icon.h
blob42c7d80bbe01145a5fd831abe03e51cc55baa432
1 /* XPM */
2 /* Emacs icon
4 Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
6 Author: Kentaro Ohkouchi <nanasess@fsm.ne.jp>
8 This file is part of GNU Emacs.
10 GNU Emacs is free software: you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation, either version 3 of the License, or
13 (at your option) any later version.
15 GNU Emacs is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
23 /* Note that the GTK port uses gdk to display the icon, so Emacs need
24 not have XPM support compiled in. */
25 #if (defined (HAVE_XPM) && defined (HAVE_X_WINDOWS)) || defined (USE_GTK)
26 static char * gnu_xpm_bits[] = {
27 /* width height ncolors chars_per_pixel */
28 "32 32 255 2",
29 /* colors */
30 "AA c #FFFFFFFFFFFF",
31 "BA c #58585454A9A9",
32 "CA c #181817175757",
33 "DA c #393937377777",
34 "EA c #5E5E5A5AACAC",
35 "FA c #7E7E7E7E8C8C",
36 "GA c #73737171B7B7",
37 "HA c #393936368787",
38 "IA c #EEEEEEEEF7F7",
39 "JA c #010101013939",
40 "KA c #7E7E7C7CBCBC",
41 "LA c #78787575B9B9",
42 "MA c #57575252ABAB",
43 "NA c #9E9E9D9DCDCD",
44 "OA c #76767474B8B8",
45 "PA c #86868484C1C1",
46 "AB c #EDEDECECF6F6",
47 "BB c #54545151A5A5",
48 "CB c #4D4D4A4A9A9A",
49 "DB c #F4F4F4F4FAFA",
50 "EB c #96969494C9C9",
51 "FB c #222222225353",
52 "GB c #8C8C8C8C9595",
53 "HB c #6A6A6868B2B2",
54 "IB c #D2D2D1D1E8E8",
55 "JB c #F0F0F0F0F7F7",
56 "KB c #3E3E3D3D6C6C",
57 "LB c #CECECECEE6E6",
58 "MB c #ADADABABD6D6",
59 "NB c #91918F8FC6C6",
60 "OB c #5D5D5A5AACAC",
61 "PB c #E8E8E8E8F4F4",
62 "AC c #959595959999",
63 "BC c #252526266868",
64 "CC c #555555557D7D",
65 "DC c #5B5B5858ABAB",
66 "EC c #7B7B7878BBBB",
67 "FC c #DDDDDDDDEEEE",
68 "GC c #55555151ACAC",
69 "HC c #F0F0F1F1F8F8",
70 "IC c #111111115252",
71 "JC c #88888686C2C2",
72 "KC c #5A5A5858AAAA",
73 "LC c #60605D5DB1B1",
74 "MC c #8D8D8A8AC4C4",
75 "NC c #7C7C7A7ABBBB",
76 "OC c #E4E4E4E4F5F5",
77 "PC c #9A9A9898CBCB",
78 "AD c #F7F7F6F6FAFA",
79 "BD c #98989696C9C9",
80 "CD c #F3F3F2F2F9F9",
81 "DD c #ECECECECF5F5",
82 "ED c #CACAC9C9E3E3",
83 "FD c #53534E4EA9A9",
84 "GD c #8E8E8C8CC5C5",
85 "HD c #A2A2A1A1CFCF",
86 "ID c #67676464B0B0",
87 "JD c #64646161AEAE",
88 "KD c #9D9D9B9BCCCC",
89 "LD c #58585454ABAB",
90 "MD c #6B6B6969B2B2",
91 "ND c #92929090C7C7",
92 "OD c #6E6E6C6CB4B4",
93 "PD c #6C6C6C6C8383",
94 "AE c #ECECEAEAF5F5",
95 "BE c #E8E8E8E8F3F3",
96 "CE c #2C2C2C2C5050",
97 "DE c #63636060AFAF",
98 "EE c #7A7A7979BABA",
99 "FE c #A7A7A5A5D1D1",
100 "GE c #60605E5EADAD",
101 "HE c #8A8A8989C3C3",
102 "IE c #B2B2B1B1D7D7",
103 "JE c #69696666B5B5",
104 "KE c #E8E8E7E7F3F3",
105 "LE c #BCBCBBBBDCDC",
106 "ME c #DBDBDADAEDED",
107 "NE c #C0C0BFBFDFDF",
108 "OE c #2C2C29297777",
109 "PE c #B4B4B3B3D8D8",
110 "AF c #66666363B0B0",
111 "BF c #73737171BABA",
112 "CF c #83838181BFBF",
113 "DF c #3E3E3C3C8585",
114 "EF c #80807E7EBDBD",
115 "FF c #616161618383",
116 "GF c #70706F6FB5B5",
117 "HF c #88888787C6C6",
118 "IF c #DCDCDBDBEDED",
119 "JF c #62625F5FAEAE",
120 "KF c #72726F6FB6B6",
121 "LF c #D1D1D0D0E8E8",
122 "MF c #8B8B8888C4C4",
123 "NF c #6C6C6A6AB3B3",
124 "OF c #5A5A5656ACAC",
125 "PF c #C5C5C4C4E1E1",
126 "AG c #A1A19F9FCFCF",
127 "BG c #85858383C0C0",
128 "CG c #80807E7EBEBE",
129 "DG c #BEBEBDBDDEDE",
130 "EG c #61615E5EAFAF",
131 "FG c #57575353A9A9",
132 "GG c #313131315C5C",
133 "HG c #292928285959",
134 "IG c #6E6E6B6BB5B5",
135 "JG c #55555050ABAB",
136 "KG c #E9E9E9E9F4F4",
137 "LG c #404040406D6D",
138 "MG c #68686464B1B1",
139 "NG c #E4E4E4E4F2F2",
140 "OG c #94949292C8C8",
141 "PG c #D6D6D4D4E9E9",
142 "AH c #1D1D1D1D5D5D",
143 "BH c #D5D5D4D4E9E9",
144 "CH c #50504C4CA6A6",
145 "DH c #57575353AAAA",
146 "EH c #71716E6EB6B6",
147 "FH c #090909093F3F",
148 "GH c #61615D5DAFAF",
149 "HH c #8A8A8787C3C3",
150 "IH c #7F7F7D7DBDBD",
151 "JH c #6C6C6868B4B4",
152 "KH c #6A6A6767B2B2",
153 "LH c #69696666B2B2",
154 "MH c #5A5A5656A9A9",
155 "NH c #56565151ABAB",
156 "OH c #5B5B5757AAAA",
157 "PH c #5A5A5656AAAA",
158 "AI c #5D5D5A5AABAB",
159 "BI c #5E5E5C5CACAC",
160 "CI c #5A5A5757AAAA",
161 "DI c #5F5F5C5CACAC",
162 "EI c #5F5F5C5CADAD",
163 "FI c #5F5F5D5DADAD",
164 "GI c #EBEBEBEBF6F6",
165 "HI c #59595555A9A9",
166 "II c #B3B3B2B2D8D8",
167 "JI c #EAEAEAEAF4F4",
168 "KI c #E6E6E6E6F4F4",
169 "LI c #F1F1F1F1F8F8",
170 "MI c #5F5F5D5DAEAE",
171 "NI c #E7E7E7E7F3F3",
172 "OI c #57575454A9A9",
173 "PI c #F4F4F4F4F9F9",
174 "AJ c #5C5C5757ADAD",
175 "BJ c #75757373B8B8",
176 "CJ c #70706C6CB5B5",
177 "DJ c #9B9B9A9ACBCB",
178 "EJ c #FAFAFAFAFCFC",
179 "FJ c #E7E7E6E6F3F3",
180 "GJ c #81817F7FBEBE",
181 "HJ c #EBEBEAEAF4F4",
182 "IJ c #EBEBEAEAF5F5",
183 "JJ c #E6E6E6E6F2F2",
184 "KJ c #EEEEEDEDF6F6",
185 "LJ c #E2E2E2E2F1F1",
186 "MJ c #EEEEEEEEF4F4",
187 "NJ c #E2E2E2E2EFEF",
188 "OJ c #4C4C4B4B8989",
189 "PJ c #E5E5E4E4F2F2",
190 "AK c #484848487474",
191 "BK c #C2C2C1C1DFDF",
192 "CK c #7A7A7777BBBB",
193 "DK c #3F3F3E3E7D7D",
194 "EK c #EDEDEEEEF6F6",
195 "FK c #68686666B1B1",
196 "GK c #65656262AFAF",
197 "HK c #69696565B3B3",
198 "IK c #E3E3E2E2F1F1",
199 "JK c #E3E3E3E3F1F1",
200 "KK c #D4D4D2D2E8E8",
201 "LK c #9B9B9A9AB7B7",
202 "MK c #404040407878",
203 "NK c #D8D8D8D8EBEB",
204 "OK c #DFDFDEDEEFEF",
205 "PK c #63636060B2B2",
206 "AL c #F4F4F3F3FAFA",
207 "BL c #5A5A5858A5A5",
208 "CL c #66666464B5B5",
209 "DL c #8F8F8D8DC8C8",
210 "EL c #F7F7F5F5FAFA",
211 "FL c #5C5C5959ACAC",
212 "GL c #5C5C5757B1B1",
213 "HL c #B8B8B7B7DADA",
214 "IL c #5E5E5B5BACAC",
215 "JL c #41413F3F8C8C",
216 "KL c #8B8B8A8AC3C3",
217 "LL c #7F7F7E7EB9B9",
218 "ML c #A0A0A0A0A1A1",
219 "NL c #6B6B6A6A8C8C",
220 "OL c #626261619C9C",
221 "PL c #71716F6FB5B5",
222 "AM c #55555252A7A7",
223 "BM c #C8C8C7C7E3E3",
224 "CM c #3E3E3E3E5A5A",
225 "DM c #81817F7FC2C2",
226 "EM c #52524F4F9797",
227 "FM c #93939191C8C8",
228 "GM c #5B5B58589F9F",
229 "HM c #85858484BCBC",
230 "IM c #D1D1CFCFE7E7",
231 "JM c #515150508484",
232 "KM c #F8F8F7F7FBFB",
233 "LM c #70706D6DB6B6",
234 "MM c #50504F4F7878",
235 "NM c #9B9B9999CCCC",
236 "OM c #5E5E5B5BB0B0",
237 "PM c #62625F5FADAD",
238 "AN c #B7B7B7B7DADA",
239 "BN c #31312F2F7A7A",
240 "CN c #484848487A7A",
241 "DN c #67676565B1B1",
242 "EN c #FCFCFCFCFDFD",
243 "FN c #FDFDFCFCFFFF",
244 "GN c #BBBBBABADCDC",
245 "HN c #656566667F7F",
246 "IN c #5A5A5656ABAB",
247 "JN c #A8A8A7A7D4D4",
248 "KN c #F8F8F8F8FBFB",
249 "LN c #95959292C8C8",
250 "MN c #D9D9D7D7EBEB",
251 "NN c #303030305454",
252 "ON c #CBCBCACADADA",
253 "PN c #363637376363",
254 "AO c #3B3B3B3B6868",
255 "BO c #444442428181",
256 "CO c #434340408D8D",
257 "DO c #ABABA9A9D4D4",
258 "EO c #AEAEADADD5D5",
259 "FO c #5E5E5E5E8484",
260 "GO c #7E7E7B7BC1C1",
261 "HO c #9C9C9A9ACCCC",
262 "IO c #D6D6D5D5EAEA",
263 "JO c #87878484C1C1",
264 "KO c #5C5C5858AEAE",
265 "LO c #89898787C2C2",
266 "MO c #EAEAEAEAF5F5",
267 "NO c #C2C2C1C1E0E0",
268 "OO c #A3A3A3A3D0D0",
269 "PO c #A5A5A3A3D0D0",
270 "AP c #70706E6EB9B9",
271 "BP c #64646161B1B1",
272 "CP c #6F6F6C6CB8B8",
273 "DP c #64646161B4B4",
274 "EP c #D7D7D6D6EBEB",
275 "FP c #4D4D4848A7A7",
276 "GP c #ECECEBEBF5F5",
277 "HP c #E6E6E5E5F2F2",
278 "IP c #F8F8F8F8FDFD",
279 "JP c #F9F9FAFAFCFC",
280 "KP c #FAFAF9F9FCFC",
281 "LP c #99999898CBCB",
282 "MP c #EAEAE9E9F6F6",
283 "NP c #5C5C5959ABAB",
284 "OP s bg c None",
285 /* pixels */
286 "OPOPOPOPOPOPOPOPOPOPOPOPNHNHGCGCGCJGGCGCOPOPOPOPOPOPOPOPOPOPOPOP",
287 "OPOPOPOPOPOPOPOPOPMAMANHMADHOFAJKOAJOFDHJGJGGCOPOPOPOPOPOPOPOPOP",
288 "OPOPOPOPOPOPOPMAMAMAMAHIILAFJHCJEHLMIGHKGHLDFDFDNHOPOPOPOPOPOPOP",
289 "OPOPOPOPOPOPDHFGOIHIILIDCJOAECKAGJHHMCMCMFJOCKGHFPFDOPOPOPOPOPOP",
290 "OPOPOPOPOPDHFGBAOHJFMDKFLAIHBGJCGDFELELFJKPIELFJMBAJFDOPOPOPOPOP",
291 "OPOPOPOPBAHIHIDCDEJHLANDHOPCLNNBGDMFLOHHGDAGMNKMAADGFDNHOPOPOPOP",
292 "OPOPOPBABAHIDCJFKHKAIMKJKJDDKEFCKKBMDGPEDOHDEDCDLIDBCKCHMAOPOPOP",
293 "OPOPBAHIHIOHEILHCJNBGPIJMOABJBADEJEJKPJPKMADDBIAJBDBKACHDHMAOPOP",
294 "OPOPHIHIPHDCJFCJCKCFIBIAMPDDKGNKIBIBPGMELJJILIDBDBNEEIFGFGMAOPOP",
295 "OPHIHIPHPHAIAFKFKAGJAGKGKJIALEBDHOPCBDEBLNEBNAPONDAFDCMHBAGLCBOP",
296 "OPHIPHCICIILDNGAKAJOJCEOJIJBIONALPKDBDNDKLCFCKIGJDDIOBINOMHAMMAC",
297 "HIPHCIOHDCILAFKFNCBGKLMCMBNIPIIFFENBNDGDJCEFOANFGKGEILLCOEGGMLKB",
298 "PHCIOHDCDCOBDEIGLAIHBGLOJCKDEPALKGIIPACFIHBJNFMGJDEGPKOEHGACAOHA",
299 "PHOHDCNPNPOBOBMIMDNCMCBDDJEBLNGNLJGINENCIGODHBIDGKCLBNHGGBGGOEOM",
300 "PHOHDCNPNPAMMDKDPFIFPJKIKIHPOKLBLBOKKGLBCFGKKHDNJEHAGGFANNAHOMHI",
301 "CIDCNPNPFGFMNGDBLIGIPBFJKGDDABIAGIKEJJAEIKPCDNJEJLGGFACEICINAJBA",
302 "OHDCNPAMJCALDBEKGPJIDDLIPJEDIIFEHDNALPNDNBKLCPGMAOPDCEFHBBOMHIHI",
303 "OHNPAIBBPELIBEABIAJBIAIIIHODNFNFNFNFHBKHAFJEBLCNFACMJACBLCCIPHHI",
304 "DCDCAIAMPCDDJKKIDDLIDJGEHBPLBJOALALABJKFKFJDMKPDNNFBEMLCDCOHPHHI",
305 "DCNPNPDCPMPFIJLJJJHJCGJDKFLAECEENCNCEEECBFDKNLPNJACODPNPDCOHPHOP",
306 "OPNPAIILPHDNNENIIKPBIOHEKFGANCGJGJGJGJDMBOFFAKJADFCLOBNPDCOHPHOP",
307 "OPNPAIEADIKCEINMMEBEGIKEEDOOLOKAKAIHHFOJCCCCJADKAPJFAINPDCOHPHOP",
308 "OPOPNPILILFIILOIKFIIOKKJHCLIKELFHLMBOLLGFOJADAGOEHIDILNPDCOHOPOP",
309 "OPOPNPOBILDIFIGEJFMDGDLEIFHJCDKNAAONLGCCFHAKJCGAPLLHEANPDCOHOPOP",
310 "OPOPOPOBILDIEIGEMDLAKABGNBHDIENOPGCCAOFHMMIPMPPELAGENPNPDCOPOPOP",
311 "OPOPOPAIOBBIDIGEEHBGNBBDNANAHDJNJMHNFBLGMJFNENAANMAMNPDCOPOPOPOP",
312 "OPOPOPOPOBILBIILNFLOHDANPFLBOCLKFBFHFFNJKIBHBKOGJFDCNPOPOPOPOPOP",
313 "OPOPOPOPOPILILBIILGEHBOAGJMCHMHGFHAHLLDLKAPLBIAMNPNPOPOPOPOPOPOP",
314 "OPOPOPOPOPOPOPILBIBIFIDEFKBFDAJAAHGFBFIDJFOBFLOBAIOPOPOPOPOPOPOP",
315 "OPOPOPOPOPOPOPOPILILBIILPKCBJAAHJFBPILILOBOBAIOPOPOPOPOPOPOPOPOP",
316 "OPOPOPOPOPOPOPOPOPOPILMIGECABCPKGHAIILOBOBOPOPOPOPOPOPOPOPOPOPOP",
317 "OPOPOPOPOPOPOPOPOPOPOPOPOPCAOPOPOPOPOPOPOPOPOPOPOPOPOPOPOPOPOPOP"};
318 #endif /* (defined (HAVE_XPM) && defined (HAVE_X_WINDOWS)) || defined (USE_GTK) */
320 #define gnu_xbm_width 50
321 #define gnu_xbm_height 50
322 static unsigned char gnu_xbm_bits[] = {
323 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
324 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00,
325 0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x00, 0x00,
326 0x00, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x0e,
327 0x00, 0x00, 0x0c, 0x00, 0x70, 0x00, 0x1e, 0x00, 0x00, 0x06, 0xc0, 0xdd,
328 0x01, 0x34, 0x00, 0x00, 0x07, 0x3c, 0x07, 0x03, 0x34, 0x00, 0x80, 0x03,
329 0x1f, 0x06, 0x06, 0x24, 0x00, 0x80, 0x03, 0x0f, 0x04, 0x0c, 0x26, 0x00,
330 0xc0, 0x81, 0x07, 0x00, 0x08, 0x33, 0x00, 0x60, 0xc1, 0xe3, 0x80, 0xbb,
331 0x31, 0x00, 0x30, 0xe1, 0x33, 0xfe, 0xff, 0x18, 0x00, 0x10, 0xf1, 0x31,
332 0xc7, 0xe3, 0x1f, 0x00, 0x10, 0xf1, 0xd8, 0x01, 0x05, 0x3c, 0x00, 0x10,
333 0x83, 0x6c, 0x00, 0x1a, 0x40, 0x00, 0x10, 0x66, 0x36, 0x54, 0xd5, 0xff,
334 0x00, 0x30, 0x3c, 0xdb, 0xab, 0x3a, 0x2a, 0x00, 0x60, 0x80, 0xe9, 0x54,
335 0x35, 0x00, 0x00, 0xe0, 0xe0, 0x6c, 0xb9, 0x6a, 0x00, 0x00, 0x80, 0x37,
336 0xb6, 0x66, 0x75, 0x00, 0x00, 0x00, 0x0f, 0xb6, 0xb4, 0x6a, 0x00, 0x00,
337 0x00, 0x06, 0xb3, 0x77, 0x75, 0x00, 0x00, 0x00, 0xe1, 0x19, 0xa7, 0x6a,
338 0x00, 0x00, 0xc0, 0xff, 0x19, 0x48, 0xf5, 0x00, 0x00, 0x40, 0x75, 0x15,
339 0xaf, 0xea, 0x00, 0x00, 0x00, 0x70, 0x35, 0x66, 0xd5, 0x00, 0x00, 0x00,
340 0x58, 0x6a, 0x80, 0xea, 0x00, 0x00, 0x00, 0xdc, 0xaa, 0x80, 0xd5, 0x01,
341 0x00, 0x00, 0x9c, 0x27, 0x03, 0xeb, 0x01, 0x00, 0x00, 0xbc, 0x65, 0x04,
342 0xd4, 0x01, 0x00, 0x00, 0x3c, 0x55, 0xed, 0x6b, 0x03, 0x00, 0x00, 0x3e,
343 0xcd, 0x2a, 0x3e, 0x02, 0x00, 0x00, 0x7e, 0xb9, 0x2a, 0xb8, 0x03, 0x00,
344 0x00, 0x7c, 0x93, 0x3d, 0x91, 0x03, 0x00, 0x00, 0x7c, 0x76, 0x77, 0x96,
345 0x01, 0x00, 0x00, 0xf8, 0x6d, 0xf6, 0xc4, 0x01, 0x00, 0x00, 0xf8, 0xdd,
346 0xfe, 0xc3, 0x01, 0x00, 0x00, 0xf0, 0xb1, 0xfd, 0xfc, 0x01, 0x00, 0x00,
347 0xd0, 0x2f, 0xe7, 0xc1, 0x00, 0x00, 0x00, 0xc0, 0x4f, 0xe6, 0x61, 0x00,
348 0x00, 0x00, 0x80, 0xff, 0xf6, 0x7f, 0x00, 0x00, 0x00, 0x80, 0xfe, 0x1c,
349 0x3e, 0x00, 0x00, 0x00, 0x00, 0xfa, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00,
350 0xf8, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa0, 0x02, 0x00, 0x00, 0x00,
351 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
352 0x00, 0x00};
354 /* arch-tag: b57020c7-c937-4d77-8ca6-3875178d9828
355 (do not change this comment) */