1 group { name: "elm/scroller/base/default";
2 alias: "elm/list/base/default";
3 alias: "elm/genlist/base/default";
4 alias: "elm/gengrid/base/default";
5 alias: "elm/scroller/base/map_bubble";
6 alias: "elm/genscroller/base/default";
7 alias: "elm/scroller/base/popup/default";
8 alias: "elm/scroller/base/popup/transparent";
10 images.image: "inset_shadow.png" COMP;
11 images.image: "bevel_in.png" COMP;
12 images.image: "bevel_out.png" COMP;
13 images.image: "runner_horiz.png" COMP;
14 images.image: "runner_vert.png" COMP;
15 images.image: "runner_glow_horiz.png" COMP;
16 images.image: "runner_glow_vert.png" COMP;
17 images.image: "holes_tiny_horiz.png" COMP;
18 images.image: "holes_tiny_vert.png" COMP;
19 images.image: "holes_tiny_glow_horiz.png" COMP;
20 images.image: "holes_tiny_glow_vert.png" COMP;
21 images.image: "vgrad_med_lighter.png" COMP;
22 images.image: "shadow_square_tiny.png" COMP;
23 images.image: "glow_small.png" COMP;
24 images.image: "sym_left_light_normal.png" COMP;
25 images.image: "sym_right_light_normal.png" COMP;
26 images.image: "sym_up_light_normal.png" COMP;
27 images.image: "sym_down_light_normal.png" COMP;
28 images.image: "sym_left_glow_normal.png" COMP;
29 images.image: "sym_right_glow_normal.png" COMP;
30 images.image: "sym_up_glow_normal.png" COMP;
31 images.image: "sym_down_glow_normal.png" COMP;
33 data.item: "focus_highlight" "on";
37 signal: "load"; source: "";
39 emit("reload", "elm");
42 // vert bar ////////////////////////////////////////////////////////////////
43 part { name: "sb_vbar_show"; type: RECT;
44 description { state: "default" 0.0;
46 description { state: "hidden" 0.0;
47 inherit: "default" 0.0;
51 part { name: "sb_vbar"; type: RECT;
53 description { state: "default" 0.0;
57 rel1.relative: 1.0 0.0;
59 rel2.relative: 1.0 0.0;
62 description { state: "hidden" 0.0;
63 inherit: "default" 0.0;
68 part { name: "sb_vbar_base"; type: RECT;
70 description { state: "default" 0.0;
72 rel1.relative: 0.0 1.0;
73 rel1.to: "sb_vbar_a1";
74 rel2.relative: 1.0 0.0;
75 rel2.to: "sb_vbar_a2";
79 part { name: "sb_vbar_p1"; type: RECT;
81 description { state: "default" 0.0;
83 rel1.relative: 0.0 1.0;
84 rel1.to: "sb_vbar_a1";
85 rel2.relative: 1.0 0.0;
86 rel2.to: "elm.dragable.vbar";
90 part { name: "sb_vbar_p2"; type: RECT;
92 description { state: "default" 0.0;
94 rel1.relative: 0.0 1.0;
95 rel1.to: "elm.dragable.vbar";
96 rel2.relative: 1.0 0.0;
97 rel2.to: "sb_vbar_a2";
101 part { name: "elm.dragable.vbar"; type: RECT;
106 dragable.confine: "sb_vbar_base";
107 description { state: "default" 0.0;
110 rel1.relative: 0.5 0.5;
111 rel1.to: "sb_vbar_base";
112 rel2.relative: 0.5 0.5;
113 rel2.to: "sb_vbar_base";
116 description { state: "hidden" 0.0;
117 inherit: "default" 0.0;
121 part { name: "sb_vbar_a1"; type: RECT;
123 description { state: "default" 0.0;
127 aspect: 1.0 1.0; aspect_preference: HORIZONTAL;
131 rel2.relative: 1.0 0.0;
134 description { state: "hidden" 0.0;
135 inherit: "default" 0.0;
139 part { name: "sb_vbar_a2"; type: RECT;
141 description { state: "default" 0.0;
145 aspect: 1.0 1.0; aspect_preference: HORIZONTAL;
149 rel1.relative: 0.0 1.0;
152 description { state: "hidden" 0.0;
153 inherit: "default" 0.0;
158 signal: "elm,action,show,vbar"; source: "elm";
159 action: STATE_SET "default" 0.0;
161 target: "sb_vbar_show";
162 target: "elm.dragable.vbar";
163 target: "sb_vbar_a1";
164 target: "sb_vbar_a2";
167 signal: "elm,action,hide,vbar"; source: "elm";
168 action: STATE_SET "hidden" 0.0;
170 target: "sb_vbar_show";
171 target: "elm.dragable.vbar";
172 target: "sb_vbar_a1";
173 target: "sb_vbar_a2";
176 signal: "mouse,down,1*"; source: "sb_vbar_a1";
177 action: STATE_SET "clicked" 0.0;
178 target: "sb_vbar_a1";
179 target: "arrow1_vbar";
182 signal: "mouse,down,1*"; source: "sb_vbar_a1";
183 action: DRAG_VAL_STEP 0.0 -1.0;
184 target: "elm.dragable.vbar";
187 signal: "mouse,up,1"; source: "sb_vbar_a1";
188 action: STATE_SET "default" 0.0;
189 target: "sb_vbar_a1";
190 target: "arrow1_vbar";
193 signal: "mouse,down,1*"; source: "sb_vbar_a2";
194 action: STATE_SET "clicked" 0.0;
195 target: "sb_vbar_a2";
196 target: "arrow2_vbar";
199 signal: "mouse,down,1*"; source: "sb_vbar_a2";
200 action: DRAG_VAL_STEP 0.0 1.0;
201 target: "elm.dragable.vbar";
204 signal: "mouse,up,1"; source: "sb_vbar_a2";
205 action: STATE_SET "default" 0.0;
206 target: "sb_vbar_a2";
207 target: "arrow2_vbar";
210 signal: "mouse,down,1*"; source: "sb_vbar_p1";
211 action: DRAG_VAL_PAGE 0.0 -1.0;
212 target: "elm.dragable.vbar";
215 signal: "mouse,down,1*"; source: "sb_vbar_p2";
216 action: DRAG_VAL_PAGE 0.0 1.0;
217 target: "elm.dragable.vbar";
220 // horiz bar /////////////////////////////////////////////////////////////
221 part { name: "sb_hbar_show"; type: RECT;
222 description { state: "default" 0.0;
224 description { state: "hidden" 0.0;
225 inherit: "default" 0.0;
229 part { name: "sb_hbar"; type: RECT; mouse_events: 0;
231 description { state: "default" 0.0;
235 rel1.relative: 0.0 1.0;
237 rel2.relative: 0.0 1.0;
238 rel2.to_x: "sb_vbar";
240 description { state: "hidden" 0.0;
241 inherit: "default" 0.0;
246 part { name: "sb_hbar_base"; type: RECT;
248 description { state: "default" 0.0;
250 rel1.relative: 1.0 0.0;
251 rel1.to: "sb_hbar_a1";
252 rel2.relative: 0.0 1.0;
253 rel2.to: "sb_hbar_a2";
257 part { name: "sb_hbar_p1"; type: RECT;
259 description { state: "default" 0.0;
261 rel1.relative: 1.0 0.0;
262 rel1.to: "sb_hbar_a1";
263 rel2.relative: 0.0 1.0;
264 rel2.to: "elm.dragable.hbar";
268 part { name: "sb_hbar_p2"; type: RECT;
270 description { state: "default" 0.0;
272 rel1.relative: 1.0 0.0;
273 rel1.to: "elm.dragable.hbar";
274 rel2.relative: 0.0 1.0;
275 rel2.to: "sb_hbar_a2";
279 part { name: "elm.dragable.hbar"; type: RECT;
284 dragable.confine: "sb_hbar_base";
285 description { state: "default" 0.0;
288 rel1.relative: 0.5 0.5;
289 rel1.to: "sb_hbar_base";
290 rel2.relative: 0.5 0.5;
291 rel2.to: "sb_hbar_base";
294 description { state: "hidden" 0.0;
295 inherit: "default" 0.0;
299 part { name: "sb_hbar_a1"; type: RECT;
301 description { state: "default" 0.0;
305 aspect: 1.0 1.0; aspect_preference: VERTICAL;
309 rel2.relative: 0.0 1.0;
312 description { state: "hidden" 0.0;
313 inherit: "default" 0.0;
317 part { name: "sb_hbar_a2"; type: RECT;
319 description { state: "default" 0.0;
323 aspect: 1.0 1.0; aspect_preference: VERTICAL;
327 rel1.relative: 1.0 0.0;
330 description { state: "hidden" 0.0;
331 inherit: "default" 0.0;
336 signal: "elm,action,show,hbar"; source: "elm";
337 action: STATE_SET "default" 0.0;
339 target: "sb_hbar_show";
340 target: "elm.dragable.hbar";
341 target: "sb_hbar_a1";
342 target: "sb_hbar_a2";
345 signal: "elm,action,hide,hbar"; source: "elm";
346 action: STATE_SET "hidden" 0.0;
348 target: "sb_hbar_show";
349 target: "elm.dragable.hbar";
350 target: "sb_hbar_a1";
351 target: "sb_hbar_a2";
354 signal: "mouse,down,1*"; source: "sb_hbar_a1";
355 action: STATE_SET "clicked" 0.0;
356 target: "sb_hbar_a1";
357 target: "arrow1_hbar";
360 signal: "mouse,down,1*"; source: "sb_hbar_a1";
361 action: DRAG_VAL_STEP -1.0 0.0;
362 target: "elm.dragable.hbar";
365 signal: "mouse,up,1"; source: "sb_hbar_a1";
366 action: STATE_SET "default" 0.0;
367 target: "sb_hbar_a1";
368 target: "arrow1_hbar";
371 signal: "mouse,down,1*"; source: "sb_hbar_a2";
372 action: STATE_SET "clicked" 0.0;
373 target: "sb_hbar_a2";
374 target: "arrow2_hbar";
377 signal: "mouse,down,1*"; source: "sb_hbar_a2";
378 action: DRAG_VAL_STEP 1.0 0.0;
379 target: "elm.dragable.hbar";
382 signal: "mouse,up,1"; source: "sb_hbar_a2";
383 action: STATE_SET "default" 0.0;
384 target: "sb_hbar_a2";
385 target: "arrow2_hbar";
388 signal: "mouse,down,1*"; source: "sb_hbar_p1";
389 action: DRAG_VAL_PAGE -1.0 0.0;
390 target: "elm.dragable.hbar";
393 signal: "mouse,down,1*"; source: "sb_hbar_p2";
394 action: DRAG_VAL_PAGE 1.0 0.0;
395 target: "elm.dragable.hbar";
398 part { name: "bg"; type: RECT;
399 description { state: "default" 0.0;
400 rel1.to: "elm.swallow.background";
401 rel2.to: "elm.swallow.background";
402 // color: 64 64 64 200;
404 color_class: "scrollframe_base";
407 part { name: "clipper"; type: RECT;
408 description { state: "default" 0.0;
409 rel1.to: "elm.swallow.background";
410 rel2.to: "elm.swallow.background";
413 part { name: "elm.swallow.background"; type: SWALLOW;
415 description { state: "default" 0.0;
417 rel2.relative: 0.0 0.0;
419 rel2.to_x: "sb_vbar";
420 rel2.to_y: "sb_hbar";
423 part { name: "elm.swallow.content"; type: SWALLOW;
425 description { state: "default" 0.0;
427 rel2.relative: 0.0 0.0;
429 rel2.to_x: "sb_vbar";
430 rel2.to_y: "sb_hbar";
433 part { name: "inset"; mouse_events: 0;
434 description { state: "default" 0.0;
435 image.normal: "bevel_in.png";
436 image.border: 1 1 1 1;
445 part { name: "shadow"; mouse_events: 0;
446 description { state: "default" 0.0;
447 image.normal: "inset_shadow.png";
448 image.border: 5 5 7 3;
453 color: 255 255 255 128;
456 part { name: "elm.swallow.overlay"; type: SWALLOW;
458 description { state: "default" 0.0;
459 rel1.to: "elm.swallow.content";
460 rel2.to: "elm.swallow.content";
464 part { name: "runner_vbar"; mouse_events: 0;
465 clip_to: "sb_vbar_show";
466 description { state: "default" 0.0;
467 image.normal: "runner_vert.png";
468 image.border: 0 0 2 2;
469 rel1.to: "sb_vbar_base";
470 rel2.to: "sb_vbar_base";
477 part { name: "runner_hbar"; mouse_events: 0;
478 clip_to: "sb_hbar_show";
479 description { state: "default" 0.0;
480 image.normal: "runner_horiz.png";
481 image.border: 2 2 0 0;
482 rel1.to: "sb_hbar_base";
483 rel2.to: "sb_hbar_base";
490 part { name: "runner_vbar_clip"; type: RECT;
491 clip_to: "sb_vbar_show";
492 description { state: "default" 0.0;
495 rel1.to: "runner_vbar";
497 rel2.to: "runner_vbar";
502 part { name: "runner_hbar_clip"; type: RECT;
503 clip_to: "sb_hbar_show";
504 description { state: "default" 0.0;
507 rel1.to: "runner_hbar";
509 rel2.to: "runner_hbar";
515 part { name: "arrow1_vbar"; mouse_events: 0;
516 clip_to: "sb_vbar_show";
517 description { state: "default" 0.0;
518 rel1.to: "sb_vbar_a1";
519 rel2.to: "sb_vbar_a1";
520 image.normal: "sym_up_light_normal.png";
523 description { state: "clicked" 0.0;
524 inherit: "default" 0.0;
525 image.normal: "sym_up_glow_normal.png";
528 part { name: "arrow2_vbar"; mouse_events: 0;
529 clip_to: "sb_vbar_show";
530 description { state: "default" 0.0;
531 rel1.to: "sb_vbar_a2";
532 rel2.to: "sb_vbar_a2";
533 image.normal: "sym_down_light_normal.png";
536 description { state: "clicked" 0.0;
537 inherit: "default" 0.0;
538 image.normal: "sym_down_glow_normal.png";
541 part { name: "shadow_vbar"; mouse_events: 0;
542 clip_to: "sb_vbar_show";
543 description { state: "default" 0.0;
545 rel1.to: "base_vbar";
547 rel2.to: "base_vbar";
548 image.normal: "shadow_square_tiny.png";
549 image.border: 6 6 6 6;
553 description { state: "clicked" 0.0;
554 inherit: "default" 0.0;
557 color: 255 255 255 128;
560 part { name: "glow_vbar"; mouse_events: 0;
561 clip_to: "sb_vbar_show";
562 description { state: "default" 0.0;
564 rel1.to: "base_vbar";
566 rel2.to: "base_vbar";
567 image.normal: "glow_small.png";
568 image.border: 7 7 7 7;
573 description { state: "clicked" 0.0;
574 inherit: "default" 0.0;
578 part { name: "runner_glow_vbar"; mouse_events: 0;
579 clip_to: "runner_vbar_clip";
580 description { state: "default" 0.0;
582 rel1.to_x: "runner_vbar_clip";
583 rel1.to_y: "base_vbar";
585 rel2.to_x: "runner_vbar_clip";
586 rel2.to_y: "base_vbar";
587 image.normal: "runner_glow_vert.png";
588 image.border: 0 0 33 33;
592 part { name: "base_vbar"; mouse_events: 0;
593 clip_to: "sb_vbar_show";
594 description { state: "default" 0.0;
597 rel1.to: "elm.dragable.vbar";
599 rel2.to: "elm.dragable.vbar";
600 image.normal: "vgrad_med_lighter.png";
607 part { name: "bevel_vbar"; mouse_events: 0;
608 clip_to: "sb_vbar_show";
609 description { state: "default" 0.0;
610 rel1.to: "base_vbar";
611 rel2.to: "base_vbar";
612 image.normal: "bevel_out.png";
613 image.border: 1 1 1 1;
620 part { name: "center_vbar"; mouse_events: 0;
621 clip_to: "sb_vbar_show";
622 description { state: "default" 0.0;
623 rel1.to: "base_vbar";
624 rel2.to: "base_vbar";
625 image.normal: "holes_tiny_vert.png";
629 part { name: "center_glow_vbar"; mouse_events: 0;
630 clip_to: "sb_vbar_show";
631 description { state: "default" 0.0;
632 rel1.to: "center_vbar";
633 rel2.to: "center_vbar";
634 image.normal: "holes_tiny_glow_vert.png";
638 description { state: "clicked" 0.0;
639 inherit: "default" 0.0;
644 part { name: "arrow1_hbar"; mouse_events: 0;
645 clip_to: "sb_hbar_show";
646 description { state: "default" 0.0;
647 rel1.to: "sb_hbar_a1";
648 rel2.to: "sb_hbar_a1";
649 image.normal: "sym_left_light_normal.png";
652 description { state: "clicked" 0.0;
653 inherit: "default" 0.0;
654 image.normal: "sym_left_glow_normal.png";
657 part { name: "arrow2_hbar"; mouse_events: 0;
658 clip_to: "sb_hbar_show";
659 description { state: "default" 0.0;
660 rel1.to: "sb_hbar_a2";
661 rel2.to: "sb_hbar_a2";
662 image.normal: "sym_right_light_normal.png";
665 description { state: "clicked" 0.0;
666 inherit: "default" 0.0;
667 image.normal: "sym_right_glow_normal.png";
670 part { name: "shadow_hbar"; mouse_events: 0;
671 clip_to: "sb_hbar_show";
672 description { state: "default" 0.0;
674 rel1.to: "base_hbar";
676 rel2.to: "base_hbar";
677 image.normal: "shadow_square_tiny.png";
678 image.border: 6 6 6 6;
682 description { state: "clicked" 0.0;
683 inherit: "default" 0.0;
686 color: 255 255 255 128;
689 part { name: "glow_hbar"; mouse_events: 0;
690 clip_to: "sb_hbar_show";
691 description { state: "default" 0.0;
693 rel1.to: "base_hbar";
695 rel2.to: "base_hbar";
696 image.normal: "glow_small.png";
697 image.border: 7 7 7 7;
702 description { state: "clicked" 0.0;
703 inherit: "default" 0.0;
707 part { name: "runner_glow_hbar"; mouse_events: 0;
708 clip_to: "runner_hbar_clip";
709 description { state: "default" 0.0;
711 rel1.to_x: "base_hbar";
712 rel1.to_y: "runner_hbar_clip";
714 rel2.to_x: "base_hbar";
715 rel2.to_y: "runner_hbar_clip";
716 image.normal: "runner_glow_horiz.png";
717 image.border: 33 33 0 0;
721 part { name: "base_hbar"; mouse_events: 0;
722 clip_to: "sb_hbar_show";
723 description { state: "default" 0.0;
726 rel1.to: "elm.dragable.hbar";
728 rel2.to: "elm.dragable.hbar";
729 image.normal: "vgrad_med_lighter.png";
735 part { name: "bevel_hbar"; mouse_events: 0;
736 clip_to: "sb_hbar_show";
737 description { state: "default" 0.0;
738 rel1.to: "base_hbar";
739 rel2.to: "base_hbar";
740 image.normal: "bevel_out.png";
741 image.border: 1 1 1 1;
748 part { name: "center_hbar"; mouse_events: 0;
749 clip_to: "sb_hbar_show";
750 description { state: "default" 0.0;
751 rel1.to: "base_hbar";
752 rel2.to: "base_hbar";
753 image.normal: "holes_tiny_horiz.png";
758 part { name: "center_glow_hbar"; mouse_events: 0;
759 clip_to: "sb_hbar_show";
760 description { state: "default" 0.0;
761 rel1.to: "center_hbar";
762 rel2.to: "center_hbar";
763 image.normal: "holes_tiny_glow_horiz.png";
767 description { state: "clicked" 0.0;
768 inherit: "default" 0.0;
775 signal: "mouse,down,1*"; source: "elm.dragable.vbar";
776 action: STATE_SET "clicked" 0.0;
777 target: "elm.dragable.vbar";
778 target: "shadow_vbar";
780 target: "center_glow_vbar";
783 signal: "mouse,up,1"; source: "elm.dragable.vbar";
784 action: STATE_SET "default" 0.0;
785 target: "elm.dragable.vbar";
786 target: "shadow_vbar";
788 target: "center_glow_vbar";
791 signal: "mouse,down,1*"; source: "elm.dragable.hbar";
792 action: STATE_SET "clicked" 0.0;
793 target: "elm.dragable.hbar";
794 target: "shadow_hbar";
796 target: "center_glow_hbar";
799 signal: "mouse,up,1"; source: "elm.dragable.hbar";
800 action: STATE_SET "default" 0.0;
801 target: "elm.dragable.hbar";
802 target: "shadow_hbar";
804 target: "center_glow_hbar";
809 group { name: "elm/scroller/base/noclip";
810 inherit: "elm/scroller/base/default";
812 part { name: "clipper";
813 description { state: "default" 0.0;
814 rel1.offset: -999999 -999999;
815 rel2.offset: 999999 999999;
818 part { name: "elm.swallow.background";
819 description { state: "default" 0.0;
824 part { name: "elm.swallow.content";
825 description { state: "default" 0.0;
830 part { name: "inset";
831 description { state: "default" 0.0;
835 part { name: "shadow";
836 description { state: "default" 0.0;