aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/elementary/data/themes/widgets/genlist.edc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libraries/elementary/data/themes/widgets/genlist.edc10192
1 files changed, 10192 insertions, 0 deletions
diff --git a/libraries/elementary/data/themes/widgets/genlist.edc b/libraries/elementary/data/themes/widgets/genlist.edc
new file mode 100644
index 0000000..a831d9f
--- /dev/null
+++ b/libraries/elementary/data/themes/widgets/genlist.edc
@@ -0,0 +1,10192 @@
1group { name: "elm/genlist/item/default/default";
2 data.item: "selectraise" "on";
3 data.item: "texts" "elm.text";
4 data.item: "contents" "elm.swallow.icon elm.swallow.end";
5 data.item: "treesize" "20";
6 data.item: "flips" "elm.text.flip";
7 // data.item: "states" "";
8 images {
9 image: "bt_sm_base1.png" COMP;
10 image: "bt_sm_shine.png" COMP;
11 image: "bt_sm_hilight.png" COMP;
12 image: "ilist_1.png" COMP;
13 image: "ilist_2.png" COMP;
14 image: "ilist_item_shadow.png" COMP;
15 }
16 parts {
17 part {
18 name: "event";
19 type: RECT;
20 repeat_events: 1;
21 description {
22 state: "default" 0.0;
23 color: 0 0 0 0;
24 }
25 }
26 part { name: "reorder_bg";
27 mouse_events: 0;
28 description { state: "default" 0.0;
29 visible: 0;
30 color: 255 255 255 0;
31 rel1 {
32 relative: 0.0 0.0;
33 offset: -7 -7;
34 }
35 rel2 {
36 relative: 1.0 1.0;
37 offset: 9 9;
38 }
39 image {
40 normal: "bt_bases.png";
41 border: 6 6 6 6;
42 }
43 }
44 description { state: "enabled" 0.0;
45 inherit: "default" 0.0;
46 visible: 1;
47 color: 255 255 255 255;
48 }
49 }
50 part {
51 name: "base_sh";
52 mouse_events: 0;
53 description {
54 state: "default" 0.0;
55 align: 0.0 0.0;
56 min: 0 10;
57 fixed: 1 1;
58 rel1 {
59 to: "base";
60 relative: 0.0 1.0;
61 offset: 0 0;
62 }
63 rel2 {
64 to: "base";
65 relative: 1.0 1.0;
66 offset: -1 0;
67 }
68 image {
69 normal: "ilist_item_shadow.png";
70 }
71 fill.smooth: 0;
72 }
73 description {
74 state: "default" 1.0;
75 inherit: "default" 0.0;
76 visible: 0;
77 }
78 }
79 part {
80 name: "base";
81 mouse_events: 0;
82 description {
83 state: "default" 0.0;
84 image {
85 normal: "ilist_1.png";
86 border: 2 2 2 2;
87 }
88 fill.smooth: 0;
89 }
90 description {
91 state: "default" 1.0;
92 inherit: "default" 0.0;
93 image.normal: "ilist_2.png";
94 }
95 }
96 part { name: "bg";
97 clip_to: "disclip";
98 mouse_events: 0;
99 description { state: "default" 0.0;
100 visible: 0;
101 color: 255 255 255 0;
102 rel1 {
103 relative: 0.0 0.0;
104 offset: -5 -5;
105 }
106 rel2 {
107 relative: 1.0 1.0;
108 offset: 4 4;
109 }
110 image {
111 normal: "bt_sm_base1.png";
112 border: 6 6 6 6;
113 }
114 image.middle: SOLID;
115 }
116 description { state: "default" 1.0;
117 inherit: "default" 0.0;
118 }
119 description { state: "selected" 0.0;
120 inherit: "default" 0.0;
121 visible: 1;
122 color: 255 255 255 255;
123 rel1 {
124 relative: 0.0 0.0;
125 offset: -2 -2;
126 }
127 rel2 {
128 relative: 1.0 1.0;
129 offset: 1 1;
130 }
131 }
132 description {
133 state: "selected" 1.0;
134 inherit: "selected" 0.0;
135 }
136 }
137 part { name: "elm.swallow.pad";
138 type: SWALLOW;
139 description { state: "default" 0.0;
140 fixed: 1 0;
141 align: 0.0 0.5;
142 rel1 {
143 relative: 0.0 0.0;
144 offset: 4 4;
145 }
146 rel2 {
147 relative: 0.0 1.0;
148 offset: 4 -5;
149 }
150 }
151 }
152 part { name: "elm.swallow.icon";
153 clip_to: "disclip";
154 type: SWALLOW;
155 description { state: "default" 0.0;
156 fixed: 1 0;
157 align: 0.0 0.5;
158 rel1 {
159 to_x: "elm.swallow.pad";
160 relative: 1.0 0.0;
161 offset: -1 4;
162 }
163 rel2 {
164 to_x: "elm.swallow.pad";
165 relative: 1.0 1.0;
166 offset: -1 -5;
167 }
168 }
169 description { state: "flip_enabled" 0.0;
170 inherit: "default" 0.0;
171 visible: 0;
172 }
173 }
174 part { name: "elm.swallow.end";
175 clip_to: "disclip";
176 type: SWALLOW;
177 description { state: "default" 0.0;
178 fixed: 1 0;
179 align: 1.0 0.5;
180 aspect: 1.0 1.0;
181 aspect_preference: VERTICAL;
182 rel1 {
183 relative: 1.0 0.0;
184 offset: -5 4;
185 }
186 rel2 {
187 relative: 1.0 1.0;
188 offset: -5 -5;
189 }
190 }
191 description { state: "flip_enabled" 0.0;
192 inherit: "default" 0.0;
193 visible: 0;
194 }
195 }
196 part { name: "elm.text";
197 clip_to: "disclip";
198 type: TEXT;
199 effect: SOFT_SHADOW;
200 mouse_events: 0;
201 scale: 1;
202 description {
203 state: "default" 0.0;
204 // min: 16 16;
205 rel1 {
206 to_x: "elm.swallow.icon";
207 relative: 1.0 0.0;
208 offset: 0 4;
209 }
210 rel2 {
211 to_x: "elm.swallow.end";
212 relative: 0.0 1.0;
213 offset: -1 -5;
214 }
215 color: 0 0 0 255;
216 color3: 0 0 0 0;
217 text {
218 font: "Sans";
219 size: 10;
220 min: 1 1;
221 // min: 0 1;
222 align: -1.0 0.5;
223 text_class: "list_item";
224 }
225 }
226 description { state: "selected" 0.0;
227 inherit: "default" 0.0;
228 color: 224 224 224 255;
229 color3: 0 0 0 64;
230 }
231 description { state: "flip_enabled" 0.0;
232 inherit: "default" 0.0;
233 visible: 0;
234 }
235 }
236 part { name: "elm.text.flip";
237 clip_to: "disclip";
238 type: SWALLOW;
239 scale: 1;
240 description { state: "default" 0.0;
241 visible: 0;
242 rel1.to_y: "elm.text";
243 rel2.to_y: "elm.text";
244 }
245 description { state: "flip_enabled" 0.0;
246 inherit: "default" 0.0;
247 visible: 1;
248 }
249 }
250 part { name: "fg1";
251 clip_to: "disclip";
252 mouse_events: 0;
253 description { state: "default" 0.0;
254 visible: 0;
255 color: 255 255 255 0;
256 rel1.to: "bg";
257 rel2.relative: 1.0 0.5;
258 rel2.to: "bg";
259 image {
260 normal: "bt_sm_hilight.png";
261 border: 6 6 6 0;
262 }
263 }
264 description { state: "selected" 0.0;
265 inherit: "default" 0.0;
266 visible: 1;
267 color: 255 255 255 255;
268 }
269 description {
270 state: "selected" 1.0;
271 inherit: "default" 0.0;
272 visible: 1;
273 color: 255 255 255 255;
274 }
275 }
276 part { name: "fg2";
277 clip_to: "disclip";
278 mouse_events: 0;
279 description { state: "default" 0.0;
280 visible: 0;
281 color: 255 255 255 0;
282 rel1.to: "bg";
283 rel2.to: "bg";
284 image {
285 normal: "bt_sm_shine.png";
286 border: 6 6 6 0;
287 }
288 }
289 description { state: "selected" 0.0;
290 inherit: "default" 0.0;
291 visible: 1;
292 color: 255 255 255 255;
293 }
294 description {
295 state: "selected" 1.0;
296 inherit: "default" 0.0;
297 visible: 1;
298 color: 255 255 255 255;
299 }
300 }
301 part { name: "disclip";
302 type: RECT;
303 description { state: "default" 0.0;
304 rel1.to: "bg";
305 rel2.to: "bg";
306 }
307 description { state: "disabled" 0.0;
308 inherit: "default" 0.0;
309 color: 255 255 255 64;
310 }
311 }
312 }
313 programs {
314 // signal: elm,state,%s,active
315 // a "check" item named %s went active
316 // signal: elm,state,%s,passive
317 // a "check" item named %s went passive
318 // default is passive
319 program {
320 name: "odd";
321 signal: "elm,state,odd";
322 source: "elm";
323 action: STATE_SET "default" 1.0;
324 target: "base_sh";
325 target: "base";
326 }
327 program {
328 name: "even";
329 signal: "elm,state,even";
330 source: "elm";
331 action: STATE_SET "default" 0.0;
332 target: "base_sh";
333 target: "base";
334 }
335 program {
336 name: "go_active";
337 signal: "elm,state,selected";
338 source: "elm";
339 script {
340 new st[31];
341 new Float:vl;
342 get_state(PART:"base", st, 30, vl);
343 set_state(PART:"bg", "selected", vl);
344 set_state(PART:"fg1", "selected", vl);
345 set_state(PART:"fg2", "selected", vl);
346 set_state(PART:"elm.text", "selected", vl);
347 }
348 }
349 program {
350 name: "go_passive";
351 signal: "elm,state,unselected";
352 source: "elm";
353 script {
354 new st[31];
355 new Float:vl;
356 get_state(PART:"base", st, 30, vl);
357 set_state(PART:"bg", "default", vl);
358 set_state(PART:"fg1", "default", vl);
359 set_state(PART:"fg2", "default", vl);
360 set_state(PART:"elm.text", "default", vl);
361 }
362 }
363 program {
364 name: "go_disabled";
365 signal: "elm,state,disabled";
366 source: "elm";
367 action: STATE_SET "disabled" 0.0;
368 target: "disclip";
369 }
370 program {
371 name: "go_enabled";
372 signal: "elm,state,enabled";
373 source: "elm";
374 action: STATE_SET "default" 0.0;
375 target: "disclip";
376 }
377 program {
378 name: "go_reorder_disabled";
379 signal: "elm,state,reorder,disabled";
380 source: "elm";
381 action: STATE_SET "default" 0.0;
382 target: "reorder_bg";
383 transition: DECELERATE 0.5;
384 }
385 program {
386 name: "go_reorder_enabled";
387 signal: "elm,state,reorder,enabled";
388 source: "elm";
389 action: STATE_SET "enabled" 0.0;
390 target: "reorder_bg";
391 transition: DECELERATE 0.5;
392 }
393 program { name: "flip_enabled";
394 signal: "elm,state,flip,enabled";
395 source: "elm";
396 action: STATE_SET "flip_enabled" 0.0;
397 target: "elm.text";
398 target: "elm.text.flip";
399 target: "elm.swallow.icon";
400 target: "elm.swallow.end";
401 }
402 program { name: "flip_disabled";
403 signal: "elm,state,flip,disabled";
404 source: "elm";
405 action: STATE_SET "default" 0.0;
406 target: "elm.text";
407 target: "elm.text.flip";
408 target: "elm.swallow.icon";
409 target: "elm.swallow.end";
410 }
411 }
412}
413group { name: "elm/genlist/item/group_index/default";
414 alias: "elm/genlist/item_compress/group_index/default";
415 data.item: "selectraise" "on";
416 data.item: "texts" "elm.text";
417 data.item: "contents" "elm.swallow.icon elm.swallow.end";
418 data.item: "treesize" "20";
419 // data.item: "states" "";
420 images {
421 image: "bt_sm_base1.png" COMP;
422 image: "bt_sm_shine.png" COMP;
423 image: "bt_sm_hilight.png" COMP;
424 image: "ilist_item_shadow.png" COMP;
425 image: "group_index.png" COMP;
426 }
427 parts {
428 part {
429 name: "event";
430 type: RECT;
431 repeat_events: 0;
432 description {
433 state: "default" 0.0;
434 color: 0 0 0 0;
435 }
436 }
437 part {
438 name: "base_sh";
439 mouse_events: 0;
440 description {
441 state: "default" 0.0;
442 align: 0.0 0.0;
443 min: 0 10;
444 fixed: 1 1;
445 rel1 {
446 to: "base";
447 relative: 0.0 1.0;
448 offset: 0 0;
449 }
450 rel2 {
451 to: "base";
452 relative: 1.0 1.0;
453 offset: -1 0;
454 }
455 image {
456 normal: "ilist_item_shadow.png";
457 }
458 fill.smooth: 0;
459 }
460 }
461 part {
462 name: "base";
463 mouse_events: 0;
464 description {
465 state: "default" 0.0;
466 image {
467 normal: "group_index.png";
468 border: 2 2 2 2;
469 }
470 fill.smooth: 0;
471 }
472 }
473 part { name: "bg";
474 clip_to: "disclip";
475 mouse_events: 0;
476 description { state: "default" 0.0;
477 visible: 0;
478 color: 255 255 255 0;
479 rel1 {
480 relative: 0.0 0.0;
481 offset: -5 -5;
482 }
483 rel2 {
484 relative: 1.0 1.0;
485 offset: 4 4;
486 }
487 image {
488 normal: "bt_sm_base1.png";
489 border: 6 6 6 6;
490 }
491 image.middle: SOLID;
492 }
493 description { state: "selected" 0.0;
494 inherit: "default" 0.0;
495 visible: 1;
496 color: 255 255 255 255;
497 rel1 {
498 relative: 0.0 0.0;
499 offset: -2 -2;
500 }
501 rel2 {
502 relative: 1.0 1.0;
503 offset: 1 1;
504 }
505 }
506 }
507 part { name: "elm.swallow.pad";
508 type: SWALLOW;
509 description { state: "default" 0.0;
510 fixed: 1 0;
511 align: 0.0 0.5;
512 rel1 {
513 relative: 0.0 0.0;
514 offset: 4 4;
515 }
516 rel2 {
517 relative: 0.0 1.0;
518 offset: 4 -5;
519 }
520 }
521 }
522 part { name: "elm.swallow.icon";
523 clip_to: "disclip";
524 type: SWALLOW;
525 description { state: "default" 0.0;
526 fixed: 1 0;
527 align: 0.0 0.5;
528 rel1 {
529 to_x: "elm.swallow.pad";
530 relative: 1.0 0.0;
531 offset: -1 4;
532 }
533 rel2 {
534 to_x: "elm.swallow.pad";
535 relative: 1.0 1.0;
536 offset: -1 -5;
537 }
538 }
539 }
540 part { name: "elm.swallow.end";
541 clip_to: "disclip";
542 type: SWALLOW;
543 description { state: "default" 0.0;
544 fixed: 1 0;
545 align: 1.0 0.5;
546 aspect: 1.0 1.0;
547 aspect_preference: VERTICAL;
548 rel1 {
549 relative: 1.0 0.0;
550 offset: -5 4;
551 }
552 rel2 {
553 relative: 1.0 1.0;
554 offset: -5 -5;
555 }
556 }
557 }
558 part { name: "elm.text";
559 clip_to: "disclip";
560 type: TEXT;
561 effect: SOFT_SHADOW;
562 mouse_events: 0;
563 scale: 1;
564 description {
565 state: "default" 0.0;
566 // min: 16 16;
567 rel1 {
568 to_x: "elm.swallow.icon";
569 relative: 1.0 0.0;
570 offset: 0 4;
571 }
572 rel2 {
573 to_x: "elm.swallow.end";
574 relative: 0.0 1.0;
575 offset: -1 -5;
576 }
577 color: 0 0 0 255;
578 color3: 0 0 0 0;
579 text {
580 font: "Sans";
581 size: 10;
582 min: 1 1;
583 // min: 0 1;
584 align: -1.0 0.5;
585 text_class: "list_item";
586 }
587 }
588 description { state: "selected" 0.0;
589 inherit: "default" 0.0;
590 color: 224 224 224 255;
591 color3: 0 0 0 64;
592 }
593 }
594 part { name: "fg1";
595 clip_to: "disclip";
596 mouse_events: 0;
597 description { state: "default" 0.0;
598 visible: 0;
599 color: 255 255 255 0;
600 rel1.to: "bg";
601 rel2.relative: 1.0 0.5;
602 rel2.to: "bg";
603 image {
604 normal: "bt_sm_hilight.png";
605 border: 6 6 6 0;
606 }
607 }
608 description { state: "selected" 0.0;
609 inherit: "default" 0.0;
610 visible: 1;
611 color: 255 255 255 255;
612 }
613 }
614 part { name: "fg2";
615 clip_to: "disclip";
616 mouse_events: 0;
617 description { state: "default" 0.0;
618 visible: 0;
619 color: 255 255 255 0;
620 rel1.to: "bg";
621 rel2.to: "bg";
622 image {
623 normal: "bt_sm_shine.png";
624 border: 6 6 6 0;
625 }
626 }
627 description { state: "selected" 0.0;
628 inherit: "default" 0.0;
629 visible: 1;
630 color: 255 255 255 255;
631 }
632 }
633 part { name: "disclip";
634 type: RECT;
635 description { state: "default" 0.0;
636 rel1.to: "bg";
637 rel2.to: "bg";
638 }
639 description { state: "disabled" 0.0;
640 inherit: "default" 0.0;
641 color: 255 255 255 64;
642 }
643 }
644 }
645 programs {
646 // signal: elm,state,%s,active
647 // a "check" item named %s went active
648 // signal: elm,state,%s,passive
649 // a "check" item named %s went passive
650 // default is passive
651 program {
652 name: "go_active";
653 signal: "elm,state,selected";
654 source: "elm";
655 action: STATE_SET "selected" 0.0;
656 target: "bg";
657 target: "fg1";
658 target: "fg2";
659 target: "elm.text";
660 }
661 program {
662 name: "go_passive";
663 signal: "elm,state,unselected";
664 source: "elm";
665 action: STATE_SET "default" 0.0;
666 target: "bg";
667 target: "fg1";
668 target: "fg2";
669 target: "elm.text";
670 transition: LINEAR 0.1;
671 }
672 program {
673 name: "go_disabled";
674 signal: "elm,state,disabled";
675 source: "elm";
676 action: STATE_SET "disabled" 0.0;
677 target: "disclip";
678 }
679 program {
680 name: "go_enabled";
681 signal: "elm,state,enabled";
682 source: "elm";
683 action: STATE_SET "default" 0.0;
684 target: "disclip";
685 }
686 }
687}
688group { name: "elm/genlist/item_compress/message/default";
689 data.item: "selectraise" "on";
690 data.item: "texts" "elm.title.1 elm.title.2 elm.text";
691 // data.item: "contents" "elm.swallow.icon elm.swallow.end";
692 data.item: "treesize" "20";
693 // data.item: "states" "";
694 images {
695 image: "bt_sm_base1.png" COMP;
696 image: "bt_sm_shine.png" COMP;
697 image: "bt_sm_hilight.png" COMP;
698 image: "ilist_1.png" COMP;
699 image: "ilist_2.png" COMP;
700 image: "ilist_item_shadow.png" COMP;
701 }
702 styles {
703 style { name: "genlist_textblock_style";
704 base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
705 tag: "br" "\n";
706 tag: "ps" "ps";
707 tag: "tab" "\t";
708 }
709 style { name: "genlist_textblock_style2";
710 base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
711 tag: "br" "\n";
712 tag: "ps" "ps";
713 tag: "tab" "\t";
714 }
715 }
716 parts {
717 part {
718 name: "event";
719 type: RECT;
720 repeat_events: 1;
721 description {
722 state: "default" 0.0;
723 color: 0 0 0 0;
724 }
725 }
726 part {
727 name: "base_sh";
728 mouse_events: 0;
729 description {
730 state: "default" 0.0;
731 align: 0.0 0.0;
732 min: 0 10;
733 fixed: 1 1;
734 rel1 {
735 to: "base";
736 relative: 0.0 1.0;
737 offset: 0 0;
738 }
739 rel2 {
740 to: "base";
741 relative: 1.0 1.0;
742 offset: -1 0;
743 }
744 image {
745 normal: "ilist_item_shadow.png";
746 }
747 fill.smooth: 0;
748 }
749 description {
750 state: "default" 1.0;
751 inherit: "default" 0.0;
752 visible: 0;
753 }
754 }
755 part {
756 name: "base";
757 mouse_events: 0;
758 description {
759 state: "default" 0.0;
760 image {
761 normal: "ilist_1.png";
762 border: 2 2 2 2;
763 }
764 fill.smooth: 0;
765 }
766 description {
767 state: "default" 1.0;
768 inherit: "default" 0.0;
769 image.normal: "ilist_2.png";
770 }
771 }
772 part { name: "bg";
773 clip_to: "disclip";
774 mouse_events: 0;
775 description { state: "default" 0.0;
776 visible: 0;
777 color: 255 255 255 0;
778 rel1 {
779 relative: 0.0 0.0;
780 offset: -5 -5;
781 }
782 rel2 {
783 relative: 1.0 1.0;
784 offset: 4 4;
785 }
786 image {
787 normal: "bt_sm_base1.png";
788 border: 6 6 6 6;
789 }
790 image.middle: SOLID;
791 }
792 description { state: "selected" 0.0;
793 inherit: "default" 0.0;
794 visible: 1;
795 color: 255 255 255 255;
796 rel1 {
797 relative: 0.0 0.0;
798 offset: -2 -2;
799 }
800 rel2 {
801 relative: 1.0 1.0;
802 offset: 1 1;
803 }
804 }
805 }
806 part { name: "elm.title.1";
807 clip_to: "disclip";
808 type: TEXT;
809 effect: SOFT_SHADOW;
810 mouse_events: 0;
811 scale: 1;
812 description {
813 state: "default" 0.0;
814 fixed: 0 1;
815 // min: 16 16;
816 rel1 {
817 relative: 0.0 0.0;
818 offset: 4 4;
819 }
820 rel2 {
821 relative: 1.0 0.0;
822 offset: -5 4;
823 }
824 color: 0 0 0 255;
825 color3: 0 0 0 0;
826 align: 0.0 0.0;
827 text {
828 font: "Sans";
829 size: 10;
830 min: 0 1;
831 // min: 1 1;
832 align: 0.0 0.0;
833 text_class: "list_item";
834 }
835 }
836 description { state: "selected" 0.0;
837 inherit: "default" 0.0;
838 color: 224 224 224 255;
839 color3: 0 0 0 64;
840 }
841 }
842 part { name: "elm.title.2";
843 clip_to: "disclip";
844 type: TEXT;
845 effect: SOFT_SHADOW;
846 mouse_events: 0;
847 scale: 1;
848 description {
849 state: "default" 0.0;
850 fixed: 0 1;
851 // min: 16 16;
852 rel1 {
853 to_y: "elm.title.1";
854 relative: 0.0 1.0;
855 offset: 4 0;
856 }
857 rel2 {
858 to_y: "elm.title.1";
859 relative: 1.0 1.0;
860 offset: -5 0;
861 }
862 color: 0 0 0 255;
863 color3: 0 0 0 0;
864 align: 0.0 0.0;
865 text {
866 font: "Sans";
867 size: 10;
868 min: 0 1;
869 // min: 1 1;
870 align: 0.0 0.0;
871 text_class: "list_item";
872 }
873 }
874 description { state: "selected" 0.0;
875 inherit: "default" 0.0;
876 color: 224 224 224 255;
877 color3: 0 0 0 64;
878 }
879 }
880 part { name: "elm.text";
881 clip_to: "disclip";
882 type: TEXTBLOCK;
883 mouse_events: 0;
884 scale: 1;
885 description {
886 state: "default" 0.0;
887 // fixed: 0 1;
888 // min: 16 16;
889 rel1 {
890 to_y: "elm.title.2";
891 relative: 0.0 1.0;
892 offset: 4 0;
893 }
894 rel2 {
895 relative: 1.0 1.0;
896 offset: -5 -5;
897 }
898 align: 0.0 0.0;
899 text {
900 style: "genlist_textblock_style";
901 min: 0 1;
902 // min: 1 1;
903 align: 0.0 0.0;
904 }
905 }
906 description { state: "selected" 0.0;
907 inherit: "default" 0.0;
908 text {
909 style: "genlist_textblock_style2";
910 }
911 }
912 }
913 part { name: "fg1";
914 clip_to: "disclip";
915 mouse_events: 0;
916 description { state: "default" 0.0;
917 visible: 0;
918 color: 255 255 255 0;
919 rel1.to: "bg";
920 rel2.relative: 1.0 0.5;
921 rel2.to: "bg";
922 image {
923 normal: "bt_sm_hilight.png";
924 border: 6 6 6 0;
925 }
926 }
927 description { state: "selected" 0.0;
928 inherit: "default" 0.0;
929 visible: 1;
930 color: 255 255 255 255;
931 }
932 }
933 part { name: "fg2";
934 clip_to: "disclip";
935 mouse_events: 0;
936 description { state: "default" 0.0;
937 visible: 0;
938 color: 255 255 255 0;
939 rel1.to: "bg";
940 rel2.to: "bg";
941 image {
942 normal: "bt_sm_shine.png";
943 border: 6 6 6 0;
944 }
945 }
946 description { state: "selected" 0.0;
947 inherit: "default" 0.0;
948 visible: 1;
949 color: 255 255 255 255;
950 }
951 }
952 part { name: "disclip";
953 type: RECT;
954 description { state: "default" 0.0;
955 rel1.to: "bg";
956 rel2.to: "bg";
957 }
958 description { state: "disabled" 0.0;
959 inherit: "default" 0.0;
960 color: 255 255 255 64;
961 }
962 }
963 }
964 programs {
965 // signal: elm,state,%s,active
966 // a "check" item named %s went active
967 // signal: elm,state,%s,passive
968 // a "check" item named %s went passive
969 // default is passive
970 program {
971 name: "odd";
972 signal: "elm,state,odd";
973 source: "elm";
974 action: STATE_SET "default" 1.0;
975 target: "base_sh";
976 target: "base";
977 }
978 program {
979 name: "even";
980 signal: "elm,state,even";
981 source: "elm";
982 action: STATE_SET "default" 0.0;
983 target: "base_sh";
984 target: "base";
985 }
986 program {
987 name: "go_active";
988 signal: "elm,state,selected";
989 source: "elm";
990 action: STATE_SET "selected" 0.0;
991 target: "bg";
992 target: "fg1";
993 target: "fg2";
994 target: "elm.title.1";
995 target: "elm.title.2";
996 target: "elm.text";
997 }
998 program {
999 name: "go_passive";
1000 signal: "elm,state,unselected";
1001 source: "elm";
1002 action: STATE_SET "default" 0.0;
1003 target: "bg";
1004 target: "fg1";
1005 target: "fg2";
1006 target: "elm.title.1";
1007 target: "elm.title.2";
1008 target: "elm.text";
1009 transition: LINEAR 0.1;
1010 }
1011 program {
1012 name: "go_disabled";
1013 signal: "elm,state,disabled";
1014 source: "elm";
1015 action: STATE_SET "disabled" 0.0;
1016 target: "disclip";
1017 }
1018 program {
1019 name: "go_enabled";
1020 signal: "elm,state,enabled";
1021 source: "elm";
1022 action: STATE_SET "default" 0.0;
1023 target: "disclip";
1024 }
1025 }
1026}
1027
1028group { name: "elm/genlist/item_compress/default/default";
1029 inherit: "elm/genlist/item/default/default";
1030 data.item: "texts" "elm.text";
1031 parts {
1032 part { name: "elm.text";
1033 description { state: "default" 0.0;
1034 text {
1035 min: 0 1;
1036 }
1037 }
1038 }
1039 }
1040}
1041
1042group { name: "elm/genlist/tree/default/default";
1043 data.item: "selectraise" "on";
1044 data.item: "texts" "elm.text";
1045 data.item: "contents" "elm.swallow.icon elm.swallow.end";
1046 data.item: "treesize" "20";
1047 // data.item: "states" "";
1048 images {
1049 image: "bt_sm_base1.png" COMP;
1050 image: "bt_sm_shine.png" COMP;
1051 image: "bt_sm_hilight.png" COMP;
1052 image: "ilist_1.png" COMP;
1053 image: "ilist_2.png" COMP;
1054 image: "ilist_item_shadow.png" COMP;
1055 image: "icon_arrow_left.png" COMP;
1056 image: "icon_arrow_right.png" COMP;
1057 image: "icon_arrow_down.png" COMP;
1058 }
1059 parts {
1060 part {
1061 name: "event";
1062 type: RECT;
1063 repeat_events: 1;
1064 description {
1065 state: "default" 0.0;
1066 color: 0 0 0 0;
1067 }
1068 }
1069 part { name: "reorder_bg";
1070 mouse_events: 0;
1071 description { state: "default" 0.0;
1072 visible: 0;
1073 color: 255 255 255 0;
1074 rel1 {
1075 relative: 0.0 0.0;
1076 offset: -7 -7;
1077 }
1078 rel2 {
1079 relative: 1.0 1.0;
1080 offset: 9 9;
1081 }
1082 image {
1083 normal: "bt_bases.png";
1084 border: 6 6 6 6;
1085 }
1086 }
1087 description { state: "enabled" 0.0;
1088 inherit: "default" 0.0;
1089 visible: 1;
1090 color: 255 255 255 255;
1091 }
1092 }
1093 part {
1094 name: "base_sh";
1095 mouse_events: 0;
1096 description {
1097 state: "default" 0.0;
1098 align: 0.0 0.0;
1099 min: 0 10;
1100 fixed: 1 1;
1101 rel1 {
1102 to: "base";
1103 relative: 0.0 1.0;
1104 offset: 0 0;
1105 }
1106 rel2 {
1107 to: "base";
1108 relative: 1.0 1.0;
1109 offset: -1 0;
1110 }
1111 image {
1112 normal: "ilist_item_shadow.png";
1113 }
1114 fill.smooth: 0;
1115 }
1116 description {
1117 state: "default" 1.0;
1118 inherit: "default" 0.0;
1119 visible: 0;
1120 }
1121 }
1122 part {
1123 name: "base";
1124 mouse_events: 0;
1125 description {
1126 state: "default" 0.0;
1127 image {
1128 normal: "ilist_1.png";
1129 border: 2 2 2 2;
1130 }
1131 fill.smooth: 0;
1132 }
1133 description {
1134 state: "default" 1.0;
1135 inherit: "default" 0.0;
1136 image.normal: "ilist_2.png";
1137 }
1138 }
1139 part { name: "bg";
1140 clip_to: "disclip";
1141 mouse_events: 0;
1142 description { state: "default" 0.0;
1143 visible: 0;
1144 color: 255 255 255 0;
1145 rel1 {
1146 relative: 0.0 0.0;
1147 offset: -5 -5;
1148 }
1149 rel2 {
1150 relative: 1.0 1.0;
1151 offset: 4 4;
1152 }
1153 image {
1154 normal: "bt_sm_base1.png";
1155 border: 6 6 6 6;
1156 }
1157 image.middle: SOLID;
1158 }
1159 description { state: "selected" 0.0;
1160 inherit: "default" 0.0;
1161 visible: 1;
1162 color: 255 255 255 255;
1163 rel1 {
1164 relative: 0.0 0.0;
1165 offset: -2 -2;
1166 }
1167 rel2 {
1168 relative: 1.0 1.0;
1169 offset: 1 1;
1170 }
1171 }
1172 }
1173 part { name: "elm.swallow.pad";
1174 type: SWALLOW;
1175 description { state: "default" 0.0;
1176 fixed: 1 0;
1177 align: 0.0 0.5;
1178 rel1 {
1179 relative: 0.0 0.0;
1180 offset: 4 4;
1181 }
1182 rel2 {
1183 relative: 0.0 1.0;
1184 offset: 4 -5;
1185 }
1186 }
1187 }
1188 part { name: "arrow";
1189 clip_to: "disclip";
1190 ignore_flags: ON_HOLD;
1191 description { state: "default" 0.0;
1192 fixed: 1 0;
1193 align: 0.0 0.5;
1194 aspect: 1.0 1.0;
1195 rel1 {
1196 to_x: "elm.swallow.pad";
1197 relative: 1.0 0.0;
1198 offset: -1 4;
1199 }
1200 rel2 {
1201 to_x: "elm.swallow.pad";
1202 relative: 1.0 1.0;
1203 offset: -1 -5;
1204 }
1205 image.normal: "icon_arrow_right.png";
1206 }
1207 description { state: "default" 0.1;
1208 inherit: "default" 0.0;
1209 image.normal: "icon_arrow_left.png";
1210 }
1211 description { state: "active" 0.0;
1212 inherit: "default" 0.0;
1213 image.normal: "icon_arrow_down.png";
1214 }
1215 description { state: "active" 0.1;
1216 inherit: "default" 0.0;
1217 image.normal: "icon_arrow_down.png";
1218 }
1219 }
1220 part { name: "elm.swallow.icon";
1221 clip_to: "disclip";
1222 type: SWALLOW;
1223 description { state: "default" 0.0;
1224 fixed: 1 0;
1225 align: 0.0 0.5;
1226 rel1 {
1227 to_x: "arrow";
1228 relative: 1.0 0.0;
1229 offset: 4 4;
1230 }
1231 rel2 {
1232 to_x: "arrow";
1233 relative: 1.0 1.0;
1234 offset: 4 -5;
1235 }
1236 }
1237 }
1238 part { name: "elm.swallow.end";
1239 clip_to: "disclip";
1240 type: SWALLOW;
1241 description { state: "default" 0.0;
1242 fixed: 1 0;
1243 align: 1.0 0.5;
1244 aspect: 1.0 1.0;
1245 aspect_preference: VERTICAL;
1246 rel1 {
1247 relative: 1.0 0.0;
1248 offset: -5 4;
1249 }
1250 rel2 {
1251 relative: 1.0 1.0;
1252 offset: -5 -5;
1253 }
1254 }
1255 }
1256 part { name: "elm.text";
1257 clip_to: "disclip";
1258 type: TEXT;
1259 effect: SOFT_SHADOW;
1260 mouse_events: 0;
1261 scale: 1;
1262 description {
1263 state: "default" 0.0;
1264 // min: 16 16;
1265 rel1 {
1266 to_x: "elm.swallow.icon";
1267 relative: 1.0 0.0;
1268 offset: 0 4;
1269 }
1270 rel2 {
1271 to_x: "elm.swallow.end";
1272 relative: 0.0 1.0;
1273 offset: -1 -5;
1274 }
1275 color: 0 0 0 255;
1276 color3: 0 0 0 0;
1277 text {
1278 font: "Sans";
1279 size: 10;
1280 min: 1 1;
1281 // min: 0 1;
1282 align: -1.0 0.5;
1283 text_class: "list_item";
1284 }
1285 }
1286 description { state: "selected" 0.0;
1287 inherit: "default" 0.0;
1288 color: 224 224 224 255;
1289 color3: 0 0 0 64;
1290 }
1291 }
1292 part { name: "fg1";
1293 clip_to: "disclip";
1294 mouse_events: 0;
1295 description { state: "default" 0.0;
1296 visible: 0;
1297 color: 255 255 255 0;
1298 rel1.to: "bg";
1299 rel2.relative: 1.0 0.5;
1300 rel2.to: "bg";
1301 image {
1302 normal: "bt_sm_hilight.png";
1303 border: 6 6 6 0;
1304 }
1305 }
1306 description { state: "selected" 0.0;
1307 inherit: "default" 0.0;
1308 visible: 1;
1309 color: 255 255 255 255;
1310 }
1311 }
1312 part { name: "fg2";
1313 clip_to: "disclip";
1314 mouse_events: 0;
1315 description { state: "default" 0.0;
1316 visible: 0;
1317 color: 255 255 255 0;
1318 rel1.to: "bg";
1319 rel2.to: "bg";
1320 image {
1321 normal: "bt_sm_shine.png";
1322 border: 6 6 6 0;
1323 }
1324 }
1325 description { state: "selected" 0.0;
1326 inherit: "default" 0.0;
1327 visible: 1;
1328 color: 255 255 255 255;
1329 }
1330 }
1331 part { name: "disclip";
1332 type: RECT;
1333 description { state: "default" 0.0;
1334 rel1.to: "bg";
1335 rel2.to: "bg";
1336 }
1337 description { state: "disabled" 0.0;
1338 inherit: "default" 0.0;
1339 color: 255 255 255 64;
1340 }
1341 }
1342 }
1343 programs {
1344 // signal: elm,state,%s,active
1345 // a "check" item named %s went active
1346 // signal: elm,state,%s,passive
1347 // a "check" item named %s went passive
1348 // default is passive
1349 program {
1350 name: "odd";
1351 signal: "elm,state,odd";
1352 source: "elm";
1353 action: STATE_SET "default" 1.0;
1354 target: "base_sh";
1355 target: "base";
1356 }
1357 program {
1358 name: "even";
1359 signal: "elm,state,even";
1360 source: "elm";
1361 action: STATE_SET "default" 0.0;
1362 target: "base_sh";
1363 target: "base";
1364 }
1365 program {
1366 name: "go_active";
1367 signal: "elm,state,selected";
1368 source: "elm";
1369 action: STATE_SET "selected" 0.0;
1370 target: "bg";
1371 target: "fg1";
1372 target: "fg2";
1373 target: "elm.text";
1374 }
1375 program {
1376 name: "go_passive";
1377 signal: "elm,state,unselected";
1378 source: "elm";
1379 action: STATE_SET "default" 0.0;
1380 target: "bg";
1381 target: "fg1";
1382 target: "fg2";
1383 target: "elm.text";
1384 transition: LINEAR 0.1;
1385 }
1386 program {
1387 name: "go_disabled";
1388 signal: "elm,state,disabled";
1389 source: "elm";
1390 action: STATE_SET "disabled" 0.0;
1391 target: "disclip";
1392 }
1393 program {
1394 name: "go_enabled";
1395 signal: "elm,state,enabled";
1396 source: "elm";
1397 action: STATE_SET "default" 0.0;
1398 target: "disclip";
1399 }
1400 program {
1401 name: "go_reorder_disabled";
1402 signal: "elm,state,reorder,disabled";
1403 source: "elm";
1404 action: STATE_SET "default" 0.0;
1405 target: "reorder_bg";
1406 transition: DECELERATE 0.5;
1407 }
1408 program {
1409 name: "go_reorder_enabled";
1410 signal: "elm,state,reorder,enabled";
1411 source: "elm";
1412 action: STATE_SET "enabled" 0.0;
1413 target: "reorder_bg";
1414 transition: DECELERATE 0.5;
1415 }
1416 program {
1417 name: "expand";
1418 signal: "mouse,up,1";
1419 source: "arrow";
1420 action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
1421 }
1422 program {
1423 name: "go_expanded";
1424 signal: "elm,state,expanded";
1425 source: "elm";
1426 script {
1427 new st[31];
1428 new Float:vl;
1429 get_state(PART:"arrow", st, 30, vl);
1430 set_state(PART:"arrow", "active", vl);
1431 }
1432 }
1433 program {
1434 name: "go_contracted";
1435 signal: "elm,state,contracted";
1436 source: "elm";
1437 script {
1438 new st[31];
1439 new Float:vl;
1440 get_state(PART:"arrow", st, 30, vl);
1441 set_state(PART:"arrow", "default", vl);
1442 }
1443 }
1444 program { name: "to_rtl";
1445 signal: "edje,state,rtl";
1446 source: "edje";
1447 script {
1448 new st[31];
1449 new Float:vl;
1450 get_state(PART:"arrow", st, 30, vl);
1451 if (vl == 0.0) {
1452 set_state(PART:"arrow", st, 0.1);
1453 }
1454 }
1455 }
1456 program { name: "to_ltr";
1457 signal: "edje,state,ltr";
1458 source: "edje";
1459 script {
1460 new st[31];
1461 new Float:vl;
1462 get_state(PART:"arrow", st, 30, vl);
1463 if (vl == 0.1) {
1464 set_state(PART:"arrow", st, 0.0);
1465 }
1466 }
1467 }
1468 }
1469}
1470group { name: "elm/genlist/tree_compress/default/default";
1471 data.item: "stacking" "above";
1472 data.item: "selectraise" "on";
1473 data.item: "texts" "elm.text";
1474 data.item: "contents" "elm.swallow.icon elm.swallow.end";
1475 data.item: "treesize" "20";
1476 // data.item: "states" "";
1477 images {
1478 image: "bt_sm_base1.png" COMP;
1479 image: "bt_sm_shine.png" COMP;
1480 image: "bt_sm_hilight.png" COMP;
1481 image: "ilist_1.png" COMP;
1482 image: "ilist_item_shadow.png" COMP;
1483 image: "icon_arrow_left.png" COMP;
1484 image: "icon_arrow_right.png" COMP;
1485 image: "icon_arrow_down.png" COMP;
1486 }
1487 parts {
1488 part {
1489 name: "event";
1490 type: RECT;
1491 repeat_events: 1;
1492 description {
1493 state: "default" 0.0;
1494 color: 0 0 0 0;
1495 }
1496 }
1497 part {
1498 name: "base_sh";
1499 mouse_events: 0;
1500 description {
1501 state: "default" 0.0;
1502 align: 0.0 0.0;
1503 min: 0 10;
1504 fixed: 1 1;
1505 rel1 {
1506 to: "base";
1507 relative: 0.0 1.0;
1508 offset: 0 0;
1509 }
1510 rel2 {
1511 to: "base";
1512 relative: 1.0 1.0;
1513 offset: -1 0;
1514 }
1515 image {
1516 normal: "ilist_item_shadow.png";
1517 }
1518 fill.smooth: 0;
1519 }
1520 description {
1521 state: "default" 1.0;
1522 inherit: "default" 0.0;
1523 visible: 0;
1524 }
1525 }
1526 part {
1527 name: "base";
1528 mouse_events: 0;
1529 description {
1530 state: "default" 0.0;
1531 image {
1532 normal: "ilist_1.png";
1533 border: 2 2 2 2;
1534 }
1535 fill.smooth: 0;
1536 }
1537 description {
1538 state: "default" 1.0;
1539 inherit: "default" 0.0;
1540 image.normal: "ilist_2.png";
1541 }
1542 }
1543 part { name: "bg";
1544 clip_to: "disclip";
1545 mouse_events: 0;
1546 description { state: "default" 0.0;
1547 visible: 0;
1548 color: 255 255 255 0;
1549 rel1 {
1550 relative: 0.0 0.0;
1551 offset: -5 -5;
1552 }
1553 rel2 {
1554 relative: 1.0 1.0;
1555 offset: 4 4;
1556 }
1557 image {
1558 normal: "bt_sm_base1.png";
1559 border: 6 6 6 6;
1560 }
1561 image.middle: SOLID;
1562 }
1563 description { state: "selected" 0.0;
1564 inherit: "default" 0.0;
1565 visible: 1;
1566 color: 255 255 255 255;
1567 rel1 {
1568 relative: 0.0 0.0;
1569 offset: -2 -2;
1570 }
1571 rel2 {
1572 relative: 1.0 1.0;
1573 offset: 1 1;
1574 }
1575 }
1576 }
1577 part { name: "elm.swallow.pad";
1578 type: SWALLOW;
1579 description { state: "default" 0.0;
1580 fixed: 1 0;
1581 align: 0.0 0.5;
1582 rel1 {
1583 relative: 0.0 0.0;
1584 offset: 4 4;
1585 }
1586 rel2 {
1587 relative: 0.0 1.0;
1588 offset: 4 -5;
1589 }
1590 }
1591 }
1592 part { name: "arrow";
1593 clip_to: "disclip";
1594 ignore_flags: ON_HOLD;
1595 description { state: "default" 0.0;
1596 fixed: 1 0;
1597 align: 0.0 0.5;
1598 aspect: 1.0 1.0;
1599 rel1 {
1600 to_x: "elm.swallow.pad";
1601 relative: 1.0 0.0;
1602 offset: -1 4;
1603 }
1604 rel2 {
1605 to_x: "elm.swallow.pad";
1606 relative: 1.0 1.0;
1607 offset: -1 -5;
1608 }
1609 image.normal: "icon_arrow_right.png";
1610 }
1611 description { state: "default" 0.1;
1612 inherit: "default" 0.0;
1613 image.normal: "icon_arrow_left.png";
1614 }
1615 description { state: "active" 0.0;
1616 inherit: "default" 0.0;
1617 image.normal: "icon_arrow_down.png";
1618 }
1619 description { state: "active" 0.1;
1620 inherit: "default" 0.0;
1621 image.normal: "icon_arrow_down.png";
1622 }
1623 }
1624 part { name: "elm.swallow.icon";
1625 clip_to: "disclip";
1626 type: SWALLOW;
1627 description { state: "default" 0.0;
1628 fixed: 1 0;
1629 align: 0.0 0.5;
1630 rel1 {
1631 to_x: "arrow";
1632 relative: 1.0 0.0;
1633 offset: 4 4;
1634 }
1635 rel2 {
1636 to_x: "arrow";
1637 relative: 1.0 1.0;
1638 offset: 4 -5;
1639 }
1640 }
1641 }
1642 part { name: "elm.swallow.end";
1643 clip_to: "disclip";
1644 type: SWALLOW;
1645 description { state: "default" 0.0;
1646 fixed: 1 0;
1647 align: 1.0 0.5;
1648 aspect: 1.0 1.0;
1649 aspect_preference: VERTICAL;
1650 rel1 {
1651 relative: 1.0 0.0;
1652 offset: -5 4;
1653 }
1654 rel2 {
1655 relative: 1.0 1.0;
1656 offset: -5 -5;
1657 }
1658 }
1659 }
1660 part { name: "elm.text";
1661 clip_to: "disclip";
1662 type: TEXT;
1663 effect: SOFT_SHADOW;
1664 mouse_events: 0;
1665 scale: 1;
1666 description {
1667 state: "default" 0.0;
1668 // min: 16 16;
1669 rel1 {
1670 to_x: "elm.swallow.icon";
1671 relative: 1.0 0.0;
1672 offset: 0 4;
1673 }
1674 rel2 {
1675 to_x: "elm.swallow.end";
1676 relative: 0.0 1.0;
1677 offset: -1 -5;
1678 }
1679 color: 0 0 0 255;
1680 color3: 0 0 0 0;
1681 text {
1682 font: "Sans";
1683 size: 10;
1684 // min: 1 1;
1685 min: 0 1;
1686 align: 0.0 0.5;
1687 text_class: "list_item";
1688 }
1689 }
1690 description { state: "selected" 0.0;
1691 inherit: "default" 0.0;
1692 color: 224 224 224 255;
1693 color3: 0 0 0 64;
1694 }
1695 }
1696 part { name: "fg1";
1697 clip_to: "disclip";
1698 mouse_events: 0;
1699 description { state: "default" 0.0;
1700 visible: 0;
1701 color: 255 255 255 0;
1702 rel1.to: "bg";
1703 rel2.relative: 1.0 0.5;
1704 rel2.to: "bg";
1705 image {
1706 normal: "bt_sm_hilight.png";
1707 border: 6 6 6 0;
1708 }
1709 }
1710 description { state: "selected" 0.0;
1711 inherit: "default" 0.0;
1712 visible: 1;
1713 color: 255 255 255 255;
1714 }
1715 }
1716 part { name: "fg2";
1717 clip_to: "disclip";
1718 mouse_events: 0;
1719 description { state: "default" 0.0;
1720 visible: 0;
1721 color: 255 255 255 0;
1722 rel1.to: "bg";
1723 rel2.to: "bg";
1724 image {
1725 normal: "bt_sm_shine.png";
1726 border: 6 6 6 0;
1727 }
1728 }
1729 description { state: "selected" 0.0;
1730 inherit: "default" 0.0;
1731 visible: 1;
1732 color: 255 255 255 255;
1733 }
1734 }
1735 part { name: "disclip";
1736 type: RECT;
1737 description { state: "default" 0.0;
1738 rel1.to: "bg";
1739 rel2.to: "bg";
1740 }
1741 description { state: "disabled" 0.0;
1742 inherit: "default" 0.0;
1743 color: 255 255 255 64;
1744 }
1745 }
1746 }
1747 programs {
1748 // signal: elm,state,%s,active
1749 // a "check" item named %s went active
1750 // signal: elm,state,%s,passive
1751 // a "check" item named %s went passive
1752 // default is passive
1753 program {
1754 name: "odd";
1755 signal: "elm,state,odd";
1756 source: "elm";
1757 action: STATE_SET "default" 1.0;
1758 target: "base_sh";
1759 target: "base";
1760 }
1761 program {
1762 name: "even";
1763 signal: "elm,state,even";
1764 source: "elm";
1765 action: STATE_SET "default" 0.0;
1766 target: "base_sh";
1767 target: "base";
1768 }
1769 program {
1770 name: "go_active";
1771 signal: "elm,state,selected";
1772 source: "elm";
1773 action: STATE_SET "selected" 0.0;
1774 target: "bg";
1775 target: "fg1";
1776 target: "fg2";
1777 target: "elm.text";
1778 }
1779 program {
1780 name: "go_passive";
1781 signal: "elm,state,unselected";
1782 source: "elm";
1783 action: STATE_SET "default" 0.0;
1784 target: "bg";
1785 target: "fg1";
1786 target: "fg2";
1787 target: "elm.text";
1788 transition: LINEAR 0.1;
1789 }
1790 program {
1791 name: "go_disabled";
1792 signal: "elm,state,disabled";
1793 source: "elm";
1794 action: STATE_SET "disabled" 0.0;
1795 target: "disclip";
1796 }
1797 program {
1798 name: "go_enabled";
1799 signal: "elm,state,enabled";
1800 source: "elm";
1801 action: STATE_SET "default" 0.0;
1802 target: "disclip";
1803 }
1804 program {
1805 name: "expand";
1806 signal: "mouse,up,1";
1807 source: "arrow";
1808 action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
1809 }
1810 program {
1811 name: "go_expanded";
1812 signal: "elm,state,expanded";
1813 source: "elm";
1814 script {
1815 new st[31];
1816 new Float:vl;
1817 get_state(PART:"arrow", st, 30, vl);
1818 set_state(PART:"arrow", "active", vl);
1819 }
1820 }
1821 program {
1822 name: "go_contracted";
1823 signal: "elm,state,contracted";
1824 source: "elm";
1825 script {
1826 new st[31];
1827 new Float:vl;
1828 get_state(PART:"arrow", st, 30, vl);
1829 set_state(PART:"arrow", "default", vl);
1830 }
1831 }
1832 program { name: "to_rtl";
1833 signal: "edje,state,rtl";
1834 source: "edje";
1835 script {
1836 new st[31];
1837 new Float:vl;
1838 get_state(PART:"arrow", st, 30, vl);
1839 if (vl == 0.0) {
1840 set_state(PART:"arrow", st, 0.1);
1841 }
1842 }
1843 }
1844 program { name: "to_ltr";
1845 signal: "edje,state,ltr";
1846 source: "edje";
1847 script {
1848 new st[31];
1849 new Float:vl;
1850 get_state(PART:"arrow", st, 30, vl);
1851 if (vl == 0.1) {
1852 set_state(PART:"arrow", st, 0.0);
1853 }
1854 }
1855 }
1856 }
1857}
1858group { name: "elm/genlist/item/default_style/default";
1859 styles
1860 {
1861 style { name: "genlist_style";
1862 base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
1863 tag: "br" "\n";
1864 tag: "ps" "ps";
1865 tag: "hilight" "+ font_weight=Bold";
1866 tag: "b" "+ font_weight=Bold";
1867 tag: "tab" "\t";
1868 }
1869 style { name: "genlist_selected_style";
1870 base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
1871 tag: "br" "\n";
1872 tag: "ps" "ps";
1873 tag: "hilight" "+ font_weight=Bold";
1874 tag: "b" "+ font_weight=Bold";
1875 tag: "tab" "\t";
1876 }
1877 }
1878 data.item: "stacking" "above";
1879 data.item: "selectraise" "on";
1880 data.item: "texts" "elm.text";
1881 data.item: "contents" "elm.swallow.icon elm.swallow.end";
1882 data.item: "treesize" "20";
1883 images {
1884 image: "bt_sm_base1.png" COMP;
1885 image: "bt_sm_shine.png" COMP;
1886 image: "bt_sm_hilight.png" COMP;
1887 image: "ilist_1.png" COMP;
1888 image: "ilist_item_shadow.png" COMP;
1889 }
1890 parts {
1891 part {
1892 name: "event";
1893 type: RECT;
1894 repeat_events: 1;
1895 description {
1896 state: "default" 0.0;
1897 color: 0 0 0 0;
1898 }
1899 }
1900 part {
1901 name: "base_sh";
1902 mouse_events: 0;
1903 description {
1904 state: "default" 0.0;
1905 align: 0.0 0.0;
1906 min: 0 10;
1907 fixed: 1 1;
1908 rel1 {
1909 to: "base";
1910 relative: 0.0 1.0;
1911 offset: 0 0;
1912 }
1913 rel2 {
1914 to: "base";
1915 relative: 1.0 1.0;
1916 offset: -1 0;
1917 }
1918 image {
1919 normal: "ilist_item_shadow.png";
1920 }
1921 fill.smooth: 0;
1922 }
1923 }
1924 part {
1925 name: "base";
1926 mouse_events: 0;
1927 description {
1928 state: "default" 0.0;
1929 min: 16 28;
1930 image {
1931 normal: "ilist_1.png";
1932 border: 2 2 2 2;
1933 }
1934 fill.smooth: 0;
1935 }
1936 }
1937 part { name: "bg";
1938 clip_to: "disclip";
1939 mouse_events: 0;
1940 description { state: "default" 0.0;
1941 visible: 0;
1942 color: 255 255 255 0;
1943 rel1 {
1944 relative: 0.0 0.0;
1945 offset: -5 -5;
1946 }
1947 rel2 {
1948 relative: 1.0 1.0;
1949 offset: 4 4;
1950 }
1951 image {
1952 normal: "bt_sm_base1.png";
1953 border: 6 6 6 6;
1954 }
1955 image.middle: SOLID;
1956 }
1957 description { state: "selected" 0.0;
1958 inherit: "default" 0.0;
1959 visible: 1;
1960 color: 255 255 255 255;
1961 rel1 {
1962 relative: 0.0 0.0;
1963 offset: -2 -2;
1964 }
1965 rel2 {
1966 relative: 1.0 1.0;
1967 offset: 1 1;
1968 }
1969 }
1970 }
1971 part { name: "elm.swallow.pad";
1972 type: SWALLOW;
1973 description { state: "default" 0.0;
1974 fixed: 1 0;
1975 align: 0.0 0.5;
1976 rel1 {
1977 relative: 0.0 0.0;
1978 offset: 4 4;
1979 }
1980 rel2 {
1981 relative: 0.0 1.0;
1982 offset: 4 -5;
1983 }
1984 }
1985 }
1986 part { name: "elm.swallow.icon";
1987 clip_to: "disclip";
1988 type: SWALLOW;
1989 description { state: "default" 0.0;
1990 fixed: 1 0;
1991 align: 0.0 0.5;
1992 rel1 {
1993 to_x: "elm.swallow.pad";
1994 relative: 1.0 0.0;
1995 offset: -1 4;
1996 }
1997 rel2 {
1998 to_x: "elm.swallow.pad";
1999 relative: 1.0 1.0;
2000 offset: -1 -5;
2001 }
2002 }
2003 }
2004 part { name: "elm.swallow.end";
2005 clip_to: "disclip";
2006 type: SWALLOW;
2007 description { state: "default" 0.0;
2008 fixed: 1 0;
2009 align: 1.0 0.5;
2010 aspect: 1.0 1.0;
2011 aspect_preference: VERTICAL;
2012 rel1 {
2013 relative: 1.0 0.0;
2014 offset: -5 4;
2015 }
2016 rel2 {
2017 relative: 1.0 1.0;
2018 offset: -5 -5;
2019 }
2020 }
2021 }
2022 part { name: "elm.text";
2023 clip_to: "disclip";
2024 type: TEXTBLOCK;
2025 mouse_events: 0;
2026 scale: 1;
2027 description {
2028 state: "default" 0.0;
2029 align: 0.0 0.5;
2030 fixed: 0 1;
2031 rel1 {
2032 to_x: "elm.swallow.icon";
2033 to_y: "base";
2034 relative: 1.0 0.5;
2035 offset: 0 4;
2036 }
2037 rel2 {
2038 to_x: "elm.swallow.end";
2039 to_y: "base";
2040 relative: 0.0 0.5;
2041 offset: -1 -5;
2042 }
2043 text {
2044 style: "genlist_style";
2045 min: 1 1;
2046 }
2047 }
2048 description { state: "selected" 0.0;
2049 inherit: "default" 0.0;
2050 text {
2051 style: "genlist_selected_style";
2052 }
2053 }
2054 }
2055 part { name: "fg1";
2056 clip_to: "disclip";
2057 mouse_events: 0;
2058 description { state: "default" 0.0;
2059 visible: 0;
2060 color: 255 255 255 0;
2061 rel1.to: "bg";
2062 rel2.relative: 1.0 0.5;
2063 rel2.to: "bg";
2064 image {
2065 normal: "bt_sm_hilight.png";
2066 border: 6 6 6 0;
2067 }
2068 }
2069 description { state: "selected" 0.0;
2070 inherit: "default" 0.0;
2071 visible: 1;
2072 color: 255 255 255 255;
2073 }
2074 }
2075 part { name: "fg2";
2076 clip_to: "disclip";
2077 mouse_events: 0;
2078 description { state: "default" 0.0;
2079 visible: 0;
2080 color: 255 255 255 0;
2081 rel1.to: "bg";
2082 rel2.to: "bg";
2083 image {
2084 normal: "bt_sm_shine.png";
2085 border: 6 6 6 0;
2086 }
2087 }
2088 description { state: "selected" 0.0;
2089 inherit: "default" 0.0;
2090 visible: 1;
2091 color: 255 255 255 255;
2092 }
2093 }
2094 part { name: "disclip";
2095 type: RECT;
2096 description { state: "default" 0.0;
2097 rel1.to: "bg";
2098 rel2.to: "bg";
2099 }
2100 description { state: "disabled" 0.0;
2101 inherit: "default" 0.0;
2102 color: 255 255 255 64;
2103 }
2104 }
2105 }
2106 programs {
2107 // signal: elm,state,%s,active
2108 // a "check" item named %s went active
2109 // signal: elm,state,%s,passive
2110 // a "check" item named %s went passive
2111 // default is passive
2112 program {
2113 name: "go_active";
2114 signal: "elm,state,selected";
2115 source: "elm";
2116 action: STATE_SET "selected" 0.0;
2117 target: "bg";
2118 target: "fg1";
2119 target: "fg2";
2120 target: "elm.text";
2121 }
2122 program {
2123 name: "go_passive";
2124 signal: "elm,state,unselected";
2125 source: "elm";
2126 action: STATE_SET "default" 0.0;
2127 target: "bg";
2128 target: "fg1";
2129 target: "fg2";
2130 target: "elm.text";
2131 transition: LINEAR 0.1;
2132 }
2133 program {
2134 name: "go_disabled";
2135 signal: "elm,state,disabled";
2136 source: "elm";
2137 action: STATE_SET "disabled" 0.0;
2138 target: "disclip";
2139 }
2140 program {
2141 name: "go_enabled";
2142 signal: "elm,state,enabled";
2143 source: "elm";
2144 action: STATE_SET "default" 0.0;
2145 target: "disclip";
2146 }
2147 }
2148}
2149group { name: "elm/genlist/item_odd/default_style/default";
2150 data.item: "stacking" "below";
2151 data.item: "selectraise" "on";
2152 data.item: "texts" "elm.text";
2153 data.item: "contents" "elm.swallow.icon elm.swallow.end";
2154 data.item: "treesize" "20";
2155 images {
2156 image: "bt_sm_base1.png" COMP;
2157 image: "bt_sm_shine.png" COMP;
2158 image: "bt_sm_hilight.png" COMP;
2159 image: "ilist_2.png" COMP;
2160 }
2161 parts {
2162 part { name: "event";
2163 type: RECT;
2164 repeat_events: 1;
2165 description {
2166 state: "default" 0.0;
2167 color: 0 0 0 0;
2168 }
2169 }
2170 part {
2171 name: "base";
2172 mouse_events: 0;
2173 description {
2174 state: "default" 0.0;
2175 min: 16 28;
2176 image {
2177 normal: "ilist_2.png";
2178 border: 2 2 2 2;
2179 }
2180 fill.smooth: 0;
2181 }
2182 }
2183 part { name: "bg";
2184 clip_to: "disclip";
2185 mouse_events: 0;
2186 description { state: "default" 0.0;
2187 visible: 0;
2188 color: 255 255 255 0;
2189 rel1 {
2190 relative: 0.0 0.0;
2191 offset: -5 -5;
2192 }
2193 rel2 {
2194 relative: 1.0 1.0;
2195 offset: 4 4;
2196 }
2197 image {
2198 normal: "bt_sm_base1.png";
2199 border: 6 6 6 6;
2200 }
2201 image.middle: SOLID;
2202 }
2203 description { state: "selected" 0.0;
2204 inherit: "default" 0.0;
2205 visible: 1;
2206 color: 255 255 255 255;
2207 rel1 {
2208 relative: 0.0 0.0;
2209 offset: -2 -2;
2210 }
2211 rel2 {
2212 relative: 1.0 1.0;
2213 offset: 1 1;
2214 }
2215 }
2216 }
2217 part { name: "elm.swallow.pad";
2218 type: SWALLOW;
2219 description { state: "default" 0.0;
2220 fixed: 1 0;
2221 align: 0.0 0.5;
2222 rel1 {
2223 relative: 0.0 0.0;
2224 offset: 4 4;
2225 }
2226 rel2 {
2227 relative: 0.0 1.0;
2228 offset: 4 -5;
2229 }
2230 }
2231 }
2232 part { name: "elm.swallow.icon";
2233 clip_to: "disclip";
2234 type: SWALLOW;
2235 description { state: "default" 0.0;
2236 fixed: 1 0;
2237 align: 0.0 0.5;
2238 rel1 {
2239 to_x: "elm.swallow.pad";
2240 relative: 1.0 0.0;
2241 offset: -1 4;
2242 }
2243 rel2 {
2244 to_x: "elm.swallow.pad";
2245 relative: 1.0 1.0;
2246 offset: -1 -5;
2247 }
2248 }
2249 }
2250 part { name: "elm.swallow.end";
2251 clip_to: "disclip";
2252 type: SWALLOW;
2253 description { state: "default" 0.0;
2254 fixed: 1 0;
2255 align: 1.0 0.5;
2256 aspect: 1.0 1.0;
2257 aspect_preference: VERTICAL;
2258 rel1 {
2259 relative: 1.0 0.0;
2260 offset: -5 4;
2261 }
2262 rel2 {
2263 relative: 1.0 1.0;
2264 offset: -5 -5;
2265 }
2266 }
2267 }
2268 part { name: "elm.text";
2269 clip_to: "disclip";
2270 type: TEXTBLOCK;
2271 mouse_events: 0;
2272 scale: 1;
2273 description {
2274 state: "default" 0.0;
2275 align: 0.0 0.5;
2276 fixed: 0 1;
2277 rel1 {
2278 to_x: "elm.swallow.icon";
2279 to_y: "base";
2280 relative: 1.0 0.5;
2281 offset: 0 4;
2282 }
2283 rel2 {
2284 to_x: "elm.swallow.end";
2285 to_y: "base";
2286 relative: 0.0 0.5;
2287 offset: -1 -5;
2288 }
2289 text {
2290 style: "genlist_style";
2291 min: 1 1;
2292 }
2293 }
2294 description { state: "selected" 0.0;
2295 inherit: "default" 0.0;
2296 text {
2297 style: "genlist_selected_style";
2298 }
2299 }
2300 }
2301 part { name: "fg1";
2302 clip_to: "disclip";
2303 mouse_events: 0;
2304 description { state: "default" 0.0;
2305 visible: 0;
2306 color: 255 255 255 0;
2307 rel1.to: "bg";
2308 rel2.relative: 1.0 0.5;
2309 rel2.to: "bg";
2310 image {
2311 normal: "bt_sm_hilight.png";
2312 border: 6 6 6 0;
2313 }
2314 }
2315 description { state: "selected" 0.0;
2316 inherit: "default" 0.0;
2317 visible: 1;
2318 color: 255 255 255 255;
2319 }
2320 }
2321 part { name: "fg2";
2322 clip_to: "disclip";
2323 mouse_events: 0;
2324 description { state: "default" 0.0;
2325 visible: 0;
2326 color: 255 255 255 0;
2327 rel1.to: "bg";
2328 rel2.to: "bg";
2329 image {
2330 normal: "bt_sm_shine.png";
2331 border: 6 6 6 0;
2332 }
2333 }
2334 description { state: "selected" 0.0;
2335 inherit: "default" 0.0;
2336 visible: 1;
2337 color: 255 255 255 255;
2338 }
2339 }
2340 part { name: "disclip";
2341 type: RECT;
2342 description { state: "default" 0.0;
2343 rel1.to: "bg";
2344 rel2.to: "bg";
2345 }
2346 description { state: "disabled" 0.0;
2347 inherit: "default" 0.0;
2348 color: 255 255 255 64;
2349 }
2350 }
2351 }
2352 programs {
2353 // signal: elm,state,%s,active
2354 // a "check" item named %s went active
2355 // signal: elm,state,%s,passive
2356 // a "check" item named %s went passive
2357 // default is passive
2358 program {
2359 name: "go_active";
2360 signal: "elm,state,selected";
2361 source: "elm";
2362 action: STATE_SET "selected" 0.0;
2363 target: "bg";
2364 target: "fg1";
2365 target: "fg2";
2366 target: "elm.text";
2367 }
2368 program {
2369 name: "go_passive";
2370 signal: "elm,state,unselected";
2371 source: "elm";
2372 action: STATE_SET "default" 0.0;
2373 target: "bg";
2374 target: "fg1";
2375 target: "fg2";
2376 target: "elm.text";
2377 transition: LINEAR 0.1;
2378 }
2379 program {
2380 name: "go_disabled";
2381 signal: "elm,state,disabled";
2382 source: "elm";
2383 action: STATE_SET "disabled" 0.0;
2384 target: "disclip";
2385 }
2386 program {
2387 name: "go_enabled";
2388 signal: "elm,state,enabled";
2389 source: "elm";
2390 action: STATE_SET "default" 0.0;
2391 target: "disclip";
2392 }
2393 }
2394}
2395
2396group { name: "elm/genlist/tree/default_style/default";
2397 data.item: "stacking" "above";
2398 data.item: "selectraise" "on";
2399 data.item: "texts" "elm.text";
2400 data.item: "contents" "elm.swallow.icon elm.swallow.end";
2401 data.item: "treesize" "20";
2402 images {
2403 image: "bt_sm_base1.png" COMP;
2404 image: "bt_sm_shine.png" COMP;
2405 image: "bt_sm_hilight.png" COMP;
2406 image: "ilist_1.png" COMP;
2407 image: "ilist_item_shadow.png" COMP;
2408 image: "icon_arrow_right.png" COMP;
2409 image: "icon_arrow_down.png" COMP;
2410 }
2411 parts {
2412 part {
2413 name: "event";
2414 type: RECT;
2415 repeat_events: 1;
2416 description {
2417 state: "default" 0.0;
2418 color: 0 0 0 0;
2419 }
2420 }
2421 part {
2422 name: "base_sh";
2423 mouse_events: 0;
2424 description {
2425 state: "default" 0.0;
2426 align: 0.0 0.0;
2427 min: 0 10;
2428 fixed: 1 1;
2429 rel1 {
2430 to: "base";
2431 relative: 0.0 1.0;
2432 offset: 0 0;
2433 }
2434 rel2 {
2435 to: "base";
2436 relative: 1.0 1.0;
2437 offset: -1 0;
2438 }
2439 image {
2440 normal: "ilist_item_shadow.png";
2441 }
2442 fill.smooth: 0;
2443 }
2444 }
2445 part {
2446 name: "base";
2447 mouse_events: 0;
2448 description {
2449 state: "default" 0.0;
2450 min: 16 28;
2451 image {
2452 normal: "ilist_1.png";
2453 border: 2 2 2 2;
2454 }
2455 fill.smooth: 0;
2456 }
2457 }
2458 part { name: "bg";
2459 clip_to: "disclip";
2460 mouse_events: 0;
2461 description { state: "default" 0.0;
2462 visible: 0;
2463 color: 255 255 255 0;
2464 rel1 {
2465 relative: 0.0 0.0;
2466 offset: -5 -5;
2467 }
2468 rel2 {
2469 relative: 1.0 1.0;
2470 offset: 4 4;
2471 }
2472 image {
2473 normal: "bt_sm_base1.png";
2474 border: 6 6 6 6;
2475 }
2476 image.middle: SOLID;
2477 }
2478 description { state: "selected" 0.0;
2479 inherit: "default" 0.0;
2480 visible: 1;
2481 color: 255 255 255 255;
2482 rel1 {
2483 relative: 0.0 0.0;
2484 offset: -2 -2;
2485 }
2486 rel2 {
2487 relative: 1.0 1.0;
2488 offset: 1 1;
2489 }
2490 }
2491 }
2492 part { name: "elm.swallow.pad";
2493 type: SWALLOW;
2494 description { state: "default" 0.0;
2495 fixed: 1 0;
2496 align: 0.0 0.5;
2497 rel1 {
2498 relative: 0.0 0.0;
2499 offset: 4 4;
2500 }
2501 rel2 {
2502 relative: 0.0 1.0;
2503 offset: 4 -5;
2504 }
2505 }
2506 }
2507 part { name: "arrow";
2508 clip_to: "disclip";
2509 ignore_flags: ON_HOLD;
2510 description { state: "default" 0.0;
2511 fixed: 1 0;
2512 align: 0.0 0.5;
2513 aspect: 1.0 1.0;
2514 rel1 {
2515 to_x: "elm.swallow.pad";
2516 relative: 1.0 0.0;
2517 offset: -1 4;
2518 }
2519 rel2 {
2520 to_x: "elm.swallow.pad";
2521 relative: 1.0 1.0;
2522 offset: -1 -5;
2523 }
2524 image.normal: "icon_arrow_right.png";
2525 }
2526 description { state: "active" 0.0;
2527 inherit: "default" 0.0;
2528 image.normal: "icon_arrow_down.png";
2529 }
2530 }
2531 part { name: "elm.swallow.icon";
2532 clip_to: "disclip";
2533 type: SWALLOW;
2534 description { state: "default" 0.0;
2535 fixed: 1 0;
2536 align: 0.0 0.5;
2537 rel1 {
2538 to_x: "arrow";
2539 relative: 1.0 0.0;
2540 offset: 4 4;
2541 }
2542 rel2 {
2543 to_x: "arrow";
2544 relative: 1.0 1.0;
2545 offset: 4 -5;
2546 }
2547 }
2548 }
2549 part { name: "elm.swallow.end";
2550 clip_to: "disclip";
2551 type: SWALLOW;
2552 description { state: "default" 0.0;
2553 fixed: 1 0;
2554 align: 1.0 0.5;
2555 aspect: 1.0 1.0;
2556 aspect_preference: VERTICAL;
2557 rel1 {
2558 relative: 1.0 0.0;
2559 offset: -5 4;
2560 }
2561 rel2 {
2562 relative: 1.0 1.0;
2563 offset: -5 -5;
2564 }
2565 }
2566 }
2567 part { name: "elm.text";
2568 clip_to: "disclip";
2569 type: TEXTBLOCK;
2570 effect: SOFT_SHADOW;
2571 mouse_events: 0;
2572 scale: 1;
2573 description {
2574 state: "default" 0.0;
2575 align: 0.0 0.5;
2576 fixed: 0 1;
2577 rel1 {
2578 to_x: "elm.swallow.icon";
2579 to_y: "base";
2580 relative: 1.0 0.5;
2581 offset: 0 4;
2582 }
2583 rel2 {
2584 to_x: "elm.swallow.end";
2585 to_y: "base";
2586 relative: 0.0 0.5;
2587 offset: -1 -5;
2588 }
2589 text {
2590 style: "genlist_style";
2591 min: 1 1;
2592 }
2593 }
2594 description { state: "selected" 0.0;
2595 inherit: "default" 0.0;
2596 text {
2597 style: "genlist_selected_style";
2598 }
2599 }
2600 }
2601 part { name: "fg1";
2602 clip_to: "disclip";
2603 mouse_events: 0;
2604 description { state: "default" 0.0;
2605 visible: 0;
2606 color: 255 255 255 0;
2607 rel1.to: "bg";
2608 rel2.relative: 1.0 0.5;
2609 rel2.to: "bg";
2610 image {
2611 normal: "bt_sm_hilight.png";
2612 border: 6 6 6 0;
2613 }
2614 }
2615 description { state: "selected" 0.0;
2616 inherit: "default" 0.0;
2617 visible: 1;
2618 color: 255 255 255 255;
2619 }
2620 }
2621 part { name: "fg2";
2622 clip_to: "disclip";
2623 mouse_events: 0;
2624 description { state: "default" 0.0;
2625 visible: 0;
2626 color: 255 255 255 0;
2627 rel1.to: "bg";
2628 rel2.to: "bg";
2629 image {
2630 normal: "bt_sm_shine.png";
2631 border: 6 6 6 0;
2632 }
2633 }
2634 description { state: "selected" 0.0;
2635 inherit: "default" 0.0;
2636 visible: 1;
2637 color: 255 255 255 255;
2638 }
2639 }
2640 part { name: "disclip";
2641 type: RECT;
2642 description { state: "default" 0.0;
2643 rel1.to: "bg";
2644 rel2.to: "bg";
2645 }
2646 description { state: "disabled" 0.0;
2647 inherit: "default" 0.0;
2648 color: 255 255 255 64;
2649 }
2650 }
2651 }
2652 programs {
2653 // signal: elm,state,%s,active
2654 // a "check" item named %s went active
2655 // signal: elm,state,%s,passive
2656 // a "check" item named %s went passive
2657 // default is passive
2658 program {
2659 name: "go_active";
2660 signal: "elm,state,selected";
2661 source: "elm";
2662 action: STATE_SET "selected" 0.0;
2663 target: "bg";
2664 target: "fg1";
2665 target: "fg2";
2666 target: "elm.text";
2667 }
2668 program {
2669 name: "go_passive";
2670 signal: "elm,state,unselected";
2671 source: "elm";
2672 action: STATE_SET "default" 0.0;
2673 target: "bg";
2674 target: "fg1";
2675 target: "fg2";
2676 target: "elm.text";
2677 transition: LINEAR 0.1;
2678 }
2679 program {
2680 name: "go_disabled";
2681 signal: "elm,state,disabled";
2682 source: "elm";
2683 action: STATE_SET "disabled" 0.0;
2684 target: "disclip";
2685 }
2686 program {
2687 name: "go_enabled";
2688 signal: "elm,state,enabled";
2689 source: "elm";
2690 action: STATE_SET "default" 0.0;
2691 target: "disclip";
2692 }
2693 program {
2694 name: "expand";
2695 signal: "mouse,up,1";
2696 source: "arrow";
2697 action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
2698 }
2699 program {
2700 name: "go_expanded";
2701 signal: "elm,state,expanded";
2702 source: "elm";
2703 action: STATE_SET "active" 0.0;
2704 target: "arrow";
2705 }
2706 program {
2707 name: "go_contracted";
2708 signal: "elm,state,contracted";
2709 source: "elm";
2710 action: STATE_SET "default" 0.0;
2711 target: "arrow";
2712 }
2713 }
2714}
2715group { name: "elm/genlist/tree_odd/default_style/default";
2716 data.item: "stacking" "below";
2717 data.item: "selectraise" "on";
2718 data.item: "texts" "elm.text";
2719 data.item: "contents" "elm.swallow.icon elm.swallow.end";
2720 data.item: "treesize" "20";
2721 images {
2722 image: "bt_sm_base1.png" COMP;
2723 image: "bt_sm_shine.png" COMP;
2724 image: "bt_sm_hilight.png" COMP;
2725 image: "ilist_2.png" COMP;
2726 image: "icon_arrow_right.png" COMP;
2727 image: "icon_arrow_down.png" COMP;
2728 }
2729 parts {
2730 part {
2731 name: "event";
2732 type: RECT;
2733 repeat_events: 1;
2734 description {
2735 state: "default" 0.0;
2736 color: 0 0 0 0;
2737 }
2738 }
2739 part {
2740 name: "base";
2741 mouse_events: 0;
2742 description {
2743 state: "default" 0.0;
2744 min: 16 28;
2745 image {
2746 normal: "ilist_2.png";
2747 border: 2 2 2 2;
2748 }
2749 fill.smooth: 0;
2750 }
2751 }
2752 part { name: "bg";
2753 clip_to: "disclip";
2754 mouse_events: 0;
2755 description { state: "default" 0.0;
2756 visible: 0;
2757 color: 255 255 255 0;
2758 rel1 {
2759 relative: 0.0 0.0;
2760 offset: -5 -5;
2761 }
2762 rel2 {
2763 relative: 1.0 1.0;
2764 offset: 4 4;
2765 }
2766 image {
2767 normal: "bt_sm_base1.png";
2768 border: 6 6 6 6;
2769 }
2770 image.middle: SOLID;
2771 }
2772 description { state: "selected" 0.0;
2773 inherit: "default" 0.0;
2774 visible: 1;
2775 color: 255 255 255 255;
2776 rel1 {
2777 relative: 0.0 0.0;
2778 offset: -2 -2;
2779 }
2780 rel2 {
2781 relative: 1.0 1.0;
2782 offset: 1 1;
2783 }
2784 }
2785 }
2786 part { name: "elm.swallow.pad";
2787 type: SWALLOW;
2788 description { state: "default" 0.0;
2789 fixed: 1 0;
2790 align: 0.0 0.5;
2791 rel1 {
2792 relative: 0.0 0.0;
2793 offset: 4 4;
2794 }
2795 rel2 {
2796 relative: 0.0 1.0;
2797 offset: 4 -5;
2798 }
2799 }
2800 }
2801 part { name: "arrow";
2802 clip_to: "disclip";
2803 ignore_flags: ON_HOLD;
2804 description { state: "default" 0.0;
2805 fixed: 1 0;
2806 align: 0.0 0.5;
2807 aspect: 1.0 1.0;
2808 rel1 {
2809 to_x: "elm.swallow.pad";
2810 relative: 1.0 0.0;
2811 offset: -1 4;
2812 }
2813 rel2 {
2814 to_x: "elm.swallow.pad";
2815 relative: 1.0 1.0;
2816 offset: -1 -5;
2817 }
2818 image.normal: "icon_arrow_right.png";
2819 }
2820 description { state: "active" 0.0;
2821 inherit: "default" 0.0;
2822 image.normal: "icon_arrow_down.png";
2823 }
2824 }
2825 part { name: "elm.swallow.icon";
2826 clip_to: "disclip";
2827 type: SWALLOW;
2828 description { state: "default" 0.0;
2829 fixed: 1 0;
2830 align: 0.0 0.5;
2831 rel1 {
2832 to_x: "arrow";
2833 relative: 1.0 0.0;
2834 offset: 4 4;
2835 }
2836 rel2 {
2837 to_x: "arrow";
2838 relative: 1.0 1.0;
2839 offset: 4 -5;
2840 }
2841 }
2842 }
2843 part { name: "elm.swallow.end";
2844 clip_to: "disclip";
2845 type: SWALLOW;
2846 description { state: "default" 0.0;
2847 fixed: 1 0;
2848 align: 1.0 0.5;
2849 aspect: 1.0 1.0;
2850 aspect_preference: VERTICAL;
2851 rel1 {
2852 relative: 1.0 0.0;
2853 offset: -5 4;
2854 }
2855 rel2 {
2856 relative: 1.0 1.0;
2857 offset: -5 -5;
2858 }
2859 }
2860 }
2861 part { name: "elm.text";
2862 clip_to: "disclip";
2863 type: TEXTBLOCK;
2864 effect: SOFT_SHADOW;
2865 mouse_events: 0;
2866 scale: 1;
2867 description {
2868 state: "default" 0.0;
2869 align: 0.0 0.5;
2870 fixed: 0 1;
2871 rel1 {
2872 to_x: "elm.swallow.icon";
2873 to_y: "base";
2874 relative: 1.0 0.5;
2875 offset: 0 4;
2876 }
2877 rel2 {
2878 to_x: "elm.swallow.end";
2879 to_y: "base";
2880 relative: 0.0 0.5;
2881 offset: -1 -5;
2882 }
2883 text {
2884 style: "genlist_style";
2885 min: 1 1;
2886 }
2887 }
2888 description { state: "selected" 0.0;
2889 inherit: "default" 0.0;
2890 text {
2891 style: "genlist_selected_style";
2892 }
2893 }
2894 }
2895 part { name: "fg1";
2896 clip_to: "disclip";
2897 mouse_events: 0;
2898 description { state: "default" 0.0;
2899 visible: 0;
2900 color: 255 255 255 0;
2901 rel1.to: "bg";
2902 rel2.relative: 1.0 0.5;
2903 rel2.to: "bg";
2904 image {
2905 normal: "bt_sm_hilight.png";
2906 border: 6 6 6 0;
2907 }
2908 }
2909 description { state: "selected" 0.0;
2910 inherit: "default" 0.0;
2911 visible: 1;
2912 color: 255 255 255 255;
2913 }
2914 }
2915 part { name: "fg2";
2916 clip_to: "disclip";
2917 mouse_events: 0;
2918 description { state: "default" 0.0;
2919 visible: 0;
2920 color: 255 255 255 0;
2921 rel1.to: "bg";
2922 rel2.to: "bg";
2923 image {
2924 normal: "bt_sm_shine.png";
2925 border: 6 6 6 0;
2926 }
2927 }
2928 description { state: "selected" 0.0;
2929 inherit: "default" 0.0;
2930 visible: 1;
2931 color: 255 255 255 255;
2932 }
2933 }
2934 part { name: "disclip";
2935 type: RECT;
2936 description { state: "default" 0.0;
2937 rel1.to: "bg";
2938 rel2.to: "bg";
2939 }
2940 description { state: "disabled" 0.0;
2941 inherit: "default" 0.0;
2942 color: 255 255 255 64;
2943 }
2944 }
2945 }
2946 programs {
2947 // signal: elm,state,%s,active
2948 // a "check" item named %s went active
2949 // signal: elm,state,%s,passive
2950 // a "check" item named %s went passive
2951 // default is passive
2952 program {
2953 name: "go_active";
2954 signal: "elm,state,selected";
2955 source: "elm";
2956 action: STATE_SET "selected" 0.0;
2957 target: "bg";
2958 target: "fg1";
2959 target: "fg2";
2960 target: "elm.text";
2961 }
2962 program {
2963 name: "go_passive";
2964 signal: "elm,state,unselected";
2965 source: "elm";
2966 action: STATE_SET "default" 0.0;
2967 target: "bg";
2968 target: "fg1";
2969 target: "fg2";
2970 target: "elm.text";
2971 transition: LINEAR 0.1;
2972 }
2973 program {
2974 name: "go_disabled";
2975 signal: "elm,state,disabled";
2976 source: "elm";
2977 action: STATE_SET "disabled" 0.0;
2978 target: "disclip";
2979 }
2980 program {
2981 name: "go_enabled";
2982 signal: "elm,state,enabled";
2983 source: "elm";
2984 action: STATE_SET "default" 0.0;
2985 target: "disclip";
2986 }
2987 program {
2988 name: "expand";
2989 signal: "mouse,up,1";
2990 source: "arrow";
2991 action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
2992 }
2993 program {
2994 name: "go_expanded";
2995 signal: "elm,state,expanded";
2996 source: "elm";
2997 action: STATE_SET "active" 0.0;
2998 target: "arrow";
2999 }
3000 program {
3001 name: "go_contracted";
3002 signal: "elm,state,contracted";
3003 source: "elm";
3004 action: STATE_SET "default" 0.0;
3005 target: "arrow";
3006 }
3007 }
3008}
3009
3010
3011group { name: "elm/genlist/item/double_label/default";
3012 data.item: "stacking" "above";
3013 data.item: "selectraise" "on";
3014 data.item: "texts" "elm.text elm.text.sub";
3015 data.item: "contents" "elm.swallow.icon elm.swallow.end";
3016 data.item: "treesize" "20";
3017 // data.item: "states" "";
3018 images {
3019 image: "bt_sm_base1.png" COMP;
3020 image: "bt_sm_shine.png" COMP;
3021 image: "bt_sm_hilight.png" COMP;
3022 image: "ilist_1.png" COMP;
3023 image: "ilist_item_shadow.png" COMP;
3024 }
3025 parts {
3026 part {
3027 name: "event";
3028 type: RECT;
3029 repeat_events: 1;
3030 description {
3031 state: "default" 0.0;
3032 color: 0 0 0 0;
3033 }
3034 }
3035 part {
3036 name: "base_sh";
3037 mouse_events: 0;
3038 description {
3039 state: "default" 0.0;
3040 align: 0.0 0.0;
3041 min: 0 10;
3042 fixed: 1 1;
3043 rel1 {
3044 to: "base";
3045 relative: 0.0 1.0;
3046 offset: 0 0;
3047 }
3048 rel2 {
3049 to: "base";
3050 relative: 1.0 1.0;
3051 offset: -1 0;
3052 }
3053 image {
3054 normal: "ilist_item_shadow.png";
3055 }
3056 fill.smooth: 0;
3057 }
3058 }
3059 part {
3060 name: "base";
3061 mouse_events: 0;
3062 description {
3063 state: "default" 0.0;
3064 image {
3065 normal: "ilist_1.png";
3066 border: 2 2 2 2;
3067 }
3068 fill.smooth: 0;
3069 }
3070 }
3071 part { name: "bg";
3072 clip_to: "disclip";
3073 mouse_events: 0;
3074 description { state: "default" 0.0;
3075 visible: 0;
3076 color: 255 255 255 0;
3077 rel1 {
3078 relative: 0.0 0.0;
3079 offset: -5 -5;
3080 }
3081 rel2 {
3082 relative: 1.0 1.0;
3083 offset: 4 4;
3084 }
3085 image {
3086 normal: "bt_sm_base1.png";
3087 border: 6 6 6 6;
3088 }
3089 image.middle: SOLID;
3090 }
3091 description { state: "selected" 0.0;
3092 inherit: "default" 0.0;
3093 visible: 1;
3094 color: 255 255 255 255;
3095 rel1 {
3096 relative: 0.0 0.0;
3097 offset: -2 -2;
3098 }
3099 rel2 {
3100 relative: 1.0 1.0;
3101 offset: 1 1;
3102 }
3103 }
3104 }
3105 part { name: "elm.swallow.pad";
3106 type: SWALLOW;
3107 description { state: "default" 0.0;
3108 fixed: 1 0;
3109 align: 0.0 0.5;
3110 rel1 {
3111 relative: 0.0 0.0;
3112 offset: 4 4;
3113 }
3114 rel2 {
3115 relative: 0.0 1.0;
3116 offset: 4 -5;
3117 }
3118 }
3119 }
3120 part { name: "elm.swallow.icon";
3121 clip_to: "disclip";
3122 type: SWALLOW;
3123 description { state: "default" 0.0;
3124 fixed: 1 0;
3125 align: 0.0 0.5;
3126 rel1 {
3127 to_x: "elm.swallow.pad";
3128 relative: 1.0 0.0;
3129 offset: -1 4;
3130 }
3131 rel2 {
3132 to_x: "elm.swallow.pad";
3133 relative: 1.0 1.0;
3134 offset: -1 -5;
3135 }
3136 }
3137 }
3138 part { name: "elm.swallow.end";
3139 clip_to: "disclip";
3140 type: SWALLOW;
3141 description { state: "default" 0.0;
3142 fixed: 1 0;
3143 align: 1.0 0.5;
3144 aspect: 1.0 1.0;
3145 aspect_preference: VERTICAL;
3146 rel1 {
3147 relative: 1.0 0.0;
3148 offset: -5 4;
3149 }
3150 rel2 {
3151 relative: 1.0 1.0;
3152 offset: -5 -5;
3153 }
3154 }
3155 }
3156 part { name: "elm.text";
3157 clip_to: "disclip";
3158 type: TEXT;
3159 effect: SOFT_SHADOW;
3160 mouse_events: 0;
3161 scale: 1;
3162 description {
3163 state: "default" 0.0;
3164 // min: 16 16;
3165 rel1 {
3166 to_x: "elm.swallow.icon";
3167 relative: 1.0 0.0;
3168 offset: 0 4;
3169 }
3170 rel2 {
3171 to_x: "elm.swallow.end";
3172 relative: 0.0 0.5;
3173 offset: -1 -5;
3174 }
3175 color: 0 0 0 255;
3176 color3: 0 0 0 0;
3177 text {
3178 font: "Sans";
3179 size: 10;
3180 min: 1 1;
3181 // min: 0 1;
3182 align: 0.0 0.5;
3183 text_class: "list_item";
3184 }
3185 }
3186 description { state: "selected" 0.0;
3187 inherit: "default" 0.0;
3188 color: 224 224 224 255;
3189 color3: 0 0 0 64;
3190 }
3191 }
3192 part { name: "elm.text.sub";
3193 clip_to: "disclip";
3194 type: TEXT;
3195 mouse_events: 0;
3196 scale: 1;
3197 description {
3198 state: "default" 0.0;
3199 // min: 16 16;
3200 rel1 {
3201 to_x: "elm.swallow.icon";
3202 relative: 1.0 0.5;
3203 offset: 0 4;
3204 }
3205 rel2 {
3206 to_x: "elm.swallow.end";
3207 relative: 0.0 1.0;
3208 offset: -1 -5;
3209 }
3210 color: 0 0 0 128;
3211 color3: 0 0 0 0;
3212 text {
3213 font: "Sans";
3214 size: 8;
3215 min: 1 1;
3216 // min: 0 1;
3217 align: 0.0 0.5;
3218 text_class: "list_item";
3219 }
3220 }
3221 description { state: "selected" 0.0;
3222 inherit: "default" 0.0;
3223 color: 128 128 128 255;
3224 color3: 0 0 0 32;
3225 }
3226 }
3227 part { name: "fg1";
3228 clip_to: "disclip";
3229 mouse_events: 0;
3230 description { state: "default" 0.0;
3231 visible: 0;
3232 color: 255 255 255 0;
3233 rel1.to: "bg";
3234 rel2.relative: 1.0 0.5;
3235 rel2.to: "bg";
3236 image {
3237 normal: "bt_sm_hilight.png";
3238 border: 6 6 6 0;
3239 }
3240 }
3241 description { state: "selected" 0.0;
3242 inherit: "default" 0.0;
3243 visible: 1;
3244 color: 255 255 255 255;
3245 }
3246 }
3247 part { name: "fg2";
3248 clip_to: "disclip";
3249 mouse_events: 0;
3250 description { state: "default" 0.0;
3251 visible: 0;
3252 color: 255 255 255 0;
3253 rel1.to: "bg";
3254 rel2.to: "bg";
3255 image {
3256 normal: "bt_sm_shine.png";
3257 border: 6 6 6 0;
3258 }
3259 }
3260 description { state: "selected" 0.0;
3261 inherit: "default" 0.0;
3262 visible: 1;
3263 color: 255 255 255 255;
3264 }
3265 }
3266 part { name: "disclip";
3267 type: RECT;
3268 description { state: "default" 0.0;
3269 rel1.to: "bg";
3270 rel2.to: "bg";
3271 }
3272 description { state: "disabled" 0.0;
3273 inherit: "default" 0.0;
3274 color: 255 255 255 64;
3275 }
3276 }
3277 }
3278 programs {
3279 // signal: elm,state,%s,active
3280 // a "check" item named %s went active
3281 // signal: elm,state,%s,passive
3282 // a "check" item named %s went passive
3283 // default is passive
3284 program {
3285 name: "go_active";
3286 signal: "elm,state,selected";
3287 source: "elm";
3288 action: STATE_SET "selected" 0.0;
3289 target: "bg";
3290 target: "fg1";
3291 target: "fg2";
3292 target: "elm.text";
3293 target: "elm.text.sub";
3294 }
3295 program {
3296 name: "go_passive";
3297 signal: "elm,state,unselected";
3298 source: "elm";
3299 action: STATE_SET "default" 0.0;
3300 target: "bg";
3301 target: "fg1";
3302 target: "fg2";
3303 target: "elm.text";
3304 target: "elm.text.sub";
3305 transition: LINEAR 0.1;
3306 }
3307 program {
3308 name: "go_disabled";
3309 signal: "elm,state,disabled";
3310 source: "elm";
3311 action: STATE_SET "disabled" 0.0;
3312 target: "disclip";
3313 }
3314 program {
3315 name: "go_enabled";
3316 signal: "elm,state,enabled";
3317 source: "elm";
3318 action: STATE_SET "default" 0.0;
3319 target: "disclip";
3320 }
3321 }
3322}
3323group { name: "elm/genlist/item_compress/double_label/default";
3324 data.item: "stacking" "above";
3325 data.item: "selectraise" "on";
3326 data.item: "texts" "elm.text elm.text.sub";
3327 data.item: "contents" "elm.swallow.icon elm.swallow.end";
3328 data.item: "treesize" "20";
3329 // data.item: "states" "";
3330 images {
3331 image: "bt_sm_base1.png" COMP;
3332 image: "bt_sm_shine.png" COMP;
3333 image: "bt_sm_hilight.png" COMP;
3334 image: "ilist_1.png" COMP;
3335 image: "ilist_item_shadow.png" COMP;
3336 }
3337 parts {
3338 part {
3339 name: "event";
3340 type: RECT;
3341 repeat_events: 1;
3342 description {
3343 state: "default" 0.0;
3344 color: 0 0 0 0;
3345 }
3346 }
3347 part {
3348 name: "base_sh";
3349 mouse_events: 0;
3350 description {
3351 state: "default" 0.0;
3352 align: 0.0 0.0;
3353 min: 0 10;
3354 fixed: 1 1;
3355 rel1 {
3356 to: "base";
3357 relative: 0.0 1.0;
3358 offset: 0 0;
3359 }
3360 rel2 {
3361 to: "base";
3362 relative: 1.0 1.0;
3363 offset: -1 0;
3364 }
3365 image {
3366 normal: "ilist_item_shadow.png";
3367 }
3368 fill.smooth: 0;
3369 }
3370 }
3371 part {
3372 name: "base";
3373 mouse_events: 0;
3374 description {
3375 state: "default" 0.0;
3376 image {
3377 normal: "ilist_1.png";
3378 border: 2 2 2 2;
3379 }
3380 fill.smooth: 0;
3381 }
3382 }
3383 part { name: "bg";
3384 clip_to: "disclip";
3385 mouse_events: 0;
3386 description { state: "default" 0.0;
3387 visible: 0;
3388 color: 255 255 255 0;
3389 rel1 {
3390 relative: 0.0 0.0;
3391 offset: -5 -5;
3392 }
3393 rel2 {
3394 relative: 1.0 1.0;
3395 offset: 4 4;
3396 }
3397 image {
3398 normal: "bt_sm_base1.png";
3399 border: 6 6 6 6;
3400 }
3401 image.middle: SOLID;
3402 }
3403 description { state: "selected" 0.0;
3404 inherit: "default" 0.0;
3405 visible: 1;
3406 color: 255 255 255 255;
3407 rel1 {
3408 relative: 0.0 0.0;
3409 offset: -2 -2;
3410 }
3411 rel2 {
3412 relative: 1.0 1.0;
3413 offset: 1 1;
3414 }
3415 }
3416 }
3417 part { name: "elm.swallow.pad";
3418 type: SWALLOW;
3419 description { state: "default" 0.0;
3420 fixed: 1 0;
3421 align: 0.0 0.5;
3422 rel1 {
3423 relative: 0.0 0.0;
3424 offset: 4 4;
3425 }
3426 rel2 {
3427 relative: 0.0 1.0;
3428 offset: 4 -5;
3429 }
3430 }
3431 }
3432 part { name: "elm.swallow.icon";
3433 clip_to: "disclip";
3434 type: SWALLOW;
3435 description { state: "default" 0.0;
3436 fixed: 1 0;
3437 align: 0.0 0.5;
3438 rel1 {
3439 to_x: "elm.swallow.pad";
3440 relative: 1.0 0.0;
3441 offset: -1 4;
3442 }
3443 rel2 {
3444 to_x: "elm.swallow.pad";
3445 relative: 1.0 1.0;
3446 offset: -1 -5;
3447 }
3448 }
3449 }
3450 part { name: "elm.swallow.end";
3451 clip_to: "disclip";
3452 type: SWALLOW;
3453 description { state: "default" 0.0;
3454 fixed: 1 0;
3455 align: 1.0 0.5;
3456 aspect: 1.0 1.0;
3457 aspect_preference: VERTICAL;
3458 rel1 {
3459 relative: 1.0 0.0;
3460 offset: -5 4;
3461 }
3462 rel2 {
3463 relative: 1.0 1.0;
3464 offset: -5 -5;
3465 }
3466 }
3467 }
3468 part { name: "elm.text";
3469 clip_to: "disclip";
3470 type: TEXT;
3471 effect: SOFT_SHADOW;
3472 mouse_events: 0;
3473 scale: 1;
3474 description {
3475 state: "default" 0.0;
3476 // min: 16 16;
3477 rel1 {
3478 to_x: "elm.swallow.icon";
3479 relative: 1.0 0.0;
3480 offset: 0 4;
3481 }
3482 rel2 {
3483 to_x: "elm.swallow.end";
3484 relative: 0.0 0.5;
3485 offset: -1 -5;
3486 }
3487 color: 0 0 0 255;
3488 color3: 0 0 0 0;
3489 text {
3490 font: "Sans";
3491 size: 10;
3492 // min: 1 1;
3493 min: 0 1;
3494 align: 0.0 0.5;
3495 text_class: "list_item";
3496 }
3497 }
3498 description { state: "selected" 0.0;
3499 inherit: "default" 0.0;
3500 color: 224 224 224 255;
3501 color3: 0 0 0 64;
3502 }
3503 }
3504 part { name: "elm.text.sub";
3505 clip_to: "disclip";
3506 type: TEXT;
3507 mouse_events: 0;
3508 scale: 1;
3509 description {
3510 state: "default" 0.0;
3511 // min: 16 16;
3512 rel1 {
3513 to_x: "elm.swallow.icon";
3514 relative: 1.0 0.5;
3515 offset: 0 4;
3516 }
3517 rel2 {
3518 to_x: "elm.swallow.end";
3519 relative: 0.0 1.0;
3520 offset: -1 -5;
3521 }
3522 color: 0 0 0 128;
3523 color3: 0 0 0 0;
3524 text {
3525 font: "Sans";
3526 size: 8;
3527 // min: 1 1;
3528 min: 0 1;
3529 align: 0.0 0.5;
3530 text_class: "list_item";
3531 }
3532 }
3533 description { state: "selected" 0.0;
3534 inherit: "default" 0.0;
3535 color: 128 128 128 255;
3536 color3: 0 0 0 32;
3537 }
3538 }
3539 part { name: "fg1";
3540 clip_to: "disclip";
3541 mouse_events: 0;
3542 description { state: "default" 0.0;
3543 visible: 0;
3544 color: 255 255 255 0;
3545 rel1.to: "bg";
3546 rel2.relative: 1.0 0.5;
3547 rel2.to: "bg";
3548 image {
3549 normal: "bt_sm_hilight.png";
3550 border: 6 6 6 0;
3551 }
3552 }
3553 description { state: "selected" 0.0;
3554 inherit: "default" 0.0;
3555 visible: 1;
3556 color: 255 255 255 255;
3557 }
3558 }
3559 part { name: "fg2";
3560 clip_to: "disclip";
3561 mouse_events: 0;
3562 description { state: "default" 0.0;
3563 visible: 0;
3564 color: 255 255 255 0;
3565 rel1.to: "bg";
3566 rel2.to: "bg";
3567 image {
3568 normal: "bt_sm_shine.png";
3569 border: 6 6 6 0;
3570 }
3571 }
3572 description { state: "selected" 0.0;
3573 inherit: "default" 0.0;
3574 visible: 1;
3575 color: 255 255 255 255;
3576 }
3577 }
3578 part { name: "disclip";
3579 type: RECT;
3580 description { state: "default" 0.0;
3581 rel1.to: "bg";
3582 rel2.to: "bg";
3583 }
3584 description { state: "disabled" 0.0;
3585 inherit: "default" 0.0;
3586 color: 255 255 255 64;
3587 }
3588 }
3589 }
3590 programs {
3591 // signal: elm,state,%s,active
3592 // a "check" item named %s went active
3593 // signal: elm,state,%s,passive
3594 // a "check" item named %s went passive
3595 // default is passive
3596 program {
3597 name: "go_active";
3598 signal: "elm,state,selected";
3599 source: "elm";
3600 action: STATE_SET "selected" 0.0;
3601 target: "bg";
3602 target: "fg1";
3603 target: "fg2";
3604 target: "elm.text";
3605 target: "elm.text.sub";
3606 }
3607 program {
3608 name: "go_passive";
3609 signal: "elm,state,unselected";
3610 source: "elm";
3611 action: STATE_SET "default" 0.0;
3612 target: "bg";
3613 target: "fg1";
3614 target: "fg2";
3615 target: "elm.text";
3616 target: "elm.text.sub";
3617 transition: LINEAR 0.1;
3618 }
3619 program {
3620 name: "go_disabled";
3621 signal: "elm,state,disabled";
3622 source: "elm";
3623 action: STATE_SET "disabled" 0.0;
3624 target: "disclip";
3625 }
3626 program {
3627 name: "go_enabled";
3628 signal: "elm,state,enabled";
3629 source: "elm";
3630 action: STATE_SET "default" 0.0;
3631 target: "disclip";
3632 }
3633 }
3634}
3635group { name: "elm/genlist/item_odd/double_label/default";
3636 data.item: "stacking" "below";
3637 data.item: "selectraise" "on";
3638 data.item: "texts" "elm.text elm.text.sub";
3639 data.item: "contents" "elm.swallow.icon elm.swallow.end";
3640 data.item: "treesize" "20";
3641 // data.item: "states" "";
3642 images {
3643 image: "bt_sm_base1.png" COMP;
3644 image: "bt_sm_shine.png" COMP;
3645 image: "bt_sm_hilight.png" COMP;
3646 image: "ilist_2.png" COMP;
3647 }
3648 parts {
3649 part { name: "event";
3650 type: RECT;
3651 repeat_events: 1;
3652 description {
3653 state: "default" 0.0;
3654 color: 0 0 0 0;
3655 }
3656 }
3657 part {
3658 name: "base";
3659 mouse_events: 0;
3660 description {
3661 state: "default" 0.0;
3662 image {
3663 normal: "ilist_2.png";
3664 border: 2 2 2 2;
3665 }
3666 fill.smooth: 0;
3667 }
3668 }
3669 part { name: "bg";
3670 clip_to: "disclip";
3671 mouse_events: 0;
3672 description { state: "default" 0.0;
3673 visible: 0;
3674 color: 255 255 255 0;
3675 rel1 {
3676 relative: 0.0 0.0;
3677 offset: -5 -5;
3678 }
3679 rel2 {
3680 relative: 1.0 1.0;
3681 offset: 4 4;
3682 }
3683 image {
3684 normal: "bt_sm_base1.png";
3685 border: 6 6 6 6;
3686 }
3687 image.middle: SOLID;
3688 }
3689 description { state: "selected" 0.0;
3690 inherit: "default" 0.0;
3691 visible: 1;
3692 color: 255 255 255 255;
3693 rel1 {
3694 relative: 0.0 0.0;
3695 offset: -2 -2;
3696 }
3697 rel2 {
3698 relative: 1.0 1.0;
3699 offset: 1 1;
3700 }
3701 }
3702 }
3703 part { name: "elm.swallow.pad";
3704 type: SWALLOW;
3705 description { state: "default" 0.0;
3706 fixed: 1 0;
3707 align: 0.0 0.5;
3708 rel1 {
3709 relative: 0.0 0.0;
3710 offset: 4 4;
3711 }
3712 rel2 {
3713 relative: 0.0 1.0;
3714 offset: 4 -5;
3715 }
3716 }
3717 }
3718 part { name: "elm.swallow.icon";
3719 clip_to: "disclip";
3720 type: SWALLOW;
3721 description { state: "default" 0.0;
3722 fixed: 1 0;
3723 align: 0.0 0.5;
3724 rel1 {
3725 to_x: "elm.swallow.pad";
3726 relative: 1.0 0.0;
3727 offset: -1 4;
3728 }
3729 rel2 {
3730 to_x: "elm.swallow.pad";
3731 relative: 1.0 1.0;
3732 offset: -1 -5;
3733 }
3734 }
3735 }
3736 part { name: "elm.swallow.end";
3737 clip_to: "disclip";
3738 type: SWALLOW;
3739 description { state: "default" 0.0;
3740 fixed: 1 0;
3741 align: 1.0 0.5;
3742 aspect: 1.0 1.0;
3743 aspect_preference: VERTICAL;
3744 rel1 {
3745 relative: 1.0 0.0;
3746 offset: -5 4;
3747 }
3748 rel2 {
3749 relative: 1.0 1.0;
3750 offset: -5 -5;
3751 }
3752 }
3753 }
3754 part { name: "elm.text";
3755 clip_to: "disclip";
3756 type: TEXT;
3757 effect: SOFT_SHADOW;
3758 mouse_events: 0;
3759 scale: 1;
3760 description {
3761 state: "default" 0.0;
3762 // min: 16 16;
3763 rel1 {
3764 to_x: "elm.swallow.icon";
3765 relative: 1.0 0.0;
3766 offset: 0 4;
3767 }
3768 rel2 {
3769 to_x: "elm.swallow.end";
3770 relative: 0.0 0.5;
3771 offset: -1 -5;
3772 }
3773 color: 0 0 0 255;
3774 color3: 0 0 0 0;
3775 text {
3776 font: "Sans";
3777 size: 10;
3778 min: 1 1;
3779 // min: 0 1;
3780 align: 0.0 0.5;
3781 text_class: "list_item";
3782 }
3783 }
3784 description { state: "selected" 0.0;
3785 inherit: "default" 0.0;
3786 color: 224 224 224 255;
3787 color3: 0 0 0 64;
3788 }
3789 }
3790 part { name: "elm.text.sub";
3791 clip_to: "disclip";
3792 type: TEXT;
3793 mouse_events: 0;
3794 scale: 1;
3795 description {
3796 state: "default" 0.0;
3797 // min: 16 16;
3798 rel1 {
3799 to_x: "elm.swallow.icon";
3800 relative: 1.0 0.5;
3801 offset: 0 4;
3802 }
3803 rel2 {
3804 to_x: "elm.swallow.end";
3805 relative: 0.0 1.0;
3806 offset: -1 -5;
3807 }
3808 color: 0 0 0 128;
3809 color3: 0 0 0 0;
3810 text {
3811 font: "Sans";
3812 size: 8;
3813 min: 1 1;
3814 // min: 0 1;
3815 align: 0.0 0.5;
3816 text_class: "list_item";
3817 }
3818 }
3819 description { state: "selected" 0.0;
3820 inherit: "default" 0.0;
3821 color: 128 128 128 255;
3822 color3: 0 0 0 32;
3823 }
3824 }
3825 part { name: "fg1";
3826 clip_to: "disclip";
3827 mouse_events: 0;
3828 description { state: "default" 0.0;
3829 visible: 0;
3830 color: 255 255 255 0;
3831 rel1.to: "bg";
3832 rel2.relative: 1.0 0.5;
3833 rel2.to: "bg";
3834 image {
3835 normal: "bt_sm_hilight.png";
3836 border: 6 6 6 0;
3837 }
3838 }
3839 description { state: "selected" 0.0;
3840 inherit: "default" 0.0;
3841 visible: 1;
3842 color: 255 255 255 255;
3843 }
3844 }
3845 part { name: "fg2";
3846 clip_to: "disclip";
3847 mouse_events: 0;
3848 description { state: "default" 0.0;
3849 visible: 0;
3850 color: 255 255 255 0;
3851 rel1.to: "bg";
3852 rel2.to: "bg";
3853 image {
3854 normal: "bt_sm_shine.png";
3855 border: 6 6 6 0;
3856 }
3857 }
3858 description { state: "selected" 0.0;
3859 inherit: "default" 0.0;
3860 visible: 1;
3861 color: 255 255 255 255;
3862 }
3863 }
3864 part { name: "disclip";
3865 type: RECT;
3866 description { state: "default" 0.0;
3867 rel1.to: "bg";
3868 rel2.to: "bg";
3869 }
3870 description { state: "disabled" 0.0;
3871 inherit: "default" 0.0;
3872 color: 255 255 255 64;
3873 }
3874 }
3875 }
3876 programs {
3877 // signal: elm,state,%s,active
3878 // a "check" item named %s went active
3879 // signal: elm,state,%s,passive
3880 // a "check" item named %s went passive
3881 // default is passive
3882 program {
3883 name: "go_active";
3884 signal: "elm,state,selected";
3885 source: "elm";
3886 action: STATE_SET "selected" 0.0;
3887 target: "bg";
3888 target: "fg1";
3889 target: "fg2";
3890 target: "elm.text";
3891 target: "elm.text.sub";
3892 }
3893 program {
3894 name: "go_passive";
3895 signal: "elm,state,unselected";
3896 source: "elm";
3897 action: STATE_SET "default" 0.0;
3898 target: "bg";
3899 target: "fg1";
3900 target: "fg2";
3901 target: "elm.text";
3902 target: "elm.text.sub";
3903 transition: LINEAR 0.1;
3904 }
3905 program {
3906 name: "go_disabled";
3907 signal: "elm,state,disabled";
3908 source: "elm";
3909 action: STATE_SET "disabled" 0.0;
3910 target: "disclip";
3911 }
3912 program {
3913 name: "go_enabled";
3914 signal: "elm,state,enabled";
3915 source: "elm";
3916 action: STATE_SET "default" 0.0;
3917 target: "disclip";
3918 }
3919 }
3920}
3921group { name: "elm/genlist/item_compress_odd/double_label/default";
3922 data.item: "stacking" "below";
3923 data.item: "selectraise" "on";
3924 data.item: "texts" "elm.text elm.text.sub";
3925 data.item: "contents" "elm.swallow.icon elm.swallow.end";
3926 data.item: "treesize" "20";
3927 // data.item: "states" "";
3928 images {
3929 image: "bt_sm_base1.png" COMP;
3930 image: "bt_sm_shine.png" COMP;
3931 image: "bt_sm_hilight.png" COMP;
3932 image: "ilist_2.png" COMP;
3933 }
3934 parts {
3935 part { name: "event";
3936 type: RECT;
3937 repeat_events: 1;
3938 description {
3939 state: "default" 0.0;
3940 color: 0 0 0 0;
3941 }
3942 }
3943 part {
3944 name: "base";
3945 mouse_events: 0;
3946 description {
3947 state: "default" 0.0;
3948 image {
3949 normal: "ilist_2.png";
3950 border: 2 2 2 2;
3951 }
3952 fill.smooth: 0;
3953 }
3954 }
3955 part { name: "bg";
3956 clip_to: "disclip";
3957 mouse_events: 0;
3958 description { state: "default" 0.0;
3959 visible: 0;
3960 color: 255 255 255 0;
3961 rel1 {
3962 relative: 0.0 0.0;
3963 offset: -5 -5;
3964 }
3965 rel2 {
3966 relative: 1.0 1.0;
3967 offset: 4 4;
3968 }
3969 image {
3970 normal: "bt_sm_base1.png";
3971 border: 6 6 6 6;
3972 }
3973 image.middle: SOLID;
3974 }
3975 description { state: "selected" 0.0;
3976 inherit: "default" 0.0;
3977 visible: 1;
3978 color: 255 255 255 255;
3979 rel1 {
3980 relative: 0.0 0.0;
3981 offset: -2 -2;
3982 }
3983 rel2 {
3984 relative: 1.0 1.0;
3985 offset: 1 1;
3986 }
3987 }
3988 }
3989 part { name: "elm.swallow.pad";
3990 type: SWALLOW;
3991 description { state: "default" 0.0;
3992 fixed: 1 0;
3993 align: 0.0 0.5;
3994 rel1 {
3995 relative: 0.0 0.0;
3996 offset: 4 4;
3997 }
3998 rel2 {
3999 relative: 0.0 1.0;
4000 offset: 4 -5;
4001 }
4002 }
4003 }
4004 part { name: "elm.swallow.icon";
4005 clip_to: "disclip";
4006 type: SWALLOW;
4007 description { state: "default" 0.0;
4008 fixed: 1 0;
4009 align: 0.0 0.5;
4010 rel1 {
4011 to_x: "elm.swallow.pad";
4012 relative: 1.0 0.0;
4013 offset: -1 4;
4014 }
4015 rel2 {
4016 to_x: "elm.swallow.pad";
4017 relative: 1.0 1.0;
4018 offset: -1 -5;
4019 }
4020 }
4021 }
4022 part { name: "elm.swallow.end";
4023 clip_to: "disclip";
4024 type: SWALLOW;
4025 description { state: "default" 0.0;
4026 fixed: 1 0;
4027 align: 1.0 0.5;
4028 aspect: 1.0 1.0;
4029 aspect_preference: VERTICAL;
4030 rel1 {
4031 relative: 1.0 0.0;
4032 offset: -5 4;
4033 }
4034 rel2 {
4035 relative: 1.0 1.0;
4036 offset: -5 -5;
4037 }
4038 }
4039 }
4040 part { name: "elm.text";
4041 clip_to: "disclip";
4042 type: TEXT;
4043 effect: SOFT_SHADOW;
4044 mouse_events: 0;
4045 scale: 1;
4046 description {
4047 state: "default" 0.0;
4048 // min: 16 16;
4049 rel1 {
4050 to_x: "elm.swallow.icon";
4051 relative: 1.0 0.0;
4052 offset: 0 4;
4053 }
4054 rel2 {
4055 to_x: "elm.swallow.end";
4056 relative: 0.0 0.5;
4057 offset: -1 -5;
4058 }
4059 color: 0 0 0 255;
4060 color3: 0 0 0 0;
4061 text {
4062 font: "Sans";
4063 size: 10;
4064 // min: 1 1;
4065 min: 0 1;
4066 align: 0.0 0.5;
4067 text_class: "list_item";
4068 }
4069 }
4070 description { state: "selected" 0.0;
4071 inherit: "default" 0.0;
4072 color: 224 224 224 255;
4073 color3: 0 0 0 64;
4074 }
4075 }
4076 part { name: "elm.text.sub";
4077 clip_to: "disclip";
4078 type: TEXT;
4079 mouse_events: 0;
4080 scale: 1;
4081 description {
4082 state: "default" 0.0;
4083 // min: 16 16;
4084 rel1 {
4085 to_x: "elm.swallow.icon";
4086 relative: 1.0 0.5;
4087 offset: 0 4;
4088 }
4089 rel2 {
4090 to_x: "elm.swallow.end";
4091 relative: 0.0 1.0;
4092 offset: -1 -5;
4093 }
4094 color: 0 0 0 128;
4095 color3: 0 0 0 0;
4096 text {
4097 font: "Sans";
4098 size: 8;
4099 // min: 1 1;
4100 min: 0 1;
4101 align: 0.0 0.5;
4102 text_class: "list_item";
4103 }
4104 }
4105 description { state: "selected" 0.0;
4106 inherit: "default" 0.0;
4107 color: 128 128 128 255;
4108 color3: 0 0 0 32;
4109 }
4110 }
4111 part { name: "fg1";
4112 clip_to: "disclip";
4113 mouse_events: 0;
4114 description { state: "default" 0.0;
4115 visible: 0;
4116 color: 255 255 255 0;
4117 rel1.to: "bg";
4118 rel2.relative: 1.0 0.5;
4119 rel2.to: "bg";
4120 image {
4121 normal: "bt_sm_hilight.png";
4122 border: 6 6 6 0;
4123 }
4124 }
4125 description { state: "selected" 0.0;
4126 inherit: "default" 0.0;
4127 visible: 1;
4128 color: 255 255 255 255;
4129 }
4130 }
4131 part { name: "fg2";
4132 clip_to: "disclip";
4133 mouse_events: 0;
4134 description { state: "default" 0.0;
4135 visible: 0;
4136 color: 255 255 255 0;
4137 rel1.to: "bg";
4138 rel2.to: "bg";
4139 image {
4140 normal: "bt_sm_shine.png";
4141 border: 6 6 6 0;
4142 }
4143 }
4144 description { state: "selected" 0.0;
4145 inherit: "default" 0.0;
4146 visible: 1;
4147 color: 255 255 255 255;
4148 }
4149 }
4150 part { name: "disclip";
4151 type: RECT;
4152 description { state: "default" 0.0;
4153 rel1.to: "bg";
4154 rel2.to: "bg";
4155 }
4156 description { state: "disabled" 0.0;
4157 inherit: "default" 0.0;
4158 color: 255 255 255 64;
4159 }
4160 }
4161 }
4162 programs {
4163 // signal: elm,state,%s,active
4164 // a "check" item named %s went active
4165 // signal: elm,state,%s,passive
4166 // a "check" item named %s went passive
4167 // default is passive
4168 program {
4169 name: "go_active";
4170 signal: "elm,state,selected";
4171 source: "elm";
4172 action: STATE_SET "selected" 0.0;
4173 target: "bg";
4174 target: "fg1";
4175 target: "fg2";
4176 target: "elm.text";
4177 target: "elm.text.sub";
4178 }
4179 program {
4180 name: "go_passive";
4181 signal: "elm,state,unselected";
4182 source: "elm";
4183 action: STATE_SET "default" 0.0;
4184 target: "bg";
4185 target: "fg1";
4186 target: "fg2";
4187 target: "elm.text";
4188 target: "elm.text.sub";
4189 transition: LINEAR 0.1;
4190 }
4191 program {
4192 name: "go_disabled";
4193 signal: "elm,state,disabled";
4194 source: "elm";
4195 action: STATE_SET "disabled" 0.0;
4196 target: "disclip";
4197 }
4198 program {
4199 name: "go_enabled";
4200 signal: "elm,state,enabled";
4201 source: "elm";
4202 action: STATE_SET "default" 0.0;
4203 target: "disclip";
4204 }
4205 }
4206}
4207
4208group { name: "elm/genlist/tree/double_label/default";
4209 data.item: "stacking" "above";
4210 data.item: "selectraise" "on";
4211 data.item: "texts" "elm.text elm.text.sub";
4212 data.item: "contents" "elm.swallow.icon elm.swallow.end";
4213 data.item: "treesize" "20";
4214 // data.item: "states" "";
4215 images {
4216 image: "bt_sm_base1.png" COMP;
4217 image: "bt_sm_shine.png" COMP;
4218 image: "bt_sm_hilight.png" COMP;
4219 image: "ilist_1.png" COMP;
4220 image: "ilist_item_shadow.png" COMP;
4221 image: "icon_arrow_right.png" COMP;
4222 image: "icon_arrow_down.png" COMP;
4223 }
4224 parts {
4225 part {
4226 name: "event";
4227 type: RECT;
4228 repeat_events: 1;
4229 description {
4230 state: "default" 0.0;
4231 color: 0 0 0 0;
4232 }
4233 }
4234 part {
4235 name: "base_sh";
4236 mouse_events: 0;
4237 description {
4238 state: "default" 0.0;
4239 align: 0.0 0.0;
4240 min: 0 10;
4241 fixed: 1 1;
4242 rel1 {
4243 to: "base";
4244 relative: 0.0 1.0;
4245 offset: 0 0;
4246 }
4247 rel2 {
4248 to: "base";
4249 relative: 1.0 1.0;
4250 offset: -1 0;
4251 }
4252 image {
4253 normal: "ilist_item_shadow.png";
4254 }
4255 fill.smooth: 0;
4256 }
4257 }
4258 part {
4259 name: "base";
4260 mouse_events: 0;
4261 description {
4262 state: "default" 0.0;
4263 image {
4264 normal: "ilist_1.png";
4265 border: 2 2 2 2;
4266 }
4267 fill.smooth: 0;
4268 }
4269 }
4270 part { name: "bg";
4271 clip_to: "disclip";
4272 mouse_events: 0;
4273 description { state: "default" 0.0;
4274 visible: 0;
4275 color: 255 255 255 0;
4276 rel1 {
4277 relative: 0.0 0.0;
4278 offset: -5 -5;
4279 }
4280 rel2 {
4281 relative: 1.0 1.0;
4282 offset: 4 4;
4283 }
4284 image {
4285 normal: "bt_sm_base1.png";
4286 border: 6 6 6 6;
4287 }
4288 image.middle: SOLID;
4289 }
4290 description { state: "selected" 0.0;
4291 inherit: "default" 0.0;
4292 visible: 1;
4293 color: 255 255 255 255;
4294 rel1 {
4295 relative: 0.0 0.0;
4296 offset: -2 -2;
4297 }
4298 rel2 {
4299 relative: 1.0 1.0;
4300 offset: 1 1;
4301 }
4302 }
4303 }
4304 part { name: "elm.swallow.pad";
4305 type: SWALLOW;
4306 description { state: "default" 0.0;
4307 fixed: 1 0;
4308 align: 0.0 0.5;
4309 rel1 {
4310 relative: 0.0 0.0;
4311 offset: 4 4;
4312 }
4313 rel2 {
4314 relative: 0.0 1.0;
4315 offset: 4 -5;
4316 }
4317 }
4318 }
4319 part { name: "arrow";
4320 clip_to: "disclip";
4321 ignore_flags: ON_HOLD;
4322 description { state: "default" 0.0;
4323 fixed: 1 0;
4324 align: 0.0 0.5;
4325 aspect: 1.0 1.0;
4326 rel1 {
4327 to_x: "elm.swallow.pad";
4328 relative: 1.0 0.0;
4329 offset: -1 4;
4330 }
4331 rel2 {
4332 to_x: "elm.swallow.pad";
4333 relative: 1.0 1.0;
4334 offset: -1 -5;
4335 }
4336 image.normal: "icon_arrow_right.png";
4337 }
4338 description { state: "active" 0.0;
4339 inherit: "default" 0.0;
4340 image.normal: "icon_arrow_down.png";
4341 }
4342 }
4343 part { name: "elm.swallow.icon";
4344 clip_to: "disclip";
4345 type: SWALLOW;
4346 description { state: "default" 0.0;
4347 fixed: 1 0;
4348 align: 0.0 0.5;
4349 rel1 {
4350 to_x: "arrow";
4351 relative: 1.0 0.0;
4352 offset: 4 4;
4353 }
4354 rel2 {
4355 to_x: "arrow";
4356 relative: 1.0 1.0;
4357 offset: 4 -5;
4358 }
4359 }
4360 }
4361 part { name: "elm.swallow.end";
4362 clip_to: "disclip";
4363 type: SWALLOW;
4364 description { state: "default" 0.0;
4365 fixed: 1 0;
4366 align: 1.0 0.5;
4367 aspect: 1.0 1.0;
4368 aspect_preference: VERTICAL;
4369 rel1 {
4370 relative: 1.0 0.0;
4371 offset: -5 4;
4372 }
4373 rel2 {
4374 relative: 1.0 1.0;
4375 offset: -5 -5;
4376 }
4377 }
4378 }
4379 part { name: "elm.text";
4380 clip_to: "disclip";
4381 type: TEXT;
4382 effect: SOFT_SHADOW;
4383 mouse_events: 0;
4384 scale: 1;
4385 description {
4386 state: "default" 0.0;
4387 // min: 16 16;
4388 rel1 {
4389 to_x: "elm.swallow.icon";
4390 relative: 1.0 0.0;
4391 offset: 0 4;
4392 }
4393 rel2 {
4394 to_x: "elm.swallow.end";
4395 relative: 0.0 0.5;
4396 offset: -1 -5;
4397 }
4398 color: 0 0 0 255;
4399 color3: 0 0 0 0;
4400 text {
4401 font: "Sans";
4402 size: 10;
4403 min: 1 1;
4404 // min: 0 1;
4405 align: 0.0 0.5;
4406 text_class: "list_item";
4407 }
4408 }
4409 description { state: "selected" 0.0;
4410 inherit: "default" 0.0;
4411 color: 224 224 224 255;
4412 color3: 0 0 0 64;
4413 }
4414 }
4415 part { name: "elm.text.sub";
4416 clip_to: "disclip";
4417 type: TEXT;
4418 mouse_events: 0;
4419 scale: 1;
4420 description {
4421 state: "default" 0.0;
4422 // min: 16 16;
4423 rel1 {
4424 to_x: "elm.swallow.icon";
4425 relative: 1.0 0.5;
4426 offset: 0 4;
4427 }
4428 rel2 {
4429 to_x: "elm.swallow.end";
4430 relative: 0.0 1.0;
4431 offset: -1 -5;
4432 }
4433 color: 0 0 0 128;
4434 color3: 0 0 0 0;
4435 text {
4436 font: "Sans";
4437 size: 8;
4438 min: 1 1;
4439 // min: 0 1;
4440 align: 0.0 0.5;
4441 text_class: "list_item";
4442 }
4443 }
4444 description { state: "selected" 0.0;
4445 inherit: "default" 0.0;
4446 color: 128 128 128 255;
4447 color3: 0 0 0 32;
4448 }
4449 }
4450 part { name: "fg1";
4451 clip_to: "disclip";
4452 mouse_events: 0;
4453 description { state: "default" 0.0;
4454 visible: 0;
4455 color: 255 255 255 0;
4456 rel1.to: "bg";
4457 rel2.relative: 1.0 0.5;
4458 rel2.to: "bg";
4459 image {
4460 normal: "bt_sm_hilight.png";
4461 border: 6 6 6 0;
4462 }
4463 }
4464 description { state: "selected" 0.0;
4465 inherit: "default" 0.0;
4466 visible: 1;
4467 color: 255 255 255 255;
4468 }
4469 }
4470 part { name: "fg2";
4471 clip_to: "disclip";
4472 mouse_events: 0;
4473 description { state: "default" 0.0;
4474 visible: 0;
4475 color: 255 255 255 0;
4476 rel1.to: "bg";
4477 rel2.to: "bg";
4478 image {
4479 normal: "bt_sm_shine.png";
4480 border: 6 6 6 0;
4481 }
4482 }
4483 description { state: "selected" 0.0;
4484 inherit: "default" 0.0;
4485 visible: 1;
4486 color: 255 255 255 255;
4487 }
4488 }
4489 part { name: "disclip";
4490 type: RECT;
4491 description { state: "default" 0.0;
4492 rel1.to: "bg";
4493 rel2.to: "bg";
4494 }
4495 description { state: "disabled" 0.0;
4496 inherit: "default" 0.0;
4497 color: 255 255 255 64;
4498 }
4499 }
4500 }
4501 programs {
4502 // signal: elm,state,%s,active
4503 // a "check" item named %s went active
4504 // signal: elm,state,%s,passive
4505 // a "check" item named %s went passive
4506 // default is passive
4507 program {
4508 name: "go_active";
4509 signal: "elm,state,selected";
4510 source: "elm";
4511 action: STATE_SET "selected" 0.0;
4512 target: "bg";
4513 target: "fg1";
4514 target: "fg2";
4515 target: "elm.text";
4516 target: "elm.text.sub";
4517 }
4518 program {
4519 name: "go_passive";
4520 signal: "elm,state,unselected";
4521 source: "elm";
4522 action: STATE_SET "default" 0.0;
4523 target: "bg";
4524 target: "fg1";
4525 target: "fg2";
4526 target: "elm.text";
4527 target: "elm.text.sub";
4528 transition: LINEAR 0.1;
4529 }
4530 program {
4531 name: "go_disabled";
4532 signal: "elm,state,disabled";
4533 source: "elm";
4534 action: STATE_SET "disabled" 0.0;
4535 target: "disclip";
4536 }
4537 program {
4538 name: "go_enabled";
4539 signal: "elm,state,enabled";
4540 source: "elm";
4541 action: STATE_SET "default" 0.0;
4542 target: "disclip";
4543 }
4544 program {
4545 name: "expand";
4546 signal: "mouse,up,1";
4547 source: "arrow";
4548 action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
4549 }
4550 program {
4551 name: "go_expanded";
4552 signal: "elm,state,expanded";
4553 source: "elm";
4554 action: STATE_SET "active" 0.0;
4555 target: "arrow";
4556 }
4557 program {
4558 name: "go_contracted";
4559 signal: "elm,state,contracted";
4560 source: "elm";
4561 action: STATE_SET "default" 0.0;
4562 target: "arrow";
4563 }
4564 }
4565}
4566group { name: "elm/genlist/tree_compress/double_label/default";
4567 data.item: "stacking" "above";
4568 data.item: "selectraise" "on";
4569 data.item: "texts" "elm.text elm.text.sub";
4570 data.item: "contents" "elm.swallow.icon elm.swallow.end";
4571 data.item: "treesize" "20";
4572 // data.item: "states" "";
4573 images {
4574 image: "bt_sm_base1.png" COMP;
4575 image: "bt_sm_shine.png" COMP;
4576 image: "bt_sm_hilight.png" COMP;
4577 image: "ilist_1.png" COMP;
4578 image: "ilist_item_shadow.png" COMP;
4579 image: "icon_arrow_right.png" COMP;
4580 image: "icon_arrow_down.png" COMP;
4581 }
4582 parts {
4583 part {
4584 name: "event";
4585 type: RECT;
4586 repeat_events: 1;
4587 description {
4588 state: "default" 0.0;
4589 color: 0 0 0 0;
4590 }
4591 }
4592 part {
4593 name: "base_sh";
4594 mouse_events: 0;
4595 description {
4596 state: "default" 0.0;
4597 align: 0.0 0.0;
4598 min: 0 10;
4599 fixed: 1 1;
4600 rel1 {
4601 to: "base";
4602 relative: 0.0 1.0;
4603 offset: 0 0;
4604 }
4605 rel2 {
4606 to: "base";
4607 relative: 1.0 1.0;
4608 offset: -1 0;
4609 }
4610 image {
4611 normal: "ilist_item_shadow.png";
4612 }
4613 fill.smooth: 0;
4614 }
4615 }
4616 part {
4617 name: "base";
4618 mouse_events: 0;
4619 description {
4620 state: "default" 0.0;
4621 image {
4622 normal: "ilist_1.png";
4623 border: 2 2 2 2;
4624 }
4625 fill.smooth: 0;
4626 }
4627 }
4628 part { name: "bg";
4629 clip_to: "disclip";
4630 mouse_events: 0;
4631 description { state: "default" 0.0;
4632 visible: 0;
4633 color: 255 255 255 0;
4634 rel1 {
4635 relative: 0.0 0.0;
4636 offset: -5 -5;
4637 }
4638 rel2 {
4639 relative: 1.0 1.0;
4640 offset: 4 4;
4641 }
4642 image {
4643 normal: "bt_sm_base1.png";
4644 border: 6 6 6 6;
4645 }
4646 image.middle: SOLID;
4647 }
4648 description { state: "selected" 0.0;
4649 inherit: "default" 0.0;
4650 visible: 1;
4651 color: 255 255 255 255;
4652 rel1 {
4653 relative: 0.0 0.0;
4654 offset: -2 -2;
4655 }
4656 rel2 {
4657 relative: 1.0 1.0;
4658 offset: 1 1;
4659 }
4660 }
4661 }
4662 part { name: "elm.swallow.pad";
4663 type: SWALLOW;
4664 description { state: "default" 0.0;
4665 fixed: 1 0;
4666 align: 0.0 0.5;
4667 rel1 {
4668 relative: 0.0 0.0;
4669 offset: 4 4;
4670 }
4671 rel2 {
4672 relative: 0.0 1.0;
4673 offset: 4 -5;
4674 }
4675 }
4676 }
4677 part { name: "arrow";
4678 clip_to: "disclip";
4679 ignore_flags: ON_HOLD;
4680 description { state: "default" 0.0;
4681 fixed: 1 0;
4682 align: 0.0 0.5;
4683 aspect: 1.0 1.0;
4684 rel1 {
4685 to_x: "elm.swallow.pad";
4686 relative: 1.0 0.0;
4687 offset: -1 4;
4688 }
4689 rel2 {
4690 to_x: "elm.swallow.pad";
4691 relative: 1.0 1.0;
4692 offset: -1 -5;
4693 }
4694 image.normal: "icon_arrow_right.png";
4695 }
4696 description { state: "active" 0.0;
4697 inherit: "default" 0.0;
4698 image.normal: "icon_arrow_down.png";
4699 }
4700 }
4701 part { name: "elm.swallow.icon";
4702 clip_to: "disclip";
4703 type: SWALLOW;
4704 description { state: "default" 0.0;
4705 fixed: 1 0;
4706 align: 0.0 0.5;
4707 rel1 {
4708 to_x: "arrow";
4709 relative: 1.0 0.0;
4710 offset: 4 4;
4711 }
4712 rel2 {
4713 to_x: "arrow";
4714 relative: 1.0 1.0;
4715 offset: 4 -5;
4716 }
4717 }
4718 }
4719 part { name: "elm.swallow.end";
4720 clip_to: "disclip";
4721 type: SWALLOW;
4722 description { state: "default" 0.0;
4723 fixed: 1 0;
4724 align: 1.0 0.5;
4725 aspect: 1.0 1.0;
4726 aspect_preference: VERTICAL;
4727 rel1 {
4728 relative: 1.0 0.0;
4729 offset: -5 4;
4730 }
4731 rel2 {
4732 relative: 1.0 1.0;
4733 offset: -5 -5;
4734 }
4735 }
4736 }
4737 part { name: "elm.text";
4738 clip_to: "disclip";
4739 type: TEXT;
4740 effect: SOFT_SHADOW;
4741 mouse_events: 0;
4742 scale: 1;
4743 description {
4744 state: "default" 0.0;
4745 // min: 16 16;
4746 rel1 {
4747 to_x: "elm.swallow.icon";
4748 relative: 1.0 0.0;
4749 offset: 0 4;
4750 }
4751 rel2 {
4752 to_x: "elm.swallow.end";
4753 relative: 0.0 0.5;
4754 offset: -1 -5;
4755 }
4756 color: 0 0 0 255;
4757 color3: 0 0 0 0;
4758 text {
4759 font: "Sans";
4760 size: 10;
4761 // min: 1 1;
4762 min: 0 1;
4763 align: 0.0 0.5;
4764 text_class: "list_item";
4765 }
4766 }
4767 description { state: "selected" 0.0;
4768 inherit: "default" 0.0;
4769 color: 224 224 224 255;
4770 color3: 0 0 0 64;
4771 }
4772 }
4773 part { name: "elm.text.sub";
4774 clip_to: "disclip";
4775 type: TEXT;
4776 mouse_events: 0;
4777 scale: 1;
4778 description {
4779 state: "default" 0.0;
4780 // min: 16 16;
4781 rel1 {
4782 to_x: "elm.swallow.icon";
4783 relative: 1.0 0.5;
4784 offset: 0 4;
4785 }
4786 rel2 {
4787 to_x: "elm.swallow.end";
4788 relative: 0.0 1.0;
4789 offset: -1 -5;
4790 }
4791 color: 0 0 0 128;
4792 color3: 0 0 0 0;
4793 text {
4794 font: "Sans";
4795 size: 8;
4796 // min: 1 1;
4797 min: 0 1;
4798 align: 0.0 0.5;
4799 text_class: "list_item";
4800 }
4801 }
4802 description { state: "selected" 0.0;
4803 inherit: "default" 0.0;
4804 color: 128 128 128 255;
4805 color3: 0 0 0 32;
4806 }
4807 }
4808 part { name: "fg1";
4809 clip_to: "disclip";
4810 mouse_events: 0;
4811 description { state: "default" 0.0;
4812 visible: 0;
4813 color: 255 255 255 0;
4814 rel1.to: "bg";
4815 rel2.relative: 1.0 0.5;
4816 rel2.to: "bg";
4817 image {
4818 normal: "bt_sm_hilight.png";
4819 border: 6 6 6 0;
4820 }
4821 }
4822 description { state: "selected" 0.0;
4823 inherit: "default" 0.0;
4824 visible: 1;
4825 color: 255 255 255 255;
4826 }
4827 }
4828 part { name: "fg2";
4829 clip_to: "disclip";
4830 mouse_events: 0;
4831 description { state: "default" 0.0;
4832 visible: 0;
4833 color: 255 255 255 0;
4834 rel1.to: "bg";
4835 rel2.to: "bg";
4836 image {
4837 normal: "bt_sm_shine.png";
4838 border: 6 6 6 0;
4839 }
4840 }
4841 description { state: "selected" 0.0;
4842 inherit: "default" 0.0;
4843 visible: 1;
4844 color: 255 255 255 255;
4845 }
4846 }
4847 part { name: "disclip";
4848 type: RECT;
4849 description { state: "default" 0.0;
4850 rel1.to: "bg";
4851 rel2.to: "bg";
4852 }
4853 description { state: "disabled" 0.0;
4854 inherit: "default" 0.0;
4855 color: 255 255 255 64;
4856 }
4857 }
4858 }
4859 programs {
4860 // signal: elm,state,%s,active
4861 // a "check" item named %s went active
4862 // signal: elm,state,%s,passive
4863 // a "check" item named %s went passive
4864 // default is passive
4865 program {
4866 name: "go_active";
4867 signal: "elm,state,selected";
4868 source: "elm";
4869 action: STATE_SET "selected" 0.0;
4870 target: "bg";
4871 target: "fg1";
4872 target: "fg2";
4873 target: "elm.text";
4874 target: "elm.text.sub";
4875 }
4876 program {
4877 name: "go_passive";
4878 signal: "elm,state,unselected";
4879 source: "elm";
4880 action: STATE_SET "default" 0.0;
4881 target: "bg";
4882 target: "fg1";
4883 target: "fg2";
4884 target: "elm.text";
4885 target: "elm.text.sub";
4886 transition: LINEAR 0.1;
4887 }
4888 program {
4889 name: "go_disabled";
4890 signal: "elm,state,disabled";
4891 source: "elm";
4892 action: STATE_SET "disabled" 0.0;
4893 target: "disclip";
4894 }
4895 program {
4896 name: "go_enabled";
4897 signal: "elm,state,enabled";
4898 source: "elm";
4899 action: STATE_SET "default" 0.0;
4900 target: "disclip";
4901 }
4902 program {
4903 name: "expand";
4904 signal: "mouse,up,1";
4905 source: "arrow";
4906 action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
4907 }
4908 program {
4909 name: "go_expanded";
4910 signal: "elm,state,expanded";
4911 source: "elm";
4912 action: STATE_SET "active" 0.0;
4913 target: "arrow";
4914 }
4915 program {
4916 name: "go_contracted";
4917 signal: "elm,state,contracted";
4918 source: "elm";
4919 action: STATE_SET "default" 0.0;
4920 target: "arrow";
4921 }
4922 }
4923}
4924group { name: "elm/genlist/tree_odd/double_label/default";
4925 data.item: "stacking" "below";
4926 data.item: "selectraise" "on";
4927 data.item: "texts" "elm.text elm.text.sub";
4928 data.item: "contents" "elm.swallow.icon elm.swallow.end";
4929 data.item: "treesize" "20";
4930 // data.item: "states" "";
4931 images {
4932 image: "bt_sm_base1.png" COMP;
4933 image: "bt_sm_shine.png" COMP;
4934 image: "bt_sm_hilight.png" COMP;
4935 image: "ilist_2.png" COMP;
4936 image: "icon_arrow_right.png" COMP;
4937 image: "icon_arrow_down.png" COMP;
4938 }
4939 parts {
4940 part {
4941 name: "event";
4942 type: RECT;
4943 repeat_events: 1;
4944 description {
4945 state: "default" 0.0;
4946 color: 0 0 0 0;
4947 }
4948 }
4949 part {
4950 name: "base";
4951 mouse_events: 0;
4952 description {
4953 state: "default" 0.0;
4954 image {
4955 normal: "ilist_2.png";
4956 border: 2 2 2 2;
4957 }
4958 fill.smooth: 0;
4959 }
4960 }
4961 part { name: "bg";
4962 clip_to: "disclip";
4963 mouse_events: 0;
4964 description { state: "default" 0.0;
4965 visible: 0;
4966 color: 255 255 255 0;
4967 rel1 {
4968 relative: 0.0 0.0;
4969 offset: -5 -5;
4970 }
4971 rel2 {
4972 relative: 1.0 1.0;
4973 offset: 4 4;
4974 }
4975 image {
4976 normal: "bt_sm_base1.png";
4977 border: 6 6 6 6;
4978 }
4979 image.middle: SOLID;
4980 }
4981 description { state: "selected" 0.0;
4982 inherit: "default" 0.0;
4983 visible: 1;
4984 color: 255 255 255 255;
4985 rel1 {
4986 relative: 0.0 0.0;
4987 offset: -2 -2;
4988 }
4989 rel2 {
4990 relative: 1.0 1.0;
4991 offset: 1 1;
4992 }
4993 }
4994 }
4995 part { name: "elm.swallow.pad";
4996 type: SWALLOW;
4997 description { state: "default" 0.0;
4998 fixed: 1 0;
4999 align: 0.0 0.5;
5000 rel1 {
5001 relative: 0.0 0.0;
5002 offset: 4 4;
5003 }
5004 rel2 {
5005 relative: 0.0 1.0;
5006 offset: 4 -5;
5007 }
5008 }
5009 }
5010 part { name: "arrow";
5011 clip_to: "disclip";
5012 ignore_flags: ON_HOLD;
5013 description { state: "default" 0.0;
5014 fixed: 1 0;
5015 align: 0.0 0.5;
5016 aspect: 1.0 1.0;
5017 rel1 {
5018 to_x: "elm.swallow.pad";
5019 relative: 1.0 0.0;
5020 offset: -1 4;
5021 }
5022 rel2 {
5023 to_x: "elm.swallow.pad";
5024 relative: 1.0 1.0;
5025 offset: -1 -5;
5026 }
5027 image.normal: "icon_arrow_right.png";
5028 }
5029 description { state: "active" 0.0;
5030 inherit: "default" 0.0;
5031 image.normal: "icon_arrow_down.png";
5032 }
5033 }
5034 part { name: "elm.swallow.icon";
5035 clip_to: "disclip";
5036 type: SWALLOW;
5037 description { state: "default" 0.0;
5038 fixed: 1 0;
5039 align: 0.0 0.5;
5040 rel1 {
5041 to_x: "arrow";
5042 relative: 1.0 0.0;
5043 offset: 4 4;
5044 }
5045 rel2 {
5046 to_x: "arrow";
5047 relative: 1.0 1.0;
5048 offset: 4 -5;
5049 }
5050 }
5051 }
5052 part { name: "elm.swallow.end";
5053 clip_to: "disclip";
5054 type: SWALLOW;
5055 description { state: "default" 0.0;
5056 fixed: 1 0;
5057 align: 1.0 0.5;
5058 aspect: 1.0 1.0;
5059 aspect_preference: VERTICAL;
5060 rel1 {
5061 relative: 1.0 0.0;
5062 offset: -5 4;
5063 }
5064 rel2 {
5065 relative: 1.0 1.0;
5066 offset: -5 -5;
5067 }
5068 }
5069 }
5070 part { name: "elm.text";
5071 clip_to: "disclip";
5072 type: TEXT;
5073 effect: SOFT_SHADOW;
5074 mouse_events: 0;
5075 scale: 1;
5076 description {
5077 state: "default" 0.0;
5078 // min: 16 16;
5079 rel1 {
5080 to_x: "elm.swallow.icon";
5081 relative: 1.0 0.0;
5082 offset: 0 4;
5083 }
5084 rel2 {
5085 to_x: "elm.swallow.end";
5086 relative: 0.0 0.5;
5087 offset: -1 -5;
5088 }
5089 color: 0 0 0 255;
5090 color3: 0 0 0 0;
5091 text {
5092 font: "Sans";
5093 size: 10;
5094 min: 1 1;
5095 // min: 0 1;
5096 align: 0.0 0.5;
5097 text_class: "list_item";
5098 }
5099 }
5100 description { state: "selected" 0.0;
5101 inherit: "default" 0.0;
5102 color: 224 224 224 255;
5103 color3: 0 0 0 64;
5104 }
5105 }
5106 part { name: "elm.text.sub";
5107 clip_to: "disclip";
5108 type: TEXT;
5109 mouse_events: 0;
5110 scale: 1;
5111 description {
5112 state: "default" 0.0;
5113 // min: 16 16;
5114 rel1 {
5115 to_x: "elm.swallow.icon";
5116 relative: 1.0 0.5;
5117 offset: 0 4;
5118 }
5119 rel2 {
5120 to_x: "elm.swallow.end";
5121 relative: 0.0 1.0;
5122 offset: -1 -5;
5123 }
5124 color: 0 0 0 128;
5125 color3: 0 0 0 0;
5126 text {
5127 font: "Sans";
5128 size: 8;
5129 min: 1 1;
5130 // min: 0 1;
5131 align: 0.0 0.5;
5132 text_class: "list_item";
5133 }
5134 }
5135 description { state: "selected" 0.0;
5136 inherit: "default" 0.0;
5137 color: 128 128 128 255;
5138 color3: 0 0 0 32;
5139 }
5140 }
5141 part { name: "fg1";
5142 clip_to: "disclip";
5143 mouse_events: 0;
5144 description { state: "default" 0.0;
5145 visible: 0;
5146 color: 255 255 255 0;
5147 rel1.to: "bg";
5148 rel2.relative: 1.0 0.5;
5149 rel2.to: "bg";
5150 image {
5151 normal: "bt_sm_hilight.png";
5152 border: 6 6 6 0;
5153 }
5154 }
5155 description { state: "selected" 0.0;
5156 inherit: "default" 0.0;
5157 visible: 1;
5158 color: 255 255 255 255;
5159 }
5160 }
5161 part { name: "fg2";
5162 clip_to: "disclip";
5163 mouse_events: 0;
5164 description { state: "default" 0.0;
5165 visible: 0;
5166 color: 255 255 255 0;
5167 rel1.to: "bg";
5168 rel2.to: "bg";
5169 image {
5170 normal: "bt_sm_shine.png";
5171 border: 6 6 6 0;
5172 }
5173 }
5174 description { state: "selected" 0.0;
5175 inherit: "default" 0.0;
5176 visible: 1;
5177 color: 255 255 255 255;
5178 }
5179 }
5180 part { name: "disclip";
5181 type: RECT;
5182 description { state: "default" 0.0;
5183 rel1.to: "bg";
5184 rel2.to: "bg";
5185 }
5186 description { state: "disabled" 0.0;
5187 inherit: "default" 0.0;
5188 color: 255 255 255 64;
5189 }
5190 }
5191 }
5192 programs {
5193 // signal: elm,state,%s,active
5194 // a "check" item named %s went active
5195 // signal: elm,state,%s,passive
5196 // a "check" item named %s went passive
5197 // default is passive
5198 program {
5199 name: "go_active";
5200 signal: "elm,state,selected";
5201 source: "elm";
5202 action: STATE_SET "selected" 0.0;
5203 target: "bg";
5204 target: "fg1";
5205 target: "fg2";
5206 target: "elm.text";
5207 target: "elm.text.sub";
5208 }
5209 program {
5210 name: "go_passive";
5211 signal: "elm,state,unselected";
5212 source: "elm";
5213 action: STATE_SET "default" 0.0;
5214 target: "bg";
5215 target: "fg1";
5216 target: "fg2";
5217 target: "elm.text";
5218 target: "elm.text.sub";
5219 transition: LINEAR 0.1;
5220 }
5221 program {
5222 name: "go_disabled";
5223 signal: "elm,state,disabled";
5224 source: "elm";
5225 action: STATE_SET "disabled" 0.0;
5226 target: "disclip";
5227 }
5228 program {
5229 name: "go_enabled";
5230 signal: "elm,state,enabled";
5231 source: "elm";
5232 action: STATE_SET "default" 0.0;
5233 target: "disclip";
5234 }
5235 program {
5236 name: "expand";
5237 signal: "mouse,up,1";
5238 source: "arrow";
5239 action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
5240 }
5241 program {
5242 name: "go_expanded";
5243 signal: "elm,state,expanded";
5244 source: "elm";
5245 action: STATE_SET "active" 0.0;
5246 target: "arrow";
5247 }
5248 program {
5249 name: "go_contracted";
5250 signal: "elm,state,contracted";
5251 source: "elm";
5252 action: STATE_SET "default" 0.0;
5253 target: "arrow";
5254 }
5255 }
5256}
5257
5258group { name: "elm/genlist/item/icon_top_text_bottom/default";
5259 data.item: "stacking" "above";
5260 data.item: "selectraise" "on";
5261 data.item: "texts" "elm.text";
5262 data.item: "contents" "elm.swallow.icon";
5263 data.item: "treesize" "20";
5264 // data.item: "states" "";
5265 images {
5266 image: "bt_sm_base1.png" COMP;
5267 image: "bt_sm_shine.png" COMP;
5268 image: "bt_sm_hilight.png" COMP;
5269 image: "ilist_1.png" COMP;
5270 image: "ilist_item_shadow.png" COMP;
5271 }
5272 parts {
5273 part {
5274 name: "event";
5275 type: RECT;
5276 repeat_events: 1;
5277 description {
5278 state: "default" 0.0;
5279 color: 0 0 0 0;
5280 }
5281 }
5282 part {
5283 name: "base_sh";
5284 mouse_events: 0;
5285 description {
5286 state: "default" 0.0;
5287 align: 0.0 0.0;
5288 min: 0 10;
5289 fixed: 1 1;
5290 rel1 {
5291 to: "base";
5292 relative: 0.0 1.0;
5293 offset: 0 0;
5294 }
5295 rel2 {
5296 to: "base";
5297 relative: 1.0 1.0;
5298 offset: -1 0;
5299 }
5300 image {
5301 normal: "ilist_item_shadow.png";
5302 }
5303 fill.smooth: 0;
5304 }
5305 }
5306 part {
5307 name: "base";
5308 mouse_events: 0;
5309 description {
5310 state: "default" 0.0;
5311 image {
5312 normal: "ilist_1.png";
5313 border: 2 2 2 2;
5314 }
5315 fill.smooth: 0;
5316 }
5317 }
5318 part { name: "bg";
5319 clip_to: "disclip";
5320 mouse_events: 0;
5321 description { state: "default" 0.0;
5322 visible: 0;
5323 color: 255 255 255 0;
5324 rel1 {
5325 relative: 0.0 0.0;
5326 offset: -5 -5;
5327 }
5328 rel2 {
5329 relative: 1.0 1.0;
5330 offset: 4 4;
5331 }
5332 image {
5333 normal: "bt_sm_base1.png";
5334 border: 6 6 6 6;
5335 }
5336 image.middle: SOLID;
5337 }
5338 description { state: "selected" 0.0;
5339 inherit: "default" 0.0;
5340 visible: 1;
5341 color: 255 255 255 255;
5342 rel1 {
5343 relative: 0.0 0.0;
5344 offset: -2 -2;
5345 }
5346 rel2 {
5347 relative: 1.0 1.0;
5348 offset: 1 1;
5349 }
5350 }
5351 }
5352 part { name: "elm.swallow.pad";
5353 type: SWALLOW;
5354 description { state: "default" 0.0;
5355 fixed: 1 0;
5356 align: 0.0 0.5;
5357 rel1 {
5358 relative: 0.0 0.0;
5359 offset: 4 4;
5360 }
5361 rel2 {
5362 relative: 1.0 1.0;
5363 offset: -4 -5;
5364 }
5365 }
5366 }
5367 part { name: "elm.swallow.icon";
5368 clip_to: "disclip";
5369 type: SWALLOW;
5370 description { state: "default" 0.0;
5371 fixed: 1 0;
5372 align: 0.5 0.5;
5373 rel1 {
5374 to_x: "elm.swallow.pad";
5375 relative: 0.0 0.0;
5376 offset: -1 4;
5377 }
5378 rel2 {
5379 to_x: "elm.swallow.pad";
5380 relative: 1.0 1.0;
5381 offset: -1 -5;
5382 }
5383 }
5384 }
5385 part { name: "elm.text";
5386 clip_to: "disclip";
5387 type: TEXT;
5388 effect: SOFT_SHADOW;
5389 mouse_events: 0;
5390 scale: 1;
5391 description {
5392 state: "default" 0.0;
5393 // min: 16 16;
5394 rel1 {
5395 to_y: "elm.swallow.icon";
5396 relative: 0.0 1.0;
5397 offset: 0 4;
5398 }
5399 rel2 {
5400 relative: 1.0 1.0;
5401 offset: -5 -5;
5402 }
5403 color: 0 0 0 255;
5404 color3: 0 0 0 0;
5405 text {
5406 font: "Sans";
5407 size: 10;
5408 min: 1 1;
5409 // min: 0 1;
5410 align: 0.5 0.5;
5411 text_class: "list_item";
5412 }
5413 }
5414 description { state: "selected" 0.0;
5415 inherit: "default" 0.0;
5416 color: 224 224 224 255;
5417 color3: 0 0 0 64;
5418 }
5419 }
5420 part { name: "fg1";
5421 clip_to: "disclip";
5422 mouse_events: 0;
5423 description { state: "default" 0.0;
5424 visible: 0;
5425 color: 255 255 255 0;
5426 rel1.to: "bg";
5427 rel2.relative: 1.0 0.5;
5428 rel2.to: "bg";
5429 image {
5430 normal: "bt_sm_hilight.png";
5431 border: 6 6 6 0;
5432 }
5433 }
5434 description { state: "selected" 0.0;
5435 inherit: "default" 0.0;
5436 visible: 1;
5437 color: 255 255 255 255;
5438 }
5439 }
5440 part { name: "fg2";
5441 clip_to: "disclip";
5442 mouse_events: 0;
5443 description { state: "default" 0.0;
5444 visible: 0;
5445 color: 255 255 255 0;
5446 rel1.to: "bg";
5447 rel2.to: "bg";
5448 image {
5449 normal: "bt_sm_shine.png";
5450 border: 6 6 6 0;
5451 }
5452 }
5453 description { state: "selected" 0.0;
5454 inherit: "default" 0.0;
5455 visible: 1;
5456 color: 255 255 255 255;
5457 }
5458 }
5459 part { name: "disclip";
5460 type: RECT;
5461 description { state: "default" 0.0;
5462 rel1.to: "bg";
5463 rel2.to: "bg";
5464 }
5465 description { state: "disabled" 0.0;
5466 inherit: "default" 0.0;
5467 color: 255 255 255 64;
5468 }
5469 }
5470 }
5471 programs {
5472 // signal: elm,state,%s,active
5473 // a "check" item named %s went active
5474 // signal: elm,state,%s,passive
5475 // a "check" item named %s went passive
5476 // default is passive
5477 program {
5478 name: "go_active";
5479 signal: "elm,state,selected";
5480 source: "elm";
5481 action: STATE_SET "selected" 0.0;
5482 target: "bg";
5483 target: "fg1";
5484 target: "fg2";
5485 target: "elm.text";
5486 }
5487 program {
5488 name: "go_passive";
5489 signal: "elm,state,unselected";
5490 source: "elm";
5491 action: STATE_SET "default" 0.0;
5492 target: "bg";
5493 target: "fg1";
5494 target: "fg2";
5495 target: "elm.text";
5496 transition: LINEAR 0.1;
5497 }
5498 program {
5499 name: "go_disabled";
5500 signal: "elm,state,disabled";
5501 source: "elm";
5502 action: STATE_SET "disabled" 0.0;
5503 target: "disclip";
5504 }
5505 program {
5506 name: "go_enabled";
5507 signal: "elm,state,enabled";
5508 source: "elm";
5509 action: STATE_SET "default" 0.0;
5510 target: "disclip";
5511 }
5512 }
5513}
5514group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
5515 data.item: "stacking" "below";
5516 data.item: "selectraise" "on";
5517 data.item: "texts" "elm.text";
5518 data.item: "contents" "elm.swallow.icon";
5519 data.item: "treesize" "20";
5520 // data.item: "states" "";
5521 images {
5522 image: "bt_sm_base1.png" COMP;
5523 image: "bt_sm_shine.png" COMP;
5524 image: "bt_sm_hilight.png" COMP;
5525 image: "ilist_2.png" COMP;
5526 }
5527 parts {
5528 part { name: "event";
5529 type: RECT;
5530 repeat_events: 1;
5531 description {
5532 state: "default" 0.0;
5533 color: 0 0 0 0;
5534 }
5535 }
5536 part {
5537 name: "base";
5538 mouse_events: 0;
5539 description {
5540 state: "default" 0.0;
5541 image {
5542 normal: "ilist_2.png";
5543 border: 2 2 2 2;
5544 }
5545 fill.smooth: 0;
5546 }
5547 }
5548 part { name: "bg";
5549 clip_to: "disclip";
5550 mouse_events: 0;
5551 description { state: "default" 0.0;
5552 visible: 0;
5553 color: 255 255 255 0;
5554 rel1 {
5555 relative: 0.0 0.0;
5556 offset: -5 -5;
5557 }
5558 rel2 {
5559 relative: 1.0 1.0;
5560 offset: 4 4;
5561 }
5562 image {
5563 normal: "bt_sm_base1.png";
5564 border: 6 6 6 6;
5565 }
5566 image.middle: SOLID;
5567 }
5568 description { state: "selected" 0.0;
5569 inherit: "default" 0.0;
5570 visible: 1;
5571 color: 255 255 255 255;
5572 rel1 {
5573 relative: 0.0 0.0;
5574 offset: -2 -2;
5575 }
5576 rel2 {
5577 relative: 1.0 1.0;
5578 offset: 1 1;
5579 }
5580 }
5581 }
5582 part { name: "elm.swallow.pad";
5583 type: SWALLOW;
5584 description { state: "default" 0.0;
5585 fixed: 1 0;
5586 align: 0.0 0.5;
5587 rel1 {
5588 relative: 0.0 0.0;
5589 offset: 4 4;
5590 }
5591 rel2 {
5592 relative: 1.0 1.0;
5593 offset: -4 -5;
5594 }
5595 }
5596 }
5597 part { name: "elm.swallow.icon";
5598 clip_to: "disclip";
5599 type: SWALLOW;
5600 description { state: "default" 0.0;
5601 fixed: 1 0;
5602 align: 0.5 0.5;
5603 rel1 {
5604 to_x: "elm.swallow.pad";
5605 relative: 0.0 0.0;
5606 offset: -1 4;
5607 }
5608 rel2 {
5609 to_x: "elm.swallow.pad";
5610 relative: 1.0 1.0;
5611 offset: -1 -5;
5612 }
5613 }
5614 }
5615 part { name: "elm.text";
5616 clip_to: "disclip";
5617 type: TEXT;
5618 effect: SOFT_SHADOW;
5619 mouse_events: 0;
5620 scale: 1;
5621 description {
5622 state: "default" 0.0;
5623 // min: 16 16;
5624 rel1 {
5625 to_y: "elm.swallow.icon";
5626 relative: 0.0 1.0;
5627 offset: 0 4;
5628 }
5629 rel2 {
5630 relative: 1.0 1.0;
5631 offset: -5 -5;
5632 }
5633 color: 0 0 0 255;
5634 color3: 0 0 0 0;
5635 text {
5636 font: "Sans";
5637 size: 10;
5638 min: 1 1;
5639 // min: 0 1;
5640 align: 0.5 0.5;
5641 text_class: "list_item";
5642 }
5643 }
5644 description { state: "selected" 0.0;
5645 inherit: "default" 0.0;
5646 color: 224 224 224 255;
5647 color3: 0 0 0 64;
5648 }
5649 }
5650 part { name: "fg1";
5651 clip_to: "disclip";
5652 mouse_events: 0;
5653 description { state: "default" 0.0;
5654 visible: 0;
5655 color: 255 255 255 0;
5656 rel1.to: "bg";
5657 rel2.relative: 1.0 0.5;
5658 rel2.to: "bg";
5659 image {
5660 normal: "bt_sm_hilight.png";
5661 border: 6 6 6 0;
5662 }
5663 }
5664 description { state: "selected" 0.0;
5665 inherit: "default" 0.0;
5666 visible: 1;
5667 color: 255 255 255 255;
5668 }
5669 }
5670 part { name: "fg2";
5671 clip_to: "disclip";
5672 mouse_events: 0;
5673 description { state: "default" 0.0;
5674 visible: 0;
5675 color: 255 255 255 0;
5676 rel1.to: "bg";
5677 rel2.to: "bg";
5678 image {
5679 normal: "bt_sm_shine.png";
5680 border: 6 6 6 0;
5681 }
5682 }
5683 description { state: "selected" 0.0;
5684 inherit: "default" 0.0;
5685 visible: 1;
5686 color: 255 255 255 255;
5687 }
5688 }
5689 part { name: "disclip";
5690 type: RECT;
5691 description { state: "default" 0.0;
5692 rel1.to: "bg";
5693 rel2.to: "bg";
5694 }
5695 description { state: "disabled" 0.0;
5696 inherit: "default" 0.0;
5697 color: 255 255 255 64;
5698 }
5699 }
5700 }
5701 programs {
5702 // signal: elm,state,%s,active
5703 // a "check" item named %s went active
5704 // signal: elm,state,%s,passive
5705 // a "check" item named %s went passive
5706 // default is passive
5707 program {
5708 name: "go_active";
5709 signal: "elm,state,selected";
5710 source: "elm";
5711 action: STATE_SET "selected" 0.0;
5712 target: "bg";
5713 target: "fg1";
5714 target: "fg2";
5715 target: "elm.text";
5716 }
5717 program {
5718 name: "go_passive";
5719 signal: "elm,state,unselected";
5720 source: "elm";
5721 action: STATE_SET "default" 0.0;
5722 target: "bg";
5723 target: "fg1";
5724 target: "fg2";
5725 target: "elm.text";
5726 transition: LINEAR 0.1;
5727 }
5728 program {
5729 name: "go_disabled";
5730 signal: "elm,state,disabled";
5731 source: "elm";
5732 action: STATE_SET "disabled" 0.0;
5733 target: "disclip";
5734 }
5735 program {
5736 name: "go_enabled";
5737 signal: "elm,state,enabled";
5738 source: "elm";
5739 action: STATE_SET "default" 0.0;
5740 target: "disclip";
5741 }
5742 }
5743}
5744
5745group { name: "elm/genlist/tree/icon_top_text_bottom/default";
5746 data.item: "stacking" "above";
5747 data.item: "selectraise" "on";
5748 data.item: "texts" "elm.text";
5749 data.item: "contents" "elm.swallow.icon";
5750 data.item: "treesize" "20";
5751 // data.item: "states" "";
5752 images {
5753 image: "bt_sm_base1.png" COMP;
5754 image: "bt_sm_shine.png" COMP;
5755 image: "bt_sm_hilight.png" COMP;
5756 image: "ilist_1.png" COMP;
5757 image: "ilist_item_shadow.png" COMP;
5758 image: "icon_arrow_right.png" COMP;
5759 image: "icon_arrow_down.png" COMP;
5760 }
5761 parts {
5762 part {
5763 name: "event";
5764 type: RECT;
5765 repeat_events: 1;
5766 description {
5767 state: "default" 0.0;
5768 color: 0 0 0 0;
5769 }
5770 }
5771 part {
5772 name: "base_sh";
5773 mouse_events: 0;
5774 description {
5775 state: "default" 0.0;
5776 align: 0.0 0.0;
5777 min: 0 10;
5778 fixed: 1 1;
5779 rel1 {
5780 to: "base";
5781 relative: 0.0 1.0;
5782 offset: 0 0;
5783 }
5784 rel2 {
5785 to: "base";
5786 relative: 1.0 1.0;
5787 offset: -1 0;
5788 }
5789 image {
5790 normal: "ilist_item_shadow.png";
5791 }
5792 fill.smooth: 0;
5793 }
5794 }
5795 part {
5796 name: "base";
5797 mouse_events: 0;
5798 description {
5799 state: "default" 0.0;
5800 image {
5801 normal: "ilist_1.png";
5802 border: 2 2 2 2;
5803 }
5804 fill.smooth: 0;
5805 }
5806 }
5807 part { name: "bg";
5808 clip_to: "disclip";
5809 mouse_events: 0;
5810 description { state: "default" 0.0;
5811 visible: 0;
5812 color: 255 255 255 0;
5813 rel1 {
5814 relative: 0.0 0.0;
5815 offset: -5 -5;
5816 }
5817 rel2 {
5818 relative: 1.0 1.0;
5819 offset: 4 4;
5820 }
5821 image {
5822 normal: "bt_sm_base1.png";
5823 border: 6 6 6 6;
5824 }
5825 image.middle: SOLID;
5826 }
5827 description { state: "selected" 0.0;
5828 inherit: "default" 0.0;
5829 visible: 1;
5830 color: 255 255 255 255;
5831 rel1 {
5832 relative: 0.0 0.0;
5833 offset: -2 -2;
5834 }
5835 rel2 {
5836 relative: 1.0 1.0;
5837 offset: 1 1;
5838 }
5839 }
5840 }
5841 part { name: "elm.swallow.pad";
5842 type: SWALLOW;
5843 description { state: "default" 0.0;
5844 fixed: 1 0;
5845 align: 0.0 0.5;
5846 rel1 {
5847 relative: 0.0 0.0;
5848 offset: 4 4;
5849 }
5850 rel2 {
5851 relative: 0.0 1.0;
5852 offset: 4 -5;
5853 }
5854 }
5855 }
5856 part { name: "arrow";
5857 clip_to: "disclip";
5858 ignore_flags: ON_HOLD;
5859 description { state: "default" 0.0;
5860 fixed: 1 0;
5861 align: 0.0 0.5;
5862 aspect: 1.0 1.0;
5863 rel1 {
5864 to_x: "elm.swallow.pad";
5865 relative: 1.0 0.0;
5866 offset: -1 4;
5867 }
5868 rel2 {
5869 to_x: "elm.swallow.pad";
5870 relative: 1.0 1.0;
5871 offset: -1 -5;
5872 }
5873 image.normal: "icon_arrow_right.png";
5874 }
5875 description { state: "active" 0.0;
5876 inherit: "default" 0.0;
5877 image.normal: "icon_arrow_down.png";
5878 }
5879 }
5880 part { name: "elm.swallow.icon";
5881 clip_to: "disclip";
5882 type: SWALLOW;
5883 description { state: "default" 0.0;
5884 fixed: 1 0;
5885 align: 0.5 0.5;
5886 rel1 {
5887 to_x: "arrow";
5888 relative: 1.0 0.0;
5889 offset: 4 4;
5890 }
5891 rel2 {
5892 relative: 1.0 1.0;
5893 offset: -4 -5;
5894 }
5895 }
5896 }
5897 part { name: "elm.text";
5898 clip_to: "disclip";
5899 type: TEXT;
5900 effect: SOFT_SHADOW;
5901 mouse_events: 0;
5902 scale: 1;
5903 description {
5904 state: "default" 0.0;
5905 // min: 16 16;
5906 rel1 {
5907 to_y: "elm.swallow.icon";
5908 relative: 0.0 1.0;
5909 offset: 0 4;
5910 }
5911 rel2 {
5912 relative: 1.0 1.0;
5913 offset: -5 -5;
5914 }
5915 color: 0 0 0 255;
5916 color3: 0 0 0 0;
5917 text {
5918 font: "Sans";
5919 size: 10;
5920 min: 1 1;
5921 // min: 0 1;
5922 align: 0.5 0.5;
5923 text_class: "list_item";
5924 }
5925 }
5926 description { state: "selected" 0.0;
5927 inherit: "default" 0.0;
5928 color: 224 224 224 255;
5929 color3: 0 0 0 64;
5930 }
5931 }
5932 part { name: "fg1";
5933 clip_to: "disclip";
5934 mouse_events: 0;
5935 description { state: "default" 0.0;
5936 visible: 0;
5937 color: 255 255 255 0;
5938 rel1.to: "bg";
5939 rel2.relative: 1.0 0.5;
5940 rel2.to: "bg";
5941 image {
5942 normal: "bt_sm_hilight.png";
5943 border: 6 6 6 0;
5944 }
5945 }
5946 description { state: "selected" 0.0;
5947 inherit: "default" 0.0;
5948 visible: 1;
5949 color: 255 255 255 255;
5950 }
5951 }
5952 part { name: "fg2";
5953 clip_to: "disclip";
5954 mouse_events: 0;
5955 description { state: "default" 0.0;
5956 visible: 0;
5957 color: 255 255 255 0;
5958 rel1.to: "bg";
5959 rel2.to: "bg";
5960 image {
5961 normal: "bt_sm_shine.png";
5962 border: 6 6 6 0;
5963 }
5964 }
5965 description { state: "selected" 0.0;
5966 inherit: "default" 0.0;
5967 visible: 1;
5968 color: 255 255 255 255;
5969 }
5970 }
5971 part { name: "disclip";
5972 type: RECT;
5973 description { state: "default" 0.0;
5974 rel1.to: "bg";
5975 rel2.to: "bg";
5976 }
5977 description { state: "disabled" 0.0;
5978 inherit: "default" 0.0;
5979 color: 255 255 255 64;
5980 }
5981 }
5982 }
5983 programs {
5984 // signal: elm,state,%s,active
5985 // a "check" item named %s went active
5986 // signal: elm,state,%s,passive
5987 // a "check" item named %s went passive
5988 // default is passive
5989 program {
5990 name: "go_active";
5991 signal: "elm,state,selected";
5992 source: "elm";
5993 action: STATE_SET "selected" 0.0;
5994 target: "bg";
5995 target: "fg1";
5996 target: "fg2";
5997 target: "elm.text";
5998 }
5999 program {
6000 name: "go_passive";
6001 signal: "elm,state,unselected";
6002 source: "elm";
6003 action: STATE_SET "default" 0.0;
6004 target: "bg";
6005 target: "fg1";
6006 target: "fg2";
6007 target: "elm.text";
6008 transition: LINEAR 0.1;
6009 }
6010 program {
6011 name: "go_disabled";
6012 signal: "elm,state,disabled";
6013 source: "elm";
6014 action: STATE_SET "disabled" 0.0;
6015 target: "disclip";
6016 }
6017 program {
6018 name: "go_enabled";
6019 signal: "elm,state,enabled";
6020 source: "elm";
6021 action: STATE_SET "default" 0.0;
6022 target: "disclip";
6023 }
6024 program {
6025 name: "expand";
6026 signal: "mouse,up,1";
6027 source: "arrow";
6028 action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
6029 }
6030 program {
6031 name: "go_expanded";
6032 signal: "elm,state,expanded";
6033 source: "elm";
6034 action: STATE_SET "active" 0.0;
6035 target: "arrow";
6036 }
6037 program {
6038 name: "go_contracted";
6039 signal: "elm,state,contracted";
6040 source: "elm";
6041 action: STATE_SET "default" 0.0;
6042 target: "arrow";
6043 }
6044 }
6045}
6046group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
6047 data.item: "stacking" "below";
6048 data.item: "selectraise" "on";
6049 data.item: "texts" "elm.text";
6050 data.item: "contents" "elm.swallow.icon";
6051 data.item: "treesize" "20";
6052 // data.item: "states" "";
6053 images {
6054 image: "bt_sm_base1.png" COMP;
6055 image: "bt_sm_shine.png" COMP;
6056 image: "bt_sm_hilight.png" COMP;
6057 image: "ilist_2.png" COMP;
6058 image: "icon_arrow_right.png" COMP;
6059 image: "icon_arrow_down.png" COMP;
6060 }
6061 parts {
6062 part {
6063 name: "event";
6064 type: RECT;
6065 repeat_events: 1;
6066 description {
6067 state: "default" 0.0;
6068 color: 0 0 0 0;
6069 }
6070 }
6071 part {
6072 name: "base";
6073 mouse_events: 0;
6074 description {
6075 state: "default" 0.0;
6076 image {
6077 normal: "ilist_2.png";
6078 border: 2 2 2 2;
6079 }
6080 fill.smooth: 0;
6081 }
6082 }
6083 part { name: "bg";
6084 clip_to: "disclip";
6085 mouse_events: 0;
6086 description { state: "default" 0.0;
6087 visible: 0;
6088 color: 255 255 255 0;
6089 rel1 {
6090 relative: 0.0 0.0;
6091 offset: -5 -5;
6092 }
6093 rel2 {
6094 relative: 1.0 1.0;
6095 offset: 4 4;
6096 }
6097 image {
6098 normal: "bt_sm_base1.png";
6099 border: 6 6 6 6;
6100 }
6101 image.middle: SOLID;
6102 }
6103 description { state: "selected" 0.0;
6104 inherit: "default" 0.0;
6105 visible: 1;
6106 color: 255 255 255 255;
6107 rel1 {
6108 relative: 0.0 0.0;
6109 offset: -2 -2;
6110 }
6111 rel2 {
6112 relative: 1.0 1.0;
6113 offset: 1 1;
6114 }
6115 }
6116 }
6117 part { name: "elm.swallow.pad";
6118 type: SWALLOW;
6119 description { state: "default" 0.0;
6120 fixed: 1 0;
6121 align: 0.0 0.5;
6122 rel1 {
6123 relative: 0.0 0.0;
6124 offset: 4 4;
6125 }
6126 rel2 {
6127 relative: 0.0 1.0;
6128 offset: 4 -5;
6129 }
6130 }
6131 }
6132 part { name: "arrow";
6133 clip_to: "disclip";
6134 ignore_flags: ON_HOLD;
6135 description { state: "default" 0.0;
6136 fixed: 1 0;
6137 align: 0.0 0.5;
6138 aspect: 1.0 1.0;
6139 rel1 {
6140 to_x: "elm.swallow.pad";
6141 relative: 1.0 0.0;
6142 offset: -1 4;
6143 }
6144 rel2 {
6145 to_x: "elm.swallow.pad";
6146 relative: 1.0 1.0;
6147 offset: -1 -5;
6148 }
6149 image.normal: "icon_arrow_right.png";
6150 }
6151 description { state: "active" 0.0;
6152 inherit: "default" 0.0;
6153 image.normal: "icon_arrow_down.png";
6154 }
6155 }
6156 part { name: "elm.swallow.icon";
6157 clip_to: "disclip";
6158 type: SWALLOW;
6159 description { state: "default" 0.0;
6160 fixed: 1 0;
6161 align: 0.5 0.5;
6162 rel1 {
6163 to_x: "arrow";
6164 relative: 1.0 0.0;
6165 offset: 4 4;
6166 }
6167 rel2 {
6168 relative: 1.0 1.0;
6169 offset: -4 -5;
6170 }
6171 }
6172 }
6173 part { name: "elm.text";
6174 clip_to: "disclip";
6175 type: TEXT;
6176 effect: SOFT_SHADOW;
6177 mouse_events: 0;
6178 scale: 1;
6179 description {
6180 state: "default" 0.0;
6181 // min: 16 16;
6182 rel1 {
6183 to_y: "elm.swallow.icon";
6184 relative: 0.0 1.0;
6185 offset: 0 4;
6186 }
6187 rel2 {
6188 relative: 1.0 1.0;
6189 offset: -5 -5;
6190 }
6191 color: 0 0 0 255;
6192 color3: 0 0 0 0;
6193 text {
6194 font: "Sans";
6195 size: 10;
6196 min: 1 1;
6197 // min: 0 1;
6198 align: 0.5 0.5;
6199 text_class: "list_item";
6200 }
6201 }
6202 description { state: "selected" 0.0;
6203 inherit: "default" 0.0;
6204 color: 224 224 224 255;
6205 color3: 0 0 0 64;
6206 }
6207 }
6208 part { name: "fg1";
6209 clip_to: "disclip";
6210 mouse_events: 0;
6211 description { state: "default" 0.0;
6212 visible: 0;
6213 color: 255 255 255 0;
6214 rel1.to: "bg";
6215 rel2.relative: 1.0 0.5;
6216 rel2.to: "bg";
6217 image {
6218 normal: "bt_sm_hilight.png";
6219 border: 6 6 6 0;
6220 }
6221 }
6222 description { state: "selected" 0.0;
6223 inherit: "default" 0.0;
6224 visible: 1;
6225 color: 255 255 255 255;
6226 }
6227 }
6228 part { name: "fg2";
6229 clip_to: "disclip";
6230 mouse_events: 0;
6231 description { state: "default" 0.0;
6232 visible: 0;
6233 color: 255 255 255 0;
6234 rel1.to: "bg";
6235 rel2.to: "bg";
6236 image {
6237 normal: "bt_sm_shine.png";
6238 border: 6 6 6 0;
6239 }
6240 }
6241 description { state: "selected" 0.0;
6242 inherit: "default" 0.0;
6243 visible: 1;
6244 color: 255 255 255 255;
6245 }
6246 }
6247 part { name: "disclip";
6248 type: RECT;
6249 description { state: "default" 0.0;
6250 rel1.to: "bg";
6251 rel2.to: "bg";
6252 }
6253 description { state: "disabled" 0.0;
6254 inherit: "default" 0.0;
6255 color: 255 255 255 64;
6256 }
6257 }
6258 }
6259 programs {
6260 // signal: elm,state,%s,active
6261 // a "check" item named %s went active
6262 // signal: elm,state,%s,passive
6263 // a "check" item named %s went passive
6264 // default is passive
6265 program {
6266 name: "go_active";
6267 signal: "elm,state,selected";
6268 source: "elm";
6269 action: STATE_SET "selected" 0.0;
6270 target: "bg";
6271 target: "fg1";
6272 target: "fg2";
6273 target: "elm.text";
6274 }
6275 program {
6276 name: "go_passive";
6277 signal: "elm,state,unselected";
6278 source: "elm";
6279 action: STATE_SET "default" 0.0;
6280 target: "bg";
6281 target: "fg1";
6282 target: "fg2";
6283 target: "elm.text";
6284 transition: LINEAR 0.1;
6285 }
6286 program {
6287 name: "go_disabled";
6288 signal: "elm,state,disabled";
6289 source: "elm";
6290 action: STATE_SET "disabled" 0.0;
6291 target: "disclip";
6292 }
6293 program {
6294 name: "go_enabled";
6295 signal: "elm,state,enabled";
6296 source: "elm";
6297 action: STATE_SET "default" 0.0;
6298 target: "disclip";
6299 }
6300 program {
6301 name: "expand";
6302 signal: "mouse,up,1";
6303 source: "arrow";
6304 action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
6305 }
6306 program {
6307 name: "go_expanded";
6308 signal: "elm,state,expanded";
6309 source: "elm";
6310 action: STATE_SET "active" 0.0;
6311 target: "arrow";
6312 }
6313 program {
6314 name: "go_contracted";
6315 signal: "elm,state,contracted";
6316 source: "elm";
6317 action: STATE_SET "default" 0.0;
6318 target: "arrow";
6319 }
6320 }
6321}
6322
6323
6324///////////////////////////////////////////////////////////////////////////////
6325group { name: "elm/genlist/tree_compress_odd/double_label/default";
6326 data.item: "stacking" "below";
6327 data.item: "selectraise" "on";
6328 data.item: "texts" "elm.text elm.text.sub";
6329 data.item: "contents" "elm.swallow.icon elm.swallow.end";
6330 data.item: "treesize" "20";
6331 // data.item: "states" "";
6332 images {
6333 image: "bt_sm_base1.png" COMP;
6334 image: "bt_sm_shine.png" COMP;
6335 image: "bt_sm_hilight.png" COMP;
6336 image: "ilist_2.png" COMP;
6337 image: "icon_arrow_right.png" COMP;
6338 image: "icon_arrow_down.png" COMP;
6339 }
6340 parts {
6341 part {
6342 name: "event";
6343 type: RECT;
6344 repeat_events: 1;
6345 description {
6346 state: "default" 0.0;
6347 color: 0 0 0 0;
6348 }
6349 }
6350 part {
6351 name: "base";
6352 mouse_events: 0;
6353 description {
6354 state: "default" 0.0;
6355 image {
6356 normal: "ilist_2.png";
6357 border: 2 2 2 2;
6358 }
6359 fill.smooth: 0;
6360 }
6361 }
6362 part { name: "bg";
6363 clip_to: "disclip";
6364 mouse_events: 0;
6365 description { state: "default" 0.0;
6366 visible: 0;
6367 color: 255 255 255 0;
6368 rel1 {
6369 relative: 0.0 0.0;
6370 offset: -5 -5;
6371 }
6372 rel2 {
6373 relative: 1.0 1.0;
6374 offset: 4 4;
6375 }
6376 image {
6377 normal: "bt_sm_base1.png";
6378 border: 6 6 6 6;
6379 }
6380 image.middle: SOLID;
6381 }
6382 description { state: "selected" 0.0;
6383 inherit: "default" 0.0;
6384 visible: 1;
6385 color: 255 255 255 255;
6386 rel1 {
6387 relative: 0.0 0.0;
6388 offset: -2 -2;
6389 }
6390 rel2 {
6391 relative: 1.0 1.0;
6392 offset: 1 1;
6393 }
6394 }
6395 }
6396 part { name: "elm.swallow.pad";
6397 type: SWALLOW;
6398 description { state: "default" 0.0;
6399 fixed: 1 0;
6400 align: 0.0 0.5;
6401 rel1 {
6402 relative: 0.0 0.0;
6403 offset: 4 4;
6404 }
6405 rel2 {
6406 relative: 0.0 1.0;
6407 offset: 4 -5;
6408 }
6409 }
6410 }
6411 part { name: "arrow";
6412 clip_to: "disclip";
6413 ignore_flags: ON_HOLD;
6414 description { state: "default" 0.0;
6415 fixed: 1 0;
6416 align: 0.0 0.5;
6417 aspect: 1.0 1.0;
6418 rel1 {
6419 to_x: "elm.swallow.pad";
6420 relative: 1.0 0.0;
6421 offset: -1 4;
6422 }
6423 rel2 {
6424 to_x: "elm.swallow.pad";
6425 relative: 1.0 1.0;
6426 offset: -1 -5;
6427 }
6428 image.normal: "icon_arrow_right.png";
6429 }
6430 description { state: "active" 0.0;
6431 inherit: "default" 0.0;
6432 image.normal: "icon_arrow_down.png";
6433 }
6434 }
6435 part { name: "elm.swallow.icon";
6436 clip_to: "disclip";
6437 type: SWALLOW;
6438 description { state: "default" 0.0;
6439 fixed: 1 0;
6440 align: 0.0 0.5;
6441 rel1 {
6442 to_x: "arrow";
6443 relative: 1.0 0.0;
6444 offset: 4 4;
6445 }
6446 rel2 {
6447 to_x: "arrow";
6448 relative: 1.0 1.0;
6449 offset: 4 -5;
6450 }
6451 }
6452 }
6453 part { name: "elm.swallow.end";
6454 clip_to: "disclip";
6455 type: SWALLOW;
6456 description { state: "default" 0.0;
6457 fixed: 1 0;
6458 align: 1.0 0.5;
6459 aspect: 1.0 1.0;
6460 aspect_preference: VERTICAL;
6461 rel1 {
6462 relative: 1.0 0.0;
6463 offset: -5 4;
6464 }
6465 rel2 {
6466 relative: 1.0 1.0;
6467 offset: -5 -5;
6468 }
6469 }
6470 }
6471 part { name: "elm.text";
6472 clip_to: "disclip";
6473 type: TEXT;
6474 effect: SOFT_SHADOW;
6475 mouse_events: 0;
6476 scale: 1;
6477 description {
6478 state: "default" 0.0;
6479 // min: 16 16;
6480 rel1 {
6481 to_x: "elm.swallow.icon";
6482 relative: 1.0 0.0;
6483 offset: 0 4;
6484 }
6485 rel2 {
6486 to_x: "elm.swallow.end";
6487 relative: 0.0 0.5;
6488 offset: -1 -5;
6489 }
6490 color: 0 0 0 255;
6491 color3: 0 0 0 0;
6492 text {
6493 font: "Sans";
6494 size: 10;
6495 // min: 1 1;
6496 min: 0 1;
6497 align: 0.0 0.5;
6498 text_class: "list_item";
6499 }
6500 }
6501 description { state: "selected" 0.0;
6502 inherit: "default" 0.0;
6503 color: 224 224 224 255;
6504 color3: 0 0 0 64;
6505 }
6506 }
6507 part { name: "elm.text.sub";
6508 clip_to: "disclip";
6509 type: TEXT;
6510 mouse_events: 0;
6511 scale: 1;
6512 description {
6513 state: "default" 0.0;
6514 // min: 16 16;
6515 rel1 {
6516 to_x: "elm.swallow.icon";
6517 relative: 1.0 0.5;
6518 offset: 0 4;
6519 }
6520 rel2 {
6521 to_x: "elm.swallow.end";
6522 relative: 0.0 1.0;
6523 offset: -1 -5;
6524 }
6525 color: 0 0 0 128;
6526 color3: 0 0 0 0;
6527 text {
6528 font: "Sans";
6529 size: 8;
6530 // min: 1 1;
6531 min: 0 1;
6532 align: 0.0 0.5;
6533 text_class: "list_item";
6534 }
6535 }
6536 description { state: "selected" 0.0;
6537 inherit: "default" 0.0;
6538 color: 128 128 128 255;
6539 color3: 0 0 0 32;
6540 }
6541 }
6542 part { name: "fg1";
6543 clip_to: "disclip";
6544 mouse_events: 0;
6545 description { state: "default" 0.0;
6546 visible: 0;
6547 color: 255 255 255 0;
6548 rel1.to: "bg";
6549 rel2.relative: 1.0 0.5;
6550 rel2.to: "bg";
6551 image {
6552 normal: "bt_sm_hilight.png";
6553 border: 6 6 6 0;
6554 }
6555 }
6556 description { state: "selected" 0.0;
6557 inherit: "default" 0.0;
6558 visible: 1;
6559 color: 255 255 255 255;
6560 }
6561 }
6562 part { name: "fg2";
6563 clip_to: "disclip";
6564 mouse_events: 0;
6565 description { state: "default" 0.0;
6566 visible: 0;
6567 color: 255 255 255 0;
6568 rel1.to: "bg";
6569 rel2.to: "bg";
6570 image {
6571 normal: "bt_sm_shine.png";
6572 border: 6 6 6 0;
6573 }
6574 }
6575 description { state: "selected" 0.0;
6576 inherit: "default" 0.0;
6577 visible: 1;
6578 color: 255 255 255 255;
6579 }
6580 }
6581 part { name: "disclip";
6582 type: RECT;
6583 description { state: "default" 0.0;
6584 rel1.to: "bg";
6585 rel2.to: "bg";
6586 }
6587 description { state: "disabled" 0.0;
6588 inherit: "default" 0.0;
6589 color: 255 255 255 64;
6590 }
6591 }
6592 }
6593 programs {
6594 // signal: elm,state,%s,active
6595 // a "check" item named %s went active
6596 // signal: elm,state,%s,passive
6597 // a "check" item named %s went passive
6598 // default is passive
6599 program {
6600 name: "go_active";
6601 signal: "elm,state,selected";
6602 source: "elm";
6603 action: STATE_SET "selected" 0.0;
6604 target: "bg";
6605 target: "fg1";
6606 target: "fg2";
6607 target: "elm.text";
6608 target: "elm.text.sub";
6609 }
6610 program {
6611 name: "go_passive";
6612 signal: "elm,state,unselected";
6613 source: "elm";
6614 action: STATE_SET "default" 0.0;
6615 target: "bg";
6616 target: "fg1";
6617 target: "fg2";
6618 target: "elm.text";
6619 target: "elm.text.sub";
6620 transition: LINEAR 0.1;
6621 }
6622 program {
6623 name: "go_disabled";
6624 signal: "elm,state,disabled";
6625 source: "elm";
6626 action: STATE_SET "disabled" 0.0;
6627 target: "disclip";
6628 }
6629 program {
6630 name: "go_enabled";
6631 signal: "elm,state,enabled";
6632 source: "elm";
6633 action: STATE_SET "default" 0.0;
6634 target: "disclip";
6635 }
6636 program {
6637 name: "expand";
6638 signal: "mouse,up,1";
6639 source: "arrow";
6640 action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
6641 }
6642 program {
6643 name: "go_expanded";
6644 signal: "elm,state,expanded";
6645 source: "elm";
6646 action: STATE_SET "active" 0.0;
6647 target: "arrow";
6648 }
6649 program {
6650 name: "go_contracted";
6651 signal: "elm,state,contracted";
6652 source: "elm";
6653 action: STATE_SET "default" 0.0;
6654 target: "arrow";
6655 }
6656 }
6657}
6658
6659group { name: "elm/genlist/item_compress/media/default";
6660 data.item: "stacking" "above";
6661 data.item: "selectraise" "on";
6662 data.item: "texts" "elm.text.title elm.text.album-artist";
6663 data.item: "treesize" "20";
6664 images {
6665 image: "bt_sm_base1.png" COMP;
6666 image: "bt_sm_shine.png" COMP;
6667 image: "bt_sm_hilight.png" COMP;
6668 image: "ilist_1.png" COMP;
6669 image: "ilist_item_shadow.png" COMP;
6670 }
6671 parts {
6672 part {
6673 name: "event";
6674 type: RECT;
6675 repeat_events: 1;
6676 description {
6677 state: "default" 0.0;
6678 color: 0 0 0 0;
6679 }
6680 }
6681 part {
6682 name: "base_sh";
6683 mouse_events: 0;
6684 description {
6685 state: "default" 0.0;
6686 align: 0.0 0.0;
6687 min: 0 10;
6688 fixed: 1 1;
6689 rel1 {
6690 to: "base";
6691 relative: 0.0 1.0;
6692 offset: 0 0;
6693 }
6694 rel2 {
6695 to: "base";
6696 relative: 1.0 1.0;
6697 offset: -1 0;
6698 }
6699 image {
6700 normal: "ilist_item_shadow.png";
6701 }
6702 fill.smooth: 0;
6703 }
6704 }
6705 part {
6706 name: "base";
6707 mouse_events: 0;
6708 description {
6709 state: "default" 0.0;
6710 image {
6711 normal: "ilist_1.png";
6712 border: 2 2 2 2;
6713 }
6714 fill.smooth: 0;
6715 }
6716 }
6717 part { name: "bg";
6718 clip_to: "disclip";
6719 mouse_events: 0;
6720 description { state: "default" 0.0;
6721 visible: 0;
6722 color: 255 255 255 0;
6723 rel1 {
6724 relative: 0.0 0.0;
6725 offset: -5 -5;
6726 }
6727 rel2 {
6728 relative: 1.0 1.0;
6729 offset: 4 4;
6730 }
6731 image {
6732 normal: "bt_sm_base1.png";
6733 border: 6 6 6 6;
6734 }
6735 image.middle: SOLID;
6736 }
6737 description { state: "selected" 0.0;
6738 inherit: "default" 0.0;
6739 visible: 1;
6740 color: 255 255 255 255;
6741 rel1 {
6742 relative: 0.0 0.0;
6743 offset: -2 -2;
6744 }
6745 rel2 {
6746 relative: 1.0 1.0;
6747 offset: 1 1;
6748 }
6749 }
6750 }
6751 part { name: "elm.swallow.pad";
6752 type: SWALLOW;
6753 description { state: "default" 0.0;
6754 fixed: 1 0;
6755 align: 0.0 0.5;
6756 rel1 {
6757 relative: 0.0 0.0;
6758 offset: 4 4;
6759 }
6760 rel2 {
6761 relative: 0.0 1.0;
6762 offset: 4 -5;
6763 }
6764 }
6765 }
6766 part { name: "elm.text.title";
6767 clip_to: "disclip";
6768 type: TEXT;
6769 effect: SOFT_SHADOW;
6770 mouse_events: 0;
6771 scale: 1;
6772 description {
6773 state: "default" 0.0;
6774 rel1 {
6775 relative: 0.0 0.0;
6776 offset: 4 4;
6777 }
6778 rel2 {
6779 relative: 1.0 0.5;
6780 offset: -1 -5;
6781 }
6782 color: 0 0 0 255;
6783 color3: 0 0 0 0;
6784 text {
6785 font: "Sans";
6786 size: 10;
6787 min: 0 1;
6788 align: 0.0 0.5;
6789 }
6790 }
6791 description { state: "selected" 0.0;
6792 inherit: "default" 0.0;
6793 color: 224 224 224 255;
6794 color3: 0 0 0 64;
6795 }
6796 }
6797 part { name: "elm.text.album-artist";
6798 clip_to: "disclip";
6799 type: TEXT;
6800 mouse_events: 0;
6801 scale: 1;
6802 description {
6803 state: "default" 0.0;
6804 rel1 {
6805 relative: 0.0 0.5;
6806 offset: 4 4;
6807 }
6808 rel2 {
6809 relative: 1.0 1.0;
6810 offset: -1 -5;
6811 }
6812 color: 0 0 0 128;
6813 color3: 0 0 0 0;
6814 text {
6815 font: "Sans";
6816 size: 8;
6817 min: 0 1;
6818 align: 0.0 0.5;
6819 }
6820 }
6821 description { state: "selected" 0.0;
6822 inherit: "default" 0.0;
6823 color: 128 128 128 255;
6824 color3: 0 0 0 32;
6825 }
6826 }
6827 part { name: "fg1";
6828 clip_to: "disclip";
6829 mouse_events: 0;
6830 description { state: "default" 0.0;
6831 visible: 0;
6832 color: 255 255 255 0;
6833 rel1.to: "bg";
6834 rel2.relative: 1.0 0.5;
6835 rel2.to: "bg";
6836 image {
6837 normal: "bt_sm_hilight.png";
6838 border: 6 6 6 0;
6839 }
6840 }
6841 description { state: "selected" 0.0;
6842 inherit: "default" 0.0;
6843 visible: 1;
6844 color: 255 255 255 255;
6845 }
6846 }
6847 part { name: "fg2";
6848 clip_to: "disclip";
6849 mouse_events: 0;
6850 description { state: "default" 0.0;
6851 visible: 0;
6852 color: 255 255 255 0;
6853 rel1.to: "bg";
6854 rel2.to: "bg";
6855 image {
6856 normal: "bt_sm_shine.png";
6857 border: 6 6 6 0;
6858 }
6859 }
6860 description { state: "selected" 0.0;
6861 inherit: "default" 0.0;
6862 visible: 1;
6863 color: 255 255 255 255;
6864 }
6865 }
6866 part { name: "disclip";
6867 type: RECT;
6868 description { state: "default" 0.0;
6869 rel1.to: "bg";
6870 rel2.to: "bg";
6871 }
6872 description { state: "disabled" 0.0;
6873 inherit: "default" 0.0;
6874 color: 255 255 255 64;
6875 }
6876 }
6877 }
6878 programs {
6879 // signal: elm,state,%s,active
6880 // a "check" item named %s went active
6881 // signal: elm,state,%s,passive
6882 // a "check" item named %s went passive
6883 // default is passive
6884 program {
6885 name: "go_active";
6886 signal: "elm,state,selected";
6887 source: "elm";
6888 action: STATE_SET "selected" 0.0;
6889 target: "bg";
6890 target: "fg1";
6891 target: "fg2";
6892 target: "elm.text.title";
6893 target: "elm.text.album-artist";
6894 }
6895 program {
6896 name: "go_passive";
6897 signal: "elm,state,unselected";
6898 source: "elm";
6899 action: STATE_SET "default" 0.0;
6900 target: "bg";
6901 target: "fg1";
6902 target: "fg2";
6903 target: "elm.text.title";
6904 target: "elm.text.album-artist";
6905 transition: LINEAR 0.1;
6906 }
6907 program {
6908 name: "go_disabled";
6909 signal: "elm,state,disabled";
6910 source: "elm";
6911 action: STATE_SET "disabled" 0.0;
6912 target: "disclip";
6913 }
6914 program {
6915 name: "go_enabled";
6916 signal: "elm,state,enabled";
6917 source: "elm";
6918 action: STATE_SET "default" 0.0;
6919 target: "disclip";
6920 }
6921 }
6922}
6923group { name: "elm/genlist/item_compress_odd/media/default";
6924 data.item: "stacking" "below";
6925 data.item: "selectraise" "on";
6926 data.item: "texts" "elm.text.title elm.text.album-artist";
6927 data.item: "treesize" "20";
6928 images {
6929 image: "bt_sm_base1.png" COMP;
6930 image: "bt_sm_shine.png" COMP;
6931 image: "bt_sm_hilight.png" COMP;
6932 image: "ilist_2.png" COMP;
6933 }
6934 parts {
6935 part { name: "event";
6936 type: RECT;
6937 repeat_events: 1;
6938 description {
6939 state: "default" 0.0;
6940 color: 0 0 0 0;
6941 }
6942 }
6943 part {
6944 name: "base";
6945 mouse_events: 0;
6946 description {
6947 state: "default" 0.0;
6948 image {
6949 normal: "ilist_2.png";
6950 border: 2 2 2 2;
6951 }
6952 fill.smooth: 0;
6953 }
6954 }
6955 part { name: "bg";
6956 clip_to: "disclip";
6957 mouse_events: 0;
6958 description { state: "default" 0.0;
6959 visible: 0;
6960 color: 255 255 255 0;
6961 rel1 {
6962 relative: 0.0 0.0;
6963 offset: -5 -5;
6964 }
6965 rel2 {
6966 relative: 1.0 1.0;
6967 offset: 4 4;
6968 }
6969 image {
6970 normal: "bt_sm_base1.png";
6971 border: 6 6 6 6;
6972 }
6973 image.middle: SOLID;
6974 }
6975 description { state: "selected" 0.0;
6976 inherit: "default" 0.0;
6977 visible: 1;
6978 color: 255 255 255 255;
6979 rel1 {
6980 relative: 0.0 0.0;
6981 offset: -2 -2;
6982 }
6983 rel2 {
6984 relative: 1.0 1.0;
6985 offset: 1 1;
6986 }
6987 }
6988 }
6989 part { name: "elm.swallow.pad";
6990 type: SWALLOW;
6991 description { state: "default" 0.0;
6992 fixed: 1 0;
6993 align: 0.0 0.5;
6994 rel1 {
6995 relative: 0.0 0.0;
6996 offset: 4 4;
6997 }
6998 rel2 {
6999 relative: 0.0 1.0;
7000 offset: 4 -5;
7001 }
7002 }
7003 }
7004 part { name: "elm.text.title";
7005 clip_to: "disclip";
7006 type: TEXT;
7007 effect: SOFT_SHADOW;
7008 mouse_events: 0;
7009 scale: 1;
7010 description {
7011 state: "default" 0.0;
7012 rel1 {
7013 relative: 0.0 0.0;
7014 offset: 4 4;
7015 }
7016 rel2 {
7017 relative: 1.0 0.5;
7018 offset: -1 -5;
7019 }
7020 color: 0 0 0 255;
7021 color3: 0 0 0 0;
7022 text {
7023 font: "Sans";
7024 size: 10;
7025 min: 0 1;
7026 align: 0.0 0.5;
7027 }
7028 }
7029 description { state: "selected" 0.0;
7030 inherit: "default" 0.0;
7031 color: 224 224 224 255;
7032 color3: 0 0 0 64;
7033 }
7034 }
7035 part { name: "elm.text.album-artist";
7036 clip_to: "disclip";
7037 type: TEXT;
7038 mouse_events: 0;
7039 scale: 1;
7040 description {
7041 state: "default" 0.0;
7042 rel1 {
7043 relative: 0.0 0.5;
7044 offset: 4 4;
7045 }
7046 rel2 {
7047 relative: 1.0 1.0;
7048 offset: -1 -5;
7049 }
7050 color: 0 0 0 128;
7051 color3: 0 0 0 0;
7052 text {
7053 font: "Sans";
7054 size: 8;
7055 min: 0 1;
7056 align: 0.0 0.5;
7057 }
7058 }
7059 description { state: "selected" 0.0;
7060 inherit: "default" 0.0;
7061 color: 128 128 128 255;
7062 color3: 0 0 0 32;
7063 }
7064 }
7065 part { name: "fg1";
7066 clip_to: "disclip";
7067 mouse_events: 0;
7068 description { state: "default" 0.0;
7069 visible: 0;
7070 color: 255 255 255 0;
7071 rel1.to: "bg";
7072 rel2.relative: 1.0 0.5;
7073 rel2.to: "bg";
7074 image {
7075 normal: "bt_sm_hilight.png";
7076 border: 6 6 6 0;
7077 }
7078 }
7079 description { state: "selected" 0.0;
7080 inherit: "default" 0.0;
7081 visible: 1;
7082 color: 255 255 255 255;
7083 }
7084 }
7085 part { name: "fg2";
7086 clip_to: "disclip";
7087 mouse_events: 0;
7088 description { state: "default" 0.0;
7089 visible: 0;
7090 color: 255 255 255 0;
7091 rel1.to: "bg";
7092 rel2.to: "bg";
7093 image {
7094 normal: "bt_sm_shine.png";
7095 border: 6 6 6 0;
7096 }
7097 }
7098 description { state: "selected" 0.0;
7099 inherit: "default" 0.0;
7100 visible: 1;
7101 color: 255 255 255 255;
7102 }
7103 }
7104 part { name: "disclip";
7105 type: RECT;
7106 description { state: "default" 0.0;
7107 rel1.to: "bg";
7108 rel2.to: "bg";
7109 }
7110 description { state: "disabled" 0.0;
7111 inherit: "default" 0.0;
7112 color: 255 255 255 64;
7113 }
7114 }
7115 }
7116 programs {
7117 // signal: elm,state,%s,active
7118 // a "check" item named %s went active
7119 // signal: elm,state,%s,passive
7120 // a "check" item named %s went passive
7121 // default is passive
7122 program {
7123 name: "go_active";
7124 signal: "elm,state,selected";
7125 source: "elm";
7126 action: STATE_SET "selected" 0.0;
7127 target: "bg";
7128 target: "fg1";
7129 target: "fg2";
7130 target: "elm.text.title";
7131 target: "elm.text.album-artist";
7132 }
7133 program {
7134 name: "go_passive";
7135 signal: "elm,state,unselected";
7136 source: "elm";
7137 action: STATE_SET "default" 0.0;
7138 target: "bg";
7139 target: "fg1";
7140 target: "fg2";
7141 target: "elm.text.title";
7142 target: "elm.text.album-artist";
7143 transition: LINEAR 0.1;
7144 }
7145 program {
7146 name: "go_disabled";
7147 signal: "elm,state,disabled";
7148 source: "elm";
7149 action: STATE_SET "disabled" 0.0;
7150 target: "disclip";
7151 }
7152 program {
7153 name: "go_enabled";
7154 signal: "elm,state,enabled";
7155 source: "elm";
7156 action: STATE_SET "default" 0.0;
7157 target: "disclip";
7158 }
7159 }
7160}
7161
7162group { name: "elm/genlist/item_compress/media-album/default";
7163 data.item: "stacking" "above";
7164 data.item: "selectraise" "on";
7165 data.item: "texts" "elm.text.title elm.text.trackno elm.text.length";
7166 data.item: "states" "elm.state.trackno";
7167 data.item: "treesize" "20";
7168 images {
7169 image: "bt_sm_base1.png" COMP;
7170 image: "bt_sm_shine.png" COMP;
7171 image: "bt_sm_hilight.png" COMP;
7172 image: "ilist_1.png" COMP;
7173 image: "ilist_item_shadow.png" COMP;
7174 }
7175 script {
7176 public dot_visible;
7177 }
7178 parts {
7179 part {
7180 name: "event";
7181 type: RECT;
7182 repeat_events: 1;
7183 description {
7184 state: "default" 0.0;
7185 color: 0 0 0 0;
7186 }
7187 }
7188 part {
7189 name: "base_sh";
7190 mouse_events: 0;
7191 description {
7192 state: "default" 0.0;
7193 align: 0.0 0.0;
7194 min: 0 10;
7195 fixed: 1 1;
7196 rel1 {
7197 to: "base";
7198 relative: 0.0 1.0;
7199 offset: 0 0;
7200 }
7201 rel2 {
7202 to: "base";
7203 relative: 1.0 1.0;
7204 offset: -1 0;
7205 }
7206 image {
7207 normal: "ilist_item_shadow.png";
7208 }
7209 fill.smooth: 0;
7210 }
7211 }
7212 part {
7213 name: "base";
7214 mouse_events: 0;
7215 description {
7216 state: "default" 0.0;
7217 image {
7218 normal: "ilist_1.png";
7219 border: 2 2 2 2;
7220 }
7221 fill.smooth: 0;
7222 }
7223 }
7224 part { name: "bg";
7225 clip_to: "disclip";
7226 mouse_events: 0;
7227 description { state: "default" 0.0;
7228 visible: 0;
7229 color: 255 255 255 0;
7230 rel1 {
7231 relative: 0.0 0.0;
7232 offset: -5 -5;
7233 }
7234 rel2 {
7235 relative: 1.0 1.0;
7236 offset: 4 4;
7237 }
7238 image {
7239 normal: "bt_sm_base1.png";
7240 border: 6 6 6 6;
7241 }
7242 image.middle: SOLID;
7243 }
7244 description { state: "selected" 0.0;
7245 inherit: "default" 0.0;
7246 visible: 1;
7247 color: 255 255 255 255;
7248 rel1 {
7249 relative: 0.0 0.0;
7250 offset: -2 -2;
7251 }
7252 rel2 {
7253 relative: 1.0 1.0;
7254 offset: 1 1;
7255 }
7256 }
7257 }
7258 part { name: "elm.swallow.pad";
7259 type: SWALLOW;
7260 description { state: "default" 0.0;
7261 fixed: 1 0;
7262 align: 0.0 0.5;
7263 rel1 {
7264 relative: 0.0 0.0;
7265 offset: 4 4;
7266 }
7267 rel2 {
7268 relative: 0.0 1.0;
7269 offset: 4 -5;
7270 }
7271 }
7272 }
7273 part {
7274 name: "elm.text.trackno";
7275 type: TEXT;
7276 scale: 1;
7277 mouse_events: 0;
7278 description {
7279 state: "default" 0.0;
7280 color: 255 255 255 255;
7281 align: 0.0 0.0;
7282 fixed: 1 0;
7283 rel1 {
7284 to_y: "elm.text.title";
7285 relative: 0.0 0.0;
7286 offset: 5 0;
7287 }
7288 rel2 {
7289 to_y: "elm.text.title";
7290 relative: 0.0 1.0;
7291 offset: 20 0;
7292 }
7293 color: 0 0 0 255;
7294 color3: 0 0 0 0;
7295 text {
7296 font: "Sans";
7297 size: 10;
7298 min: 1 1;
7299 align: 1.0 0.5;
7300 }
7301 }
7302 description { state: "selected" 0.0;
7303 inherit: "default" 0.0;
7304 color: 224 224 224 255;
7305 color3: 0 0 0 64;
7306 }
7307 }
7308 part {
7309 name: "dot";
7310 type: TEXT;
7311 scale: 1;
7312 mouse_events: 0;
7313 description {
7314 state: "default" 0.0;
7315 color: 255 255 255 255;
7316 visible: 0;
7317 fixed: 1 1;
7318 align: 0.0 0.0;
7319 rel1 {
7320 to_x: "elm.text.trackno";
7321 to_y: "elm.text.title";
7322 relative: 1.0 0.0;
7323 offset: 1 0;
7324 }
7325 rel2 {
7326 to_x: "elm.text.trackno";
7327 to_y: "elm.text.title";
7328 relative: 1.0 1.0;
7329 offset: 1 0;
7330
7331 }
7332 color: 0 0 0 255;
7333 color3: 0 0 0 0;
7334 text {
7335 font: "Sans";
7336 size: 10;
7337 min: 1 1;
7338 align: 0.0 0.5;
7339 text: ".";
7340 }
7341 }
7342 description {
7343 state: "visible" 0.0;
7344 inherit: "default" 0.0;
7345 visible: 1;
7346 }
7347 description { state: "selected" 0.0;
7348 inherit: "default" 0.0;
7349 color: 224 224 224 255;
7350 color3: 0 0 0 64;
7351 visible: 1;
7352 }
7353 }
7354 programs {
7355 program {
7356 signal: "elm,state,elm.state.trackno,active";
7357 source: "elm";
7358 script {
7359 set_state(PART:"dot", "visible", 0.0);
7360 set_int(dot_visible, 1);
7361 }
7362 }
7363 }
7364 part { name: "elm.text.title";
7365 clip_to: "disclip";
7366 type: TEXT;
7367 effect: SOFT_SHADOW;
7368 mouse_events: 0;
7369 scale: 1;
7370 description {
7371 state: "default" 0.0;
7372 rel1 {
7373 to_x: "dot";
7374 relative: 0.0 0.0;
7375 offset: 4 4;
7376 }
7377 rel2 {
7378 relative: 1.0 0.5;
7379 offset: -1 -5;
7380 }
7381 color: 0 0 0 255;
7382 color3: 0 0 0 0;
7383 text {
7384 font: "Sans";
7385 size: 10;
7386 min: 0 1;
7387 align: 0.0 0.5;
7388 }
7389 }
7390 description { state: "selected" 0.0;
7391 inherit: "default" 0.0;
7392 color: 224 224 224 255;
7393 color3: 0 0 0 64;
7394 }
7395 }
7396 part { name: "elm.text.length";
7397 clip_to: "disclip";
7398 type: TEXT;
7399 mouse_events: 0;
7400 scale: 1;
7401 description {
7402 state: "default" 0.0;
7403 rel1 {
7404 relative: 0.0 0.5;
7405 offset: 4 4;
7406 }
7407 rel2 {
7408 relative: 1.0 1.0;
7409 offset: -1 -5;
7410 }
7411 color: 0 0 0 128;
7412 color3: 0 0 0 0;
7413 text {
7414 font: "Sans";
7415 size: 8;
7416 min: 0 1;
7417 align: 0.0 0.5;
7418 }
7419 }
7420 description { state: "selected" 0.0;
7421 inherit: "default" 0.0;
7422 color: 128 128 128 255;
7423 color3: 0 0 0 32;
7424 }
7425 }
7426 part { name: "fg1";
7427 clip_to: "disclip";
7428 mouse_events: 0;
7429 description { state: "default" 0.0;
7430 visible: 0;
7431 color: 255 255 255 0;
7432 rel1.to: "bg";
7433 rel2.relative: 1.0 0.5;
7434 rel2.to: "bg";
7435 image {
7436 normal: "bt_sm_hilight.png";
7437 border: 6 6 6 0;
7438 }
7439 }
7440 description { state: "selected" 0.0;
7441 inherit: "default" 0.0;
7442 visible: 1;
7443 color: 255 255 255 255;
7444 }
7445 }
7446 part { name: "fg2";
7447 clip_to: "disclip";
7448 mouse_events: 0;
7449 description { state: "default" 0.0;
7450 visible: 0;
7451 color: 255 255 255 0;
7452 rel1.to: "bg";
7453 rel2.to: "bg";
7454 image {
7455 normal: "bt_sm_shine.png";
7456 border: 6 6 6 0;
7457 }
7458 }
7459 description { state: "selected" 0.0;
7460 inherit: "default" 0.0;
7461 visible: 1;
7462 color: 255 255 255 255;
7463 }
7464 }
7465 part { name: "disclip";
7466 type: RECT;
7467 description { state: "default" 0.0;
7468 rel1.to: "bg";
7469 rel2.to: "bg";
7470 }
7471 description { state: "disabled" 0.0;
7472 inherit: "default" 0.0;
7473 color: 255 255 255 64;
7474 }
7475 }
7476 }
7477 programs {
7478 // signal: elm,state,%s,active
7479 // a "check" item named %s went active
7480 // signal: elm,state,%s,passive
7481 // a "check" item named %s went passive
7482 // default is passive
7483 program {
7484 name: "go_active";
7485 signal: "elm,state,selected";
7486 source: "elm";
7487 action: STATE_SET "selected" 0.0;
7488 target: "bg";
7489 target: "fg1";
7490 target: "fg2";
7491 target: "elm.text.title";
7492 target: "elm.text.trackno";
7493 target: "elm.text.length";
7494 after: "dot_active";
7495 }
7496 program {
7497 name: "dot_active";
7498 script {
7499 if (get_int(dot_visible) == 1)
7500 set_state(PART:"dot", "selected", 0.0);
7501 }
7502 }
7503 program {
7504 name: "go_passive";
7505 signal: "elm,state,unselected";
7506 source: "elm";
7507 action: STATE_SET "default" 0.0;
7508 target: "bg";
7509 target: "fg1";
7510 target: "fg2";
7511 target: "elm.text.title";
7512 target: "elm.text.length";
7513 target: "elm.text.trackno";
7514 transition: LINEAR 0.1;
7515 after: "dot_passive";
7516 }
7517 program {
7518 name: "dot_passive";
7519 script {
7520 if (get_int(dot_visible) == 1)
7521 set_state(PART:"dot", "visible", 0.0);
7522 }
7523 }
7524 program {
7525 name: "go_disabled";
7526 signal: "elm,state,disabled";
7527 source: "elm";
7528 action: STATE_SET "disabled" 0.0;
7529 target: "disclip";
7530 }
7531 program {
7532 name: "go_enabled";
7533 signal: "elm,state,enabled";
7534 source: "elm";
7535 action: STATE_SET "default" 0.0;
7536 target: "disclip";
7537 }
7538 }
7539}
7540group { name: "elm/genlist/item_compress_odd/media-album/default";
7541 data.item: "stacking" "below";
7542 data.item: "selectraise" "on";
7543 data.item: "texts" "elm.text.title elm.text.trackno elm.text.length";
7544 data.item: "states" "elm.state.trackno";
7545 data.item: "treesize" "20";
7546 images {
7547 image: "bt_sm_base1.png" COMP;
7548 image: "bt_sm_shine.png" COMP;
7549 image: "bt_sm_hilight.png" COMP;
7550 image: "ilist_2.png" COMP;
7551 }
7552 script {
7553 public dot_visible;
7554 }
7555 parts {
7556 part { name: "event";
7557 type: RECT;
7558 repeat_events: 1;
7559 description {
7560 state: "default" 0.0;
7561 color: 0 0 0 0;
7562 }
7563 }
7564 part {
7565 name: "base";
7566 mouse_events: 0;
7567 description {
7568 state: "default" 0.0;
7569 image {
7570 normal: "ilist_2.png";
7571 border: 2 2 2 2;
7572 }
7573 fill.smooth: 0;
7574 }
7575 }
7576 part { name: "bg";
7577 clip_to: "disclip";
7578 mouse_events: 0;
7579 description { state: "default" 0.0;
7580 visible: 0;
7581 color: 255 255 255 0;
7582 rel1 {
7583 relative: 0.0 0.0;
7584 offset: -5 -5;
7585 }
7586 rel2 {
7587 relative: 1.0 1.0;
7588 offset: 4 4;
7589 }
7590 image {
7591 normal: "bt_sm_base1.png";
7592 border: 6 6 6 6;
7593 }
7594 image.middle: SOLID;
7595 }
7596 description { state: "selected" 0.0;
7597 inherit: "default" 0.0;
7598 visible: 1;
7599 color: 255 255 255 255;
7600 rel1 {
7601 relative: 0.0 0.0;
7602 offset: -2 -2;
7603 }
7604 rel2 {
7605 relative: 1.0 1.0;
7606 offset: 1 1;
7607 }
7608 }
7609 }
7610 part { name: "elm.swallow.pad";
7611 type: SWALLOW;
7612 description { state: "default" 0.0;
7613 fixed: 1 0;
7614 align: 0.0 0.5;
7615 rel1 {
7616 relative: 0.0 0.0;
7617 offset: 4 4;
7618 }
7619 rel2 {
7620 relative: 0.0 1.0;
7621 offset: 4 -5;
7622 }
7623 }
7624 }
7625 part {
7626 name: "elm.text.trackno";
7627 type: TEXT;
7628 scale: 1;
7629 mouse_events: 0;
7630 description {
7631 state: "default" 0.0;
7632 color: 255 255 255 255;
7633 align: 0.0 0.0;
7634 fixed: 1 0;
7635 rel1 {
7636 to_y: "elm.text.title";
7637 relative: 0.0 0.0;
7638 offset: 5 0;
7639 }
7640 rel2 {
7641 to_y: "elm.text.title";
7642 relative: 0.0 1.0;
7643 offset: 20 0;
7644 }
7645 color: 0 0 0 255;
7646 color3: 0 0 0 0;
7647 text {
7648 font: "Sans";
7649 size: 10;
7650 min: 1 1;
7651 align: 1.0 0.5;
7652 }
7653 }
7654 description { state: "selected" 0.0;
7655 inherit: "default" 0.0;
7656 color: 224 224 224 255;
7657 color3: 0 0 0 64;
7658 }
7659 }
7660 part {
7661 name: "dot";
7662 type: TEXT;
7663 scale: 1;
7664 mouse_events: 0;
7665 description {
7666 state: "default" 0.0;
7667 color: 255 255 255 255;
7668 visible: 0;
7669 fixed: 1 1;
7670 align: 0.0 0.0;
7671 rel1 {
7672 to_x: "elm.text.trackno";
7673 to_y: "elm.text.title";
7674 relative: 1.0 0.0;
7675 offset: 1 0;
7676 }
7677 rel2 {
7678 to_x: "elm.text.trackno";
7679 to_y: "elm.text.title";
7680 relative: 1.0 1.0;
7681 offset: 1 0;
7682
7683 }
7684 color: 0 0 0 255;
7685 color3: 0 0 0 0;
7686 text {
7687 font: "Sans";
7688 size: 10;
7689 min: 1 1;
7690 align: 0.0 0.5;
7691 text: ".";
7692 }
7693 }
7694 description {
7695 state: "visible" 0.0;
7696 inherit: "default" 0.0;
7697 visible: 1;
7698 }
7699 description { state: "selected" 0.0;
7700 inherit: "default" 0.0;
7701 color: 224 224 224 255;
7702 color3: 0 0 0 64;
7703 visible: 1;
7704 }
7705 }
7706 programs {
7707 program {
7708 signal: "elm,state,elm.state.trackno,active";
7709 source: "elm";
7710 script {
7711 set_state(PART:"dot", "visible", 0.0);
7712 set_int(dot_visible, 1);
7713 }
7714 }
7715 }
7716 part { name: "elm.text.title";
7717 clip_to: "disclip";
7718 type: TEXT;
7719 effect: SOFT_SHADOW;
7720 mouse_events: 0;
7721 scale: 1;
7722 description {
7723 state: "default" 0.0;
7724 rel1 {
7725 to_x: "dot";
7726 relative: 1.0 0.0;
7727 offset: 4 4;
7728 }
7729 rel2 {
7730 relative: 1.0 0.5;
7731 offset: -1 -5;
7732 }
7733 color: 0 0 0 255;
7734 color3: 0 0 0 0;
7735 text {
7736 font: "Sans";
7737 size: 10;
7738 min: 0 1;
7739 align: 0.0 0.5;
7740 }
7741 }
7742 description { state: "selected" 0.0;
7743 inherit: "default" 0.0;
7744 color: 224 224 224 255;
7745 color3: 0 0 0 64;
7746 }
7747 }
7748 part { name: "elm.text.length";
7749 clip_to: "disclip";
7750 type: TEXT;
7751 mouse_events: 0;
7752 scale: 1;
7753 description {
7754 state: "default" 0.0;
7755 rel1 {
7756 relative: 0.0 0.5;
7757 offset: 4 4;
7758 }
7759 rel2 {
7760 relative: 1.0 1.0;
7761 offset: -1 -5;
7762 }
7763 color: 0 0 0 128;
7764 color3: 0 0 0 0;
7765 text {
7766 font: "Sans";
7767 size: 8;
7768 min: 0 1;
7769 align: 0.0 0.5;
7770 }
7771 }
7772 description { state: "selected" 0.0;
7773 inherit: "default" 0.0;
7774 color: 128 128 128 255;
7775 color3: 0 0 0 32;
7776 }
7777 }
7778 part { name: "fg1";
7779 clip_to: "disclip";
7780 mouse_events: 0;
7781 description { state: "default" 0.0;
7782 visible: 0;
7783 color: 255 255 255 0;
7784 rel1.to: "bg";
7785 rel2.relative: 1.0 0.5;
7786 rel2.to: "bg";
7787 image {
7788 normal: "bt_sm_hilight.png";
7789 border: 6 6 6 0;
7790 }
7791 }
7792 description { state: "selected" 0.0;
7793 inherit: "default" 0.0;
7794 visible: 1;
7795 color: 255 255 255 255;
7796 }
7797 }
7798 part { name: "fg2";
7799 clip_to: "disclip";
7800 mouse_events: 0;
7801 description { state: "default" 0.0;
7802 visible: 0;
7803 color: 255 255 255 0;
7804 rel1.to: "bg";
7805 rel2.to: "bg";
7806 image {
7807 normal: "bt_sm_shine.png";
7808 border: 6 6 6 0;
7809 }
7810 }
7811 description { state: "selected" 0.0;
7812 inherit: "default" 0.0;
7813 visible: 1;
7814 color: 255 255 255 255;
7815 }
7816 }
7817 part { name: "disclip";
7818 type: RECT;
7819 description { state: "default" 0.0;
7820 rel1.to: "bg";
7821 rel2.to: "bg";
7822 }
7823 description { state: "disabled" 0.0;
7824 inherit: "default" 0.0;
7825 color: 255 255 255 64;
7826 }
7827 }
7828 }
7829 programs {
7830 // signal: elm,state,%s,active
7831 // a "check" item named %s went active
7832 // signal: elm,state,%s,passive
7833 // a "check" item named %s went passive
7834 // default is passive
7835 program {
7836 name: "go_active";
7837 signal: "elm,state,selected";
7838 source: "elm";
7839 action: STATE_SET "selected" 0.0;
7840 target: "bg";
7841 target: "fg1";
7842 target: "fg2";
7843 target: "elm.text.title";
7844 target: "elm.text.length";
7845 target: "elm.text.trackno";
7846 after: "dot_active";
7847 }
7848 program {
7849 name: "dot_active";
7850 script {
7851 if (get_int(dot_visible) == 1)
7852 set_state(PART:"dot", "selected", 0.0);
7853 }
7854 }
7855 program {
7856 name: "go_passive";
7857 signal: "elm,state,unselected";
7858 source: "elm";
7859 action: STATE_SET "default" 0.0;
7860 target: "bg";
7861 target: "fg1";
7862 target: "fg2";
7863 target: "elm.text.title";
7864 target: "elm.text.length";
7865 target: "elm.text.trackno";
7866 transition: LINEAR 0.1;
7867 after: "dot_passive";
7868 }
7869 program {
7870 name: "dot_passive";
7871 script {
7872 if (get_int(dot_visible) == 1)
7873 set_state(PART:"dot", "visible", 0.0);
7874 }
7875 }
7876 program {
7877 name: "go_disabled";
7878 signal: "elm,state,disabled";
7879 source: "elm";
7880 action: STATE_SET "disabled" 0.0;
7881 target: "disclip";
7882 }
7883 program {
7884 name: "go_enabled";
7885 signal: "elm,state,enabled";
7886 source: "elm";
7887 action: STATE_SET "default" 0.0;
7888 target: "disclip";
7889 }
7890 }
7891}
7892
7893group { name: "elm/genlist/item_compress/media-preview/default";
7894 data.item: "stacking" "above";
7895 data.item: "selectraise" "on";
7896 data.item: "texts" "elm.text.title elm.text.artist";
7897 data.item: "contents" "elm.swallow.preview";
7898 data.item: "treesize" "20";
7899 images {
7900 image: "bt_sm_base1.png" COMP;
7901 image: "bt_sm_shine.png" COMP;
7902 image: "bt_sm_hilight.png" COMP;
7903 image: "ilist_1.png" COMP;
7904 image: "ilist_item_shadow.png" COMP;
7905 }
7906 parts {
7907 part {
7908 name: "event";
7909 type: RECT;
7910 repeat_events: 1;
7911 description {
7912 state: "default" 0.0;
7913 color: 0 0 0 0;
7914 }
7915 }
7916 part {
7917 name: "base_sh";
7918 mouse_events: 0;
7919 description {
7920 state: "default" 0.0;
7921 align: 0.0 0.0;
7922 min: 0 10;
7923 fixed: 1 1;
7924 rel1 {
7925 to: "base";
7926 relative: 0.0 1.0;
7927 offset: 0 0;
7928 }
7929 rel2 {
7930 to: "base";
7931 relative: 1.0 1.0;
7932 offset: -1 0;
7933 }
7934 image {
7935 normal: "ilist_item_shadow.png";
7936 }
7937 fill.smooth: 0;
7938 }
7939 }
7940 part {
7941 name: "base";
7942 mouse_events: 0;
7943 description {
7944 state: "default" 0.0;
7945 image {
7946 normal: "ilist_1.png";
7947 border: 2 2 2 2;
7948 }
7949 fill.smooth: 0;
7950 }
7951 }
7952 part { name: "bg";
7953 clip_to: "disclip";
7954 mouse_events: 0;
7955 description { state: "default" 0.0;
7956 visible: 0;
7957 color: 255 255 255 0;
7958 rel1 {
7959 relative: 0.0 0.0;
7960 offset: -5 -5;
7961 }
7962 rel2 {
7963 relative: 1.0 1.0;
7964 offset: 4 4;
7965 }
7966 image {
7967 normal: "bt_sm_base1.png";
7968 border: 6 6 6 6;
7969 }
7970 image.middle: SOLID;
7971 }
7972 description { state: "selected" 0.0;
7973 inherit: "default" 0.0;
7974 visible: 1;
7975 color: 255 255 255 255;
7976 rel1 {
7977 relative: 0.0 0.0;
7978 offset: -2 -2;
7979 }
7980 rel2 {
7981 relative: 1.0 1.0;
7982 offset: 1 1;
7983 }
7984 }
7985 }
7986 part { name: "elm.swallow.pad";
7987 type: SWALLOW;
7988 description { state: "default" 0.0;
7989 fixed: 1 0;
7990 align: 0.0 0.5;
7991 rel1 {
7992 relative: 0.0 0.0;
7993 offset: 4 4;
7994 }
7995 rel2 {
7996 relative: 0.0 1.0;
7997 offset: 4 -5;
7998 }
7999 }
8000 }
8001 part { name: "elm.swallow.preview";
8002 clip_to: "disclip";
8003 type: SWALLOW;
8004 description { state: "default" 0.0;
8005 fixed: 1 0;
8006 align: 0.0 0.5;
8007 min: 68 68;
8008 max: 68 68;
8009 rel1 {
8010 to_x: "elm.swallow.pad";
8011 relative: 1.0 0.0;
8012 offset: -1 4;
8013 }
8014 rel2 {
8015 to_x: "elm.swallow.pad";
8016 relative: 1.0 1.0;
8017 offset: -1 -5;
8018 }
8019 }
8020 }
8021 part { name: "elm.text.title";
8022 clip_to: "disclip";
8023 type: TEXT;
8024 effect: SOFT_SHADOW;
8025 mouse_events: 0;
8026 scale: 1;
8027 description {
8028 state: "default" 0.0;
8029 rel1 {
8030 to_x: "elm.swallow.preview";
8031 relative: 1.0 0.0;
8032 offset: 4 4;
8033 }
8034 rel2 {
8035 relative: 1.0 0.5;
8036 offset: -1 -5;
8037 }
8038 color: 0 0 0 255;
8039 color3: 0 0 0 0;
8040 text {
8041 font: "Sans";
8042 size: 10;
8043 min: 0 1;
8044 align: 0.0 0.5;
8045 }
8046 }
8047 description { state: "selected" 0.0;
8048 inherit: "default" 0.0;
8049 color: 224 224 224 255;
8050 color3: 0 0 0 64;
8051 }
8052 }
8053 part { name: "elm.text.artist";
8054 clip_to: "disclip";
8055 type: TEXT;
8056 mouse_events: 0;
8057 scale: 1;
8058 description {
8059 state: "default" 0.0;
8060 rel1 {
8061 to_x: "elm.swallow.preview";
8062 relative: 1.0 0.5;
8063 offset: 4 4;
8064 }
8065 rel2 {
8066 relative: 1.0 1.0;
8067 offset: -1 -5;
8068 }
8069 color: 0 0 0 128;
8070 color3: 0 0 0 0;
8071 text {
8072 font: "Sans";
8073 size: 8;
8074 min: 0 1;
8075 align: 0.0 0.5;
8076 }
8077 }
8078 description { state: "selected" 0.0;
8079 inherit: "default" 0.0;
8080 color: 128 128 128 255;
8081 color3: 0 0 0 32;
8082 }
8083 }
8084 part { name: "fg1";
8085 clip_to: "disclip";
8086 mouse_events: 0;
8087 description { state: "default" 0.0;
8088 visible: 0;
8089 color: 255 255 255 0;
8090 rel1.to: "bg";
8091 rel2.relative: 1.0 0.5;
8092 rel2.to: "bg";
8093 image {
8094 normal: "bt_sm_hilight.png";
8095 border: 6 6 6 0;
8096 }
8097 }
8098 description { state: "selected" 0.0;
8099 inherit: "default" 0.0;
8100 visible: 1;
8101 color: 255 255 255 255;
8102 }
8103 }
8104 part { name: "fg2";
8105 clip_to: "disclip";
8106 mouse_events: 0;
8107 description { state: "default" 0.0;
8108 visible: 0;
8109 color: 255 255 255 0;
8110 rel1.to: "bg";
8111 rel2.to: "bg";
8112 image {
8113 normal: "bt_sm_shine.png";
8114 border: 6 6 6 0;
8115 }
8116 }
8117 description { state: "selected" 0.0;
8118 inherit: "default" 0.0;
8119 visible: 1;
8120 color: 255 255 255 255;
8121 }
8122 }
8123 part { name: "disclip";
8124 type: RECT;
8125 description { state: "default" 0.0;
8126 rel1.to: "bg";
8127 rel2.to: "bg";
8128 }
8129 description { state: "disabled" 0.0;
8130 inherit: "default" 0.0;
8131 color: 255 255 255 64;
8132 }
8133 }
8134 }
8135 programs {
8136 // signal: elm,state,%s,active
8137 // a "check" item named %s went active
8138 // signal: elm,state,%s,passive
8139 // a "check" item named %s went passive
8140 // default is passive
8141 program {
8142 name: "go_active";
8143 signal: "elm,state,selected";
8144 source: "elm";
8145 action: STATE_SET "selected" 0.0;
8146 target: "bg";
8147 target: "fg1";
8148 target: "fg2";
8149 target: "elm.text.title";
8150 target: "elm.text.artist";
8151 }
8152 program {
8153 name: "go_passive";
8154 signal: "elm,state,unselected";
8155 source: "elm";
8156 action: STATE_SET "default" 0.0;
8157 target: "bg";
8158 target: "fg1";
8159 target: "fg2";
8160 target: "elm.text.title";
8161 target: "elm.text.artist";
8162 transition: LINEAR 0.1;
8163 }
8164 program {
8165 name: "go_disabled";
8166 signal: "elm,state,disabled";
8167 source: "elm";
8168 action: STATE_SET "disabled" 0.0;
8169 target: "disclip";
8170 }
8171 program {
8172 name: "go_enabled";
8173 signal: "elm,state,enabled";
8174 source: "elm";
8175 action: STATE_SET "default" 0.0;
8176 target: "disclip";
8177 }
8178 }
8179}
8180group { name: "elm/genlist/item_compress_odd/media-preview/default";
8181 data.item: "stacking" "below";
8182 data.item: "selectraise" "on";
8183 data.item: "texts" "elm.text.title elm.text.artist";
8184 data.item: "contents" "elm.swallow.preview";
8185 data.item: "treesize" "20";
8186 images {
8187 image: "bt_sm_base1.png" COMP;
8188 image: "bt_sm_shine.png" COMP;
8189 image: "bt_sm_hilight.png" COMP;
8190 image: "ilist_2.png" COMP;
8191 }
8192 parts {
8193 part { name: "event";
8194 type: RECT;
8195 repeat_events: 1;
8196 description {
8197 state: "default" 0.0;
8198 color: 0 0 0 0;
8199 }
8200 }
8201 part {
8202 name: "base";
8203 mouse_events: 0;
8204 description {
8205 state: "default" 0.0;
8206 image {
8207 normal: "ilist_2.png";
8208 border: 2 2 2 2;
8209 }
8210 fill.smooth: 0;
8211 }
8212 }
8213 part { name: "bg";
8214 clip_to: "disclip";
8215 mouse_events: 0;
8216 description { state: "default" 0.0;
8217 visible: 0;
8218 color: 255 255 255 0;
8219 rel1 {
8220 relative: 0.0 0.0;
8221 offset: -5 -5;
8222 }
8223 rel2 {
8224 relative: 1.0 1.0;
8225 offset: 4 4;
8226 }
8227 image {
8228 normal: "bt_sm_base1.png";
8229 border: 6 6 6 6;
8230 }
8231 image.middle: SOLID;
8232 }
8233 description { state: "selected" 0.0;
8234 inherit: "default" 0.0;
8235 visible: 1;
8236 color: 255 255 255 255;
8237 rel1 {
8238 relative: 0.0 0.0;
8239 offset: -2 -2;
8240 }
8241 rel2 {
8242 relative: 1.0 1.0;
8243 offset: 1 1;
8244 }
8245 }
8246 }
8247 part { name: "elm.swallow.pad";
8248 type: SWALLOW;
8249 description { state: "default" 0.0;
8250 fixed: 1 0;
8251 align: 0.0 0.5;
8252 rel1 {
8253 relative: 0.0 0.0;
8254 offset: 4 4;
8255 }
8256 rel2 {
8257 relative: 0.0 1.0;
8258 offset: 4 -5;
8259 }
8260 }
8261 }
8262 part { name: "elm.swallow.preview";
8263 clip_to: "disclip";
8264 type: SWALLOW;
8265 description { state: "default" 0.0;
8266 fixed: 1 0;
8267 align: 0.0 0.5;
8268 min: 68 68;
8269 max: 68 68;
8270 rel1 {
8271 to_x: "elm.swallow.pad";
8272 relative: 1.0 0.0;
8273 offset: -1 4;
8274 }
8275 rel2 {
8276 to_x: "elm.swallow.pad";
8277 relative: 1.0 1.0;
8278 offset: -1 -5;
8279 }
8280 }
8281 }
8282 part { name: "elm.text.title";
8283 clip_to: "disclip";
8284 type: TEXT;
8285 effect: SOFT_SHADOW;
8286 mouse_events: 0;
8287 scale: 1;
8288 description {
8289 state: "default" 0.0;
8290 rel1 {
8291 to_x: "elm.swallow.preview";
8292 relative: 1.0 0.0;
8293 offset: 4 4;
8294 }
8295 rel2 {
8296 relative: 1.0 0.5;
8297 offset: -1 -5;
8298 }
8299 color: 0 0 0 255;
8300 color3: 0 0 0 0;
8301 text {
8302 font: "Sans";
8303 size: 10;
8304 min: 0 1;
8305 align: 0.0 0.5;
8306 }
8307 }
8308 description { state: "selected" 0.0;
8309 inherit: "default" 0.0;
8310 color: 224 224 224 255;
8311 color3: 0 0 0 64;
8312 }
8313 }
8314 part { name: "elm.text.artist";
8315 clip_to: "disclip";
8316 type: TEXT;
8317 mouse_events: 0;
8318 scale: 1;
8319 description {
8320 state: "default" 0.0;
8321 rel1 {
8322 to_x: "elm.swallow.preview";
8323 relative: 1.0 0.5;
8324 offset: 4 4;
8325 }
8326 rel2 {
8327 relative: 1.0 1.0;
8328 offset: -1 -5;
8329 }
8330 color: 0 0 0 128;
8331 color3: 0 0 0 0;
8332 text {
8333 font: "Sans";
8334 size: 8;
8335 min: 0 1;
8336 align: 0.0 0.5;
8337 }
8338 }
8339 description { state: "selected" 0.0;
8340 inherit: "default" 0.0;
8341 color: 128 128 128 255;
8342 color3: 0 0 0 32;
8343 }
8344 }
8345 part { name: "fg1";
8346 clip_to: "disclip";
8347 mouse_events: 0;
8348 description { state: "default" 0.0;
8349 visible: 0;
8350 color: 255 255 255 0;
8351 rel1.to: "bg";
8352 rel2.relative: 1.0 0.5;
8353 rel2.to: "bg";
8354 image {
8355 normal: "bt_sm_hilight.png";
8356 border: 6 6 6 0;
8357 }
8358 }
8359 description { state: "selected" 0.0;
8360 inherit: "default" 0.0;
8361 visible: 1;
8362 color: 255 255 255 255;
8363 }
8364 }
8365 part { name: "fg2";
8366 clip_to: "disclip";
8367 mouse_events: 0;
8368 description { state: "default" 0.0;
8369 visible: 0;
8370 color: 255 255 255 0;
8371 rel1.to: "bg";
8372 rel2.to: "bg";
8373 image {
8374 normal: "bt_sm_shine.png";
8375 border: 6 6 6 0;
8376 }
8377 }
8378 description { state: "selected" 0.0;
8379 inherit: "default" 0.0;
8380 visible: 1;
8381 color: 255 255 255 255;
8382 }
8383 }
8384 part { name: "disclip";
8385 type: RECT;
8386 description { state: "default" 0.0;
8387 rel1.to: "bg";
8388 rel2.to: "bg";
8389 }
8390 description { state: "disabled" 0.0;
8391 inherit: "default" 0.0;
8392 color: 255 255 255 64;
8393 }
8394 }
8395 }
8396 programs {
8397 // signal: elm,state,%s,active
8398 // a "check" item named %s went active
8399 // signal: elm,state,%s,passive
8400 // a "check" item named %s went passive
8401 // default is passive
8402 program {
8403 name: "go_active";
8404 signal: "elm,state,selected";
8405 source: "elm";
8406 action: STATE_SET "selected" 0.0;
8407 target: "bg";
8408 target: "fg1";
8409 target: "fg2";
8410 target: "elm.text.title";
8411 target: "elm.text.artist";
8412 }
8413 program {
8414 name: "go_passive";
8415 signal: "elm,state,unselected";
8416 source: "elm";
8417 action: STATE_SET "default" 0.0;
8418 target: "bg";
8419 target: "fg1";
8420 target: "fg2";
8421 target: "elm.text.title";
8422 target: "elm.text.artist";
8423 transition: LINEAR 0.1;
8424 }
8425 program {
8426 name: "go_disabled";
8427 signal: "elm,state,disabled";
8428 source: "elm";
8429 action: STATE_SET "disabled" 0.0;
8430 target: "disclip";
8431 }
8432 program {
8433 name: "go_enabled";
8434 signal: "elm,state,enabled";
8435 source: "elm";
8436 action: STATE_SET "default" 0.0;
8437 target: "disclip";
8438 }
8439 }
8440}
8441
8442group { name: "elm/genlist/item/mode/default";
8443 data.item: "selectraise" "on";
8444 data.item: "texts" "elm.text.mode";
8445 data.item: "contents" "elm.swallow.mode";
8446 data.item: "mode_part" "elm.swallow.origin";
8447 data.item: "treesize" "20";
8448 images {
8449 image: "bt_sm_base1.png" COMP;
8450 image: "bt_sm_shine.png" COMP;
8451 image: "bt_sm_hilight.png" COMP;
8452 image: "ilist_1.png" COMP;
8453 image: "ilist_2.png" COMP;
8454 image: "ilist_item_shadow.png" COMP;
8455 }
8456
8457 parts {
8458 part {
8459 name: "event";
8460 type: RECT;
8461 repeat_events: 1;
8462 description {
8463 state: "default" 0.0;
8464 color: 0 0 0 0;
8465 }
8466 }
8467 part {
8468 name: "base_sh";
8469 mouse_events: 0;
8470 description {
8471 state: "default" 0.0;
8472 align: 0.0 0.0;
8473 min: 0 10;
8474 fixed: 1 1;
8475 rel1 {
8476 to: "base";
8477 relative: 0.0 1.0;
8478 offset: 0 0;
8479 }
8480 rel2 {
8481 to: "base";
8482 relative: 1.0 1.0;
8483 offset: -1 0;
8484 }
8485 image {
8486 normal: "ilist_item_shadow.png";
8487 }
8488 fill.smooth: 0;
8489 }
8490 description {
8491 state: "default" 1.0;
8492 inherit: "default" 0.0;
8493 visible: 0;
8494 }
8495 }
8496 part {
8497 name: "base";
8498 mouse_events: 0;
8499 description {
8500 state: "default" 0.0;
8501 image {
8502 normal: "ilist_1.png";
8503 border: 2 2 2 2;
8504 }
8505 fill.smooth: 0;
8506 }
8507 description {
8508 state: "default" 1.0;
8509 inherit: "default" 0.0;
8510 image.normal: "ilist_2.png";
8511 }
8512 }
8513 part { name: "bg";
8514 clip_to: "disclip";
8515 mouse_events: 0;
8516 description { state: "default" 0.0;
8517 visible: 0;
8518 color: 255 255 255 0;
8519 rel1 {
8520 relative: 0.0 0.0;
8521 offset: -5 -5;
8522 }
8523 rel2 {
8524 relative: 1.0 1.0;
8525 offset: 4 4;
8526 }
8527 image {
8528 normal: "bt_sm_base1.png";
8529 border: 6 6 6 6;
8530 }
8531 image.middle: SOLID;
8532 }
8533 description { state: "default" 0.1;
8534 inherit: "default" 0.0;
8535 }
8536 description { state: "selected" 0.0;
8537 inherit: "default" 0.0;
8538 visible: 1;
8539 color: 255 255 255 255;
8540 rel1 {
8541 relative: 0.0 0.0;
8542 offset: -2 -2;
8543 }
8544 rel2 {
8545 relative: 1.0 1.0;
8546 offset: 1 1;
8547 }
8548 }
8549 description {
8550 state: "selected" 1.0;
8551 inherit: "selected" 0.0;
8552 }
8553 }
8554 part { name: "elm.text.mode";
8555 clip_to: "disclip";
8556 type: TEXT;
8557 scale: 1;
8558 description { state: "default" 0.0;
8559 rel2.relative: 0.5 1.0;
8560 color: 0 0 0 255;
8561 text {
8562 font: "Sans";
8563 size: 10;
8564 min: 1 1;
8565 align: -1.0 0.5;
8566 text_class: "list_item";
8567 }
8568 }
8569 }
8570 part { name: "elm.swallow.mode";
8571 clip_to: "disclip";
8572 type: SWALLOW;
8573 description { state: "default" 0.0;
8574 rel1.relative: 0.5 0.0;
8575 }
8576 }
8577 part { name: "fg1";
8578 clip_to: "disclip";
8579 mouse_events: 0;
8580 description { state: "default" 0.0;
8581 visible: 0;
8582 color: 255 255 255 0;
8583 rel1.to: "bg";
8584 rel2.relative: 1.0 0.5;
8585 rel2.to: "bg";
8586 image {
8587 normal: "bt_sm_hilight.png";
8588 border: 6 6 6 0;
8589 }
8590 }
8591 description { state: "selected" 0.0;
8592 inherit: "default" 0.0;
8593 visible: 1;
8594 color: 255 255 255 255;
8595 }
8596 description {
8597 state: "selected" 1.0;
8598 inherit: "default" 0.0;
8599 visible: 1;
8600 color: 255 255 255 255;
8601 }
8602 }
8603 part { name: "fg2";
8604 clip_to: "disclip";
8605 mouse_events: 0;
8606 description { state: "default" 0.0;
8607 visible: 0;
8608 color: 255 255 255 0;
8609 rel1.to: "bg";
8610 rel2.to: "bg";
8611 image {
8612 normal: "bt_sm_shine.png";
8613 border: 6 6 6 0;
8614 }
8615 }
8616 description { state: "selected" 0.0;
8617 inherit: "default" 0.0;
8618 visible: 1;
8619 color: 255 255 255 255;
8620 }
8621 description {
8622 state: "selected" 1.0;
8623 inherit: "default" 0.0;
8624 visible: 1;
8625 color: 255 255 255 255;
8626 }
8627 }
8628 // Transparent part between base parts and slidable parts
8629 part { name: "event_block_layer";
8630 type: RECT;
8631 clip_to: "disclip";
8632 mouse_events: 1;
8633 description { state: "default" 0.0;
8634 rel1.to: "base";
8635 rel2.to: "base";
8636 color: 0 0 0 0;
8637 }
8638 description { state: "repeat_events" 0.0;
8639 inherit: "default" 0.0;
8640 visible: 0;
8641 }
8642 }
8643 part { name: "pers";
8644 clip_to: "disclip";
8645 type: RECT;
8646 description { state: "default" 0.0;
8647 rel1.relative: 0.0 1.0;
8648 }
8649 }
8650 part { name: "elm.swallow.origin";
8651 clip_to: "disclip";
8652 type: SWALLOW;
8653 description { state: "default" 0.0;
8654 fixed: 1 0;
8655 align: 0.0 0.5;
8656 }
8657 description { state: "slide" 0.0;
8658 inherit: "default" 0.0;
8659 rel1.relative: 1 0;
8660 rel2.relative: 2 1;
8661 }
8662 description { state: "rotate" 0.0;
8663 inherit: "default" 0.0;
8664 map {
8665 perspective: "pers";
8666 on: 1;
8667 smooth: 1;
8668 perspective_on: 1;
8669 backface_cull: 1;
8670 rotation {
8671 center: "pers";
8672 x: 0.0;
8673 y: 0.0;
8674 z: 0.0;
8675 }
8676 }
8677 }
8678 description { state: "rotate" 1.0;
8679 inherit: "default" 0.0;
8680 map {
8681 perspective: "pers";
8682 on: 1;
8683 smooth: 1;
8684 perspective_on: 1;
8685 backface_cull: 1;
8686 rotation {
8687 center: "pers";
8688 x: 90.0;
8689 y: 0.0;
8690 z: 0.0;
8691 }
8692 }
8693 }
8694 }
8695 part { name: "disclip";
8696 type: RECT;
8697 description { state: "default" 0.0;
8698 rel1.to: "bg";
8699 rel2.to: "bg";
8700 }
8701 description { state: "disabled" 0.0;
8702 inherit: "default" 0.0;
8703 color: 255 255 255 64;
8704 }
8705 }
8706 }
8707 programs {
8708 program {
8709 name: "odd";
8710 signal: "elm,state,odd";
8711 source: "elm";
8712 action: STATE_SET "default" 1.0;
8713 target: "base_sh";
8714 target: "base";
8715 }
8716 program {
8717 name: "even";
8718 signal: "elm,state,even";
8719 source: "elm";
8720 action: STATE_SET "default" 0.0;
8721 target: "base_sh";
8722 target: "base";
8723 }
8724 program {
8725 name: "go_active";
8726 signal: "elm,state,selected";
8727 source: "elm";
8728 script {
8729 new st[31];
8730 new Float:vl;
8731 get_state(PART:"base", st, 30, vl);
8732 set_state(PART:"bg", "selected", vl);
8733 set_state(PART:"fg1", "selected", vl);
8734 set_state(PART:"fg2", "selected", vl);
8735 }
8736 }
8737 program {
8738 name: "go_passive";
8739 signal: "elm,state,unselected";
8740 source: "elm";
8741 script {
8742 new st[31];
8743 new Float:vl;
8744 get_state(PART:"base", st, 30, vl);
8745 set_state(PART:"bg", "default", vl);
8746 set_state(PART:"fg1", "default", vl);
8747 set_state(PART:"fg2", "default", vl);
8748 }
8749 }
8750 program {
8751 name: "go_disabled";
8752 signal: "elm,state,disabled";
8753 source: "elm";
8754 action: STATE_SET "disabled" 0.0;
8755 target: "disclip";
8756 }
8757 program {
8758 name: "go_enabled";
8759 signal: "elm,state,enabled";
8760 source: "elm";
8761 action: STATE_SET "default" 0.0;
8762 target: "disclip";
8763 }
8764 program {
8765 name: "slide_right";
8766 signal: "elm,state,slide,active";
8767 source: "elm";
8768 action: STATE_SET "slide" 0.0;
8769 target: "elm.swallow.origin";
8770 transition: ACCELERATE 0.5 CURRENT;
8771 after: "unblock_event";
8772 }
8773 program {
8774 name: "unblock_event";
8775 action: STATE_SET "repeat_events" 0.0;
8776 target: "event_block_layer";
8777 }
8778 program {
8779 name: "slide_left";
8780 signal: "elm,state,slide,passive";
8781 source: "elm";
8782 action: STATE_SET "default" 0.0;
8783 target: "event_block_layer";
8784 after: "slide_left2";
8785 }
8786 program {
8787 name: "slide_left2";
8788 action: STATE_SET "default" 0.0;
8789 target: "elm.swallow.origin";
8790 transition: DECELERATE 0.5 CURRENT;
8791 after: "slide_left_finished";
8792 }
8793 program {
8794 name: "slide_left_finished";
8795 action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
8796 }
8797 program {
8798 name: "rotate_on";
8799 signal: "elm,state,rotate,active";
8800 source: "elm";
8801 action: STATE_SET "rotate" 0.0;
8802 target: "elm.swallow.origin";
8803 after: "rotate_on2";
8804 }
8805 program {
8806 name: "rotate_on2";
8807 action: STATE_SET "rotate" 1.0;
8808 target: "elm.swallow.origin";
8809 transition: LINEAR 0.5;
8810 after: "unblock_event";
8811 }
8812 program {
8813 name: "rotate_off";
8814 signal: "elm,state,rotate,passive";
8815 source: "elm";
8816 action: STATE_SET "default" 0.0;
8817 target: "event_block_layer";
8818 after: "rotate_off2";
8819 }
8820 program {
8821 name: "rotate_off2";
8822 action: STATE_SET "rotate" 0.0;
8823 transition: LINEAR 0.5;
8824 target: "elm.swallow.origin";
8825 after: "rotate_off3";
8826 }
8827 program {
8828 name: "rotate_off3";
8829 action: STATE_SET "default" 0.0;
8830 target: "elm.swallow.origin";
8831 after: "rotate_off_finished";
8832 }
8833 program {
8834 name: "rotate_off_finished";
8835 action: SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
8836 }
8837 }
8838}
8839
8840group { name: "elm/genlist/item_odd/mode/default";
8841 data.item: "stacking" "below";
8842 data.item: "selectraise" "on";
8843 data.item: "texts" "elm.text.mode";
8844 data.item: "contents" "elm.swallow.mode";
8845 data.item: "mode_part" "elm.swallow.origin";
8846 data.item: "treesize" "20";
8847 images {
8848 image: "bt_sm_base1.png" COMP;
8849 image: "bt_sm_shine.png" COMP;
8850 image: "bt_sm_hilight.png" COMP;
8851 image: "ilist_2.png" COMP;
8852 }
8853
8854 parts {
8855 part {
8856 name: "event";
8857 type: RECT;
8858 repeat_events: 1;
8859 description {
8860 state: "default" 0.0;
8861 color: 0 0 0 0;
8862 }
8863 }
8864 part {
8865 name: "base";
8866 mouse_events: 0;
8867 description {
8868 state: "default" 0.0;
8869 image {
8870 normal: "ilist_2.png";
8871 border: 2 2 2 2;
8872 }
8873 fill.smooth: 0;
8874 }
8875 }
8876 part { name: "bg";
8877 clip_to: "disclip";
8878 mouse_events: 0;
8879 description { state: "default" 0.0;
8880 visible: 0;
8881 color: 255 255 255 0;
8882 rel1 {
8883 relative: 0.0 0.0;
8884 offset: -5 -5;
8885 }
8886 rel2 {
8887 relative: 1.0 1.0;
8888 offset: 4 4;
8889 }
8890 image {
8891 normal: "bt_sm_base1.png";
8892 border: 6 6 6 6;
8893 }
8894 image.middle: SOLID;
8895 }
8896 description { state: "selected" 0.0;
8897 inherit: "default" 0.0;
8898 visible: 1;
8899 color: 255 255 255 255;
8900 rel1 {
8901 relative: 0.0 0.0;
8902 offset: -2 -2;
8903 }
8904 rel2 {
8905 relative: 1.0 1.0;
8906 offset: 1 1;
8907 }
8908 }
8909 }
8910 part { name: "elm.text.mode";
8911 clip_to: "disclip";
8912 type: TEXT;
8913 scale: 1;
8914 description { state: "default" 0.0;
8915 rel2.relative: 0.5 1.0;
8916 color: 0 0 0 255;
8917 text {
8918 font: "Sans";
8919 size: 10;
8920 min: 1 1;
8921 align: 0.5 0.5;
8922 text_class: "list_item";
8923 }
8924 }
8925 }
8926 part { name: "elm.swallow.mode";
8927 clip_to: "disclip";
8928 type: SWALLOW;
8929 description { state: "default" 0.0;
8930 rel1.relative: 0.5 0.0;
8931 }
8932 }
8933 part { name: "fg1";
8934 clip_to: "disclip";
8935 mouse_events: 0;
8936 description { state: "default" 0.0;
8937 visible: 0;
8938 color: 255 255 255 0;
8939 rel1.to: "bg";
8940 rel2.relative: 1.0 0.5;
8941 rel2.to: "bg";
8942 image {
8943 normal: "bt_sm_hilight.png";
8944 border: 6 6 6 0;
8945 }
8946 }
8947 description { state: "selected" 0.0;
8948 inherit: "default" 0.0;
8949 visible: 1;
8950 color: 255 255 255 255;
8951 }
8952 }
8953 part { name: "fg2";
8954 clip_to: "disclip";
8955 mouse_events: 0;
8956 description { state: "default" 0.0;
8957 visible: 0;
8958 color: 255 255 255 0;
8959 rel1.to: "bg";
8960 rel2.to: "bg";
8961 image {
8962 normal: "bt_sm_shine.png";
8963 border: 6 6 6 0;
8964 }
8965 }
8966 description { state: "selected" 0.0;
8967 inherit: "default" 0.0;
8968 visible: 1;
8969 color: 255 255 255 255;
8970 }
8971 }
8972 // Transparent part between base parts and slidable parts
8973 part { name: "event_block_layer";
8974 type: RECT;
8975 clip_to: "disclip";
8976 mouse_events: 1;
8977 description { state: "default" 0.0;
8978 rel1.to: "base";
8979 rel2.to: "base";
8980 color: 0 0 0 0;
8981 }
8982 description { state: "repeat_events" 0.0;
8983 inherit: "default" 0.0;
8984 visible: 0;
8985 }
8986 }
8987 part { name: "pers";
8988 clip_to: "disclip";
8989 type: RECT;
8990 description { state: "default" 0.0;
8991 rel1.relative: 0.0 1.0;
8992 }
8993 }
8994 part { name: "elm.swallow.origin";
8995 clip_to: "disclip";
8996 type: SWALLOW;
8997 description { state: "default" 0.0;
8998 fixed: 1 0;
8999 align: 0.0 0.5;
9000 }
9001 description { state: "slide" 0.0;
9002 inherit: "default" 0.0;
9003 rel1.relative: 1 0;
9004 rel2.relative: 2 1;
9005 }
9006 description { state: "rotate" 0.0;
9007 inherit: "default" 0.0;
9008 map {
9009 perspective: "pers";
9010 on: 1;
9011 smooth: 1;
9012 perspective_on: 1;
9013 backface_cull: 1;
9014 rotation {
9015 center: "pers";
9016 x: 0.0;
9017 y: 0.0;
9018 z: 0.0;
9019 }
9020 }
9021 }
9022 description { state: "rotate" 1.0;
9023 inherit: "default" 0.0;
9024 map {
9025 perspective: "pers";
9026 on: 1;
9027 smooth: 1;
9028 perspective_on: 1;
9029 backface_cull: 1;
9030 rotation {
9031 center: "pers";
9032 x: 90.0;
9033 y: 0.0;
9034 z: 0.0;
9035 }
9036 }
9037 }
9038 }
9039 part { name: "disclip";
9040 type: RECT;
9041 description { state: "default" 0.0;
9042 rel1.to: "bg";
9043 rel2.to: "bg";
9044 }
9045 description { state: "disabled" 0.0;
9046 inherit: "default" 0.0;
9047 color: 255 255 255 64;
9048 }
9049 }
9050 }
9051 programs {
9052 program {
9053 name: "go_active";
9054 signal: "elm,state,selected";
9055 source: "elm";
9056 action: STATE_SET "selected" 0.0;
9057 target: "bg";
9058 target: "fg1";
9059 target: "fg2";
9060 }
9061 program {
9062 name: "go_passive";
9063 signal: "elm,state,unselected";
9064 source: "elm";
9065 action: STATE_SET "default" 0.0;
9066 target: "bg";
9067 target: "fg1";
9068 target: "fg2";
9069 transition: LINEAR 0.1;
9070 }
9071 program {
9072 name: "go_disabled";
9073 signal: "elm,state,disabled";
9074 source: "elm";
9075 action: STATE_SET "disabled" 0.0;
9076 target: "disclip";
9077 }
9078 program {
9079 name: "go_enabled";
9080 signal: "elm,state,enabled";
9081 source: "elm";
9082 action: STATE_SET "default" 0.0;
9083 target: "disclip";
9084 }
9085 program {
9086 name: "slide_right";
9087 signal: "elm,state,slide,active";
9088 source: "elm";
9089 action: STATE_SET "slide" 0.0;
9090 target: "elm.swallow.origin";
9091 transition: ACCELERATE 0.5;
9092 after: "unblock_event";
9093 }
9094 program {
9095 name: "unblock_event";
9096 action: STATE_SET "repeat_events" 0.0;
9097 target: "event_block_layer";
9098 }
9099 program {
9100 name: "slide_left";
9101 signal: "elm,state,slide,passive";
9102 source: "elm";
9103 action: STATE_SET "default" 0.0;
9104 target: "event_block_layer";
9105 after: "slide_left2";
9106 }
9107 program {
9108 name: "slide_left2";
9109 action: STATE_SET "default" 0.0;
9110 target: "elm.swallow.origin";
9111 transition: DECELERATE 0.5;
9112 after: "slide_left_finished";
9113 }
9114 program {
9115 name: "slide_left_finished";
9116 action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
9117 }
9118 program {
9119 name: "rotate_on";
9120 signal: "elm,state,rotate,active";
9121 source: "elm";
9122 action: STATE_SET "rotate" 0.0;
9123 target: "elm.swallow.origin";
9124 after: "rotate_on2";
9125 }
9126 program {
9127 name: "rotate_on2";
9128 action: STATE_SET "rotate" 1.0;
9129 target: "elm.swallow.origin";
9130 transition: LINEAR 0.5;
9131 after: "unblock_event";
9132 }
9133 program {
9134 name: "rotate_off";
9135 signal: "elm,state,rotate,passive";
9136 source: "elm";
9137 action: STATE_SET "default" 0.0;
9138 target: "event_block_layer";
9139 after: "rotate_off2";
9140 }
9141 program {
9142 name: "rotate_off2";
9143 action: STATE_SET "rotate" 0.0;
9144 transition: LINEAR 0.5;
9145 target: "elm.swallow.origin";
9146 after: "rotate_off3";
9147 }
9148 program {
9149 name: "rotate_off3";
9150 action: STATE_SET "default" 0.0;
9151 target: "elm.swallow.origin";
9152 after: "rotate_off_finished";
9153 }
9154 program {
9155 name: "rotate_off_finished";
9156 action: SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
9157 }
9158 }
9159}
9160group { name: "elm/genlist/item/edit/default";
9161 data.item: "contents" "elm.edit.icon.1 elm.edit.icon.2";
9162 data.item: "stacking" "above";
9163 data.item: "selectraise" "on";
9164
9165 images {
9166 image: "bt_sm_base1.png" COMP;
9167 image: "bt_sm_shine.png" COMP;
9168 image: "bt_sm_hilight.png" COMP;
9169 image: "ilist_1.png" COMP;
9170 image: "ilist_2.png" COMP;
9171 image: "ilist_item_shadow.png" COMP;
9172 }
9173 parts {
9174 part {
9175 name: "event";
9176 type: RECT;
9177 repeat_events: 1;
9178 description {
9179 state: "default" 0.0;
9180 color: 0 0 0 0;
9181 }
9182 }
9183 part {
9184 name: "base_sh";
9185 mouse_events: 0;
9186 description {
9187 state: "default" 0.0;
9188 align: 0.0 0.0;
9189 min: 0 10;
9190 fixed: 1 1;
9191 rel1 {
9192 to: "base";
9193 relative: 0.0 1.0;
9194 offset: 0 0;
9195 }
9196 rel2 {
9197 to: "base";
9198 relative: 1.0 1.0;
9199 offset: -1 0;
9200 }
9201 image {
9202 normal: "ilist_item_shadow.png";
9203 }
9204 fill.smooth: 0;
9205 }
9206 description {
9207 state: "default" 1.0;
9208 inherit: "default" 0.0;
9209 visible: 0;
9210 }
9211 }
9212 part {
9213 name: "base";
9214 mouse_events: 0;
9215 description {
9216 state: "default" 0.0;
9217 rel1 {
9218 relative: 0.0 0.0;
9219 }
9220 rel2 {
9221 relative: 1.0 1.0;
9222 }
9223 image {
9224 normal: "ilist_1.png";
9225 border: 2 2 2 2;
9226 }
9227 fill.smooth: 0;
9228 }
9229 description {
9230 state: "default" 1.0;
9231 inherit: "default" 0.0;
9232 image.normal: "ilist_2.png";
9233 }
9234 }
9235 part { name: "bg";
9236 clip_to: "disclip";
9237 mouse_events: 0;
9238 description { state: "default" 0.0;
9239 visible: 0;
9240 color: 255 255 255 0;
9241 image {
9242 normal: "bt_sm_base1.png";
9243 border: 6 6 6 6;
9244 }
9245 image.middle: SOLID;
9246 }
9247 description { state: "default" 0.1;
9248 inherit: "default" 0.0;
9249 }
9250 description { state: "selected" 0.0;
9251 inherit: "default" 0.0;
9252 visible: 1;
9253 color: 255 255 255 255;
9254 rel1 {
9255 relative: 0.0 0.0;
9256 offset: -2 -2;
9257 }
9258 rel2 {
9259 to_x: "elm.padding.right";
9260 relative: 1.0 1.0;
9261 offset: 1 1;
9262 }
9263 }
9264 description {
9265 state: "selected" 1.0;
9266 inherit: "selected" 0.0;
9267 }
9268 }
9269 part { name: "elm.padding.left";
9270 type: RECT;
9271 scale: 1;
9272 description { state: "default" 0.0;
9273 min: 10 0;
9274 fixed: 1 0;
9275 visible: 0;
9276 align: 0.0 0.0;
9277 rel2.relative: 0.0 1.0;
9278 }
9279 }
9280 part { name: "elm.padding.right";
9281 type: RECT;
9282 scale: 1;
9283 description { state: "default" 0.0;
9284 min: 5 0;
9285 fixed: 1 0;
9286 visible: 0;
9287 align: 1.0 0.0;
9288 rel1.relative: 1.0 0.0;
9289 }
9290 }
9291 part { name: "fg1";
9292 clip_to: "disclip";
9293 mouse_events: 0;
9294 description { state: "default" 0.0;
9295 visible: 0;
9296 color: 255 255 255 0;
9297 rel1.to: "bg";
9298 rel2.relative: 1.0 0.5;
9299 rel2.to: "bg";
9300 image {
9301 normal: "bt_sm_hilight.png";
9302 border: 6 6 6 0;
9303 }
9304 }
9305 description { state: "selected" 0.0;
9306 inherit: "default" 0.0;
9307 visible: 1;
9308 color: 255 255 255 255;
9309 }
9310 }
9311 part { name: "fg2";
9312 clip_to: "disclip";
9313 mouse_events: 0;
9314 description { state: "default" 0.0;
9315 visible: 0;
9316 color: 255 255 255 0;
9317 rel1.to: "bg";
9318 rel2.to: "bg";
9319 image {
9320 normal: "bt_sm_shine.png";
9321 border: 6 6 6 0;
9322 }
9323 }
9324 description { state: "selected" 0.0;
9325 inherit: "default" 0.0;
9326 visible: 1;
9327 color: 255 255 255 255;
9328 }
9329 }
9330 part { name: "elm.edit.icon.1";
9331 clip_to: "disclip";
9332 type: SWALLOW;
9333 description { state: "default" 0.0;
9334 fixed: 1 0;
9335 align: 1.0 0.5;
9336 color: 255 255 255 255;
9337 rel1 {
9338 to_x: "elm.padding.left";
9339 relative: 1.0 0.0;
9340 }
9341 rel2 {
9342 to_x: "elm.padding.left";
9343 relative: 1.0 1.0;
9344 }
9345 }
9346 description { state: "enabled" 0.0;
9347 inherit: "default" 0.0;
9348 align: 0.0 0.5;
9349 }
9350 description { state: "disabled" 0.0;
9351 inherit: "default" 0.0;
9352 visible: 0;
9353 }
9354 }
9355 part { name: "elm.padding.icon1.right";
9356 type: RECT;
9357 scale: 1;
9358 description { state: "default" 0.0;
9359 min: 5 0;
9360 fixed: 1 0;
9361 visible: 0;
9362 align: 0.0 0.0;
9363 rel1 {
9364 relative: 1.0 0.0;
9365 to_x: "elm.edit.icon.1";
9366 }
9367 rel2.to_x: "elm.edit.icon.1";
9368 }
9369 }
9370 part { name: "elm.swallow.decorate.content";
9371 clip_to: "disclip";
9372 type: SWALLOW;
9373 mouse_events: 1;
9374 scale: 1;
9375 description { state: "default" 0.0;
9376 rel1 {
9377 relative: 1.0 0.0;
9378 to_x: "elm.padding.icon1.right";
9379 }
9380 rel2 {
9381 relative: 0.0 1.0;
9382 to_x: "elm.padding.icon2.left";
9383 }
9384 }
9385 description { state: "flipped" 0.0;
9386 inherit: "default" 0.0;
9387 rel1.to_x: "elm.padding.left";
9388 rel2 {
9389 relative: 1.3 1.0;
9390 to_x: "elm.padding.right";
9391 }
9392 }
9393 }
9394 part { name: "elm.padding.icon2.left";
9395 type: RECT;
9396 scale: 1;
9397 description { state: "default" 0.0;
9398 min: 5 0;
9399 fixed: 1 0;
9400 visible: 0;
9401 color: 255 0 255 255;
9402 align: 0.0 0.0;
9403 rel1 {
9404 relative: 0.0 0.0;
9405 to_x: "elm.edit.icon.2";
9406 }
9407 rel2 {
9408 relative: 0.0 1.0;
9409 to_x: "elm.edit.icon.2";
9410 }
9411 }
9412 }
9413 part { name: "elm.edit.icon.2";
9414 clip_to: "disclip";
9415 type: SWALLOW;
9416 description { state: "default" 0.0;
9417 fixed: 1 0;
9418 align: 0.0 0.5;
9419 aspect: 1.0 1.0;
9420 aspect_preference: VERTICAL;
9421 rel1 {
9422 relative: 0.0 0.0;
9423 to_x: "elm.padding.right";
9424 }
9425 rel2 {
9426 relative: 0.0 1.0;
9427 to_x: "elm.padding.right";
9428 }
9429 }
9430 description { state: "enabled" 0.0;
9431 inherit: "default" 0.0;
9432 align: 1.0 0.5;
9433 }
9434 description { state: "disabled" 0.0;
9435 inherit: "default" 0.0;
9436 visible: 0;
9437 }
9438 }
9439 part { name: "disclip";
9440 type: RECT;
9441 description { state: "default" 0.0;
9442 rel1.to: "bg";
9443 rel2.to: "bg";
9444 }
9445 description { state: "disabled" 0.0;
9446 inherit: "default" 0.0;
9447 color: 255 255 255 64;
9448 }
9449 }
9450 }
9451 programs {
9452 program {
9453 name: "go_active";
9454 signal: "elm,state,selected";
9455 source: "elm";
9456 script {
9457 new st[31];
9458 new Float:vl;
9459 get_state(PART:"base", st, 30, vl);
9460 set_state(PART:"bg", "selected", vl);
9461 set_state(PART:"fg1", "selected", vl);
9462 set_state(PART:"fg2", "selected", vl);
9463 }
9464 }
9465 program {
9466 name: "go_passive";
9467 signal: "elm,state,unselected";
9468 source: "elm";
9469 script {
9470 new st[31];
9471 new Float:vl;
9472 get_state(PART:"base", st, 30, vl);
9473 set_state(PART:"bg", "default", vl);
9474 set_state(PART:"fg1", "default", vl);
9475 set_state(PART:"fg2", "default", vl);
9476 }
9477 }
9478 program {
9479 name: "odd";
9480 signal: "elm,state,odd";
9481 source: "elm";
9482 action: STATE_SET "default" 1.0;
9483 target: "base_sh";
9484 target: "base";
9485 }
9486 program {
9487 name: "even";
9488 signal: "elm,state,even";
9489 source: "elm";
9490 action: STATE_SET "default" 0.0;
9491 target: "base_sh";
9492 target: "base";
9493 }
9494 program { name: "go_disabled";
9495 signal: "elm,state,disabled";
9496 source: "elm";
9497 action: STATE_SET "disabled" 0.0;
9498 target: "disclip";
9499 }
9500 program { name: "go_enabled";
9501 signal: "elm,state,enabled";
9502 source: "elm";
9503 action: STATE_SET "default" 0.0;
9504 target: "disclip";
9505 }
9506 // edit mode signal
9507 program { name: "edit_mode_enabled_effect";
9508 signal: "elm,state,decorate,enabled,effect";
9509 source: "elm";
9510 action: STATE_SET "enabled" 0.0;
9511 transition: DECELERATE 0.7;
9512 target: "elm.edit.icon.1";
9513 target: "elm.edit.icon.2";
9514 }
9515 program { name: "edit_mode_disabled_effect";
9516 signal: "elm,state,decorate,disabled,effect";
9517 source: "elm";
9518 action: STATE_SET "default" 0.0;
9519 transition: DECELERATE 0.7;
9520 target: "elm.edit.icon.1";
9521 target: "elm.edit.icon.2";
9522 }
9523 program { name: "edit_mode_enabled";
9524 signal: "elm,state,decorate,enabled";
9525 source: "elm";
9526 action: STATE_SET "enabled" 0.0;
9527 target: "elm.edit.icon.1";
9528 target: "elm.edit.icon.2";
9529 }
9530 program { name: "edit_mode_disabled";
9531 signal: "elm,state,decorate,disabled";
9532 source: "elm";
9533 action: STATE_SET "default" 0.0;
9534 target: "elm.edit.icon.1";
9535 target: "elm.edit.icon.2";
9536 }
9537 program {
9538 name: "enable_flip_mode";
9539 signal: "elm,state,flip,enabled";
9540 source: "elm";
9541 action: STATE_SET "disabled" 0.0;
9542 target: "elm.edit.icon.1";
9543 target: "elm.edit.icon.2";
9544 after: "enable_flip_mode_next";
9545 }
9546 program {
9547 name: "enable_flip_mode_next";
9548 action: STATE_SET "flipped" 0.0;
9549 transition: DECELERATE 0.5;
9550 target: "elm.swallow.decorate.content";
9551 }
9552 program {
9553 name: "disable_flip_mode";
9554 signal: "elm,state,flip,disabled";
9555 source: "elm";
9556 action: STATE_SET "default" 0.0;
9557 transition: DECELERATE 0.5;
9558 target: "elm.swallow.decorate.content";
9559 target: "elm.edit.icon.1";
9560 target: "elm.edit.icon.2";
9561 }
9562 }
9563}
9564
9565#define GENLIST_PART_MAP_START( param_x, param_y, param_z ) \
9566description { state: "map_transition" 0.0; \
9567 inherit: "default" 0.0; \
9568 color: 50 50 50 100; \
9569 map { \
9570 perspective: "point"; \
9571 on: 1; \
9572 smooth: 1; \
9573 perspective_on: 1; \
9574 backface_cull: 1; \
9575 rotation { \
9576 center: "point"; \
9577 x: param_x; \
9578 y: param_y; \
9579 z: param_z; \
9580 } \
9581 } \
9582} \
9583description { \
9584 state: "hide" 0.0; \
9585 inherit: "default" 0.0; \
9586 visible: 0; \
9587}
9588
9589#define GENLIST_PART_MAP_FINISH( param_x, param_y, param_z ) \
9590description { \
9591 state: "map_rotate" 0.0; \
9592 inherit: "default" 0.0; \
9593 map { \
9594 perspective: "point"; \
9595 on: 1; \
9596 smooth: 1; \
9597 perspective_on: 1; \
9598 backface_cull: 1; \
9599 rotation { \
9600 center: "point"; \
9601 x: param_x; \
9602 y: param_y; \
9603 z: param_z; \
9604 } \
9605 } \
9606}
9607
9608group { name: "elm/genlist/tree/tree_effect/default";
9609 data.item: "selectraise" "on";
9610 data.item: "texts" "elm.text";
9611 data.item: "contents" "elm.swallow.icon elm.swallow.end";
9612 data.item: "treesize" "20";
9613 images {
9614 image: "bt_sm_base1.png" COMP;
9615 image: "bt_sm_shine.png" COMP;
9616 image: "bt_sm_hilight.png" COMP;
9617 image: "ilist_1.png" COMP;
9618 image: "ilist_2.png" COMP;
9619 image: "ilist_item_shadow.png" COMP;
9620 image: "icon_arrow_left.png" COMP;
9621 image: "icon_arrow_right.png" COMP;
9622 image: "icon_arrow_down.png" COMP;
9623 }
9624 parts {
9625 part { name: "point";
9626 type: RECT;
9627 scale: 1;
9628 description {
9629 state: "default" 0.0;
9630 color: 0 0 0 0;
9631 rel1 { relative: 0.0 0.0; }
9632 rel2 { relative: 1.0 0.0; }
9633 }
9634 }
9635 part {
9636 name: "event";
9637 type: RECT;
9638 repeat_events: 1;
9639 description {
9640 state: "default" 0.0;
9641 color: 0 0 0 0;
9642 }
9643 }
9644 part { name: "reorder_bg";
9645 mouse_events: 0;
9646 description { state: "default" 0.0;
9647 visible: 0;
9648 color: 255 255 255 0;
9649 rel1 {
9650 relative: 0.0 0.0;
9651 offset: -7 -7;
9652 }
9653 rel2 {
9654 relative: 1.0 1.0;
9655 offset: 9 9;
9656 }
9657 image {
9658 normal: "bt_bases.png";
9659 border: 6 6 6 6;
9660 }
9661 }
9662 description { state: "enabled" 0.0;
9663 inherit: "default" 0.0;
9664 visible: 1;
9665 color: 255 255 255 255;
9666 }
9667 }
9668 part {
9669 name: "base_sh";
9670 mouse_events: 0;
9671 description {
9672 state: "default" 0.0;
9673 align: 0.0 0.0;
9674 min: 0 10;
9675 fixed: 1 1;
9676 rel1 {
9677 to: "base";
9678 relative: 0.0 1.0;
9679 offset: 0 0;
9680 }
9681 rel2 {
9682 to: "base";
9683 relative: 1.0 1.0;
9684 offset: -1 0;
9685 }
9686 image {
9687 normal: "ilist_item_shadow.png";
9688 }
9689 fill.smooth: 0;
9690 }
9691 description {
9692 state: "default" 1.0;
9693 inherit: "default" 0.0;
9694 visible: 0;
9695 }
9696 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
9697 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
9698 }
9699 part {
9700 name: "base";
9701 mouse_events: 0;
9702 description {
9703 state: "default" 0.0;
9704 image {
9705 normal: "ilist_1.png";
9706 border: 2 2 2 2;
9707 }
9708 fill.smooth: 0;
9709 }
9710 description {
9711 state: "default" 1.0;
9712 inherit: "default" 0.0;
9713 image.normal: "ilist_2.png";
9714 }
9715 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
9716 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
9717 }
9718 part { name: "bg";
9719 clip_to: "disclip";
9720 mouse_events: 0;
9721 description { state: "default" 0.0;
9722 visible: 0;
9723 color: 255 255 255 0;
9724 rel1 {
9725 relative: 0.0 0.0;
9726 offset: -5 -5;
9727 }
9728 rel2 {
9729 relative: 1.0 1.0;
9730 offset: 4 4;
9731 }
9732 image {
9733 normal: "bt_sm_base1.png";
9734 border: 6 6 6 6;
9735 }
9736 image.middle: SOLID;
9737 }
9738 description { state: "selected" 0.0;
9739 inherit: "default" 0.0;
9740 visible: 1;
9741 color: 255 255 255 255;
9742 rel1 {
9743 relative: 0.0 0.0;
9744 offset: -2 -2;
9745 }
9746 rel2 {
9747 relative: 1.0 1.0;
9748 offset: 1 1;
9749 }
9750 }
9751 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
9752 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
9753 }
9754 part { name: "elm.swallow.pad";
9755 type: SWALLOW;
9756 description { state: "default" 0.0;
9757 fixed: 1 0;
9758 align: 0.0 0.5;
9759 rel1 {
9760 relative: 0.0 0.0;
9761 offset: 4 4;
9762 }
9763 rel2 {
9764 relative: 0.0 1.0;
9765 offset: 4 -5;
9766 }
9767 }
9768 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
9769 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
9770 }
9771 part { name: "arrow";
9772 clip_to: "disclip";
9773 ignore_flags: ON_HOLD;
9774 description { state: "default" 0.0;
9775 fixed: 1 0;
9776 align: 0.0 0.5;
9777 aspect: 1.0 1.0;
9778 rel1 {
9779 to_x: "elm.swallow.pad";
9780 relative: 1.0 0.0;
9781 offset: -1 4;
9782 }
9783 rel2 {
9784 to_x: "elm.swallow.pad";
9785 relative: 1.0 1.0;
9786 offset: -1 -5;
9787 }
9788 image.normal: "icon_arrow_right.png";
9789 }
9790 description { state: "default" 0.1;
9791 inherit: "default" 0.0;
9792 image.normal: "icon_arrow_left.png";
9793 }
9794 description { state: "active" 0.0;
9795 inherit: "default" 0.0;
9796 image.normal: "icon_arrow_down.png";
9797 }
9798 description { state: "active" 0.1;
9799 inherit: "default" 0.0;
9800 image.normal: "icon_arrow_down.png";
9801 }
9802 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
9803 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
9804 }
9805 part { name: "elm.swallow.icon";
9806 clip_to: "disclip";
9807 type: SWALLOW;
9808 description { state: "default" 0.0;
9809 fixed: 1 0;
9810 align: 0.0 0.5;
9811 rel1 {
9812 to_x: "arrow";
9813 relative: 1.0 0.0;
9814 offset: 4 4;
9815 }
9816 rel2 {
9817 to_x: "arrow";
9818 relative: 1.0 1.0;
9819 offset: 4 -5;
9820 }
9821 }
9822 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
9823 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
9824 }
9825 part { name: "elm.swallow.end";
9826 clip_to: "disclip";
9827 type: SWALLOW;
9828 description { state: "default" 0.0;
9829 fixed: 1 0;
9830 align: 1.0 0.5;
9831 aspect: 1.0 1.0;
9832 aspect_preference: VERTICAL;
9833 rel1 {
9834 relative: 1.0 0.0;
9835 offset: -5 4;
9836 }
9837 rel2 {
9838 relative: 1.0 1.0;
9839 offset: -5 -5;
9840 }
9841 }
9842 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
9843 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
9844 }
9845 part { name: "elm.text";
9846 clip_to: "disclip";
9847 type: TEXT;
9848 effect: SOFT_SHADOW;
9849 mouse_events: 0;
9850 scale: 1;
9851 description {
9852 state: "default" 0.0;
9853 rel1 {
9854 to_x: "elm.swallow.icon";
9855 relative: 1.0 0.0;
9856 offset: 0 4;
9857 }
9858 rel2 {
9859 to_x: "elm.swallow.end";
9860 relative: 0.0 1.0;
9861 offset: -1 -5;
9862 }
9863 color: 0 0 0 255;
9864 color3: 0 0 0 0;
9865 text {
9866 font: "Sans";
9867 size: 10;
9868 min: 1 1;
9869 align: -1.0 0.5;
9870 text_class: "list_item";
9871 }
9872 }
9873 description { state: "selected" 0.0;
9874 inherit: "default" 0.0;
9875 color: 224 224 224 255;
9876 color3: 0 0 0 64;
9877 }
9878 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
9879 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
9880 }
9881 part { name: "fg1";
9882 clip_to: "disclip";
9883 mouse_events: 0;
9884 description { state: "default" 0.0;
9885 visible: 0;
9886 color: 255 255 255 0;
9887 rel1.to: "bg";
9888 rel2.relative: 1.0 0.5;
9889 rel2.to: "bg";
9890 image {
9891 normal: "bt_sm_hilight.png";
9892 border: 6 6 6 0;
9893 }
9894 }
9895 description { state: "selected" 0.0;
9896 inherit: "default" 0.0;
9897 visible: 1;
9898 color: 255 255 255 255;
9899 }
9900 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
9901 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
9902 }
9903 part { name: "fg2";
9904 clip_to: "disclip";
9905 mouse_events: 0;
9906 description { state: "default" 0.0;
9907 visible: 0;
9908 color: 255 255 255 0;
9909 rel1.to: "bg";
9910 rel2.to: "bg";
9911 image {
9912 normal: "bt_sm_shine.png";
9913 border: 6 6 6 0;
9914 }
9915 }
9916 description { state: "selected" 0.0;
9917 inherit: "default" 0.0;
9918 visible: 1;
9919 color: 255 255 255 255;
9920 }
9921 GENLIST_PART_MAP_START(-90.0, 0.0, 0.0)
9922 GENLIST_PART_MAP_FINISH(0.0, 0.0, 0.0)
9923 }
9924 part { name: "disclip";
9925 type: RECT;
9926 description { state: "default" 0.0;
9927 rel1.to: "bg";
9928 rel2.to: "bg";
9929 }
9930 description { state: "disabled" 0.0;
9931 inherit: "default" 0.0;
9932 color: 255 255 255 64;
9933 }
9934 }
9935 }
9936 programs {
9937 // signal: elm,state,%s,active
9938 // a "check" item named %s went active
9939 // signal: elm,state,%s,passive
9940 // a "check" item named %s went passive
9941 // default is passive
9942 program {
9943 name: "odd";
9944 signal: "elm,state,odd";
9945 source: "elm";
9946 action: STATE_SET "default" 1.0;
9947 target: "base_sh";
9948 target: "base";
9949 }
9950 program {
9951 name: "even";
9952 signal: "elm,state,even";
9953 source: "elm";
9954 action: STATE_SET "default" 0.0;
9955 target: "base_sh";
9956 target: "base";
9957 }
9958 program {
9959 name: "go_active";
9960 signal: "elm,state,selected";
9961 source: "elm";
9962 action: STATE_SET "selected" 0.0;
9963 target: "bg";
9964 target: "fg1";
9965 target: "fg2";
9966 target: "elm.text";
9967 }
9968 program {
9969 name: "go_passive";
9970 signal: "elm,state,unselected";
9971 source: "elm";
9972 action: STATE_SET "default" 0.0;
9973 target: "bg";
9974 target: "fg1";
9975 target: "fg2";
9976 target: "elm.text";
9977 transition: LINEAR 0.1;
9978 }
9979 program {
9980 name: "go_disabled";
9981 signal: "elm,state,disabled";
9982 source: "elm";
9983 action: STATE_SET "disabled" 0.0;
9984 target: "disclip";
9985 }
9986 program {
9987 name: "go_enabled";
9988 signal: "elm,state,enabled";
9989 source: "elm";
9990 action: STATE_SET "default" 0.0;
9991 target: "disclip";
9992 }
9993 program {
9994 name: "go_reorder_disabled";
9995 signal: "elm,state,reorder,disabled";
9996 source: "elm";
9997 action: STATE_SET "default" 0.0;
9998 target: "reorder_bg";
9999 transition: DECELERATE 0.5;
10000 }
10001 program {
10002 name: "go_reorder_enabled";
10003 signal: "elm,state,reorder,enabled";
10004 source: "elm";
10005 action: STATE_SET "enabled" 0.0;
10006 target: "reorder_bg";
10007 transition: DECELERATE 0.5;
10008 }
10009 program {
10010 name: "expand";
10011 signal: "mouse,up,1";
10012 source: "arrow";
10013 action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
10014 }
10015 program {
10016 name: "go_expanded";
10017 signal: "elm,state,expanded";
10018 source: "elm";
10019 script {
10020 new st[31];
10021 new Float:vl;
10022 get_state(PART:"arrow", st, 30, vl);
10023 set_state(PART:"arrow", "active", vl);
10024 }
10025 }
10026 program {
10027 name: "go_contracted";
10028 signal: "elm,state,contracted";
10029 source: "elm";
10030 script {
10031 new st[31];
10032 new Float:vl;
10033 get_state(PART:"arrow", st, 30, vl);
10034 set_state(PART:"arrow", "default", vl);
10035 }
10036 }
10037 program { name: "to_rtl";
10038 signal: "edje,state,rtl";
10039 source: "edje";
10040 script {
10041 new st[31];
10042 new Float:vl;
10043 get_state(PART:"arrow", st, 30, vl);
10044 if (vl == 0.0) {
10045 set_state(PART:"arrow", st, 0.1);
10046 }
10047 }
10048 }
10049 program { name: "to_ltr";
10050 signal: "edje,state,ltr";
10051 source: "edje";
10052 script {
10053 new st[31];
10054 new Float:vl;
10055 get_state(PART:"arrow", st, 30, vl);
10056 if (vl == 0.1) {
10057 set_state(PART:"arrow", st, 0.0);
10058 }
10059 }
10060 }
10061 program {
10062 name: "rotaion_transition";
10063 signal: "flip_item";
10064 action: STATE_SET "map_transition" 0.0;
10065 after: "rotation";
10066 target: "reorder_bg";
10067 target: "base_sh";
10068 target: "base";
10069 target: "bg";
10070 target: "arrow";
10071 target: "elm.swallow.pad";
10072 target: "elm.swallow.icon";
10073 target: "elm.swallow.end";
10074 target: "elm.text";
10075 target: "fg1";
10076 target: "fg2";
10077 }
10078 program {
10079 name: "rotation";
10080 action: STATE_SET "map_rotate" 0.0;
10081 transition: LINEAR 0.2;
10082 after: "rotation_end";
10083 target: "reorder_bg";
10084 target: "base_sh";
10085 target: "base";
10086 target: "bg";
10087 target: "arrow";
10088 target: "elm.swallow.pad";
10089 target: "elm.swallow.icon";
10090 target: "elm.swallow.end";
10091 target: "elm.text";
10092 target: "fg1";
10093 target: "fg2";
10094 }
10095 program {
10096 name: "rotation_end";
10097 action: STATE_SET "default" 0.0;
10098 target: "reorder_bg";
10099 target: "base_sh";
10100 target: "base";
10101 target: "bg";
10102 target: "arrow";
10103 target: "elm.swallow.pad";
10104 target: "elm.swallow.icon";
10105 target: "elm.swallow.end";
10106 target: "elm.text";
10107 target: "fg1";
10108 target: "fg2";
10109 }
10110 program {
10111 name: "rotation_transition2";
10112 signal: "elm,state,contract_flip";
10113 action: STATE_SET "map_rotate" 0.0;
10114 after: "rotation2";
10115 target: "reorder_bg";
10116 target: "base_sh";
10117 target: "base";
10118 target: "bg";
10119 target: "arrow";
10120 target: "elm.swallow.pad";
10121 target: "elm.swallow.icon";
10122 target: "elm.swallow.end";
10123 target: "elm.text";
10124 target: "fg1";
10125 target: "fg2";
10126 }
10127 program {
10128 name: "rotation2";
10129 action: STATE_SET "map_transition" 0.0;
10130 transition: LINEAR 0.5;
10131 after: "rotation3";
10132 target: "reorder_bg";
10133 target: "base_sh";
10134 target: "base";
10135 target: "bg";
10136 target: "arrow";
10137 target: "elm.swallow.pad";
10138 target: "elm.swallow.icon";
10139 target: "elm.swallow.end";
10140 target: "elm.text";
10141 target: "fg1";
10142 target: "fg2";
10143 }
10144 program {
10145 name: "rotation3";
10146 action: STATE_SET "hide" 0.0;
10147 target: "reorder_bg";
10148 target: "base_sh";
10149 target: "base";
10150 target: "bg";
10151 target: "arrow";
10152 target: "elm.swallow.pad";
10153 target: "elm.swallow.icon";
10154 target: "elm.swallow.end";
10155 target: "elm.text";
10156 target: "fg1";
10157 target: "fg2";
10158 }
10159 program {
10160 name: "show";
10161 signal: "elm,state,show";
10162 action: STATE_SET "default" 0.0;
10163 target: "reorder_bg";
10164 target: "base_sh";
10165 target: "base";
10166 target: "bg";
10167 target: "arrow";
10168 target: "elm.swallow.pad";
10169 target: "elm.swallow.icon";
10170 target: "elm.swallow.end";
10171 target: "elm.text";
10172 target: "fg1";
10173 target: "fg2";
10174 }
10175 program {
10176 name: "hide";
10177 signal: "elm,state,hide";
10178 action: STATE_SET "hide" 0.0;
10179 target: "reorder_bg";
10180 target: "base_sh";
10181 target: "base";
10182 target: "bg";
10183 target: "arrow";
10184 target: "elm.swallow.pad";
10185 target: "elm.swallow.icon";
10186 target: "elm.swallow.end";
10187 target: "elm.text";
10188 target: "fg1";
10189 target: "fg2";
10190 }
10191 }
10192}