1 group { name: "elm/spinner/base/default";
3 image: "shelf_inset.png" COMP;
4 image: "bt_base1.png" COMP;
5 image: "bt_hilight.png" COMP;
6 image: "bt_shine.png" COMP;
7 image: "bt_glow.png" COMP;
8 image: "bt_dis_base.png" COMP;
9 image: "bt_dis_hilight.png" COMP;
10 image: "sp_bt_l.png" COMP;
11 image: "sp_bt_r.png" COMP;
16 description { state: "default" 0.0;
23 part { name: "conf_over";
25 description { state: "default" 0.0;
29 normal: "shelf_inset.png";
36 part { name: "left_bt";
38 description { state: "default" 0.0;
48 aspect_preference: VERTICAL;
50 normal: "bt_base1.png";
55 description { state: "clicked" 0.0;
56 inherit: "default" 0.0;
57 image.normal: "bt_base1.png";
60 description { state: "disabled" 0.0;
61 inherit: "default" 0.0;
63 normal: "bt_dis_base.png";
68 part { name: "left_over1";
70 description { state: "default" 0.0;
76 normal: "bt_hilight.png";
80 description { state: "disabled" 0.0;
81 inherit: "default" 0.0;
83 normal: "bt_dis_hilight.png";
88 part { name: "left_over2";
91 ignore_flags: ON_HOLD;
92 description { state: "default" 0.0;
96 normal: "bt_shine.png";
100 description { state: "disabled" 0.0;
101 inherit: "default" 0.0;
105 part { name: "left_over3";
108 description { state: "default" 0.0;
109 color: 255 255 255 0;
113 normal: "bt_glow.png";
118 description { state: "clicked" 0.0;
119 inherit: "default" 0.0;
121 color: 255 255 255 255;
124 part { name: "right_bt";
126 description { state: "default" 0.0;
136 aspect_preference: VERTICAL;
138 normal: "bt_base1.png";
143 description { state: "clicked" 0.0;
144 inherit: "default" 0.0;
145 image.normal: "bt_base1.png";
148 description { state: "disabled" 0.0;
149 inherit: "default" 0.0;
151 normal: "bt_dis_base.png";
156 part { name: "right_over1";
158 description { state: "default" 0.0;
160 rel2 { to: "right_bt";
164 normal: "bt_hilight.png";
168 description { state: "disabled" 0.0;
169 inherit: "default" 0.0;
171 normal: "bt_dis_hilight.png";
176 part { name: "right_over2";
179 ignore_flags: ON_HOLD;
180 description { state: "default" 0.0;
184 normal: "bt_shine.png";
188 description { state: "disabled" 0.0;
189 inherit: "default" 0.0;
193 part { name: "right_over3";
196 description { state: "default" 0.0;
197 color: 255 255 255 0;
201 normal: "bt_glow.png";
206 description { state: "clicked" 0.0;
207 inherit: "default" 0.0;
209 color: 255 255 255 255;
212 part { name: "left_bt_icon";
214 description { state: "default" 0.0;
222 aspect_preference: BOTH;
223 image.normal: "sp_bt_l.png";
225 description { state: "rtl" 0.0;
226 inherit: "default" 0.0;
227 image.normal: "sp_bt_r.png";
230 part { name: "right_bt_icon";
232 description { state: "default" 0.0;
240 aspect_preference: BOTH;
241 image.normal: "sp_bt_r.png";
243 description { state: "rtl" 0.0;
244 inherit: "default" 0.0;
245 image.normal: "sp_bt_l.png";
248 part { name: "elm.text";
252 description { state: "default" 0.0;
255 rel1 { relative: 1.0 0.0;
260 rel2 { relative: 0.0 1.0;
267 font: "Sans,Edje-Vera";
273 description { state: "active" 0.0;
274 inherit: "default" 0.0;
277 description { state: "disabled_active" 0.0;
278 inherit: "default" 0.0;
282 description { state: "disabled" 0.0;
283 inherit: "default" 0.0;
288 part { name: "elm.dragable.slider";
296 description { state: "default" 0.0;
303 part { name: "button_events";
306 events: "elm.dragable.slider";
309 description { state: "default" 0.0;
315 part { name: "elm.swallow.entry";
317 description { state: "default" 0.0;
320 rel1 { relative: 1.0 0.5;
325 rel2 { relative: 0.0 0.5;
333 description { state: "active" 0.0;
334 inherit: "default" 0.0;
336 color: 255 255 255 255;
338 description { state: "disabled_active" 0.0;
339 inherit: "default" 0.0;
342 description { state: "disabled" 0.0;
343 inherit: "default" 0.0;
347 part { name: "disabler";
349 description { state: "default" 0.0;
353 description { state: "disabled" 0.0;
354 inherit: "default" 0.0;
358 part { name: "access_text";
361 description { state: "default" 0.0;
366 description { state: "disabled" 0.0;
374 program { name: "text_show";
375 signal: "elm,state,text,visible";
377 action: STATE_SET "visible" 0.0;
380 program { name: "text_hide";
381 signal: "elm,state,text,hidden";
383 action: STATE_SET "default" 0.0;
386 program { name: "dec";
387 signal: "mouse,down,1*";
389 action: SIGNAL_EMIT "elm,action,decrement,start" "";
391 program { name: "dec2";
392 signal: "mouse,up,1";
394 action: SIGNAL_EMIT "elm,action,decrement,stop" "";
396 program { name: "inc";
397 signal: "mouse,down,1*";
399 action: SIGNAL_EMIT "elm,action,increment,start" "";
401 program { name: "inc2";
402 signal: "mouse,up,1";
404 action: SIGNAL_EMIT "elm,action,increment,stop" "";
407 name: "left_bt_click";
408 signal: "mouse,down,1*";
409 source: "left_over2";
410 action: STATE_SET "clicked" 0.0;
414 name: "left_bt_unclick";
415 signal: "mouse,up,1";
416 source: "left_over2";
417 action: STATE_SET "default" 0.0;
421 name: "left_bt_click2";
422 signal: "mouse,down,1*";
423 source: "left_over3";
424 action: STATE_SET "clicked" 0.0;
425 target: "left_over3";
428 name: "left_bt_unclick2";
429 signal: "mouse,up,1";
430 source: "left_over3";
431 action: STATE_SET "default" 0.0;
432 transition: DECELERATE 0.5;
433 target: "left_over3";
436 name: "left_bt_unclick3";
437 signal: "mouse,up,1";
438 source: "left_over2";
439 action: SIGNAL_EMIT "elm,action,click" "";
442 name: "left_bt_pressed_anim";
443 signal: "elm,left,anim,activate";
445 action: STATE_SET "clicked" 0.0;
447 target: "left_over3";
448 after: "left_bt_unpressed_anim";
451 name: "left_bt_unpressed_anim";
452 action: STATE_SET "default" 0.0;
453 transition: DECELERATE 0.5;
455 target: "left_over3";
459 name: "right_bt_click";
460 signal: "mouse,down,1*";
461 source: "right_over2";
462 action: STATE_SET "clicked" 0.0;
466 name: "right_bt_unclick";
467 signal: "mouse,up,1";
468 source: "right_over2";
469 action: STATE_SET "default" 0.0;
473 name: "right_bt_click2";
474 signal: "mouse,down,1*";
475 source: "right_over3";
476 action: STATE_SET "clicked" 0.0;
477 target: "right_over3";
480 name: "right_bt_unclick2";
481 signal: "mouse,up,1";
482 source: "right_over3";
483 action: STATE_SET "default" 0.0;
484 transition: DECELERATE 0.5;
485 target: "right_over3";
488 name: "right_bt_unclick3";
489 signal: "mouse,up,1";
490 source: "right_over2";
491 action: SIGNAL_EMIT "elm,action,click" "";
494 name: "right_bt_pressed_anim";
495 signal: "elm,right,anim,activate";
497 action: STATE_SET "clicked" 0.0;
499 target: "right_over3";
500 after: "right_bt_unpressed_anim";
503 name: "right_bt_unpressed_anim";
504 action: STATE_SET "default" 0.0;
505 transition: DECELERATE 0.5;
507 target: "right_over3";
510 program { name: "disable";
511 signal: "elm,state,disabled";
513 action: STATE_SET "disabled" 0.0;
515 target: "left_over1";
516 target: "left_over2";
518 target: "right_over1";
519 target: "right_over2";
521 target: "access_text";
522 after: "disable_text";
524 program { name: "disable_text";
528 get_state(PART:"elm.text", st, 30, vl);
529 if (!strcmp(st, "active"))
530 set_state(PART:"elm.text", "disabled_active", 0.0);
532 set_state(PART:"elm.text", "disabled", 0.0);
534 get_state(PART:"elm.swallow.entry", st, 30, vl);
535 if (!strcmp(st, "active"))
536 set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
538 set_state(PART:"elm.swallow.entry", "disabled", 0.0);
541 program { name: "enable";
542 signal: "elm,state,enabled";
544 action: STATE_SET "default" 0.0;
546 target: "left_over1";
547 target: "left_over2";
549 target: "right_over1";
550 target: "right_over2";
552 target: "access_text";
553 after: "enable_text";
555 program { name: "enable_text";
559 get_state(PART:"elm.text", st, 30, vl);
560 if (!strcmp(st, "disabled_active"))
561 set_state(PART:"elm.text", "active", 0.0);
563 set_state(PART:"elm.text", "default", 0.0);
565 get_state(PART:"elm.swallow.entry", st, 30, vl);
566 if (!strcmp(st, "disabled_active"))
567 set_state(PART:"elm.swallow.entry", "active", 0.0);
569 set_state(PART:"elm.swallow.entry", "default", 0.0);
572 program { name: "active";
573 signal: "elm,state,active";
575 action: STATE_SET "active" 0.0;
577 target: "elm.swallow.entry";
579 program { name: "inactive";
580 signal: "elm,state,inactive";
582 action: STATE_SET "default" 0.0;
584 target: "elm.swallow.entry";
586 program { name: "toggle_text";
587 signal: "mouse,up,1";
588 source: "button_events";
589 action: SIGNAL_EMIT "elm,action,entry,toggle" "";
591 program { name: "to_rtl";
592 signal: "edje,state,rtl";
594 action: STATE_SET "rtl" 0.0;
595 target: "right_bt_icon";
596 target: "left_bt_icon";
598 program { name: "to_ltr";
599 signal: "edje,state,ltr";
601 action: STATE_SET "default" 0.0;
602 target: "right_bt_icon";
603 target: "left_bt_icon";
608 ///////////////////////////////////////////////////////////////////////////////
609 group { name: "elm/spinner/base/vertical";
611 image: "shelf_inset.png" COMP;
612 image: "bt_hilight.png" COMP;
613 image: "bt_shine.png" COMP;
614 image: "bt_glow.png" COMP;
615 image: "bt_dis_base.png" COMP;
616 image: "bt_dis_hilight.png" COMP;
617 image: "up.png" COMP;
618 image: "down.png" COMP;
619 image: "bt_spinner_up.png" COMP;
620 image: "bt_spinner_down.png" COMP;
621 image: "bt_spinner_hilight.png" COMP;
626 description { state: "default" 0.0;
630 color: 255 255 255 0;
633 part { name: "conf_over";
635 description { state: "default" 0.0;
644 normal: "shelf_inset.png";
651 part { name: "down_bt";
653 description { state: "default" 0.0;
669 normal: "bt_spinner_down.png";
674 description { state: "clicked" 0.0;
675 inherit: "default" 0.0;
676 image.normal: "bt_spinner_down.png";
679 description { state: "disabled" 0.0;
680 inherit: "default" 0.0;
682 normal: "bt_dis_base.png";
687 part { name: "down_over3";
690 description { state: "default" 0.0;
691 color: 255 255 255 0;
695 normal: "bt_glow.png";
700 description { state: "clicked" 0.0;
701 inherit: "default" 0.0;
703 color: 255 255 255 255;
706 part { name: "up_bt";
708 description { state: "default" 0.0;
721 aspect_preference: BOTH;
723 normal: "bt_spinner_up.png";
728 description { state: "clicked" 0.0;
729 inherit: "default" 0.0;
730 image.normal: "bt_spinner_up.png";
733 description { state: "disabled" 0.0;
734 inherit: "default" 0.0;
736 normal: "bt_dis_base.png";
741 part { name: "up_over1";
743 description { state: "default" 0.0;
749 normal: "bt_spinner_hilight.png";
753 description { state: "disabled" 0.0;
754 inherit: "default" 0.0;
756 normal: "bt_dis_hilight.png";
761 part { name: "up_over3";
764 description { state: "default" 0.0;
765 color: 255 255 255 0;
769 normal: "bt_glow.png";
774 description { state: "clicked" 0.0;
775 inherit: "default" 0.0;
777 color: 255 255 255 255;
780 part { name: "down_bt_icon";
782 description { state: "default" 0.0;
788 image.normal: "down.png";
791 part { name: "up_bt_icon";
793 description { state: "default" 0.0;
799 image.normal: "up.png";
802 part { name: "elm.text";
806 description { state: "default" 0.0;
809 rel1 { relative: 0.0 0.0;
814 rel2 { relative: 0.0 1.0;
821 font: "Sans,Edje-Vera";
827 description { state: "active" 0.0;
828 inherit: "default" 0.0;
831 description { state: "disabled_active" 0.0;
832 inherit: "default" 0.0;
836 description { state: "disabled" 0.0;
837 inherit: "default" 0.0;
842 part { name: "elm.dragable.slider";
850 description { state: "default" 0.0;
857 part { name: "button_events";
860 events: "elm.dragable.slider";
863 description { state: "default" 0.0;
870 part { name: "elm.swallow.entry";
872 description { state: "default" 0.0;
875 rel1 { relative: 0.0 0.5;
879 rel2 { relative: 1.0 0.5;
886 description { state: "active" 0.0;
887 inherit: "default" 0.0;
889 color: 255 255 255 255;
891 description { state: "disabled_active" 0.0;
892 inherit: "default" 0.0;
895 description { state: "disabled" 0.0;
896 inherit: "default" 0.0;
900 part { name: "disabler";
902 description { state: "default" 0.0;
906 description { state: "disabled" 0.0;
907 inherit: "default" 0.0;
911 part { name: "access_text";
914 description { state: "default" 0.0;
919 description { state: "disabled" 0.0;
927 program { name: "text_show";
928 signal: "elm,state,text,visible";
930 action: STATE_SET "visible" 0.0;
933 program { name: "text_hide";
934 signal: "elm,state,text,hidden";
936 action: STATE_SET "default" 0.0;
939 program { name: "dec";
940 signal: "mouse,down,1*";
942 action: SIGNAL_EMIT "elm,action,decrement,start" "";
944 program { name: "dec2";
945 signal: "mouse,up,1";
947 action: SIGNAL_EMIT "elm,action,decrement,stop" "";
949 program { name: "inc";
950 signal: "mouse,down,1*";
952 action: SIGNAL_EMIT "elm,action,increment,start" "";
954 program { name: "inc2";
955 signal: "mouse,up,1";
957 action: SIGNAL_EMIT "elm,action,increment,stop" "";
960 name: "down_bt_click2";
961 signal: "mouse,down,1*";
962 source: "down_over3";
963 action: STATE_SET "clicked" 0.0;
964 target: "down_over3";
967 name: "down_bt_unclick2";
968 signal: "mouse,up,1";
969 source: "down_over3";
970 action: STATE_SET "default" 0.0;
971 transition: DECELERATE 0.5;
972 target: "down_over3";
975 name: "up_bt_click2";
976 signal: "mouse,down,1*";
978 action: STATE_SET "clicked" 0.0;
982 name: "up_bt_unclick2";
983 signal: "mouse,up,1";
985 action: STATE_SET "default" 0.0;
986 transition: DECELERATE 0.5;
989 program { name: "disable";
990 signal: "elm,state,disabled";
992 action: STATE_SET "disabled" 0.0;
996 target: "access_text";
997 after: "disable_text";
999 program { name: "disable_text";
1003 get_state(PART:"elm.text", st, 30, vl);
1004 if (!strcmp(st, "active"))
1005 set_state(PART:"elm.text", "disabled_active", 0.0);
1007 set_state(PART:"elm.text", "disabled", 0.0);
1009 get_state(PART:"elm.swallow.entry", st, 30, vl);
1010 if (!strcmp(st, "active"))
1011 set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
1013 set_state(PART:"elm.swallow.entry", "disabled", 0.0);
1016 program { name: "enable";
1017 signal: "elm,state,enabled";
1019 action: STATE_SET "default" 0.0;
1023 target: "access_text";
1024 after: "enable_text";
1026 program { name: "enable_text";
1030 get_state(PART:"elm.text", st, 30, vl);
1031 if (!strcmp(st, "disabled_active"))
1032 set_state(PART:"elm.text", "active", 0.0);
1034 set_state(PART:"elm.text", "default", 0.0);
1036 get_state(PART:"elm.swallow.entry", st, 30, vl);
1037 if (!strcmp(st, "disabled_active"))
1038 set_state(PART:"elm.swallow.entry", "active", 0.0);
1040 set_state(PART:"elm.swallow.entry", "default", 0.0);
1043 program { name: "active";
1044 signal: "elm,state,active";
1046 action: STATE_SET "active" 0.0;
1048 target: "elm.swallow.entry";
1050 program { name: "inactive";
1051 signal: "elm,state,inactive";
1053 action: STATE_SET "default" 0.0;
1055 target: "elm.swallow.entry";
1057 program { name: "toggle_text";
1058 signal: "mouse,up,1";
1059 source: "button_events";
1060 action: SIGNAL_EMIT "elm,action,entry,toggle" "";
1066 ///////////////////////////////////////////////////////////////////////////////