]> code.delx.au - gnu-emacs-elpa/blob - packages/realgud/realgud/common/bp-image-data.el
Add 'packages/realgud/' from commit 'd811316e6a0f4eeee8a1347f504c196c86baa2cb'
[gnu-emacs-elpa] / packages / realgud / realgud / common / bp-image-data.el
1 (require 'load-relative)
2 (defconst realgud-bp-xpm-data
3 "/* XPM */
4 static char *magick[] = {
5 /* columns rows colors chars-per-pixel */
6 \"10 10 2 1\",
7 \" c red\",
8 \"+ c None\",
9 /* pixels */
10 \"+++ +++\",
11 \"++ ++\",
12 \"+ +\",
13 \" \",
14 \" \",
15 \" \",
16 \" \",
17 \"+ +\",
18 \"++ ++\",
19 \"+++ +++\",
20 };"
21 "XPM data used for breakpoint enable and disable icon.")
22
23 ;; For seeing what above icon looks like:
24 (if nil
25 (progn
26 (let ((image
27 (find-image `((:type xpm :data
28 ,realgud-bp-xpm-data
29 :ascent 100 :pointer hand)))))
30 (insert-image image)) ;; eval-last-sexp after previous ))
31 (let ((image
32 (find-image `((:type xpm :data
33 ,realgud-bp-xpm-data
34 :conversion disabled
35 :ascent 100 :pointer hand)))))
36 (insert-image image)) ;; eval-last-sexp after previous ))
37 )
38 )
39
40 (defconst realgud-bp-enabled-pbm-data
41 "P1
42 10 10\",
43 0 0 0 0 1 1 1 1 0 0 0 0
44 0 0 0 1 1 1 1 1 1 0 0 0
45 0 0 1 1 1 1 1 1 1 1 0 0
46 0 1 1 1 1 1 1 1 1 1 1 0
47 0 1 1 1 1 1 1 1 1 1 1 0
48 0 1 1 1 1 1 1 1 1 1 1 0
49 0 1 1 1 1 1 1 1 1 1 1 0
50 0 0 1 1 1 1 1 1 1 1 0 0
51 0 0 0 1 1 1 1 1 1 0 0 0
52 0 0 0 0 1 1 1 1 0 0 0 0"
53 "PBM data used for enabled breakpoint icon.")
54
55 ;; For seeing what above icon looks like:
56 (if nil
57 (let ((image
58 (find-image `((:type pbm :data
59 ,realgud-bp-enabled-pbm-data
60 :ascent 100 :pointer hand)))))
61 (insert-image image)) ;; eval-last-sexp after previous ))
62 )
63
64 (defconst realgud-bp-disabled-pbm-data
65 "P1
66 10 10\",
67 1 1 1 1 0 0 0 0 1 1 1 1
68 1 1 1 0 0 0 0 0 0 1 1 1
69 1 1 0 0 0 0 0 0 0 0 1 1
70 1 0 0 0 0 0 0 0 0 0 0 1
71 1 0 0 0 0 0 0 0 0 0 0 1
72 1 0 0 0 0 0 0 0 0 0 0 1
73 1 0 0 0 0 0 0 0 0 0 0 1
74 1 1 0 0 0 0 0 0 0 0 1 1
75 1 1 1 0 0 0 0 0 0 1 1 1
76 1 1 1 1 0 0 0 0 1 1 1 1"
77 "PBM data used for disabled breakpoint icon.")
78
79 ;; For seeing what above icon looks like:
80 (if nil
81 (let ((image
82 (find-image `((:type pbm :data
83 ,realgud-bp-disabled-pbm-data
84 :ascent 100 :pointer hand)))))
85 (insert-image image)) ;; eval-last-sexp after previous ))
86 )
87
88
89
90 (defconst realgud-bp-enabled-svg-data
91 "<?xml version='1.0' standalone='no'?>
92 <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 20010904//EN'
93 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
94 <svg width='10' height='10'>
95 <circle cx='0' cy='0' r='1' fill='none'/>
96 <circle cx='1' cy='0' r='1' fill='none'/>
97 <circle cx='2' cy='0' r='1' fill='none'/>
98 <circle cx='3' cy='0' r='1' fill='red'/>
99 <circle cx='4' cy='0' r='1' fill='red'/>
100 <circle cx='5' cy='0' r='1' fill='red'/>
101 <circle cx='6' cy='0' r='1' fill='red'/>
102 <circle cx='7' cy='0' r='1' fill='none'/>
103 <circle cx='8' cy='0' r='1' fill='none'/>
104 <circle cx='9' cy='0' r='1' fill='none'/>
105 <circle cx='0' cy='1' r='1' fill='none'/>
106 <circle cx='1' cy='1' r='1' fill='none'/>
107 <circle cx='2' cy='1' r='1' fill='red'/>
108 <circle cx='3' cy='1' r='1' fill='red'/>
109 <circle cx='4' cy='1' r='1' fill='red'/>
110 <circle cx='5' cy='1' r='1' fill='red'/>
111 <circle cx='6' cy='1' r='1' fill='red'/>
112 <circle cx='7' cy='1' r='1' fill='red'/>
113 <circle cx='8' cy='1' r='1' fill='none'/>
114 <circle cx='9' cy='1' r='1' fill='none'/>
115 <circle cx='0' cy='2' r='1' fill='none'/>
116 <circle cx='1' cy='2' r='1' fill='red'/>
117 <circle cx='2' cy='2' r='1' fill='red'/>
118 <circle cx='3' cy='2' r='1' fill='red'/>
119 <circle cx='4' cy='2' r='1' fill='red'/>
120 <circle cx='5' cy='2' r='1' fill='red'/>
121 <circle cx='6' cy='2' r='1' fill='red'/>
122 <circle cx='7' cy='2' r='1' fill='red'/>
123 <circle cx='8' cy='2' r='1' fill='red'/>
124 <circle cx='9' cy='2' r='1' fill='none'/>
125 <circle cx='0' cy='3' r='1' fill='red'/>
126 <circle cx='1' cy='3' r='1' fill='red'/>
127 <circle cx='2' cy='3' r='1' fill='red'/>
128 <circle cx='3' cy='3' r='1' fill='red'/>
129 <circle cx='4' cy='3' r='1' fill='red'/>
130 <circle cx='5' cy='3' r='1' fill='red'/>
131 <circle cx='6' cy='3' r='1' fill='red'/>
132 <circle cx='7' cy='3' r='1' fill='red'/>
133 <circle cx='8' cy='3' r='1' fill='red'/>
134 <circle cx='9' cy='3' r='1' fill='red'/>
135 <circle cx='0' cy='4' r='1' fill='red'/>
136 <circle cx='1' cy='4' r='1' fill='red'/>
137 <circle cx='2' cy='4' r='1' fill='red'/>
138 <circle cx='3' cy='4' r='1' fill='red'/>
139 <circle cx='4' cy='4' r='1' fill='red'/>
140 <circle cx='5' cy='4' r='1' fill='red'/>
141 <circle cx='6' cy='4' r='1' fill='red'/>
142 <circle cx='7' cy='4' r='1' fill='red'/>
143 <circle cx='8' cy='4' r='1' fill='red'/>
144 <circle cx='9' cy='4' r='1' fill='red'/>
145 <circle cx='0' cy='5' r='1' fill='red'/>
146 <circle cx='1' cy='5' r='1' fill='red'/>
147 <circle cx='2' cy='5' r='1' fill='red'/>
148 <circle cx='3' cy='5' r='1' fill='red'/>
149 <circle cx='4' cy='5' r='1' fill='red'/>
150 <circle cx='5' cy='5' r='1' fill='red'/>
151 <circle cx='6' cy='5' r='1' fill='red'/>
152 <circle cx='7' cy='5' r='1' fill='red'/>
153 <circle cx='8' cy='5' r='1' fill='red'/>
154 <circle cx='9' cy='5' r='1' fill='red'/>
155 <circle cx='0' cy='6' r='1' fill='red'/>
156 <circle cx='1' cy='6' r='1' fill='red'/>
157 <circle cx='2' cy='6' r='1' fill='red'/>
158 <circle cx='3' cy='6' r='1' fill='red'/>
159 <circle cx='4' cy='6' r='1' fill='red'/>
160 <circle cx='5' cy='6' r='1' fill='red'/>
161 <circle cx='6' cy='6' r='1' fill='red'/>
162 <circle cx='7' cy='6' r='1' fill='red'/>
163 <circle cx='8' cy='6' r='1' fill='red'/>
164 <circle cx='9' cy='6' r='1' fill='red'/>
165 <circle cx='0' cy='7' r='1' fill='none'/>
166 <circle cx='1' cy='7' r='1' fill='red'/>
167 <circle cx='2' cy='7' r='1' fill='red'/>
168 <circle cx='3' cy='7' r='1' fill='red'/>
169 <circle cx='4' cy='7' r='1' fill='red'/>
170 <circle cx='5' cy='7' r='1' fill='red'/>
171 <circle cx='6' cy='7' r='1' fill='red'/>
172 <circle cx='7' cy='7' r='1' fill='red'/>
173 <circle cx='8' cy='7' r='1' fill='red'/>
174 <circle cx='9' cy='7' r='1' fill='none'/>
175 <circle cx='0' cy='8' r='1' fill='none'/>
176 <circle cx='1' cy='8' r='1' fill='none'/>
177 <circle cx='2' cy='8' r='1' fill='red'/>
178 <circle cx='3' cy='8' r='1' fill='red'/>
179 <circle cx='4' cy='8' r='1' fill='red'/>
180 <circle cx='5' cy='8' r='1' fill='red'/>
181 <circle cx='6' cy='8' r='1' fill='red'/>
182 <circle cx='7' cy='8' r='1' fill='red'/>
183 <circle cx='8' cy='8' r='1' fill='none'/>
184 <circle cx='9' cy='8' r='1' fill='none'/>
185 <circle cx='0' cy='9' r='1' fill='none'/>
186 <circle cx='1' cy='9' r='1' fill='none'/>
187 <circle cx='2' cy='9' r='1' fill='none'/>
188 <circle cx='3' cy='9' r='1' fill='red'/>
189 <circle cx='4' cy='9' r='1' fill='red'/>
190 <circle cx='5' cy='9' r='1' fill='red'/>
191 <circle cx='6' cy='9' r='1' fill='red'/>
192 <circle cx='7' cy='9' r='1' fill='none'/>
193 <circle cx='8' cy='9' r='1' fill='none'/>
194 <circle cx='9' cy='9' r='1' fill='none'/>
195 </svg>")
196
197 ;; For seeing what above icon looks like:
198 (if nil
199 (let ((image
200 (find-image `((:type svg :data
201 ,realgud-bp-enabled-svg-data
202 :ascent 100 :pointer hand)))))
203 (insert-image image)) ;; eval-last-sexp after previous ))
204 )
205
206 (defconst realgud-bp-disabled-svg-data
207 "<?xml version='1.0' standalone='no'?>
208 <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 20010904//EN'
209 'http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd'>
210 <svg width='10' height='10'>
211 <circle cx='0' cy='0' r='1' fill='none'/>
212 <circle cx='1' cy='0' r='1' fill='none'/>
213 <circle cx='2' cy='0' r='1' fill='none'/>
214 <circle cx='3' cy='0' r='1' fill='gray'/>
215 <circle cx='4' cy='0' r='1' fill='gray'/>
216 <circle cx='5' cy='0' r='1' fill='gray'/>
217 <circle cx='6' cy='0' r='1' fill='gray'/>
218 <circle cx='7' cy='0' r='1' fill='none'/>
219 <circle cx='8' cy='0' r='1' fill='none'/>
220 <circle cx='9' cy='0' r='1' fill='none'/>
221 <circle cx='0' cy='1' r='1' fill='none'/>
222 <circle cx='1' cy='1' r='1' fill='none'/>
223 <circle cx='2' cy='1' r='1' fill='gray'/>
224 <circle cx='3' cy='1' r='1' fill='gray'/>
225 <circle cx='4' cy='1' r='1' fill='gray'/>
226 <circle cx='5' cy='1' r='1' fill='gray'/>
227 <circle cx='6' cy='1' r='1' fill='gray'/>
228 <circle cx='7' cy='1' r='1' fill='gray'/>
229 <circle cx='8' cy='1' r='1' fill='none'/>
230 <circle cx='9' cy='1' r='1' fill='none'/>
231 <circle cx='0' cy='2' r='1' fill='none'/>
232 <circle cx='1' cy='2' r='1' fill='gray'/>
233 <circle cx='2' cy='2' r='1' fill='gray'/>
234 <circle cx='3' cy='2' r='1' fill='gray'/>
235 <circle cx='4' cy='2' r='1' fill='gray'/>
236 <circle cx='5' cy='2' r='1' fill='gray'/>
237 <circle cx='6' cy='2' r='1' fill='gray'/>
238 <circle cx='7' cy='2' r='1' fill='gray'/>
239 <circle cx='8' cy='2' r='1' fill='gray'/>
240 <circle cx='9' cy='2' r='1' fill='none'/>
241 <circle cx='0' cy='3' r='1' fill='gray'/>
242 <circle cx='1' cy='3' r='1' fill='gray'/>
243 <circle cx='2' cy='3' r='1' fill='gray'/>
244 <circle cx='3' cy='3' r='1' fill='gray'/>
245 <circle cx='4' cy='3' r='1' fill='gray'/>
246 <circle cx='5' cy='3' r='1' fill='gray'/>
247 <circle cx='6' cy='3' r='1' fill='gray'/>
248 <circle cx='7' cy='3' r='1' fill='gray'/>
249 <circle cx='8' cy='3' r='1' fill='gray'/>
250 <circle cx='9' cy='3' r='1' fill='gray'/>
251 <circle cx='0' cy='4' r='1' fill='gray'/>
252 <circle cx='1' cy='4' r='1' fill='gray'/>
253 <circle cx='2' cy='4' r='1' fill='gray'/>
254 <circle cx='3' cy='4' r='1' fill='gray'/>
255 <circle cx='4' cy='4' r='1' fill='gray'/>
256 <circle cx='5' cy='4' r='1' fill='gray'/>
257 <circle cx='6' cy='4' r='1' fill='gray'/>
258 <circle cx='7' cy='4' r='1' fill='gray'/>
259 <circle cx='8' cy='4' r='1' fill='gray'/>
260 <circle cx='9' cy='4' r='1' fill='gray'/>
261 <circle cx='0' cy='5' r='1' fill='gray'/>
262 <circle cx='1' cy='5' r='1' fill='gray'/>
263 <circle cx='2' cy='5' r='1' fill='gray'/>
264 <circle cx='3' cy='5' r='1' fill='gray'/>
265 <circle cx='4' cy='5' r='1' fill='gray'/>
266 <circle cx='5' cy='5' r='1' fill='gray'/>
267 <circle cx='6' cy='5' r='1' fill='gray'/>
268 <circle cx='7' cy='5' r='1' fill='gray'/>
269 <circle cx='8' cy='5' r='1' fill='gray'/>
270 <circle cx='9' cy='5' r='1' fill='gray'/>
271 <circle cx='0' cy='6' r='1' fill='gray'/>
272 <circle cx='1' cy='6' r='1' fill='gray'/>
273 <circle cx='2' cy='6' r='1' fill='gray'/>
274 <circle cx='3' cy='6' r='1' fill='gray'/>
275 <circle cx='4' cy='6' r='1' fill='gray'/>
276 <circle cx='5' cy='6' r='1' fill='gray'/>
277 <circle cx='6' cy='6' r='1' fill='gray'/>
278 <circle cx='7' cy='6' r='1' fill='gray'/>
279 <circle cx='8' cy='6' r='1' fill='gray'/>
280 <circle cx='9' cy='6' r='1' fill='gray'/>
281 <circle cx='0' cy='7' r='1' fill='none'/>
282 <circle cx='1' cy='7' r='1' fill='gray'/>
283 <circle cx='2' cy='7' r='1' fill='gray'/>
284 <circle cx='3' cy='7' r='1' fill='gray'/>
285 <circle cx='4' cy='7' r='1' fill='gray'/>
286 <circle cx='5' cy='7' r='1' fill='gray'/>
287 <circle cx='6' cy='7' r='1' fill='gray'/>
288 <circle cx='7' cy='7' r='1' fill='gray'/>
289 <circle cx='8' cy='7' r='1' fill='gray'/>
290 <circle cx='9' cy='7' r='1' fill='none'/>
291 <circle cx='0' cy='8' r='1' fill='none'/>
292 <circle cx='1' cy='8' r='1' fill='none'/>
293 <circle cx='2' cy='8' r='1' fill='gray'/>
294 <circle cx='3' cy='8' r='1' fill='gray'/>
295 <circle cx='4' cy='8' r='1' fill='gray'/>
296 <circle cx='5' cy='8' r='1' fill='gray'/>
297 <circle cx='6' cy='8' r='1' fill='gray'/>
298 <circle cx='7' cy='8' r='1' fill='gray'/>
299 <circle cx='8' cy='8' r='1' fill='none'/>
300 <circle cx='9' cy='8' r='1' fill='none'/>
301 <circle cx='0' cy='9' r='1' fill='none'/>
302 <circle cx='1' cy='9' r='1' fill='none'/>
303 <circle cx='2' cy='9' r='1' fill='none'/>
304 <circle cx='3' cy='9' r='1' fill='gray'/>
305 <circle cx='4' cy='9' r='1' fill='gray'/>
306 <circle cx='5' cy='9' r='1' fill='gray'/>
307 <circle cx='6' cy='9' r='1' fill='gray'/>
308 <circle cx='7' cy='9' r='1' fill='none'/>
309 <circle cx='8' cy='9' r='1' fill='none'/>
310 <circle cx='9' cy='9' r='1' fill='none'/>
311 </svg>")
312
313 ;; For seeing what above icon looks like:
314 (if nil
315 (let ((image
316 (find-image `((:type svg :data
317 ,realgud-bp-disabled-svg-data
318 :ascent 100 :pointer hand)))))
319 (insert-image image)) ;; eval-last-sexp after previous ))
320 )
321
322 (defconst realgud-bp-enabled-tiff-data
323 "II*