diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/elementary/data/themes/widgets/map.edc | 800 |
1 files changed, 800 insertions, 0 deletions
diff --git a/libraries/elementary/data/themes/widgets/map.edc b/libraries/elementary/data/themes/widgets/map.edc new file mode 100644 index 0000000..2d7b177 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/map.edc | |||
@@ -0,0 +1,800 @@ | |||
1 | group { name: "elm/map/base/default"; | ||
2 | script { | ||
3 | public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer; | ||
4 | public timer0(val) { | ||
5 | new v; | ||
6 | v = get_int(sbvis_v); | ||
7 | if (v) { | ||
8 | v = get_int(sbalways_v); | ||
9 | if (!v) { | ||
10 | emit("do-hide-vbar", ""); | ||
11 | set_int(sbvis_v, 0); | ||
12 | } | ||
13 | } | ||
14 | v = get_int(sbvis_h); | ||
15 | if (v) { | ||
16 | v = get_int(sbalways_h); | ||
17 | if (!v) { | ||
18 | emit("do-hide-hbar", ""); | ||
19 | set_int(sbvis_h, 0); | ||
20 | } | ||
21 | } | ||
22 | set_int(sbvis_timer, 0); | ||
23 | return 0; | ||
24 | } | ||
25 | } | ||
26 | images { | ||
27 | image: "shelf_inset.png" COMP; | ||
28 | image: "bt_sm_base2.png" COMP; | ||
29 | image: "bt_sm_shine.png" COMP; | ||
30 | image: "bt_sm_hilight.png" COMP; | ||
31 | image: "busy-1.png" COMP; | ||
32 | image: "busy-2.png" COMP; | ||
33 | image: "busy-3.png" COMP; | ||
34 | image: "busy-4.png" COMP; | ||
35 | image: "busy-5.png" COMP; | ||
36 | image: "busy-6.png" COMP; | ||
37 | image: "busy-7.png" COMP; | ||
38 | image: "busy-8.png" COMP; | ||
39 | image: "busy-9.png" COMP; | ||
40 | } | ||
41 | parts { | ||
42 | part { name: "bg"; | ||
43 | type: RECT; | ||
44 | description { state: "default" 0.0; | ||
45 | rel1.offset: 1 1; | ||
46 | rel2.offset: -2 -2; | ||
47 | color: 255 255 255 0; | ||
48 | } | ||
49 | } | ||
50 | part { name: "clipper"; | ||
51 | type: RECT; | ||
52 | mouse_events: 0; | ||
53 | description { state: "default" 0.0; | ||
54 | rel1.to: "bg"; | ||
55 | rel2.to: "bg"; | ||
56 | } | ||
57 | } | ||
58 | part { name: "elm.swallow.content"; | ||
59 | clip_to: "clipper"; | ||
60 | type: SWALLOW; | ||
61 | description { state: "default" 0.0; | ||
62 | rel1.offset: 1 1; | ||
63 | rel2.offset: -2 -2; | ||
64 | } | ||
65 | } | ||
66 | part { name: "busy_clip"; | ||
67 | type: RECT; | ||
68 | mouse_events: 0; | ||
69 | description { state: "default" 0.0; | ||
70 | visible: 0; | ||
71 | color: 255 255 255 0; | ||
72 | } | ||
73 | description { state: "active" 0.0; | ||
74 | visible: 1; | ||
75 | color: 255 255 255 255; | ||
76 | } | ||
77 | } | ||
78 | part { name: "busy"; | ||
79 | clip_to: "busy_clip"; | ||
80 | mouse_events: 0; | ||
81 | description { state: "default" 0.0; | ||
82 | fixed: 1 1; | ||
83 | min: 32 32; | ||
84 | aspect: 1.0 1.0; | ||
85 | align: 1.0 1.0; | ||
86 | aspect_preference: BOTH; | ||
87 | rel1 { | ||
88 | relative: 0.9 0.9; | ||
89 | offset: -9 -9; | ||
90 | } | ||
91 | rel2 { | ||
92 | relative: 0.9 0.9; | ||
93 | offset: -9 -9; | ||
94 | } | ||
95 | image { | ||
96 | normal: "busy-9.png"; | ||
97 | tween: "busy-1.png"; | ||
98 | tween: "busy-2.png"; | ||
99 | tween: "busy-3.png"; | ||
100 | tween: "busy-4.png"; | ||
101 | tween: "busy-5.png"; | ||
102 | tween: "busy-6.png"; | ||
103 | tween: "busy-7.png"; | ||
104 | tween: "busy-8.png"; | ||
105 | } | ||
106 | } | ||
107 | } | ||
108 | part { name: "conf_over"; | ||
109 | mouse_events: 0; | ||
110 | description { state: "default" 0.0; | ||
111 | rel1.offset: 0 0; | ||
112 | rel2.offset: -1 -1; | ||
113 | image { | ||
114 | normal: "shelf_inset.png"; | ||
115 | border: 7 7 7 7; | ||
116 | middle: 0; | ||
117 | } | ||
118 | fill.smooth : 0; | ||
119 | } | ||
120 | } | ||
121 | part { name: "sb_vbar_clip_master"; | ||
122 | type: RECT; | ||
123 | mouse_events: 0; | ||
124 | description { state: "default" 0.0; | ||
125 | } | ||
126 | description { state: "hidden" 0.0; | ||
127 | visible: 0; | ||
128 | color: 255 255 255 0; | ||
129 | } | ||
130 | } | ||
131 | part { name: "sb_vbar_clip"; | ||
132 | clip_to: "sb_vbar_clip_master"; | ||
133 | type: RECT; | ||
134 | mouse_events: 0; | ||
135 | description { state: "default" 0.0; | ||
136 | } | ||
137 | description { state: "hidden" 0.0; | ||
138 | visible: 0; | ||
139 | color: 255 255 255 0; | ||
140 | } | ||
141 | } | ||
142 | part { name: "sb_vbar"; | ||
143 | type: RECT; | ||
144 | mouse_events: 0; | ||
145 | description { state: "default" 0.0; | ||
146 | fixed: 1 1; | ||
147 | visible: 0; | ||
148 | min: 10 17; | ||
149 | align: 1.0 0.0; | ||
150 | rel1 { | ||
151 | relative: 1.0 0.0; | ||
152 | offset: -2 0; | ||
153 | } | ||
154 | rel2 { | ||
155 | relative: 1.0 0.0; | ||
156 | offset: -2 -1; | ||
157 | to_y: "sb_hbar"; | ||
158 | } | ||
159 | } | ||
160 | } | ||
161 | part { name: "elm.dragable.vbar"; | ||
162 | clip_to: "sb_vbar_clip"; | ||
163 | mouse_events: 0; | ||
164 | dragable { | ||
165 | x: 0 0 0; | ||
166 | y: 1 1 0; | ||
167 | confine: "sb_vbar"; | ||
168 | } | ||
169 | description { state: "default" 0.0; | ||
170 | fixed: 1 1; | ||
171 | min: 10 17; | ||
172 | max: 10 99999; | ||
173 | rel1 { | ||
174 | relative: 0.5 0.5; | ||
175 | offset: 0 0; | ||
176 | to: "sb_vbar"; | ||
177 | } | ||
178 | rel2 { | ||
179 | relative: 0.5 0.5; | ||
180 | offset: 0 0; | ||
181 | to: "sb_vbar"; | ||
182 | } | ||
183 | image { | ||
184 | normal: "bt_sm_base2.png"; | ||
185 | border: 6 6 6 6; | ||
186 | middle: SOLID; | ||
187 | } | ||
188 | } | ||
189 | } | ||
190 | part { name: "sb_vbar_over1"; | ||
191 | clip_to: "sb_vbar_clip"; | ||
192 | mouse_events: 0; | ||
193 | description { state: "default" 0.0; | ||
194 | rel1.to: "elm.dragable.vbar"; | ||
195 | rel2.relative: 1.0 0.5; | ||
196 | rel2.to: "elm.dragable.vbar"; | ||
197 | image { | ||
198 | normal: "bt_sm_hilight.png"; | ||
199 | border: 6 6 6 0; | ||
200 | } | ||
201 | } | ||
202 | } | ||
203 | part { name: "sb_vbar_over2"; | ||
204 | clip_to: "sb_vbar_clip"; | ||
205 | mouse_events: 0; | ||
206 | description { state: "default" 0.0; | ||
207 | rel1.to: "elm.dragable.vbar"; | ||
208 | rel2.to: "elm.dragable.vbar"; | ||
209 | image { | ||
210 | normal: "bt_sm_shine.png"; | ||
211 | border: 6 6 6 0; | ||
212 | } | ||
213 | } | ||
214 | } | ||
215 | |||
216 | part { name: "sb_hbar_clip_master"; | ||
217 | type: RECT; | ||
218 | mouse_events: 0; | ||
219 | description { state: "default" 0.0; | ||
220 | } | ||
221 | description { state: "hidden" 0.0; | ||
222 | visible: 0; | ||
223 | color: 255 255 255 0; | ||
224 | } | ||
225 | } | ||
226 | part { name: "sb_hbar_clip"; | ||
227 | clip_to: "sb_hbar_clip_master"; | ||
228 | type: RECT; | ||
229 | mouse_events: 0; | ||
230 | description { state: "default" 0.0; | ||
231 | } | ||
232 | description { state: "hidden" 0.0; | ||
233 | visible: 0; | ||
234 | color: 255 255 255 0; | ||
235 | } | ||
236 | } | ||
237 | part { name: "sb_hbar"; | ||
238 | type: RECT; | ||
239 | mouse_events: 0; | ||
240 | description { state: "default" 0.0; | ||
241 | fixed: 1 1; | ||
242 | visible: 0; | ||
243 | min: 17 10; | ||
244 | align: 0.0 1.0; | ||
245 | rel1 { | ||
246 | relative: 0.0 1.0; | ||
247 | offset: 0 -2; | ||
248 | } | ||
249 | rel2 { | ||
250 | relative: 0.0 1.0; | ||
251 | offset: -1 -2; | ||
252 | to_x: "sb_vbar"; | ||
253 | } | ||
254 | } | ||
255 | } | ||
256 | part { name: "elm.dragable.hbar"; | ||
257 | clip_to: "sb_hbar_clip"; | ||
258 | mouse_events: 0; | ||
259 | dragable { | ||
260 | x: 1 1 0; | ||
261 | y: 0 0 0; | ||
262 | confine: "sb_hbar"; | ||
263 | } | ||
264 | description { state: "default" 0.0; | ||
265 | fixed: 1 1; | ||
266 | min: 17 10; | ||
267 | max: 99999 10; | ||
268 | rel1 { | ||
269 | relative: 0.5 0.5; | ||
270 | offset: 0 0; | ||
271 | to: "sb_hbar"; | ||
272 | } | ||
273 | rel2 { | ||
274 | relative: 0.5 0.5; | ||
275 | offset: 0 0; | ||
276 | to: "sb_hbar"; | ||
277 | } | ||
278 | image { | ||
279 | normal: "bt_sm_base2.png"; | ||
280 | border: 4 4 4 4; | ||
281 | middle: SOLID; | ||
282 | } | ||
283 | } | ||
284 | } | ||
285 | part { name: "sb_hbar_over1"; | ||
286 | clip_to: "sb_hbar_clip"; | ||
287 | mouse_events: 0; | ||
288 | description { state: "default" 0.0; | ||
289 | rel1.to: "elm.dragable.hbar"; | ||
290 | rel2.relative: 1.0 0.5; | ||
291 | rel2.to: "elm.dragable.hbar"; | ||
292 | image { | ||
293 | normal: "bt_sm_hilight.png"; | ||
294 | border: 4 4 4 0; | ||
295 | } | ||
296 | } | ||
297 | } | ||
298 | part { name: "sb_hbar_over2"; | ||
299 | clip_to: "sb_hbar_clip"; | ||
300 | mouse_events: 0; | ||
301 | description { state: "default" 0.0; | ||
302 | rel1.to: "elm.dragable.hbar"; | ||
303 | rel2.to: "elm.dragable.hbar"; | ||
304 | image { | ||
305 | normal: "bt_sm_shine.png"; | ||
306 | border: 4 4 4 0; | ||
307 | } | ||
308 | } | ||
309 | } | ||
310 | } | ||
311 | programs { | ||
312 | program { name: "load"; | ||
313 | signal: "load"; | ||
314 | source: ""; | ||
315 | script { | ||
316 | set_state(PART:"sb_hbar_clip", "hidden", 0.0); | ||
317 | set_state(PART:"sb_vbar_clip", "hidden", 0.0); | ||
318 | set_int(sbvis_h, 0); | ||
319 | set_int(sbvis_v, 0); | ||
320 | set_int(sbalways_v, 0); | ||
321 | set_int(sbalways_h, 0); | ||
322 | set_int(sbvis_timer, 0); | ||
323 | } | ||
324 | } | ||
325 | |||
326 | program { name: "vbar_show"; | ||
327 | signal: "elm,action,show,vbar"; | ||
328 | source: "elm"; | ||
329 | action: STATE_SET "default" 0.0; | ||
330 | target: "sb_vbar_clip_master"; | ||
331 | } | ||
332 | program { name: "vbar_hide"; | ||
333 | signal: "elm,action,hide,vbar"; | ||
334 | source: "elm"; | ||
335 | action: STATE_SET "hidden" 0.0; | ||
336 | target: "sb_vbar_clip_master"; | ||
337 | } | ||
338 | program { name: "vbar_show_always"; | ||
339 | signal: "elm,action,show_always,vbar"; | ||
340 | source: "elm"; | ||
341 | script { | ||
342 | new v; | ||
343 | v = get_int(sbvis_v); | ||
344 | v |= get_int(sbalways_v); | ||
345 | if (!v) { | ||
346 | set_int(sbalways_v, 1); | ||
347 | emit("do-show-vbar", ""); | ||
348 | set_int(sbvis_v, 1); | ||
349 | } | ||
350 | } | ||
351 | } | ||
352 | program { name: "vbar_show_notalways"; | ||
353 | signal: "elm,action,show_notalways,vbar"; | ||
354 | source: "elm"; | ||
355 | script { | ||
356 | new v; | ||
357 | v = get_int(sbalways_v); | ||
358 | if (v) { | ||
359 | set_int(sbalways_v, 0); | ||
360 | v = get_int(sbvis_v); | ||
361 | if (!v) { | ||
362 | emit("do-hide-vbar", ""); | ||
363 | set_int(sbvis_v, 0); | ||
364 | } | ||
365 | } | ||
366 | } | ||
367 | } | ||
368 | program { name: "sb_vbar_show"; | ||
369 | signal: "do-show-vbar"; | ||
370 | source: ""; | ||
371 | action: STATE_SET "default" 0.0; | ||
372 | transition: LINEAR 0.5; | ||
373 | target: "sb_vbar_clip"; | ||
374 | } | ||
375 | program { name: "sb_vbar_hide"; | ||
376 | signal: "do-hide-vbar"; | ||
377 | source: ""; | ||
378 | action: STATE_SET "hidden" 0.0; | ||
379 | transition: LINEAR 0.5; | ||
380 | target: "sb_vbar_clip"; | ||
381 | } | ||
382 | |||
383 | program { name: "hbar_show"; | ||
384 | signal: "elm,action,show,hbar"; | ||
385 | source: "elm"; | ||
386 | action: STATE_SET "default" 0.0; | ||
387 | target: "sb_hbar_clip_master"; | ||
388 | } | ||
389 | program { name: "hbar_hide"; | ||
390 | signal: "elm,action,hide,hbar"; | ||
391 | source: "elm"; | ||
392 | action: STATE_SET "hidden" 0.0; | ||
393 | target: "sb_hbar_clip_master"; | ||
394 | } | ||
395 | program { name: "hbar_show_always"; | ||
396 | signal: "elm,action,show_always,hbar"; | ||
397 | source: "elm"; | ||
398 | script { | ||
399 | new v; | ||
400 | v = get_int(sbvis_h); | ||
401 | v |= get_int(sbalways_h); | ||
402 | if (!v) { | ||
403 | set_int(sbalways_h, 1); | ||
404 | emit("do-show-hbar", ""); | ||
405 | set_int(sbvis_h, 1); | ||
406 | } | ||
407 | } | ||
408 | } | ||
409 | program { name: "hbar_show_notalways"; | ||
410 | signal: "elm,action,show_notalways,hbar"; | ||
411 | source: "elm"; | ||
412 | script { | ||
413 | new v; | ||
414 | v = get_int(sbalways_h); | ||
415 | if (v) { | ||
416 | set_int(sbalways_h, 0); | ||
417 | v = get_int(sbvis_h); | ||
418 | if (!v) { | ||
419 | emit("do-hide-hbar", ""); | ||
420 | set_int(sbvis_h, 0); | ||
421 | } | ||
422 | } | ||
423 | } | ||
424 | } | ||
425 | program { name: "sb_hbar_show"; | ||
426 | signal: "do-show-hbar"; | ||
427 | source: ""; | ||
428 | action: STATE_SET "default" 0.0; | ||
429 | transition: LINEAR 0.5; | ||
430 | target: "sb_hbar_clip"; | ||
431 | } | ||
432 | program { name: "sb_hbar_hide"; | ||
433 | signal: "do-hide-hbar"; | ||
434 | source: ""; | ||
435 | action: STATE_SET "hidden" 0.0; | ||
436 | transition: LINEAR 0.5; | ||
437 | target: "sb_hbar_clip"; | ||
438 | } | ||
439 | |||
440 | program { name: "scroll"; | ||
441 | signal: "elm,action,scroll"; | ||
442 | source: "elm"; | ||
443 | script { | ||
444 | new v; | ||
445 | v = get_int(sbvis_v); | ||
446 | v |= get_int(sbalways_v); | ||
447 | if (!v) { | ||
448 | emit("do-show-vbar", ""); | ||
449 | set_int(sbvis_v, 1); | ||
450 | } | ||
451 | v = get_int(sbvis_h); | ||
452 | v |= get_int(sbalways_h); | ||
453 | if (!v) { | ||
454 | emit("do-show-hbar", ""); | ||
455 | set_int(sbvis_h, 1); | ||
456 | } | ||
457 | v = get_int(sbvis_timer); | ||
458 | if (v > 0) cancel_timer(v); | ||
459 | v = timer(1.0, "timer0", 0); | ||
460 | set_int(sbvis_timer, v); | ||
461 | } | ||
462 | } | ||
463 | program { name: "go1"; | ||
464 | signal: "elm,state,busy,start"; | ||
465 | source: "elm"; | ||
466 | action: STATE_SET "active" 0.0; | ||
467 | transition: SINUSOIDAL 1.0; | ||
468 | target: "busy_clip"; | ||
469 | } | ||
470 | program { name: "go2"; | ||
471 | signal: "elm,state,busy,start"; | ||
472 | source: "elm"; | ||
473 | action: STATE_SET "default" 0.0; | ||
474 | transition: LINEAR 0.5; | ||
475 | target: "busy"; | ||
476 | after: "go2"; | ||
477 | } | ||
478 | program { name: "stop1"; | ||
479 | signal: "elm,state,busy,stop"; | ||
480 | source: "elm"; | ||
481 | action: STATE_SET "default" 0.0; | ||
482 | transition: SINUSOIDAL 1.0; | ||
483 | target: "busy_clip"; | ||
484 | after: "stop2"; | ||
485 | } | ||
486 | program { name: "stop2"; | ||
487 | action: ACTION_STOP; | ||
488 | target: "go2"; | ||
489 | } | ||
490 | } | ||
491 | } | ||
492 | group { name: "elm/map/marker/radio/default"; | ||
493 | data { | ||
494 | item: size_w 24; | ||
495 | item: size_h 24; | ||
496 | item: size_max_w 58; | ||
497 | item: size_max_h 58; | ||
498 | } | ||
499 | images { | ||
500 | image: "radio2.png" COMP; | ||
501 | } | ||
502 | parts { | ||
503 | part { name: "whole"; | ||
504 | type: RECT; | ||
505 | description { state: "default" 0.0; | ||
506 | } | ||
507 | } | ||
508 | part { name: "base"; | ||
509 | ignore_flags: ON_HOLD; | ||
510 | description { state: "default" 0.0; | ||
511 | image.normal: "radio2.png"; | ||
512 | } | ||
513 | } | ||
514 | part { name: "elm.icon"; | ||
515 | type: SWALLOW; | ||
516 | clip_to: "whole"; | ||
517 | mouse_events: 0; | ||
518 | description { state: "default" 0.0; | ||
519 | rel1.relative: 0.27 0.27; | ||
520 | rel2.relative: 0.73 0.73; | ||
521 | } | ||
522 | } | ||
523 | part { name: "elm.text"; | ||
524 | type: TEXT; | ||
525 | effect: SOFT_SHADOW; | ||
526 | mouse_events: 0; | ||
527 | scale: 1; | ||
528 | description { state: "default" 0.0; | ||
529 | align: 0.5 0.5; | ||
530 | color: 224 224 224 255; | ||
531 | color3: 0 0 0 64; | ||
532 | rel1.relative: 0.28 0.25; | ||
533 | rel2.relative: 0.75 0.75; | ||
534 | text { | ||
535 | font: "Sans,Edje-Vera"; | ||
536 | size: 10; | ||
537 | min: 0 0; | ||
538 | align: 0.5 0.5; | ||
539 | } | ||
540 | } | ||
541 | } | ||
542 | } | ||
543 | programs { | ||
544 | program { name: "open"; | ||
545 | signal: "mouse,clicked,1"; | ||
546 | source: "base"; | ||
547 | action: SIGNAL_EMIT "open" "elm"; | ||
548 | } | ||
549 | program { name: "bringin"; | ||
550 | signal: "mouse,down,1,double"; | ||
551 | source: "base"; | ||
552 | action: SIGNAL_EMIT "bringin" "elm"; | ||
553 | } | ||
554 | } | ||
555 | } | ||
556 | group { name: "elm/map/marker/radio2/default"; | ||
557 | data { | ||
558 | item: size_w 24; | ||
559 | item: size_h 24; | ||
560 | item: size_max_w 58; | ||
561 | item: size_max_h 58; | ||
562 | } | ||
563 | images { | ||
564 | image: "map_item_2.png" COMP; | ||
565 | } | ||
566 | parts { | ||
567 | part { name: "base"; | ||
568 | ignore_flags: ON_HOLD; | ||
569 | description { state: "default" 0.0; | ||
570 | image.normal: "map_item_2.png"; | ||
571 | } | ||
572 | } | ||
573 | part { name: "elm.text"; | ||
574 | type: TEXT; | ||
575 | effect: SOFT_SHADOW; | ||
576 | mouse_events: 0; | ||
577 | scale: 1; | ||
578 | description { state: "default" 0.0; | ||
579 | align: 0.5 0.5; | ||
580 | color: 224 224 224 255; | ||
581 | color3: 0 0 0 64; | ||
582 | rel1.relative: 0.28 0.25; | ||
583 | rel2.relative: 0.75 0.75; | ||
584 | text { | ||
585 | font: "Sans,Edje-Vera"; | ||
586 | size: 10; | ||
587 | min: 0 0; | ||
588 | align: 0.5 0.5; | ||
589 | } | ||
590 | } | ||
591 | } | ||
592 | } | ||
593 | programs { | ||
594 | program { name: "open"; | ||
595 | signal: "mouse,clicked,1"; | ||
596 | source: "base"; | ||
597 | action: SIGNAL_EMIT "open" "elm"; | ||
598 | } | ||
599 | program { name: "bringin"; | ||
600 | signal: "mouse,down,1,double"; | ||
601 | source: "base"; | ||
602 | action: SIGNAL_EMIT "bringin" "elm"; | ||
603 | } | ||
604 | } | ||
605 | } | ||
606 | group { name: "elm/map/marker/empty/default"; | ||
607 | data { | ||
608 | item: size_w 22; | ||
609 | item: size_h 22; | ||
610 | item: size_max_w 64; | ||
611 | item: size_max_h 64; | ||
612 | } | ||
613 | parts { | ||
614 | part { name: "whole"; | ||
615 | type: RECT; | ||
616 | description { state: "default" 0.0; | ||
617 | } | ||
618 | } | ||
619 | part { name: "base"; | ||
620 | ignore_flags: ON_HOLD; | ||
621 | description { state: "default" 0.0; | ||
622 | } | ||
623 | } | ||
624 | part { name: "elm.icon"; | ||
625 | type: SWALLOW; | ||
626 | clip_to: "whole"; | ||
627 | mouse_events: 0; | ||
628 | description { state: "default" 0.0; | ||
629 | } | ||
630 | } | ||
631 | part { name: "elm.text"; | ||
632 | type: TEXT; | ||
633 | effect: SOFT_SHADOW; | ||
634 | mouse_events: 0; | ||
635 | scale: 1; | ||
636 | description { state: "default" 0.0; | ||
637 | align: 0.5 0.5; | ||
638 | color: 224 224 224 255; | ||
639 | color3: 0 0 0 64; | ||
640 | rel1.relative: 0.28 0.25; | ||
641 | rel2.relative: 0.75 0.75; | ||
642 | text { | ||
643 | font: "Sans,Edje-Vera"; | ||
644 | size: 10; | ||
645 | min: 0 0; | ||
646 | align: 0.5 0.5; | ||
647 | } | ||
648 | } | ||
649 | } | ||
650 | } | ||
651 | programs { | ||
652 | program { name: "open"; | ||
653 | signal: "mouse,clicked,1"; | ||
654 | source: "base"; | ||
655 | action: SIGNAL_EMIT "open" "elm"; | ||
656 | } | ||
657 | program { name: "bringin"; | ||
658 | signal: "mouse,down,1,double"; | ||
659 | source: "base"; | ||
660 | action: SIGNAL_EMIT "bringin" "elm"; | ||
661 | } | ||
662 | } | ||
663 | } | ||
664 | group { name: "elm/map/marker_bubble/default"; | ||
665 | images { | ||
666 | image: "bubble.png" COMP; | ||
667 | image: "bubble_shine.png" COMP; | ||
668 | } | ||
669 | data { | ||
670 | item: size_w 400; | ||
671 | item: size_h 100; | ||
672 | } | ||
673 | parts { | ||
674 | part { name: "clipper"; | ||
675 | type: RECT; | ||
676 | mouse_events: 1; | ||
677 | description { state: "default" 0.0; | ||
678 | color: 255 255 255 0; | ||
679 | } | ||
680 | description { state: "show" 0.0; | ||
681 | inherit: "default" 0.0; | ||
682 | color: 255 255 255 255; | ||
683 | } | ||
684 | } | ||
685 | part { name: "base0"; | ||
686 | mouse_events: 0; | ||
687 | clip_to: "clipper"; | ||
688 | description { state: "default" 0.0; | ||
689 | image { | ||
690 | normal: "bubble.png"; | ||
691 | border: 11 36 10 19; | ||
692 | } | ||
693 | image.middle: SOLID; | ||
694 | fill.smooth: 0; | ||
695 | } | ||
696 | description { state: "rtl" 0.0; | ||
697 | inherit: "default" 0.0; | ||
698 | image { | ||
699 | normal: "bubble_4.png"; | ||
700 | border: 11 36 18 9; | ||
701 | } | ||
702 | } | ||
703 | } | ||
704 | part { name: "elm.swallow.content"; | ||
705 | type: SWALLOW; | ||
706 | clip_to: "clipper"; | ||
707 | description { state: "default" 0.0; | ||
708 | align: 0.5 0.5; | ||
709 | rel1 { | ||
710 | offset: 9 8; | ||
711 | } | ||
712 | rel2 { | ||
713 | offset: -10 -17; | ||
714 | } | ||
715 | } | ||
716 | } | ||
717 | part { name: "shine"; | ||
718 | mouse_events: 0; | ||
719 | clip_to: "clipper"; | ||
720 | description { state: "default" 0.0; | ||
721 | rel1 { | ||
722 | to: "base0"; | ||
723 | } | ||
724 | rel2 { | ||
725 | to: "base0"; | ||
726 | relative: 1.0 0.5; | ||
727 | } | ||
728 | image { | ||
729 | normal: "bubble_shine.png"; | ||
730 | border: 5 5 5 0; | ||
731 | } | ||
732 | fill.smooth: 0; | ||
733 | } | ||
734 | } | ||
735 | } | ||
736 | programs { | ||
737 | program { name: "show"; | ||
738 | signal: "show"; | ||
739 | action: STATE_SET "show" 0.0; | ||
740 | target: "clipper"; | ||
741 | transition: ACCELERATE 0.5; | ||
742 | } | ||
743 | } | ||
744 | } | ||
745 | group { name: "elm/map/circle/base/default"; | ||
746 | images { | ||
747 | image: "map_circle.png" COMP; | ||
748 | } | ||
749 | parts { | ||
750 | part { name: "base"; | ||
751 | ignore_flags: ON_HOLD; | ||
752 | description { state: "default" 0.0; | ||
753 | image.normal: "map_circle.png"; | ||
754 | } | ||
755 | } | ||
756 | } | ||
757 | } | ||
758 | group { name: "elm/map/scale/base/default"; | ||
759 | data { | ||
760 | item: size_w 100; | ||
761 | item: size_h 25; | ||
762 | } | ||
763 | images { | ||
764 | image: "map_scale.png" COMP; | ||
765 | } | ||
766 | parts { | ||
767 | part { name: "base"; | ||
768 | ignore_flags: ON_HOLD; | ||
769 | description { state: "default" 0.0; | ||
770 | image.normal: "map_scale.png"; | ||
771 | image.border: 10 10 10 10; | ||
772 | } | ||
773 | } | ||
774 | part { name: "elm.text"; | ||
775 | type: TEXT; | ||
776 | ignore_flags: ON_HOLD; | ||
777 | effect: SOFT_SHADOW; | ||
778 | mouse_events: 0; | ||
779 | scale: 1; | ||
780 | description { state: "default" 0.0; | ||
781 | color: 224 224 224 255; | ||
782 | color3: 0 0 0 64; | ||
783 | rel1 { | ||
784 | relative: 0 0; | ||
785 | offset: 1 1; | ||
786 | } | ||
787 | rel2 { | ||
788 | relative: 1 1; | ||
789 | offset: -1 -1; | ||
790 | } | ||
791 | text { | ||
792 | font: "Sans,Edje-Vera"; | ||
793 | size: 10; | ||
794 | min: 0 0; | ||
795 | align: 0.1 0.5; | ||
796 | } | ||
797 | } | ||
798 | } | ||
799 | } | ||
800 | } | ||