1 ///////////////////////////////////////////////////////////////////////////////
2 // FIXME: this doesn't look too hot. need to fix it up
3 group { name: "elm/progressbar/horizontal/default";
5 image: "shelf_inset.png" COMP;
6 image: "bt_sm_base2.png" COMP;
7 image: "bt_sm_hilight.png" COMP;
8 image: "bt_sm_shine.png" COMP;
11 part { name: "elm.background.progressbar";
25 part { name: "elm.swallow.bar";
34 to_y: "elm.background.progressbar";
38 to: "elm.background.progressbar";
43 part { name: "elm.swallow.content";
45 description { state: "default" 0.0;
50 to_y: "elm.background.progressbar";
55 to_y: "elm.background.progressbar";
58 description { state: "visible" 0.0;
59 inherit: "default" 0.0;
62 aspect_preference: VERTICAL;
66 part { name: "elm.text";
70 description { state: "default" 0.0;
74 rel1.to_x: "elm.swallow.content";
75 rel1.relative: 1.0 0.0;
77 rel2.to_x: "elm.swallow.content";
78 rel2.relative: 1.0 1.0;
82 font: "Sans,Edje-Vera";
88 description { state: "visible" 0.0;
89 inherit: "default" 0.0;
97 part { name: "background";
99 clip_to: "elm.background.progressbar";
101 state: "default" 0.0;
103 to: "elm.swallow.bar";
107 to: "elm.swallow.bar";
112 normal: "shelf_inset.png";
118 part { name: "elm.text.status";
121 description { state: "default" 0.0;
133 font: "Sans:style=Bold,Edje-Vera-Bold";
140 description { state: "hidden" 0.0;
141 inherit: "default" 0.0;
147 part { name: "elm.progress.progressbar";
149 clip_to: "elm.background.progressbar";
151 state: "default" 0.0;
155 to: "elm.swallow.bar";
159 to_y: "elm.swallow.bar";
160 to_x: "elm.cur.progressbar";
164 normal: "bt_sm_base2.png";
170 inherit: "default" 0.0;
172 to_y: "elm.swallow.bar";
173 to_x: "elm.cur.progressbar";
176 to: "elm.swallow.bar";
181 state: "state_begin" 0.0;
182 inherit: "default" 0.0;
184 to: "elm.swallow.bar";
188 to: "elm.swallow.bar";
193 state: "state_end" 0.0;
194 inherit: "default" 0.0;
196 to: "elm.swallow.bar";
200 to: "elm.swallow.bar";
205 part { name: "text-bar";
208 clip_to: "progress-rect";
211 description { state: "default" 0.0;
215 rel1.to: "elm.text.status";
217 rel2.to: "elm.text.status";
219 text_source: "elm.text.status";
220 font: "Sans:style=Bold,Edje-Vera-Bold";
225 color: 224 224 224 255;
228 description { state: "hidden" 0.0;
229 inherit: "default" 0.0;
235 part { name: "over1";
237 description { state: "default" 0.0;
238 rel1.to: "elm.progress.progressbar";
239 rel2.to: "elm.progress.progressbar";
240 rel2.relative: 1.0 0.5;
242 normal: "bt_sm_hilight.png";
248 part { name: "over2";
251 description { state: "default" 0.0;
252 rel1.to: "elm.progress.progressbar";
253 rel2.to: "elm.progress.progressbar";
255 normal: "bt_sm_shine.png";
261 part { name: "elm.cur.progressbar";
264 confine: "background";
268 description { state: "default" 0.0;
276 rel2.to: "background";
279 part { name: "progress-rect";
283 state: "default" 0.0;
284 rel1.to: "elm.progress.progressbar";
285 rel2.to: "elm.progress.progressbar";
290 program { name: "label_show";
291 signal: "elm,state,text,visible";
293 action: STATE_SET "visible" 0.0;
296 program { name: "label_hide";
297 signal: "elm,state,text,hidden";
299 action: STATE_SET "default" 0.0;
302 program { name: "icon_show";
303 signal: "elm,state,icon,visible";
305 action: STATE_SET "visible" 0.0;
306 target: "elm.swallow.content";
308 program { name: "icon_hide";
309 signal: "elm,state,icon,hidden";
311 action: STATE_SET "default" 0.0;
312 target: "elm.swallow.content";
314 program { name: "units_show";
315 signal: "elm,state,units,visible";
317 action: STATE_SET "default" 0.0;
319 target: "elm.text.status";
321 program { name: "units_hide";
322 signal: "elm,state,units,hidden";
324 action: STATE_SET "hidden" 0.0;
326 target: "elm.text.status";
328 program { name: "slide_to_end";
329 action: STATE_SET "state_end" 0.0;
330 transition: LINEAR 0.5;
331 target: "elm.progress.progressbar";
332 after: "slide_to_begin";
334 program { name: "slide_to_begin";
335 signal: "elm,state,slide,begin";
336 action: STATE_SET "state_begin" 0.0;
337 target: "elm.progress.progressbar";
338 transition: LINEAR 0.5;
339 after: "slide_to_end";
341 program { name: "start_pulse";
342 signal: "elm,state,pulse,start";
344 after: "slide_to_end";
346 program { name: "stop_pulse";
347 signal: "elm,state,pulse,stop";
350 target: "slide_to_begin";
351 target: "slide_to_end";
352 target: "start_pulse";
353 after: "state_pulse";
355 program { name: "state_pulse";
356 signal: "elm,state,pulse";
358 action: STATE_SET "state_begin" 0.0;
359 target: "elm.progress.progressbar";
362 program { name: "state_fraction";
363 signal: "elm,state,fraction";
366 target: "slide_to_begin";
367 target: "slide_to_end";
368 target: "start_pulse";
369 action: STATE_SET "default" 0.0;
370 target: "elm.progress.progressbar";
372 program { name: "set_invert_on";
373 signal: "elm,state,inverted,on";
375 action: STATE_SET "invert" 0.0;
376 target: "elm.progress.progressbar";
378 program { name: "set_invert_off";
379 signal: "elm,state,inverted,off";
381 action: STATE_SET "default" 0.0;
382 target: "elm.progress.progressbar";
387 ///////////////////////////////////////////////////////////////////////////////
388 group { name: "elm/progressbar/vertical/default";
390 image: "shelf_inset.png" COMP;
391 image: "bt_sm_base2.png" COMP;
392 image: "bt_sm_hilight.png" COMP;
393 image: "bt_sm_shine.png" COMP;
396 part { name: "elm.background.progressbar";
400 state: "default" 0.0;
411 part { name: "elm.swallow.bar";
414 description { state: "default" 0.0;
424 to_y: "elm.text.box";
430 part { name: "elm.swallow.content";
432 description { state: "default" 0.0;
437 to_x: "elm.swallow.bar";
442 to_x: "elm.swallow.bar";
445 description { state: "visible" 0.0;
446 inherit: "default" 0.0;
449 aspect_preference: HORIZONTAL;
453 part { name: "elm.text";
457 description { state: "default" 0.0;
461 rel1.to_y: "elm.swallow.content";
462 rel1.relative: 0.5 1.0;
464 rel2.to_y: "elm.swallow.content";
465 rel2.relative: 0.5 1.0;
469 font: "Sans,Edje-Vera";
475 description { state: "visible" 0.0;
476 inherit: "default" 0.0;
484 part { name: "background";
486 clip_to: "elm.background.progressbar";
488 state: "default" 0.0;
490 to: "elm.swallow.bar";
494 to: "elm.swallow.bar";
499 normal: "shelf_inset.png";
505 part { name: "elm.progress.progressbar";
507 clip_to: "elm.background.progressbar";
509 state: "default" 0.0;
513 to: "elm.swallow.bar";
517 to_x: "elm.swallow.bar";
518 to_y: "elm.cur.progressbar";
522 normal: "bt_sm_base2.png";
528 inherit: "default" 0.0;
530 to_x: "elm.swallow.bar";
531 to_y: "elm.cur.progressbar";
534 to: "elm.swallow.bar";
539 state: "state_begin" 0.0;
540 inherit: "default" 0.0;
542 to: "elm.swallow.bar";
546 to: "elm.swallow.bar";
551 state: "state_end" 0.0;
552 inherit: "default" 0.0;
554 to: "elm.swallow.bar";
558 to: "elm.swallow.bar";
564 part { name: "over1";
566 description { state: "default" 0.0;
567 rel1.to: "elm.progress.progressbar";
568 rel2.to: "elm.progress.progressbar";
569 rel2.relative: 1.0 0.5;
571 normal: "bt_sm_hilight.png";
577 part { name: "over2";
580 description { state: "default" 0.0;
581 rel1.to: "elm.progress.progressbar";
582 rel2.to: "elm.progress.progressbar";
584 normal: "bt_sm_shine.png";
590 part { name: "elm.cur.progressbar";
593 confine: "background";
597 description { state: "default" 0.0;
605 rel2.to: "background";
609 part { name: "elm.text.box";
612 description { state: "default" 0.0;
615 to: "elm.text.status";
619 to: "elm.text.status";
622 color: 255 255 255 0;
624 description { state: "visible" 0.0;
625 inherit: "default" 0.0;
629 part { name: "elm.text.status";
633 description { state: "default" 0.0;
637 rel1.relative: 0.0 1.0;
639 rel2.relative: 1.0 1.0;
643 font: "Sans:style=Bold,Edje-Vera-Bold";
649 description { state: "visible" 0.0;
650 inherit: "default" 0.0;
660 program { name: "label_show";
661 signal: "elm,state,text,visible";
663 action: STATE_SET "visible" 0.0;
666 program { name: "label_hide";
667 signal: "elm,state,text,hidden";
669 action: STATE_SET "default" 0.0;
672 program { name: "icon_show";
673 signal: "elm,state,icon,visible";
675 action: STATE_SET "visible" 0.0;
676 target: "elm.swallow.content";
678 program { name: "icon_hide";
679 signal: "elm,state,icon,hidden";
681 action: STATE_SET "default" 0.0;
682 target: "elm.swallow.content";
684 program { name: "units_show";
685 signal: "elm,state,units,visible";
687 action: STATE_SET "visible" 0.0;
688 target: "elm.text.status";
689 target: "elm.text.box";
691 program { name: "units_hide";
692 signal: "elm,state,units,hidden";
694 action: STATE_SET "default" 0.0;
695 target: "elm.text.status";
696 target: "elm.text.box";
698 program { name: "slide_to_end";
699 action: STATE_SET "state_end" 0.0;
700 transition: LINEAR 0.5;
701 target: "elm.progress.progressbar";
702 after: "slide_to_begin";
704 program { name: "slide_to_begin";
705 action: STATE_SET "state_begin" 0.0;
706 target: "elm.progress.progressbar";
707 transition: LINEAR 0.5;
708 after: "slide_to_end";
710 program { name: "start_pulse";
711 signal: "elm,state,pulse,start";
713 action: STATE_SET "state_begin" 0.0;
714 target: "elm.progress.progressbar";
715 after: "slide_to_end";
717 program { name: "stop_pulse";
718 signal: "elm,state,pulse,stop";
721 target: "slide_to_begin";
722 target: "slide_to_end";
723 target: "start_pulse";
724 after: "state_pulse";
726 program { name: "state_pulse";
727 signal: "elm,state,pulse";
729 action: STATE_SET "state_begin" 0.0;
730 target: "elm.progress.progressbar";
733 program { name: "state_fraction";
734 signal: "elm,state,fraction";
737 target: "slide_to_begin";
738 target: "slide_to_end";
739 target: "start_pulse";
740 action: STATE_SET "default" 0.0;
741 target: "elm.progress.progressbar";
743 program { name: "set_invert_on";
744 signal: "elm,state,inverted,on";
746 action: STATE_SET "invert" 0.0;
747 target: "elm.progress.progressbar";
748 target: "elm.cur.progressbar";
750 program { name: "set_invert_off";
751 signal: "elm,state,inverted,off";
753 action: STATE_SET "default" 0.0;
754 target: "elm.progress.progressbar";
755 target: "elm.cur.progressbar";
760 ///////////////////////////////////////////////////////////////////////////////
761 group { name: "elm/progressbar/horizontal/wheel";
763 image: "busy-1.png" COMP;
764 image: "busy-2.png" COMP;
765 image: "busy-3.png" COMP;
766 image: "busy-4.png" COMP;
767 image: "busy-5.png" COMP;
768 image: "busy-6.png" COMP;
769 image: "busy-7.png" COMP;
770 image: "busy-8.png" COMP;
771 image: "busy-9.png" COMP;
774 part { name: "elm.background.progressbar";
778 state: "default" 0.0;
781 part { name: "elm.swallow.bar";
784 description { state: "default" 0.0;
790 part { name: "elm.swallow.content";
792 description { state: "default" 0.0;
798 part { name: "background";
800 clip_to: "elm.background.progressbar";
802 state: "default" 0.0;
807 aspect_preference: BOTH;
809 normal: "busy-9.png";
815 inherit: "default" 0.0;
817 normal: "busy-9.png";
832 program { name: "start_pulse";
833 signal: "elm,state,pulse,start";
835 action: STATE_SET "pulse" 0.0;
836 target: "background";
837 transition: LINEAR 0.5;
838 after: "start_pulse";
840 program { name: "stop_pulse";
841 signal: "elm,state,pulse,stop";
843 action: STATE_SET "default" 0.0;
844 target: "background";
850 ///////////////////////////////////////////////////////////////////////////////