14a73376ea86ad3f398eac891848ad6760c3fbcc
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / progressbar.edc
1 /*
2  * efl-theme-tizen
3  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an AS IS BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18
19
20 ///////////////////////////////////////////////////////////////////////////////////////
21    group { name: "elm/progressbar/horizontal/default";
22       images {
23          image: "progress_slider_bg.9.png" COMP;
24          image: "progress_slider_bar.9.png" COMP;
25       }
26       parts {
27          part { name: "access";
28             type: RECT;
29             description { state: "default" 0.0;
30                fixed: 1 1;
31                color: 0 0 0 0;
32             }
33          }
34          part { name: "elm.background.progressbar";
35             type: RECT;
36             mouse_events: 0;
37             scale: 1;
38             description {
39                state: "default" 0.0;
40                rel1 {
41                   relative: 0.0 0.0;
42                   offset: 0 0;
43                }
44                rel2 {
45                   relative: 1.0 1.0;
46                }
47             }
48          }
49          part { name: "elm.swallow.bar";
50             mouse_events: 0;
51             scale: 1;
52             type: SWALLOW;
53             description {
54                min: 0 18;
55                max: 99999 18;
56                state: "default" 0.0;
57                rel1 {
58                   to_y: "elm.background.progressbar";
59                   relative: 0.0 0.0;
60                }
61                rel2 {
62                   to: "elm.background.progressbar";
63                   relative: 1.0 1.0;
64                }
65             }
66          }
67          part { name: "elm.swallow.content";
68             type: SWALLOW;
69             scale: 1;
70             description { state: "default" 0.0;
71                visible: 0;
72                align: 0.0 0.5;
73                rel1 {
74                   offset: 0 0;
75                   to_y: "elm.background.progressbar";
76                }
77                rel2 {
78                   offset: 0 -1;
79                   relative: 0.0 1.0;
80                   to_y: "elm.background.progressbar";
81                }
82             }
83             description { state: "visible" 0.0;
84                inherit: "default" 0.0;
85                visible: 1;
86                aspect: 1.0 1.0;
87                aspect_preference: VERTICAL;
88                rel2.offset: 0 -1;//4 -1;
89             }
90          }
91          part { name: "background";
92             mouse_events: 0;
93             scale: 1;
94             clip_to: "elm.background.progressbar";
95             description {
96                state: "default" 0.0;
97                rel1 {
98                   to: "elm.swallow.bar";
99                   relative: 0.0 0.0;
100                }
101                rel2 {
102                   to: "elm.swallow.bar";
103                   relative: 1.0 1.0;
104                   offset: -1 -1;
105                }
106                image {
107                   normal: "progress_slider_bg.9.png";
108                   border: 3 3 2 2;
109                }
110             }
111          }
112          part { name: "elm.text.status";
113             type: TEXT;
114             scale: 1;
115             mouse_events: 0;
116             description { state: "default" 0.0;
117                fixed: 1 1;
118                visible: 0;
119                rel1 {
120                   to: "background";
121                   relative: 0.5 0.5;
122                }
123                rel2 {
124                   to: "background";
125                   relative: 0.5 0.5;
126                }
127                text {
128                   font: "Tizen:style=Roman";
129                   size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
130                   min: 0 0;
131                   align: 0.5 0.0;
132                   text_class: "tizen";
133                }
134                color: PROGRESSBAR_DEFAULT_STYLE_STATUS_TEXT_COLOR_INC;
135             }
136             description { state: "show" 0.0;
137                inherit: "default" 0.0;
138                visible: 0;
139                text.min: 1 1;
140             }
141          }
142          part { name: "elm.progress.progressbar";
143             mouse_events: 0;
144             scale: 1;
145             clip_to: "elm.background.progressbar";
146             description {
147                state: "default" 0.0;
148                min: 0 0;
149                fixed: 1 0;
150                rel1 {
151                   to: "elm.swallow.bar";
152                   relative: 0.0 0.0;
153                }
154                rel2 {
155                   to_y: "elm.swallow.bar";
156                   to_x: "elm.cur.progressbar";
157                   offset: -1 -1;
158                }
159                image {
160                   normal: "progress_slider_bar.9.png";
161                   border: 3 3 2 2;
162                }
163             }
164             description {
165                state: "invert" 0.0;
166                inherit: "default" 0.0;
167                rel1 {
168                   to_y: "elm.swallow.bar";
169                   to_x: "elm.cur.progressbar";
170                }
171                rel2 {
172                   to: "elm.swallow.bar";
173                   relative: 1.0 1.0;
174                }
175             }
176             description {
177                state: "state_begin" 0.0;
178                inherit: "default" 0.0;
179                rel1 {
180                   to: "elm.swallow.bar";
181                   relative: 0.0 0.0;
182                }
183                rel2 {
184                   to: "elm.swallow.bar";
185                   relative: 0.1 1.0;
186                }
187             }
188             description {
189                state: "state_end" 0.0;
190                inherit: "default" 0.0;
191                rel1 {
192                   to: "elm.swallow.bar";
193                   relative: 0.9 0.0;
194                }
195                rel2 {
196                   to: "elm.swallow.bar";
197                   relative: 1.0 1.0;
198                }
199             }
200          }
201          part { name: "text-bar";
202             type: TEXT;
203             mouse_events: 0;
204             scale: 1;
205             clip_to: "progress-rect";
206             //effect: SOFT_SHADOW;
207             scale: 1;
208             description { state: "default" 0.0;
209                align: 0.0 0.0;
210                fixed: 1 1;
211                visible: 0;
212                rel1.to: "elm.text.status";
213                rel1.offset: -1 -1;
214                rel2.to: "elm.text.status";
215                text {
216                   text_source: "elm.text.status";
217                   font: "Tizen:style=Roman";
218                   size: 10;
219                   min: 0 0;
220                   align: 0.0 0.0;
221                   text_class: "tizen";
222                }
223                color: PROGRESSBAR_DEFAULT_STYLE_TEXT_COLOR_INC;
224             }
225             description { state: "show" 0.0;
226                inherit: "default" 0.0;
227                visible: 0;
228                text.min: 1 1;
229             }
230          }
231          part { name: "elm.cur.progressbar";
232             mouse_events: 0;
233             scale: 1;
234             dragable {
235                confine: "background";
236                x: 1 1 1;
237                y: 0 0 0;
238             }
239             description { state: "default" 0.0;
240                min: 0 28;
241                fixed: 1 1;
242                visible: 0;
243                rel1 {
244                   to: "background";
245                   relative: 0 0;
246                }
247                rel2.to: "background";
248            }
249          }
250          part { name: "progress-rect";
251             type: RECT;
252             mouse_events: 0;
253             scale: 1;
254             description {
255                state: "default" 0.0;
256                rel1.to: "elm.progress.progressbar";
257                rel2.to: "elm.progress.progressbar";
258             }
259          }
260          part { name: "elm.padding.left";
261             type: RECT;
262             scale: 1;
263             description {
264             state: "default" 0.0;
265             min: 20 0;
266             fixed: 1 0;
267             rel1 {
268                relative: 0.0 0.0;
269                offset: 0 0;
270             }
271             rel2 {
272                relative: 0.0  1.0;
273                offset: 0 0;
274             }
275             color: 0 0 0 0;
276             align: 0.0 0.0;
277             }
278          }
279          part { name: "elm.text";
280             type: TEXT;
281             mouse_events: 0;
282             scale: 1;
283             description { state: "default" 0.0;
284                visible: 0;
285                fixed: 1 1;
286                align: 0.0 0.5;
287                rel1 {
288                   to_x: "elm.padding.left";
289                   relative: 1.0 0.0;
290                   offset: 0 0;
291                }
292                rel2 {
293                   relative: 1.0 1.0;
294                   offset: 0 0;
295                }
296                color: PROGRESSBAR_DEFAULT_STYLE_STATUS_TEXT_COLOR_INC;
297                text {
298                   font: "Tizen:style=Roman";
299                   size: 34;
300                   min: 0 0;
301                   align: 0.0 0.5;
302                   text_class: "tizen";
303                }
304             }
305             description { state: "visible" 0.0;
306                inherit: "default" 0.0;
307                visible: 0;
308                text.min: 1 1;
309             }
310          }
311       }
312       programs {
313          program { name: "label_show";
314             signal: "elm,state,text,visible";
315             source: "elm";
316             action:  STATE_SET "visible" 0.0;
317             target: "elm.text";
318          }
319          program { name: "label_hide";
320             signal: "elm,state,text,hidden";
321             source: "elm";
322             action:  STATE_SET "default" 0.0;
323             target: "elm.text";
324          }
325          program { name: "icon_show";
326             signal: "elm,state,icon,visible";
327             source: "elm";
328             action:  STATE_SET "visible" 0.0;
329             target: "elm.swallow.content";
330          }
331          program { name: "icon_hide";
332             signal: "elm,state,icon,hidden";
333             source: "elm";
334             action:  STATE_SET "default" 0.0;
335             target: "elm.swallow.content";
336          }
337          program { name: "units_show";
338             signal: "elm,state,units,visible";
339             source: "elm";
340             action:  STATE_SET "show" 0.0;
341             target: "text-bar";
342             target: "elm.text.status";
343          }
344          program { name: "units_hide";
345             signal: "elm,state,units,hidden";
346             source: "elm";
347             action:  STATE_SET "default" 0.0;
348             target: "text-bar";
349             target: "elm.text.status";
350          }
351          program { name: "slide_to_end";
352             action:  STATE_SET "state_end" 0.0;
353             transition: LINEAR 0.5;
354             target: "elm.progress.progressbar";
355             after: "slide_to_begin";
356          }
357          program { name: "slide_to_begin";
358             signal: "elm,state,slide,begin";
359             action: STATE_SET "state_begin" 0.0;
360             target: "elm.progress.progressbar";
361             transition: LINEAR 0.5;
362             after: "slide_to_end";
363          }
364          program { name: "start_pulse";
365             signal: "elm,state,pulse,start";
366             source: "elm";
367             after: "slide_to_end";
368          }
369          program { name: "stop_pulse";
370             signal: "elm,state,pulse,stop";
371             source: "elm";
372             action: ACTION_STOP;
373             target: "slide_to_begin";
374             target: "slide_to_end";
375             target: "start_pulse";
376             after: "state_pulse";
377          }
378          program { name: "state_pulse";
379             signal: "elm,state,pulse";
380             source: "elm";
381             action: STATE_SET "state_begin" 0.0;
382             target: "elm.progress.progressbar";
383             after: "units_hide";
384          }
385          program { name: "state_fraction";
386             signal: "elm,state,fraction";
387             source: "elm";
388             action: ACTION_STOP;
389             target: "slide_to_begin";
390             target: "slide_to_end";
391             target: "start_pulse";
392             action: STATE_SET "default" 0.0;
393             target: "elm.progress.progressbar";
394          }
395          program { name: "set_invert_on";
396             signal: "elm,state,inverted,on";
397             source: "elm";
398             action:  STATE_SET "invert" 0.0;
399             target: "elm.progress.progressbar";
400          }
401          program { name: "set_invert_off";
402             signal: "elm,state,inverted,off";
403             source: "elm";
404             action:  STATE_SET "default" 0.0;
405             target: "elm.progress.progressbar";
406          }
407       }
408    }
409
410    group { name: "elm/progressbar/horizontal/list_progress";
411       images {
412          image: "00_progress_bg.png" COMP;
413          image: "00_progress_bar.png" COMP;
414       }
415       parts {
416          part { name: "access";
417             type: RECT;
418             description { state: "default" 0.0;
419                fixed: 1 1;
420                color: 0 0 0 0;
421             }
422          }
423          part { name: "elm.padding.left";
424             type: RECT;
425             scale: 1;
426             description {
427                state: "default" 0.0;
428                min: 0 0;
429                fixed: 1 0;
430                rel1 {
431                   relative: 0.0  0.0;
432                   offset: 0 0;
433                }
434                rel2 {
435                   relative: 0.0  1.0;
436                   offset: 0 0;
437                }
438                visible: 0;
439                align: 0.0 0.0;
440             }
441          }
442          part { name: "elm.padding.right";
443             type: RECT;
444             scale: 1;
445             description {
446                state: "default" 0.0;
447                min: 0 0;
448                fixed: 1 0;
449                rel1 {
450                   relative: 1.0  0.0;
451                   offset: 0 0;
452                }
453                rel2 {
454                   relative: 1.0  1.0;
455                   offset:   0   0;
456                }
457                visible: 0;
458                align: 1.0 0.0;
459             }
460          }
461          part { name: "elm.background.progressbar";
462             type: RECT;
463             mouse_events: 0;
464             scale: 1;
465             description {
466                state: "default" 0.0;
467                rel1 {
468                   to_x: "elm.padding.left";
469                   relative: 1.0 0.0;
470                   offset: 0 0;
471                }
472                rel2 {
473                   to_x: "elm.padding.right";
474                   relative: 0.0 1.0;
475                   offset: 0 0;
476                }
477             }
478          }
479          part { name: "elm.swallow.bar";
480             mouse_events: 0;
481             scale: 1;
482             type: SWALLOW;
483             description {
484                min: 1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
485                max: 99999 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
486                state: "default" 0.0;
487                rel1 {
488                   to: "elm.background.progressbar";
489                   relative: 0.0 0.0;
490                }
491                rel2 {
492                   to: "elm.background.progressbar";
493                   relative: 1.0 1.0;
494                }
495             }
496          }
497          part { name: "elm.swallow.content";
498             type: SWALLOW;
499             scale: 1;
500             description { state: "default" 0.0;
501                visible: 0;
502                align: 0.0 0.5;
503                rel1 {
504                   offset: 0 0;
505                   to_y: "elm.background.progressbar";
506                }
507                rel2 {
508                   offset: 0 -1;
509                   relative: 0.0 1.0;
510                   to_y: "elm.background.progressbar";
511                }
512             }
513             description { state: "visible" 0.0;
514                inherit: "default" 0.0;
515                visible: 1;
516                aspect: 1.0 1.0;
517                aspect_preference: VERTICAL;
518                rel2.offset: 4 -1;
519             }
520          }
521          part { name: "elm.text";
522             type: TEXT;
523             mouse_events: 0;
524             scale: 1;
525             description { state: "default" 0.0;
526                visible: 0;
527                fixed: 1 1;
528                align: 0.0 0.5;
529                rel1.to_x: "elm.swallow.content";
530                rel1.relative: 1.0 0.0;
531                rel2.to_x: "elm.swallow.content";
532                rel2.relative: 1.0 1.0;
533                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
534                text {
535                   font: "Tizen:style=Medium";
536                   size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
537                   min: 0 0;
538                   align: 0.0 0.5;
539                   text_class: "tizen";
540                }
541             }
542             description { state: "visible" 0.0;
543                inherit: "default" 0.0;
544                visible: 0;
545                text.min: 1 1;
546             }
547          }
548          part { name: "background";
549             mouse_events: 0;
550             scale: 1;
551             clip_to: "elm.background.progressbar";
552             description {
553                state: "default" 0.0;
554                rel1 {
555                   to: "elm.swallow.bar";
556                   relative: 0.0 0.0;
557                }
558                rel2 {
559                   to: "elm.swallow.bar";
560                   relative: 1.0 1.0;
561                }
562                image {
563                   normal: "00_progress_bg.png";
564                   border: PROGRESS_BG_IMAGE_BORDER_INC;
565                   border_scale: 1;
566                }
567             }
568          }
569          part { name: "elm.text.status";
570             type: TEXT;
571             mouse_events: 0;
572             scale: 1;
573             description { state: "default" 0.0;
574                fixed: 1 1;
575                visible: 0;
576                rel1 {
577                   to: "background";
578                   relative: 0.5 0.5;
579                }
580                rel2 {
581                   to: "background";
582                   relative: 0.5 0.5;
583                }
584                text {
585                   font: "Tizen:style=Medium";
586                   size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
587                   min: 0 0;
588                   align: 0.5 0.0;
589                   text_class: "tizen";
590                }
591                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
592             }
593             description { state: "show" 0.0;
594                inherit: "default" 0.0;
595                visible: 0;
596                text.min: 1 1;
597             }
598          }
599          part {
600             name: "bar.image.left.padding";
601             type: RECT;
602             scale: 1;
603             description {
604                state: "default" 0.0;
605                visible: 0;
606                min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
607                max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
608                fixed: 1 0;
609                rel1.to: "elm.swallow.bar";
610                rel2 {
611                   relative: 0.0  1.0;
612                   to: "elm.swallow.bar";
613                }
614                align: 0.0 0.5;
615             }
616          }
617          part {
618             name: "bar.image.right.padding";
619             type: RECT;
620             scale: 1;
621             description {
622                state: "default" 0.0;
623                visible: 0;
624                min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
625                max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
626                fixed: 1 0;
627                rel1 {
628                   relative: 1.0  0.0;
629                   to: "elm.swallow.bar";
630                }
631                rel2.to: "elm.swallow.bar";
632                align: 1.0 0.5;
633             }
634          }
635          part { name: "drag.background";
636             mouse_events: 0;
637             type: RECT;
638             scale: 1;
639             clip_to: "elm.background.progressbar";
640             description {
641                state: "default" 0.0;
642                visible: 0;
643                rel1 {
644                   to_x: "bar.image.left.padding";
645                   to_y: "elm.swallow.bar";
646                   relative: 1.0 0.0;
647                }
648                rel2 {
649                   to_x: "bar.image.right.padding";
650                   to_y: "elm.swallow.bar";
651                   relative: 0.0 1.0;
652                }
653             }
654          }
655          part { name: "elm.progress.progressbar";
656             mouse_events: 0;
657             scale: 1;
658             clip_to: "elm.background.progressbar";
659             description {
660                state: "default" 0.0;
661                min: 0 0;
662                fixed: 1 1;
663                rel1 {
664                   to_x: "bar.image.left.padding";
665                   to_y: "elm.swallow.bar";
666                   relative: 1.0 0.0;
667                }
668                rel2 {
669                   to_y: "elm.swallow.bar";
670                   to_x: "elm.cur.progressbar";
671                   offset: -1 -1;
672                }
673                image {
674                   normal: "00_progress_bar.png";
675                   border: PROGRESS_BAR_IMAGE_BORDER_INC;
676                   border_scale: 1;
677                }
678             }
679             description {
680                state: "invert" 0.0;
681                inherit: "default" 0.0;
682                rel1 {
683                   to_y: "elm.swallow.bar";
684                   to_x: "elm.cur.progressbar";
685                }
686                rel2 {
687                   to_y: "elm.swallow.bar";
688                   to_x: "bar.image.right.padding";
689                   relative: 1.0 0.0;
690                }
691             }
692             description {
693                state: "state_begin" 0.0;
694                inherit: "default" 0.0;
695                rel1 {
696                   to: "elm.swallow.bar";
697                   relative: 0.0 0.0;
698                }
699                rel2 {
700                   to: "elm.swallow.bar";
701                   relative: 0.1 1.0;
702                }
703             }
704             description {
705                state: "state_end" 0.0;
706                inherit: "default" 0.0;
707                rel1 {
708                   to: "elm.swallow.bar";
709                   relative: 0.9 0.0;
710                }
711                rel2 {
712                   to: "elm.swallow.bar";
713                   relative: 1.0 1.0;
714                }
715             }
716          }
717          part { name: "text-bar";
718             type: TEXT;
719             mouse_events: 0;
720             scale: 1;
721             clip_to: "progress-rect";
722             //effect: SOFT_SHADOW;
723             scale: 0;
724             description { state: "default" 0.0;
725                align: 0.0 0.0;
726                fixed: 1 1;
727                visible: 0;
728                rel1.to: "elm.text.status";
729                rel1.offset: -1 -1;
730                rel2.to: "elm.text.status";
731                text {
732                   text_source: "elm.text.status";
733                   font: "Tizen:style=Medium";
734                   size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
735                   min: 0 0;
736                   align: 0.0 0.0;
737                   text_class: "tizen";
738                }
739                color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
740             }
741             description { state: "show" 0.0;
742                inherit: "default" 0.0;
743                visible: 0;
744                text.min: 1 1;
745             }
746          }
747          part { name: "elm.cur.progressbar";
748             mouse_events: 0;
749             scale: 1;
750             dragable {
751                confine: "drag.background";
752                x: 1 1 1;
753                y: 0 0 0;
754             }
755             description { state: "default" 0.0;
756                min: 0 28;
757                fixed: 1 1;
758                visible: 0;
759                rel1.to: "drag.background";
760                rel2.to: "drag.background";
761            }
762          }
763          part { name: "progress-rect";
764             type: RECT;
765             mouse_events: 0;
766             scale: 1;
767             description {
768                state: "default" 0.0;
769                rel1.to: "elm.progress.progressbar";
770                rel2.to: "elm.progress.progressbar";
771             }
772          }
773       }
774       programs {
775          program { name: "label_show";
776             signal: "elm,state,text,visible";
777             source: "elm";
778             action:  STATE_SET "visible" 0.0;
779             target: "elm.text";
780          }
781          program { name: "label_hide";
782             signal: "elm,state,text,hidden";
783             source: "elm";
784             action:  STATE_SET "default" 0.0;
785             target: "elm.text";
786          }
787          program { name: "icon_show";
788             signal: "elm,state,icon,visible";
789             source: "elm";
790             action:  STATE_SET "visible" 0.0;
791             target: "elm.swallow.content";
792          }
793          program { name: "icon_hide";
794             signal: "elm,state,icon,hidden";
795             source: "elm";
796             action:  STATE_SET "default" 0.0;
797             target: "elm.swallow.content";
798          }
799          program { name: "units_show";
800             signal: "elm,state,units,visible";
801             source: "elm";
802             action:  STATE_SET "show" 0.0;
803             target: "text-bar";
804             target: "elm.text.status";
805          }
806          program { name: "units_hide";
807             signal: "elm,state,units,hidden";
808             source: "elm";
809             action:  STATE_SET "default" 0.0;
810             target: "text-bar";
811             target: "elm.text.status";
812          }
813          program { name: "slide_to_end";
814             action:  STATE_SET "state_end" 0.0;
815             transition: LINEAR 0.5;
816             target: "elm.progress.progressbar";
817             after: "slide_to_begin";
818          }
819          program { name: "slide_to_begin";
820             signal: "elm,state,slide,begin";
821             action: STATE_SET "state_begin" 0.0;
822             target: "elm.progress.progressbar";
823             transition: LINEAR 0.5;
824             after: "slide_to_end";
825          }
826          program { name: "start_pulse";
827             signal: "elm,state,pulse,start";
828             source: "elm";
829            // after: "slide_to_end";
830          }
831          program { name: "stop_pulse";
832             signal: "elm,state,pulse,stop";
833             source: "elm";
834             action: ACTION_STOP;
835             target: "slide_to_begin";
836             target: "slide_to_end";
837             target: "start_pulse";
838             //after: "state_pulse";
839          }
840          program { name: "state_pulse";
841             signal: "elm,state,pulse";
842             source: "elm";
843             action: STATE_SET "state_begin" 0.0;
844             target: "elm.progress.progressbar";
845             after: "units_hide";
846          }
847          program { name: "state_fraction";
848             signal: "elm,state,fraction";
849             source: "elm";
850             action: ACTION_STOP;
851             target: "slide_to_begin";
852             target: "slide_to_end";
853             target: "start_pulse";
854             action: STATE_SET "default" 0.0;
855             target: "elm.progress.progressbar";
856          }
857          program { name: "set_invert_on";
858             signal: "elm,state,inverted,on";
859             source: "elm";
860             action:  STATE_SET "invert" 0.0;
861             target: "elm.progress.progressbar";
862          }
863          program { name: "set_invert_off";
864             signal: "elm,state,inverted,off";
865             source: "elm";
866             action:  STATE_SET "default" 0.0;
867             target: "elm.progress.progressbar";
868          }
869       }
870    }
871
872    group { name: "elm/progressbar/horizontal/list_title_progress";
873       images {
874          image: "00_progress_bg.png" COMP;
875          image: "00_progress_bar.png" COMP;
876       }
877       parts {
878          part { name: "access";
879             type: RECT;
880             description { state: "default" 0.0;
881                fixed: 1 1;
882                color: 0 0 0 0;
883             }
884          }
885          part { name: "base";
886             type: RECT;
887             scale: 1;
888             description {
889                state: "default" 0.0;
890                visible: 0;
891                rel1 { relative: 0.0  0.0; }
892                rel2 { relative: 1.0  1.0; }
893                color: 0 0 0 0;
894             }
895          }
896          part { name: "elm.padding.left";
897             type: RECT;
898             scale: 1;
899             description {
900                state: "default" 0.0;
901                min: 0 82;
902                visible: 0;
903                fixed: 1 0;
904                rel1 { relative: 0.0  0.0; to: "base"; }
905                rel2 { relative: 0.0  1.0; to: "base"; }
906                color: 0 0 0 0;
907                align: 0.0 0.0;
908             }
909          }
910          part { name: "elm.padding.right";
911             type: RECT;
912             scale: 1;
913             description {
914                state: "default" 0.0;
915                min: 0 82;
916                visible: 0;
917                fixed: 1 0;
918                rel1 { relative: 1.0  0.0; to: "base"; }
919                rel2 { relative: 1.0  1.0; to: "base"; }
920                color: 0 0 0 0;
921                align: 1.0 0.0;
922             }
923          }
924          part {
925             name: "elm.padding.top";
926             type: RECT;
927             scale: 1;
928             mouse_events: 0;
929             description { state: "default" 0.0;
930                align: 0.0 0.0;
931                min: 100 1;
932                visible: 0;
933                fixed: 0 1;
934                rel1 { relative: 0.0  0.0; to: "base"; }
935                rel2 { relative: 1.0  0.0; to: "base"; }
936                color: 0 0 0 0;
937             }
938          }
939          part {
940             name: "elm.padding.bottom";
941             type: RECT;
942             scale: 1;
943             mouse_events: 0;
944             description { state: "default" 0.0;
945                align: 1.0 1.0;
946                min: 100 1;
947                visible: 0;
948                fixed: 0 1;
949                rel1 { relative: 0.0  1.0; to: "base"; }
950                rel2 { relative: 1.0  1.0; to: "base"; }
951                color: 0 0 0 0;
952             }
953          }
954          part {
955             name: "label_rect";
956             type: RECT;
957             scale: 1;
958             mouse_events: 0;
959             description { state: "default" 0.0;
960                visible: 1;
961                min: 460 56;
962                fixed: 0 1;
963                rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
964                rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; }
965                align: 0.0 0.0;
966                color: 0 0 0 0;
967             }
968          }
969          part { name: "elm.background.progressbar";
970             type: RECT;
971             mouse_events: 0;
972             scale: 1;
973             description {
974                state: "default" 0.0;
975                rel1 {
976                   to_x: "elm.padding.left";
977                   to_y: "label_rect";
978                   relative: 1.0 1.0;
979                   offset: 0 0;
980                }
981                rel2 {
982                   to_x: "elm.padding.right";
983                   relative: 0.0 1.0;
984                   offset: 0 0;
985                }
986             }
987          }
988          part { name: "elm.swallow.bar";
989             mouse_events: 0;
990             scale: 1;
991             type: SWALLOW;
992             description {
993                min: 1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
994                max: 99999 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
995                state: "default" 0.0;
996                rel1 {
997                   to: "elm.background.progressbar";
998                   relative: 0.0 0.0;
999                }
1000                rel2 {
1001                   to: "elm.background.progressbar";
1002                   relative: 1.0 1.0;
1003                }
1004             }
1005          }
1006          part { name: "elm.swallow.content";
1007             type: SWALLOW;
1008             scale: 1;
1009             description { state: "default" 0.0;
1010                visible: 0;
1011                align: 0.0 0.5;
1012                rel1 {
1013                   offset: 0 0;
1014                   to_y: "elm.background.progressbar";
1015                }
1016                rel2 {
1017                   offset: 0 -1;
1018                   relative: 0.0 1.0;
1019                   to_y: "elm.background.progressbar";
1020                }
1021             }
1022             description { state: "visible" 0.0;
1023                inherit: "default" 0.0;
1024                visible: 1;
1025                aspect: 1.0 1.0;
1026                aspect_preference: VERTICAL;
1027                rel2.offset: 4 -1;
1028             }
1029          }
1030          part { name: "elm.text";
1031             type: TEXT;
1032             mouse_events: 0;
1033             scale: 1;
1034             description { state: "default" 0.0;
1035                visible: 1;
1036                fixed: 1 1;
1037                align: 0.0 0.5;
1038                rel1.to: "label_rect";
1039                rel2.to: "label_rect";
1040                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
1041                text {
1042                   font: "Tizen:style=Medium";
1043                   size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
1044                   min: 0 0;
1045                   align: 0.0 0.5;
1046                   text_class: "tizen";
1047                }
1048             }
1049             description { state: "visible" 0.0;
1050                inherit: "default" 0.0;
1051                visible: 1;
1052                text.min: 1 1;
1053             }
1054          }
1055          part { name: "background";
1056             mouse_events: 0;
1057             scale: 1;
1058             clip_to: "elm.background.progressbar";
1059             description {
1060                state: "default" 0.0;
1061                rel1 {
1062                   to: "elm.swallow.bar";
1063                   relative: 0.0 0.0;
1064                }
1065                rel2 {
1066                   to: "elm.swallow.bar";
1067                   relative: 1.0 1.0;
1068                }
1069                image {
1070                   normal: "00_progress_bg.png";
1071                   border: PROGRESS_BG_IMAGE_BORDER_INC;
1072                   border_scale: 1;
1073                }
1074             }
1075          }
1076          part { name: "elm.text.status";
1077             type: TEXT;
1078             mouse_events: 0;
1079             scale: 1;
1080             description { state: "default" 0.0;
1081                fixed: 1 1;
1082                visible: 0;
1083                rel1 {
1084                   to: "background";
1085                   relative: 0.5 0.5;
1086                }
1087                rel2 {
1088                   to: "background";
1089                   relative: 0.5 0.5;
1090                }
1091                text {
1092                   font: "Tizen:style=Medium";
1093                   size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
1094                   min: 0 0;
1095                   align: 0.5 0.0;
1096                   text_class: "tizen";
1097                }
1098                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
1099             }
1100             description { state: "show" 0.0;
1101                inherit: "default" 0.0;
1102                visible: 0;
1103                text.min: 1 1;
1104             }
1105          }
1106          part {
1107             name: "bar.image.left.padding";
1108             type: RECT;
1109             scale: 1;
1110             description {
1111                state: "default" 0.0;
1112                visible: 0;
1113                min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
1114                max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
1115                fixed: 1 0;
1116                rel1.to: "elm.swallow.bar";
1117                rel2 {
1118                   relative: 0.0  1.0;
1119                   to: "elm.swallow.bar";
1120                }
1121                align: 0.0 0.5;
1122             }
1123          }
1124          part {
1125             name: "bar.image.right.padding";
1126             type: RECT;
1127             scale: 1;
1128             description {
1129                state: "default" 0.0;
1130                visible: 0;
1131                min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
1132                max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
1133                fixed: 1 0;
1134                rel1 {
1135                   relative: 1.0  0.0;
1136                   to: "elm.swallow.bar";
1137                }
1138                rel2.to: "elm.swallow.bar";
1139                align: 1.0 0.5;
1140             }
1141          }
1142          part { name: "drag.background";
1143             mouse_events: 0;
1144             type: RECT;
1145             scale: 1;
1146             clip_to: "elm.background.progressbar";
1147             description {
1148                state: "default" 0.0;
1149                visible: 0;
1150                rel1 {
1151                   to_x: "bar.image.left.padding";
1152                   to_y: "elm.swallow.bar";
1153                   relative: 1.0 0.0;
1154                }
1155                rel2 {
1156                   to_x: "bar.image.right.padding";
1157                   to_y: "elm.swallow.bar";
1158                   relative: 0.0 1.0;
1159                }
1160             }
1161          }
1162          part { name: "elm.progress.progressbar";
1163             mouse_events: 0;
1164             scale: 1;
1165             clip_to: "elm.background.progressbar";
1166             description {
1167                state: "default" 0.0;
1168                min: 0 0;
1169                fixed: 1 1;
1170                rel1 {
1171                   to_x: "bar.image.left.padding";
1172                   to_y: "elm.swallow.bar";
1173                   relative: 1.0 0.0;
1174                }
1175                rel2 {
1176                   to_y: "elm.swallow.bar";
1177                   to_x: "elm.cur.progressbar";
1178                   offset: -1 -1;
1179                }
1180                image {
1181                   normal: "00_progress_bar.png";
1182                   border: PROGRESS_BAR_IMAGE_BORDER_INC;
1183                   border_scale: 1;
1184                }
1185             }
1186             description {
1187                state: "invert" 0.0;
1188                inherit: "default" 0.0;
1189                rel1 {
1190                   to_y: "elm.swallow.bar";
1191                   to_x: "elm.cur.progressbar";
1192                }
1193                rel2 {
1194                   to_y: "elm.swallow.bar";
1195                   to_x: "bar.image.right.padding";
1196                   relative: 1.0 0.0;
1197                }
1198             }
1199             description {
1200                state: "state_begin" 0.0;
1201                inherit: "default" 0.0;
1202                rel1 {
1203                   to: "elm.swallow.bar";
1204                   relative: 0.0 0.0;
1205                }
1206                rel2 {
1207                   to: "elm.swallow.bar";
1208                   relative: 0.1 1.0;
1209                }
1210             }
1211             description {
1212                state: "state_end" 0.0;
1213                inherit: "default" 0.0;
1214                rel1 {
1215                   to: "elm.swallow.bar";
1216                   relative: 0.9 0.0;
1217                }
1218                rel2 {
1219                   to: "elm.swallow.bar";
1220                   relative: 1.0 1.0;
1221                }
1222             }
1223          }
1224          part { name: "text-bar";
1225             type: TEXT;
1226             mouse_events: 0;
1227             scale: 1;
1228             clip_to: "progress-rect";
1229             //effect: SOFT_SHADOW;
1230             scale: 0;
1231             description { state: "default" 0.0;
1232                align: 0.0 0.0;
1233                fixed: 1 1;
1234                visible: 0;
1235                rel1.to: "elm.text.status";
1236                rel1.offset: -1 -1;
1237                rel2.to: "elm.text.status";
1238                text {
1239                   text_source: "elm.text.status";
1240                   font: "Tizen:style=Medium";
1241                   size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
1242                   min: 0 0;
1243                   align: 0.0 0.0;
1244                   text_class: "tizen";
1245                }
1246                color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
1247             }
1248             description { state: "show" 0.0;
1249                inherit: "default" 0.0;
1250                visible: 0;
1251                text.min: 1 1;
1252             }
1253          }
1254          part { name: "elm.cur.progressbar";
1255             mouse_events: 0;
1256             scale: 1;
1257             dragable {
1258                confine: "drag.background";
1259                x: 1 1 1;
1260                y: 0 0 0;
1261             }
1262             description { state: "default" 0.0;
1263                min: 0 28;
1264                fixed: 1 1;
1265                visible: 0;
1266                rel1.to: "drag.background";
1267                rel2.to: "drag.background";
1268             }
1269          }
1270          part { name: "progress-rect";
1271             type: RECT;
1272             mouse_events: 0;
1273             scale: 1;
1274             description {
1275                state: "default" 0.0;
1276                rel1.to: "elm.progress.progressbar";
1277                rel2.to: "elm.progress.progressbar";
1278             }
1279          }
1280       }
1281       programs {
1282          program { name: "label_show";
1283             signal: "elm,state,text,visible";
1284             source: "elm";
1285             action:  STATE_SET "visible" 0.0;
1286             target: "elm.text";
1287          }
1288          program { name: "label_hide";
1289             signal: "elm,state,text,hidden";
1290             source: "elm";
1291             action:  STATE_SET "default" 0.0;
1292             target: "elm.text";
1293          }
1294          program { name: "icon_show";
1295             signal: "elm,state,icon,visible";
1296             source: "elm";
1297             action:  STATE_SET "visible" 0.0;
1298             target: "elm.swallow.content";
1299          }
1300          program { name: "icon_hide";
1301             signal: "elm,state,icon,hidden";
1302             source: "elm";
1303             action:  STATE_SET "default" 0.0;
1304             target: "elm.swallow.content";
1305          }
1306          program { name: "units_show";
1307             signal: "elm,state,units,visible";
1308             source: "elm";
1309             action:  STATE_SET "show" 0.0;
1310             target: "text-bar";
1311             target: "elm.text.status";
1312          }
1313          program { name: "units_hide";
1314             signal: "elm,state,units,hidden";
1315             source: "elm";
1316             action:  STATE_SET "default" 0.0;
1317             target: "text-bar";
1318             target: "elm.text.status";
1319          }
1320          program { name: "slide_to_end";
1321             action:  STATE_SET "state_end" 0.0;
1322             transition: LINEAR 0.5;
1323             target: "elm.progress.progressbar";
1324             after: "slide_to_begin";
1325          }
1326          program { name: "slide_to_begin";
1327             signal: "elm,state,slide,begin";
1328             action: STATE_SET "state_begin" 0.0;
1329             target: "elm.progress.progressbar";
1330             transition: LINEAR 0.5;
1331             after: "slide_to_end";
1332          }
1333          program { name: "start_pulse";
1334             signal: "elm,state,pulse,start";
1335             source: "elm";
1336            // after: "slide_to_end";
1337          }
1338          program { name: "stop_pulse";
1339             signal: "elm,state,pulse,stop";
1340             source: "elm";
1341             action: ACTION_STOP;
1342             target: "slide_to_begin";
1343             target: "slide_to_end";
1344             target: "start_pulse";
1345             //after: "state_pulse";
1346          }
1347          program { name: "state_pulse";
1348             signal: "elm,state,pulse";
1349             source: "elm";
1350             action: STATE_SET "state_begin" 0.0;
1351             target: "elm.progress.progressbar";
1352             after: "units_hide";
1353          }
1354          program { name: "state_fraction";
1355             signal: "elm,state,fraction";
1356             source: "elm";
1357             action: ACTION_STOP;
1358             target: "slide_to_begin";
1359             target: "slide_to_end";
1360             target: "start_pulse";
1361             action: STATE_SET "default" 0.0;
1362             target: "elm.progress.progressbar";
1363          }
1364          program { name: "set_invert_on";
1365             signal: "elm,state,inverted,on";
1366             source: "elm";
1367             action:  STATE_SET "invert" 0.0;
1368             target: "elm.progress.progressbar";
1369          }
1370          program { name: "set_invert_off";
1371             signal: "elm,state,inverted,off";
1372             source: "elm";
1373             action:  STATE_SET "default" 0.0;
1374             target: "elm.progress.progressbar";
1375          }
1376       }
1377    }
1378
1379    group { name: "elm/progressbar/horizontal/list_title_progress_text";
1380       images {
1381          image: "00_winset_list_progress_bg.png" COMP;
1382          image: "00_winset_list_progress_bar.png" COMP;
1383       }
1384       parts {
1385          part { name: "access";
1386             type: RECT;
1387             description { state: "default" 0.0;
1388                fixed: 1 1;
1389                color: 0 0 0 0;
1390             }
1391          }
1392          part { name: "base";
1393             type: RECT;
1394             scale: 1;
1395             description {
1396                state: "default" 0.0;
1397                visible: 0;
1398                rel1 { relative: 0.0  0.0; }
1399                rel2 { relative: 1.0  1.0; }
1400                color: 0 0 0 0;
1401             }
1402          }
1403          part { name: "elm.padding.left";
1404             type: RECT;
1405             scale: 1;
1406             description {
1407                state: "default" 0.0;
1408                min: 0 82;
1409                visible: 0;
1410                fixed: 1 0;
1411                rel1 { relative: 0.0  0.0; to: "base"; }
1412                rel2 { relative: 0.0  1.0; to: "base"; }
1413                color: 0 0 0 0;
1414                align: 0.0 0.0;
1415             }
1416          }
1417          part { name: "elm.padding.right";
1418             type: RECT;
1419             scale: 1;
1420             description {
1421                state: "default" 0.0;
1422                min: 0 82;
1423                visible: 0;
1424                fixed: 1 0;
1425                rel1 { relative: 1.0  0.0; to: "base"; }
1426                rel2 { relative: 1.0  1.0; to: "base"; }
1427                color: 0 0 0 0;
1428                align: 1.0 0.0;
1429             }
1430          }
1431          part {
1432             name: "elm.padding.top";
1433             type: RECT;
1434             scale: 1;
1435             mouse_events: 0;
1436             description { state: "default" 0.0;
1437                align: 0.0 0.0;
1438                min: 100 1;
1439                visible: 0;
1440                fixed: 0 1;
1441                rel1 { relative: 0.0  0.0; to: "base"; }
1442                rel2 { relative: 1.0  0.0; to: "base"; }
1443                color: 0 0 0 0;
1444             }
1445          }
1446          part {
1447             name: "elm.padding.bottom";
1448             type: RECT;
1449             scale: 1;
1450             mouse_events: 0;
1451             description { state: "default" 0.0;
1452                align: 1.0 1.0;
1453                min: 100 1;
1454                visible: 0;
1455                fixed: 0 1;
1456                rel1 { relative: 0.0  1.0; to: "base"; }
1457                rel2 { relative: 1.0  1.0; to: "base"; }
1458                color: 0 0 0 0;
1459             }
1460          }
1461          part {
1462             name: "label_rect";
1463             type: RECT;
1464             scale: 1;
1465             mouse_events: 0;
1466             description { state: "default" 0.0;
1467                visible: 1;
1468                min: 10 40;
1469                fixed: 0 1;
1470                rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
1471                rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; to_y: "base"; }
1472                align: 0.0 0.0;
1473                color: 0 0 0 0;
1474             }
1475          }
1476          part { name: "elm.background.progressbar";
1477             mouse_events: 0;
1478             scale: 1;
1479             type: RECT;
1480             description {
1481                state: "default" 0.0;
1482                align: 0.0 0.0;
1483                min: 10 10;
1484                fixed: 0 1;
1485                rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "label_rect"; }
1486                rel2 { relative: 0.0 1.0; to_x: "elm.padding.right"; to_y: "label_rect"; }
1487             }
1488          }
1489          part { name: "elm.swallow.bar";
1490             mouse_events: 0;
1491             scale: 1;
1492             type: SWALLOW;
1493             description {
1494                min: 48 10;
1495                state: "default" 0.0;
1496                rel1 { relative: 0.0 0.0; to: "elm.background.progressbar"; }
1497                rel2 { relative: 1.0 1.0; to: "elm.background.progressbar"; }
1498             }
1499          }
1500          part { name: "elm.swallow.content";
1501             type: SWALLOW;
1502             scale: 1;
1503             description { state: "default" 0.0;
1504                visible: 0;
1505                min: 30 30;
1506                max: 30 30;
1507                fixed: 0 1;
1508                align: 0.0 0.5;
1509                rel1 { relative: 430/460 6/40; to: "label_rect"; }
1510                rel2 { relative: 1.0 36/40; to: "label_rect"; offset: 1 0;}
1511             }
1512             description { state: "visible" 0.0;
1513                inherit: "default" 0.0;
1514                visible: 1;
1515                aspect: 1.0 1.0;
1516                aspect_preference: VERTICAL;
1517             }
1518          }
1519          part { name: "elm.text";
1520             type: TEXT;
1521             mouse_events: 0;
1522             scale: 1;
1523             description { state: "default" 0.0;
1524                visible: 1;
1525                fixed: 1 1;
1526                align: 0.0 0.5;
1527                rel1 { relative: 0.0 0.0; to: "label_rect"; }
1528                rel2 { relative: 1.0 1.0; to: "label_rect"; }
1529                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
1530                text {
1531                   font: "Tizen:style=Medium";
1532                   size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
1533                   min: 0 0;
1534                   align: 0.0 0.5;
1535                   text_class: "tizen";
1536                }
1537             }
1538             description { state: "visible" 0.0;
1539                inherit: "default" 0.0;
1540                visible: 1;
1541                text.min: 1 1;
1542             }
1543          }
1544          part { name: "background";
1545             mouse_events: 0;
1546             scale: 1;
1547             clip_to: "elm.background.progressbar";
1548             description {
1549                state: "default" 0.0;
1550                rel1 { relative: 0.0 0.0; to: "elm.swallow.bar"; }
1551                rel2 { relative: 1.0 1.0; to: "elm.swallow.bar"; }
1552                image {
1553                   normal: "00_winset_list_progress_bg.png";
1554                   border: 0 0 1 1;
1555                }
1556             }
1557          }
1558          part { name: "elm.progress.progressbar";
1559             mouse_events: 0;
1560             scale: 1;
1561             clip_to: "elm.background.progressbar";
1562             description {
1563                state: "default" 0.0;
1564                min: 0 0;
1565                fixed: 1 1;
1566                rel1 { relative: 0.0 0.0; to: "elm.swallow.bar"; }
1567                rel2 { relative: 1.0 1.0; to_x: "elm.cur.progressbar"; to_y: "elm.swallow.bar"; offset: -1 -1; }
1568                image {
1569                   normal: "00_winset_list_progress_bar.png";
1570                   border: 0 0 1 1;
1571                }
1572             }
1573             description {
1574                state: "invert" 0.0;
1575                inherit: "default" 0.0;
1576                rel1 {
1577                   to_y: "elm.swallow.bar";
1578                   to_x: "elm.cur.progressbar";
1579                }
1580                rel2 {
1581                   to: "elm.swallow.bar";
1582                   relative: 1.0 1.0;
1583                }
1584             }
1585             description {
1586                state: "state_begin" 0.0;
1587                inherit: "default" 0.0;
1588                rel1 {
1589                   to: "elm.swallow.bar";
1590                   relative: 0.0 0.0;
1591                }
1592                rel2 {
1593                   to: "elm.swallow.bar";
1594                   relative: 0.1 1.0;
1595                }
1596             }
1597             description {
1598                state: "state_end" 0.0;
1599                inherit: "default" 0.0;
1600                rel1 {
1601                   to: "elm.swallow.bar";
1602                   relative: 0.9 0.0;
1603                }
1604                rel2 {
1605                   to: "elm.swallow.bar";
1606                   relative: 1.0 1.0;
1607                }
1608             }
1609          }
1610          part { name: "text-bar";
1611             type: TEXT;
1612             mouse_events: 0;
1613             scale: 1;
1614             clip_to: "progress-rect";
1615             //effect: SOFT_SHADOW;
1616             scale: 0;
1617             description { state: "default" 0.0;
1618                align: 0.0 0.0;
1619                fixed: 1 1;
1620                visible: 0;
1621                rel1.to: "elm.text.status";
1622                rel1.offset: -1 -1;
1623                rel2.to: "elm.text.status";
1624                text {
1625                   text_source: "elm.text.status";
1626                   font: "Tizen:style=Medium";
1627                   size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
1628                   min: 0 0;
1629                   align: 0.0 0.0;
1630                   text_class: "tizen";
1631                }
1632                color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
1633             }
1634             description { state: "show" 0.0;
1635                inherit: "default" 0.0;
1636                visible: 0;
1637                text.min: 1 1;
1638             }
1639          }
1640          part { name: "elm.cur.progressbar";
1641             mouse_events: 0;
1642             scale: 1;
1643             dragable {
1644                confine: "background";
1645                x: 1 1 1;
1646                y: 0 0 0;
1647             }
1648             description { state: "default" 0.0;
1649                min: 0 28;
1650                fixed: 1 1;
1651                visible: 0;
1652                rel1 {
1653                   to: "background";
1654                   relative: 0 0;
1655                }
1656                rel2.to: "background";
1657            }
1658          }
1659          part { name: "progress-rect";
1660             mouse_events: 0;
1661             scale: 1;
1662             type: RECT;
1663             description {
1664                state: "default" 0.0;
1665                rel1.to: "elm.progress.progressbar";
1666                rel2.to: "elm.progress.progressbar";
1667             }
1668          }
1669          part { name: "elm.text.status";
1670             type: TEXT;
1671             mouse_events: 0;
1672             scale: 1;
1673             description { state: "default" 0.0;
1674                fixed: 1 1;
1675                visible: 1;
1676                min: 80 30;
1677                align: 0.0 1.0;
1678                rel1 {
1679                   to_y: "elm.padding.bottom";
1680                   relative: 1.0 1.0;
1681                   to_x:"elm.padding.left";
1682                }
1683                rel2 {
1684                   to_y: "elm.padding.bottom";
1685                   relative: 1.0 1.0;
1686                   to_x:"elm.padding.left";
1687                }
1688                text {
1689                   font: "Tizen:style=Medium";
1690                   size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
1691                   min: 1 1;
1692                   align: 0.0 0.0;
1693                   text_class: "tizen";
1694                }
1695                color:PROGRESSBAR_LIST_TITLE_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
1696             }
1697             description { state: "show" 0.0;
1698                inherit: "default" 0.0;
1699                visible: 1;
1700                text.min: 1 1;
1701             }
1702          }
1703       }
1704       programs {
1705          program { name: "label_show";
1706             signal: "elm,state,text,visible";
1707             source: "elm";
1708             action:  STATE_SET "visible" 0.0;
1709             target: "elm.text";
1710          }
1711          program { name: "label_hide";
1712             signal: "elm,state,text,hidden";
1713             source: "elm";
1714             action:  STATE_SET "default" 0.0;
1715             target: "elm.text";
1716          }
1717          program { name: "icon_show";
1718             signal: "elm,state,icon,visible";
1719             source: "elm";
1720             action:  STATE_SET "visible" 0.0;
1721             target: "elm.swallow.content";
1722          }
1723          program { name: "icon_hide";
1724             signal: "elm,state,icon,hidden";
1725             source: "elm";
1726             action:  STATE_SET "default" 0.0;
1727             target: "elm.swallow.content";
1728          }
1729          program { name: "units_show";
1730             signal: "elm,state,units,visible";
1731             source: "elm";
1732             action:  STATE_SET "show" 0.0;
1733             target: "text-bar";
1734             target: "elm.text.status";
1735          }
1736          program { name: "units_hide";
1737             signal: "elm,state,units,hidden";
1738             source: "elm";
1739             action:  STATE_SET "default" 0.0;
1740             target: "text-bar";
1741             target: "elm.text.status";
1742          }
1743          program { name: "slide_to_end";
1744             action:  STATE_SET "state_end" 0.0;
1745             transition: LINEAR 0.5;
1746             target: "elm.progress.progressbar";
1747             after: "slide_to_begin";
1748          }
1749          program { name: "slide_to_begin";
1750             signal: "elm,state,slide,begin";
1751             action: STATE_SET "state_begin" 0.0;
1752             target: "elm.progress.progressbar";
1753             transition: LINEAR 0.5;
1754             after: "slide_to_end";
1755          }
1756          program { name: "start_pulse";
1757             signal: "elm,state,pulse,start";
1758             source: "elm";
1759            // after: "slide_to_end";
1760          }
1761          program { name: "stop_pulse";
1762             signal: "elm,state,pulse,stop";
1763             source: "elm";
1764             action: ACTION_STOP;
1765             target: "slide_to_begin";
1766             target: "slide_to_end";
1767             target: "start_pulse";
1768             //after: "state_pulse";
1769          }
1770          program { name: "state_pulse";
1771             signal: "elm,state,pulse";
1772             source: "elm";
1773             action: STATE_SET "state_begin" 0.0;
1774             target: "elm.progress.progressbar";
1775             after: "units_hide";
1776          }
1777          program { name: "state_fraction";
1778             signal: "elm,state,fraction";
1779             source: "elm";
1780             action: ACTION_STOP;
1781             target: "slide_to_begin";
1782             target: "slide_to_end";
1783             target: "start_pulse";
1784             action: STATE_SET "default" 0.0;
1785             target: "elm.progress.progressbar";
1786          }
1787          program { name: "set_invert_on";
1788             signal: "elm,state,inverted,on";
1789             source: "elm";
1790             action:  STATE_SET "invert" 0.0;
1791             target: "elm.progress.progressbar";
1792          }
1793          program { name: "set_invert_off";
1794             signal: "elm,state,inverted,off";
1795             source: "elm";
1796             action:  STATE_SET "default" 0.0;
1797             target: "elm.progress.progressbar";
1798          }
1799       }
1800    }
1801    group { name: "elm/progressbar/horizontal/toolbar_progress";
1802       images {
1803          image: "00_toolbar_progress_bg.png" COMP;
1804          image: "00_toolbar_progress_bar.png" COMP;
1805       }
1806       parts {
1807          part { name: "access";
1808             type: RECT;
1809             description { state: "default" 0.0;
1810                fixed: 1 1;
1811                color: 0 0 0 0;
1812             }
1813          }
1814          part { name: "elm.padding.left";
1815             type: RECT;
1816             scale: 1;
1817             description {
1818                state: "default" 0.0;
1819                min: 0 0;
1820                fixed: 1 0;
1821                rel1 {
1822                   relative: 0.0  0.0;
1823                   offset: 0 0;
1824                   }
1825                rel2 {
1826                   relative: 0.0  1.0;
1827                   offset: 0 0;
1828                   }
1829                color: 0 0 0 0;
1830                align: 0.0 0.0;
1831             }
1832          }
1833          part { name: "elm.padding.right";
1834             type: RECT;
1835             scale: 1;
1836             description {
1837                state: "default" 0.0;
1838                min: 0 0;
1839                fixed: 1 0;
1840                rel1 {
1841                   relative: 1.0  0.0;
1842                   offset: 0 0;
1843                }
1844                rel2 {
1845                   relative: 1.0  1.0;
1846                   offset: 0 0;
1847                }
1848                color: 0 0 0 0;
1849                align: 1.0 0.0;
1850             }
1851          }
1852         part { name: "elm.background.progressbar";
1853             mouse_events: 0;
1854             scale: 1;
1855             type: RECT;
1856             description {
1857                state: "default" 0.0;
1858                rel1 {
1859                   to_x: "elm.padding.left";
1860                   relative: 1.0 0.0;
1861                   offset: 0 0;
1862                }
1863                rel2 {
1864                   to_x: "elm.padding.right";
1865                   relative: 0.0 1.0;
1866                   offset: 0 0;
1867                }
1868             }
1869          }
1870          part { name: "elm.swallow.bar";
1871             mouse_events: 0;
1872             scale: 1;
1873             type: SWALLOW;
1874             description {
1875                min: 48 14;
1876                max: 99999 14;
1877                state: "default" 0.0;
1878                rel1 {
1879                   to: "elm.background.progressbar";
1880                   relative: 0.0 0.0;
1881                }
1882                rel2 {
1883                   to: "elm.background.progressbar";
1884                   relative: 1.0 1.0;
1885                }
1886             }
1887          }
1888          part { name: "elm.swallow.content";
1889             type: SWALLOW;
1890             scale: 1;
1891             description { state: "default" 0.0;
1892                visible: 0;
1893                align: 0.0 0.5;
1894                rel1 {
1895                   offset: 0 0;
1896                   to_y: "elm.background.progressbar";
1897                }
1898                rel2 {
1899                   offset: 0 -1;
1900                   relative: 0.0 1.0;
1901                   to_y: "elm.background.progressbar";
1902                }
1903             }
1904             description { state: "visible" 0.0;
1905                inherit: "default" 0.0;
1906                visible: 1;
1907                aspect: 1.0 1.0;
1908                aspect_preference: VERTICAL;
1909                rel2.offset: 4 -1;
1910             }
1911          }
1912          part { name: "elm.text";
1913             type: TEXT;
1914             mouse_events: 0;
1915             scale: 1;
1916             description { state: "default" 0.0;
1917                visible: 0;
1918                fixed: 1 1;
1919                align: 0.0 0.5;
1920                rel1.to_x: "elm.swallow.content";
1921                rel1.relative: 1.0 0.0;
1922                rel1.offset: -1 4;
1923                rel2.to_x: "elm.swallow.content";
1924                rel2.relative: 1.0 1.0;
1925                rel2.offset: -1 -5;
1926                color: PROGRESSBAR_LIST_TITLE_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
1927                text {
1928                   font: "Tizen:style=Roman";
1929                   size: 10;
1930                   min: 0 0;
1931                   align: 0.0 0.5;
1932                   text_class: "tizen";
1933                }
1934             }
1935             description { state: "visible" 0.0;
1936                inherit: "default" 0.0;
1937                visible: 0;
1938                text.min: 1 1;
1939                rel1.offset: 0 4;
1940                rel2.offset: 0 -5;
1941             }
1942          }
1943          part { name: "background";
1944             mouse_events: 0;
1945             scale: 1;
1946             clip_to: "elm.background.progressbar";
1947             description {
1948                state: "default" 0.0;
1949                rel1 {
1950                   to: "elm.swallow.bar";
1951                   relative: 0.0 0.0;
1952                }
1953                rel2 {
1954                   to: "elm.swallow.bar";
1955                   relative: 1.0 1.0;
1956                   offset: -1 -1;
1957                }
1958                image {
1959                   normal: "00_toolbar_progress_bg.png";
1960                   border: 6 6 0 0;
1961                }
1962             }
1963          }
1964          part { name: "elm.text.status";
1965             type: TEXT;
1966             mouse_events: 0;
1967             scale: 1;
1968             description { state: "default" 0.0;
1969                fixed: 1 1;
1970                visible: 0;
1971                rel1 {
1972                   to: "background";
1973                   relative: 0.5 0.5;
1974                }
1975                rel2 {
1976                   to: "background";
1977                   relative: 0.5 0.5;
1978                }
1979                text {
1980                   font: "Tizen:style=Roman";
1981                   size: 10;
1982                   min: 0 0;
1983                   align: 0.5 0.0;
1984                   text_class: "tizen";
1985                }
1986                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
1987             }
1988             description { state: "show" 0.0;
1989                inherit: "default" 0.0;
1990                visible: 0;
1991                text.min: 1 1;
1992             }
1993          }
1994          part { name: "elm.progress.progressbar";
1995             mouse_events: 0;
1996             scale: 1;
1997             clip_to: "elm.background.progressbar";
1998             description {
1999                state: "default" 0.0;
2000                min: 0 0;
2001                fixed: 1 1;
2002                rel1 {
2003                   to: "elm.swallow.bar";
2004                   relative: 0.0 0.0;
2005                }
2006                rel2 {
2007                   to_y: "elm.swallow.bar";
2008                   to_x: "elm.cur.progressbar";
2009                   offset: -1 -1;
2010                }
2011                image {
2012                   normal: "00_toolbar_progress_bar.png";
2013                   border: 6 6 0 0;
2014                }
2015             }
2016             description {
2017                state: "invert" 0.0;
2018                inherit: "default" 0.0;
2019                rel1 {
2020                   to_y: "elm.swallow.bar";
2021                   to_x: "elm.cur.progressbar";
2022                }
2023                rel2 {
2024                   to: "elm.swallow.bar";
2025                   relative: 1.0 1.0;
2026                }
2027             }
2028             description {
2029                state: "state_begin" 0.0;
2030                inherit: "default" 0.0;
2031                rel1 {
2032                   to: "elm.swallow.bar";
2033                   relative: 0.0 0.0;
2034                }
2035                rel2 {
2036                   to: "elm.swallow.bar";
2037                   relative: 0.1 1.0;
2038                }
2039             }
2040             description {
2041                state: "state_end" 0.0;
2042                inherit: "default" 0.0;
2043                rel1 {
2044                   to: "elm.swallow.bar";
2045                   relative: 0.9 0.0;
2046                }
2047                rel2 {
2048                   to: "elm.swallow.bar";
2049                   relative: 1.0 1.0;
2050                }
2051             }
2052          }
2053          part { name: "text-bar";
2054             type: TEXT;
2055             mouse_events: 0;
2056             scale: 1;
2057             clip_to: "progress-rect";
2058             //effect: SOFT_SHADOW;
2059             scale: 0;
2060             description { state: "default" 0.0;
2061                align: 0.0 0.0;
2062                fixed: 1 1;
2063                visible: 0;
2064                rel1.to: "elm.text.status";
2065                rel1.offset: -1 -1;
2066                rel2.to: "elm.text.status";
2067                text {
2068                   text_source: "elm.text.status";
2069                   font: "Tizen:style=Roman";
2070                   size: 10;
2071                   min: 0 0;
2072                   align: 0.0 0.0;
2073                   text_class: "tizen";
2074                }
2075                color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
2076             }
2077             description { state: "show" 0.0;
2078                inherit: "default" 0.0;
2079                visible: 0;
2080                text.min: 1 1;
2081             }
2082          }
2083          part { name: "elm.cur.progressbar";
2084             mouse_events: 0;
2085             scale: 1;
2086             dragable {
2087                confine: "background";
2088                x: 1 1 1;
2089                y: 0 0 0;
2090             }
2091             description { state: "default" 0.0;
2092                min: 0 28;
2093                fixed: 1 1;
2094                visible: 0;
2095                rel1 {
2096                   to: "background";
2097                   relative: 0 0;
2098                }
2099                rel2.to: "background";
2100             }
2101          }
2102          part { name: "progress-rect";
2103             mouse_events: 0;
2104             scale: 1;
2105             type: RECT;
2106             description {
2107                state: "default" 0.0;
2108                rel1.to: "elm.progress.progressbar";
2109                rel2.to: "elm.progress.progressbar";
2110             }
2111          }
2112       }
2113       programs {
2114          program { name: "label_show";
2115             signal: "elm,state,text,visible";
2116             source: "elm";
2117             action:  STATE_SET "visible" 0.0;
2118             target: "elm.text";
2119          }
2120          program { name: "label_hide";
2121             signal: "elm,state,text,hidden";
2122             source: "elm";
2123             action:  STATE_SET "default" 0.0;
2124             target: "elm.text";
2125          }
2126          program { name: "icon_show";
2127             signal: "elm,state,icon,visible";
2128             source: "elm";
2129             action:  STATE_SET "visible" 0.0;
2130             target: "elm.swallow.content";
2131          }
2132          program { name: "icon_hide";
2133             signal: "elm,state,icon,hidden";
2134             source: "elm";
2135             action:  STATE_SET "default" 0.0;
2136             target: "elm.swallow.content";
2137          }
2138          program { name: "units_show";
2139             signal: "elm,state,units,visible";
2140             source: "elm";
2141             action:  STATE_SET "show" 0.0;
2142             target: "text-bar";
2143             target: "elm.text.status";
2144          }
2145          program { name: "units_hide";
2146             signal: "elm,state,units,hidden";
2147             source: "elm";
2148             action:  STATE_SET "default" 0.0;
2149             target: "text-bar";
2150             target: "elm.text.status";
2151          }
2152          program { name: "slide_to_end";
2153             action:  STATE_SET "state_end" 0.0;
2154             transition: LINEAR 0.5;
2155             target: "elm.progress.progressbar";
2156             after: "slide_to_begin";
2157          }
2158          program { name: "slide_to_begin";
2159             signal: "elm,state,slide,begin";
2160             action: STATE_SET "state_begin" 0.0;
2161             target: "elm.progress.progressbar";
2162             transition: LINEAR 0.5;
2163             after: "slide_to_end";
2164          }
2165          program { name: "start_pulse";
2166             signal: "elm,state,pulse,start";
2167             source: "elm";
2168             after: "slide_to_end";
2169          }
2170          program { name: "stop_pulse";
2171             signal: "elm,state,pulse,stop";
2172             source: "elm";
2173             action: ACTION_STOP;
2174             target: "slide_to_begin";
2175             target: "slide_to_end";
2176             target: "start_pulse";
2177             after: "state_pulse";
2178          }
2179          program { name: "state_pulse";
2180             signal: "elm,state,pulse";
2181             source: "elm";
2182             action: STATE_SET "state_begin" 0.0;
2183             target: "elm.progress.progressbar";
2184             after: "units_hide";
2185          }
2186          program { name: "state_fraction";
2187             signal: "elm,state,fraction";
2188             source: "elm";
2189             action: ACTION_STOP;
2190             target: "slide_to_begin";
2191             target: "slide_to_end";
2192             target: "start_pulse";
2193             action: STATE_SET "default" 0.0;
2194             target: "elm.progress.progressbar";
2195          }
2196          program { name: "set_invert_on";
2197             signal: "elm,state,inverted,on";
2198             source: "elm";
2199             action:  STATE_SET "invert" 0.0;
2200             target: "elm.progress.progressbar";
2201          }
2202          program { name: "set_invert_off";
2203             signal: "elm,state,inverted,off";
2204             source: "elm";
2205             action:  STATE_SET "default" 0.0;
2206             target: "elm.progress.progressbar";
2207          }
2208       }
2209    }
2210
2211    group { name: "elm/progressbar/horizontal/pending_list";
2212       images {
2213          image: "00_progress_pending_01_bg.png" COMP;
2214          image: "00_progress_pending_02_bg.png" COMP;
2215       }
2216       parts {
2217          part { name: "access";
2218             type: RECT;
2219             description { state: "default" 0.0;
2220                fixed: 1 1;
2221                color: 0 0 0 0;
2222             }
2223          }
2224          part { name: "elm.background.progressbar";
2225             type: RECT;
2226             mouse_events: 0;
2227             scale: 1;
2228             description {
2229                state: "default" 0.0;
2230                rel1 {
2231                   relative: 0.0 0.0;
2232                   offset: 0 0;
2233                }
2234                rel2 {
2235                   relative: 1.0 1.0;
2236                }
2237             }
2238          }
2239          part { name: "elm.swallow.bar";
2240             mouse_events: 0;
2241             scale: 1;
2242             type: SWALLOW;
2243             description {
2244                min: 1 PROGRESSBAR_LIST_PENDING_HEIGHT_INC;
2245                max: 99999 PROGRESSBAR_LIST_PENDING_HEIGHT_INC;
2246                state: "default" 0.0;
2247                rel1 {
2248                   to: "elm.background.progressbar";
2249                   relative: 0.0 0.0;
2250                }
2251                rel2 {
2252                   to: "elm.background.progressbar";
2253                   relative: 1.0 1.0;
2254                }
2255             }
2256          }
2257          part { name: "elm.progress.progressbar";
2258             mouse_events: 0;
2259             scale: 1;
2260             clip_to: "elm.background.progressbar";
2261             description {
2262                state: "default" 0.0;
2263                min: 0 0;
2264                fixed: 1 1;
2265                rel1 {
2266                   to: "elm.swallow.bar";
2267                   relative: 0.0 0.0;
2268                }
2269                rel2 {
2270                   to: "elm.swallow.bar";
2271                   relative: 1.0 1.0;
2272                   offset: -1 -1;
2273                }
2274                image {
2275                   normal: "00_progress_pending_01_bg.png";
2276                   border: 0 0 0 0;
2277                }
2278             }
2279             description {
2280                state: "state_begin" 0.0;
2281                inherit: "default" 0.0;
2282             }
2283             description {
2284                state: "state_end" 0.0;
2285                inherit: "default" 0.0;
2286                image {
2287                   normal: "00_progress_pending_02_bg.png";
2288                   border: 0 0 0 0;
2289                }
2290             }
2291          }
2292       }
2293       programs {
2294          program { name: "slide_to_end";
2295             action:  STATE_SET "state_end" 0.0;
2296             in: 0.3 0.0;
2297             target: "elm.progress.progressbar";
2298             after: "slide_to_begin";
2299          }
2300          program { name: "slide_to_begin";
2301             signal: "elm,state,slide,begin";
2302             action: STATE_SET "state_begin" 0.0;
2303             target: "elm.progress.progressbar";
2304             in: 0.3 0.0;
2305             after: "slide_to_end";
2306          }
2307          program { name: "start_pulse";
2308             signal: "elm,state,pulse,start";
2309             source: "elm";
2310             after: "slide_to_end";
2311          }
2312          program { name: "stop_pulse";
2313             signal: "elm,state,pulse,stop";
2314             source: "elm";
2315             action: ACTION_STOP;
2316             target: "slide_to_begin";
2317             target: "slide_to_end";
2318             target: "start_pulse";
2319             after: "init_pulse";
2320          }
2321          program { name: "init_pulse";
2322             action: STATE_SET "default" 0.0;
2323             target: "elm.progress.progressbar";
2324          }
2325       }
2326    }
2327
2328    group { name: "elm/progressbar/horizontal/UIProgressViewStyleDefault";
2329       images {
2330          image: "progress_slider_bg01.9.png" COMP;
2331          image: "progress_slider_bar01.9.png" COMP;
2332       }
2333       parts {
2334          part { name: "access";
2335             type: RECT;
2336             description { state: "default" 0.0;
2337                fixed: 1 1;
2338                color: 0 0 0 0;
2339             }
2340          }
2341          part { name: "elm.padding.left";
2342             type: RECT;
2343             scale: 1;
2344             description {
2345                state: "default" 0.0;
2346                //min: 25 0;
2347                min: 0 0;
2348                fixed: 1 0;
2349                rel1 {
2350                   relative: 0.0  0.0;
2351                   offset: 0 0;
2352                }
2353                rel2 {
2354                   relative: 0.0  1.0;
2355                   offset: 0 0;
2356                }
2357                color: 0 0 0 0;
2358                align: 0.0 0.0;
2359             }
2360          }
2361          part { name: "elm.padding.right";
2362             type: RECT;
2363             scale: 1;
2364             description {
2365                state: "default" 0.0;
2366                //min: 25 0;
2367                min: 0 0;
2368                fixed: 1 0;
2369                rel1 {
2370                   relative: 1.0  0.0;
2371                    offset: 0 0;
2372                }
2373                rel2 {
2374                   relative: 1.0  1.0;
2375                   offset: 0 0;
2376                }
2377                color: 0 0 0 0;
2378                align: 1.0 0.0;
2379             }
2380          }
2381          part { name: "elm.background.progressbar";
2382             mouse_events: 0;
2383             scale: 1;
2384             type: RECT;
2385             description {
2386                state: "default" 0.0;
2387                rel1 {
2388                   to_x: "elm.padding.left";
2389                   relative: 1.0 0.0;
2390                   offset: 0 0;
2391                }
2392                rel2 {
2393                   to_x: "elm.padding.right";
2394                   relative: 0.0 1.0;
2395                   offset: 0 0;
2396                }
2397             }
2398          }
2399          part { name: "elm.swallow.bar";
2400             mouse_events: 0;
2401             scale: 1;
2402             type: SWALLOW;
2403             description {
2404                min: 48 14;
2405                max: 99999 14;
2406                state: "default" 0.0;
2407                rel1 {
2408                   to: "elm.background.progressbar";
2409                   relative: 0.0 0.0;
2410                }
2411                rel2 {
2412                   to: "elm.background.progressbar";
2413                   relative: 1.0 1.0;
2414                }
2415             }
2416          }
2417          part { name: "elm.swallow.content";
2418             type: SWALLOW;
2419             scale: 1;
2420             description { state: "default" 0.0;
2421                visible: 0;
2422                align: 0.0 0.5;
2423                rel1 {
2424                   offset: 0 0;
2425                   to_y: "elm.background.progressbar";
2426                }
2427                rel2 {
2428                   offset: 0 -1;
2429                   relative: 0.0 1.0;
2430                   to_y: "elm.background.progressbar";
2431                }
2432             }
2433             description { state: "visible" 0.0;
2434                inherit: "default" 0.0;
2435                visible: 1;
2436                aspect: 1.0 1.0;
2437                aspect_preference: VERTICAL;
2438                rel2.offset: 4 -1;
2439             }
2440          }
2441          part { name: "elm.text";
2442             type: TEXT;
2443             mouse_events: 0;
2444             scale: 1;
2445             description { state: "default" 0.0;
2446                visible: 0;
2447                fixed: 1 1;
2448                align: 0.0 0.5;
2449                rel1.to_x: "elm.swallow.content";
2450                rel1.relative: 1.0 0.0;
2451                rel1.offset: -1 4;
2452                rel2.to_x: "elm.swallow.content";
2453                rel2.relative: 1.0 1.0;
2454                rel2.offset: -1 -5;
2455                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
2456                text {
2457                   font: "Tizen:style=Roman";
2458                   size: 10;
2459                   min: 0 0;
2460                   align: 0.0 0.5;
2461                   text_class: "tizen";
2462                }
2463             }
2464             description { state: "visible" 0.0;
2465                inherit: "default" 0.0;
2466                visible: 0;
2467                text.min: 1 1;
2468                rel1.offset: 0 4;
2469                rel2.offset: 0 -5;
2470             }
2471          }
2472          part { name: "background";
2473             mouse_events: 0;
2474             scale: 1;
2475             clip_to: "elm.background.progressbar";
2476             description {
2477                state: "default" 0.0;
2478                rel1 {
2479                   to: "elm.swallow.bar";
2480                   relative: 0.0 0.0;
2481                }
2482                rel2 {
2483                   to: "elm.swallow.bar";
2484                   relative: 1.0 1.0;
2485                   offset: -1 -1;
2486                }
2487                image {
2488                   normal: "progress_slider_bg01.9.png";
2489                   border: 6 6 0 0;
2490                }
2491             }
2492          }
2493          part { name: "elm.text.status";
2494             type: TEXT;
2495             mouse_events: 0;
2496             scale: 1;
2497             description { state: "default" 0.0;
2498                fixed: 1 1;
2499                visible: 0;
2500                rel1 {
2501                   to: "background";
2502                   relative: 0.5 0.5;
2503                }
2504                rel2 {
2505                   to: "background";
2506                   relative: 0.5 0.5;
2507                }
2508                text {
2509                   font: "Tizen:style=Roman";
2510                   size: 10;
2511                   min: 0 0;
2512                   align: 0.5 0.0;
2513                   text_class: "tizen";
2514                }
2515                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
2516             }
2517             description { state: "show" 0.0;
2518                inherit: "default" 0.0;
2519                visible: 0;
2520                text.min: 1 1;
2521             }
2522          }
2523          part { name: "elm.progress.progressbar";
2524             mouse_events: 0;
2525             scale: 1;
2526             clip_to: "elm.background.progressbar";
2527             description {
2528                state: "default" 0.0;
2529                min: 0 0;
2530                fixed: 1 1;
2531                rel1 {
2532                   to: "elm.swallow.bar";
2533                   relative: 0.0 0.0;
2534                }
2535                rel2 {
2536                   to_y: "elm.swallow.bar";
2537                   to_x: "elm.cur.progressbar";
2538                   offset: -1 -1;
2539                }
2540                image {
2541                   normal: "progress_slider_bar01.9.png";
2542                   border: 6 6 0 0;
2543                }
2544             }
2545             description {
2546                state: "invert" 0.0;
2547                inherit: "default" 0.0;
2548                rel1 {
2549                   to_y: "elm.swallow.bar";
2550                   to_x: "elm.cur.progressbar";
2551                }
2552                rel2 {
2553                   to: "elm.swallow.bar";
2554                   relative: 1.0 1.0;
2555                }
2556             }
2557             description {
2558                state: "state_begin" 0.0;
2559                inherit: "default" 0.0;
2560                rel1 {
2561                   to: "elm.swallow.bar";
2562                   relative: 0.0 0.0;
2563                }
2564                rel2 {
2565                   to: "elm.swallow.bar";
2566                   relative: 0.1 1.0;
2567                }
2568             }
2569             description {
2570                state: "state_end" 0.0;
2571                inherit: "default" 0.0;
2572                rel1 {
2573                   to: "elm.swallow.bar";
2574                   relative: 0.9 0.0;
2575                }
2576                rel2 {
2577                   to: "elm.swallow.bar";
2578                   relative: 1.0 1.0;
2579                }
2580             }
2581          }
2582          part { name: "text-bar";
2583             type: TEXT;
2584             mouse_events: 0;
2585             scale: 1;
2586             clip_to: "progress-rect";
2587             //effect: SOFT_SHADOW;
2588             scale: 0;
2589             description { state: "default" 0.0;
2590                align: 0.0 0.0;
2591                fixed: 1 1;
2592                visible: 0;
2593                rel1.to: "elm.text.status";
2594                rel1.offset: -1 -1;
2595                rel2.to: "elm.text.status";
2596                text {
2597                   text_source: "elm.text.status";
2598                   font: "Tizen:style=Roman";
2599                   size: 10;
2600                   min: 0 0;
2601                   align: 0.0 0.0;
2602                   text_class: "tizen";
2603                }
2604                color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
2605             }
2606             description { state: "show" 0.0;
2607                inherit: "default" 0.0;
2608                visible: 0;
2609                text.min: 1 1;
2610             }
2611          }
2612          part { name: "elm.cur.progressbar";
2613             mouse_events: 0;
2614             scale: 1;
2615             dragable {
2616                confine: "background";
2617                x: 1 1 1;
2618                y: 0 0 0;
2619             }
2620             description { state: "default" 0.0;
2621                min: 0 28;
2622                fixed: 1 1;
2623                visible: 0;
2624                rel1 {
2625                   to: "background";
2626                   relative: 0 0;
2627                }
2628                rel2.to: "background";
2629            }
2630          }
2631          part { name: "progress-rect";
2632             mouse_events: 0;
2633             scale: 1;
2634             type: RECT;
2635             description {
2636                state: "default" 0.0;
2637                rel1.to: "elm.progress.progressbar";
2638                rel2.to: "elm.progress.progressbar";
2639             }
2640          }
2641       }
2642       programs {
2643          program { name: "label_show";
2644             signal: "elm,state,text,visible";
2645             source: "elm";
2646             action:  STATE_SET "visible" 0.0;
2647             target: "elm.text";
2648          }
2649          program { name: "label_hide";
2650             signal: "elm,state,text,hidden";
2651             source: "elm";
2652             action:  STATE_SET "default" 0.0;
2653             target: "elm.text";
2654          }
2655          program { name: "icon_show";
2656             signal: "elm,state,icon,visible";
2657             source: "elm";
2658             action:  STATE_SET "visible" 0.0;
2659             target: "elm.swallow.content";
2660          }
2661          program { name: "icon_hide";
2662             signal: "elm,state,icon,hidden";
2663             source: "elm";
2664             action:  STATE_SET "default" 0.0;
2665             target: "elm.swallow.content";
2666          }
2667          program { name: "units_show";
2668             signal: "elm,state,units,visible";
2669             source: "elm";
2670             action:  STATE_SET "show" 0.0;
2671             target: "text-bar";
2672             target: "elm.text.status";
2673          }
2674          program { name: "units_hide";
2675             signal: "elm,state,units,hidden";
2676             source: "elm";
2677             action:  STATE_SET "default" 0.0;
2678             target: "text-bar";
2679             target: "elm.text.status";
2680          }
2681          program { name: "slide_to_end";
2682             action:  STATE_SET "state_end" 0.0;
2683             transition: LINEAR 0.5;
2684             target: "elm.progress.progressbar";
2685             after: "slide_to_begin";
2686          }
2687          program { name: "slide_to_begin";
2688             signal: "elm,state,slide,begin";
2689             action: STATE_SET "state_begin" 0.0;
2690             target: "elm.progress.progressbar";
2691             transition: LINEAR 0.5;
2692             after: "slide_to_end";
2693          }
2694          program { name: "start_pulse";
2695             signal: "elm,state,pulse,start";
2696             source: "elm";
2697             after: "slide_to_end";
2698          }
2699          program { name: "stop_pulse";
2700             signal: "elm,state,pulse,stop";
2701             source: "elm";
2702             action: ACTION_STOP;
2703             target: "slide_to_begin";
2704             target: "slide_to_end";
2705             target: "start_pulse";
2706             after: "state_pulse";
2707          }
2708          program { name: "state_pulse";
2709             signal: "elm,state,pulse";
2710             source: "elm";
2711             action: STATE_SET "state_begin" 0.0;
2712             target: "elm.progress.progressbar";
2713             after: "units_hide";
2714          }
2715          program { name: "state_fraction";
2716             signal: "elm,state,fraction";
2717             source: "elm";
2718             action: ACTION_STOP;
2719             target: "slide_to_begin";
2720             target: "slide_to_end";
2721             target: "start_pulse";
2722             action: STATE_SET "default" 0.0;
2723             target: "elm.progress.progressbar";
2724          }
2725          program { name: "set_invert_on";
2726             signal: "elm,state,inverted,on";
2727             source: "elm";
2728             action:  STATE_SET "invert" 0.0;
2729             target: "elm.progress.progressbar";
2730          }
2731          program { name: "set_invert_off";
2732             signal: "elm,state,inverted,off";
2733             source: "elm";
2734             action:  STATE_SET "default" 0.0;
2735             target: "elm.progress.progressbar";
2736          }
2737       }
2738    }
2739
2740    group { name: "elm/progressbar/horizontal/UIProgressViewStyleBar";
2741       images {
2742          image: "progress_slider_bg02.9.png" COMP;
2743          image: "progress_slider_bar02.9.png" COMP;
2744       }
2745       parts {
2746          part { name: "access";
2747             type: RECT;
2748             description { state: "default" 0.0;
2749                fixed: 1 1;
2750                color: 0 0 0 0;
2751             }
2752          }
2753          part { name: "elm.padding.left";
2754             type: RECT;
2755             scale: 1;
2756             description {
2757                state: "default" 0.0;
2758                //min: 25 0;
2759                min: 0 0;
2760                fixed: 1 0;
2761                rel1 {
2762                   relative: 0.0  0.0;
2763                   offset: 0 0;
2764                }
2765                rel2 {
2766                   relative: 0.0  1.0;
2767                   offset: 0 0;
2768                }
2769                color: 0 0 0 0;
2770                align: 0.0 0.0;
2771             }
2772          }
2773          part { name: "elm.padding.right";
2774             type: RECT;
2775             scale: 1;
2776             description {
2777                state: "default" 0.0;
2778                //min: 25 0;
2779                min: 0 0;
2780                fixed: 1 0;
2781                rel1 {
2782                   relative: 1.0  0.0;
2783                   offset: 0 0;
2784                }
2785                rel2 {
2786                   relative: 1.0  1.0;
2787                   offset: 0 0;
2788                }
2789                color: 0 0 0 0;
2790                align: 1.0 0.0;
2791             }
2792          }
2793          part { name: "elm.background.progressbar";
2794             mouse_events: 0;
2795             scale: 1;
2796             type: RECT;
2797             description {
2798                state: "default" 0.0;
2799                rel1 {
2800                   to_x: "elm.padding.left";
2801                   relative: 1.0 0.0;
2802                   offset: 0 0;
2803                }
2804                rel2 {
2805                   to_x: "elm.padding.right";
2806                   relative: 0.0 1.0;
2807                   offset: 0 0;
2808                }
2809             }
2810          }
2811          part { name: "elm.swallow.bar";
2812             mouse_events: 0;
2813             scale: 1;
2814             type: SWALLOW;
2815             description {
2816                min: 48 14;
2817                max: 99999 14;
2818                state: "default" 0.0;
2819                rel1 {
2820                   to: "elm.background.progressbar";
2821                   relative: 0.0 0.0;
2822                }
2823                rel2 {
2824                   to: "elm.background.progressbar";
2825                   relative: 1.0 1.0;
2826                }
2827             }
2828          }
2829          part { name: "elm.swallow.content";
2830             type: SWALLOW;
2831             scale: 1;
2832             description { state: "default" 0.0;
2833                visible: 0;
2834                align: 0.0 0.5;
2835                rel1 {
2836                   offset: 0 0;
2837                   to_y: "elm.background.progressbar";
2838                }
2839                rel2 {
2840                   offset: 0 -1;
2841                   relative: 0.0 1.0;
2842                   to_y: "elm.background.progressbar";
2843                }
2844             }
2845             description { state: "visible" 0.0;
2846                inherit: "default" 0.0;
2847                visible: 1;
2848                aspect: 1.0 1.0;
2849                aspect_preference: VERTICAL;
2850                rel2.offset: 4 -1;
2851             }
2852          }
2853          part { name: "elm.text";
2854             type: TEXT;
2855             mouse_events: 0;
2856             scale: 1;
2857             description { state: "default" 0.0;
2858                visible: 0;
2859                fixed: 1 1;
2860                align: 0.0 0.5;
2861                rel1.to_x: "elm.swallow.content";
2862                rel1.relative: 1.0 0.0;
2863                rel1.offset: -1 4;
2864                rel2.to_x: "elm.swallow.content";
2865                rel2.relative: 1.0 1.0;
2866                rel2.offset: -1 -5;
2867                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
2868                text {
2869                   font: "Tizen:style=Roman";
2870                   size: 10;
2871                   min: 0 0;
2872                   align: 0.0 0.5;
2873                   text_class: "tizen";
2874                }
2875             }
2876             description { state: "visible" 0.0;
2877                inherit: "default" 0.0;
2878                visible: 0;
2879                text.min: 1 1;
2880                rel1.offset: 0 4;
2881                rel2.offset: 0 -5;
2882             }
2883          }
2884          part { name: "background";
2885             mouse_events: 0;
2886             scale: 1;
2887             clip_to: "elm.background.progressbar";
2888             description {
2889                state: "default" 0.0;
2890                rel1 {
2891                   to: "elm.swallow.bar";
2892                   relative: 0.0 0.0;
2893                }
2894                rel2 {
2895                   to: "elm.swallow.bar";
2896                   relative: 1.0 1.0;
2897                   offset: -1 -1;
2898                }
2899                image {
2900                   normal: "progress_slider_bg02.9.png";
2901                   border: 6 6 0 0;
2902                }
2903             }
2904          }
2905          part { name: "elm.text.status";
2906             type: TEXT;
2907             mouse_events: 0;
2908             scale: 1;
2909             description { state: "default" 0.0;
2910                fixed: 1 1;
2911                visible: 0;
2912                rel1 {
2913                   to: "background";
2914                   relative: 0.5 0.5;
2915                }
2916                rel2 {
2917                   to: "background";
2918                   relative: 0.5 0.5;
2919                }
2920                text {
2921                   font: "Tizen:style=Roman";
2922                   size: 10;
2923                   min: 0 0;
2924                   align: 0.5 0.0;
2925                   text_class: "tizen";
2926                }
2927                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
2928             }
2929             description { state: "show" 0.0;
2930                inherit: "default" 0.0;
2931                visible: 0;
2932                text.min: 1 1;
2933             }
2934          }
2935          part { name: "elm.progress.progressbar";
2936             mouse_events: 0;
2937             scale: 1;
2938             clip_to: "elm.background.progressbar";
2939             description {
2940                state: "default" 0.0;
2941                min: 0 0;
2942                fixed: 1 1;
2943                rel1 {
2944                   to: "elm.swallow.bar";
2945                   relative: 0.0 0.0;
2946                }
2947                rel2 {
2948                   to_y: "elm.swallow.bar";
2949                   to_x: "elm.cur.progressbar";
2950                   offset: -1 -1;
2951                }
2952                image {
2953                   normal: "progress_slider_bar02.9.png";
2954                   border: 6 6 0 0;
2955                }
2956             }
2957             description {
2958                state: "invert" 0.0;
2959                inherit: "default" 0.0;
2960                rel1 {
2961                   to_y: "elm.swallow.bar";
2962                   to_x: "elm.cur.progressbar";
2963                }
2964                rel2 {
2965                   to: "elm.swallow.bar";
2966                   relative: 1.0 1.0;
2967                }
2968             }
2969             description {
2970                state: "state_begin" 0.0;
2971                inherit: "default" 0.0;
2972                rel1 {
2973                   to: "elm.swallow.bar";
2974                   relative: 0.0 0.0;
2975                }
2976                rel2 {
2977                   to: "elm.swallow.bar";
2978                   relative: 0.1 1.0;
2979                }
2980             }
2981             description {
2982                state: "state_end" 0.0;
2983                inherit: "default" 0.0;
2984                rel1 {
2985                   to: "elm.swallow.bar";
2986                   relative: 0.9 0.0;
2987                }
2988                rel2 {
2989                   to: "elm.swallow.bar";
2990                   relative: 1.0 1.0;
2991                }
2992             }
2993          }
2994          part { name: "text-bar";
2995             type: TEXT;
2996             mouse_events: 0;
2997             scale: 1;
2998             clip_to: "progress-rect";
2999             //effect: SOFT_SHADOW;
3000             scale: 0;
3001             description { state: "default" 0.0;
3002                align: 0.0 0.0;
3003                fixed: 1 1;
3004                visible: 0;
3005                rel1.to: "elm.text.status";
3006                rel1.offset: -1 -1;
3007                rel2.to: "elm.text.status";
3008                text {
3009                   text_source: "elm.text.status";
3010                   font: "Tizen:style=Roman";
3011                   size: 10;
3012                   min: 0 0;
3013                   align: 0.0 0.0;
3014                   text_class: "tizen";
3015                }
3016                color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
3017             }
3018             description { state: "show" 0.0;
3019                inherit: "default" 0.0;
3020                visible: 0;
3021                text.min: 1 1;
3022             }
3023          }
3024          part { name: "elm.cur.progressbar";
3025             mouse_events: 0;
3026             scale: 1;
3027             dragable {
3028                confine: "background";
3029                x: 1 1 1;
3030                y: 0 0 0;
3031             }
3032             description { state: "default" 0.0;
3033                min: 0 28;
3034                fixed: 1 1;
3035                visible: 0;
3036                rel1 {
3037                   to: "background";
3038                   relative: 0 0;
3039                }
3040                rel2.to: "background";
3041            }
3042          }
3043          part { name: "progress-rect";
3044             mouse_events: 0;
3045             scale: 1;
3046             type: RECT;
3047             description {
3048                state: "default" 0.0;
3049                rel1.to: "elm.progress.progressbar";
3050                rel2.to: "elm.progress.progressbar";
3051             }
3052          }
3053       }
3054       programs {
3055          program { name: "label_show";
3056             signal: "elm,state,text,visible";
3057             source: "elm";
3058             action:  STATE_SET "visible" 0.0;
3059             target: "elm.text";
3060          }
3061          program { name: "label_hide";
3062             signal: "elm,state,text,hidden";
3063             source: "elm";
3064             action:  STATE_SET "default" 0.0;
3065             target: "elm.text";
3066          }
3067          program { name: "icon_show";
3068             signal: "elm,state,icon,visible";
3069             source: "elm";
3070             action:  STATE_SET "visible" 0.0;
3071             target: "elm.swallow.content";
3072          }
3073          program { name: "icon_hide";
3074             signal: "elm,state,icon,hidden";
3075             source: "elm";
3076             action:  STATE_SET "default" 0.0;
3077             target: "elm.swallow.content";
3078          }
3079          program { name: "units_show";
3080             signal: "elm,state,units,visible";
3081             source: "elm";
3082             action:  STATE_SET "show" 0.0;
3083             target: "text-bar";
3084             target: "elm.text.status";
3085          }
3086          program { name: "units_hide";
3087             signal: "elm,state,units,hidden";
3088             source: "elm";
3089             action:  STATE_SET "default" 0.0;
3090             target: "text-bar";
3091             target: "elm.text.status";
3092          }
3093          program { name: "slide_to_end";
3094             action:  STATE_SET "state_end" 0.0;
3095             transition: LINEAR 0.5;
3096             target: "elm.progress.progressbar";
3097             after: "slide_to_begin";
3098          }
3099          program { name: "slide_to_begin";
3100             signal: "elm,state,slide,begin";
3101             action: STATE_SET "state_begin" 0.0;
3102             target: "elm.progress.progressbar";
3103             transition: LINEAR 0.5;
3104             after: "slide_to_end";
3105          }
3106          program { name: "start_pulse";
3107             signal: "elm,state,pulse,start";
3108             source: "elm";
3109             after: "slide_to_end";
3110          }
3111          program { name: "stop_pulse";
3112             signal: "elm,state,pulse,stop";
3113             source: "elm";
3114             action: ACTION_STOP;
3115             target: "slide_to_begin";
3116             target: "slide_to_end";
3117             target: "start_pulse";
3118             after: "state_pulse";
3119          }
3120          program { name: "state_pulse";
3121             signal: "elm,state,pulse";
3122             source: "elm";
3123             action: STATE_SET "state_begin" 0.0;
3124             target: "elm.progress.progressbar";
3125             after: "units_hide";
3126          }
3127          program { name: "state_fraction";
3128             signal: "elm,state,fraction";
3129             source: "elm";
3130             action: ACTION_STOP;
3131             target: "slide_to_begin";
3132             target: "slide_to_end";
3133             target: "start_pulse";
3134             action: STATE_SET "default" 0.0;
3135             target: "elm.progress.progressbar";
3136          }
3137          program { name: "set_invert_on";
3138             signal: "elm,state,inverted,on";
3139             source: "elm";
3140             action:  STATE_SET "invert" 0.0;
3141             target: "elm.progress.progressbar";
3142          }
3143          program { name: "set_invert_off";
3144             signal: "elm,state,inverted,off";
3145             source: "elm";
3146             action:  STATE_SET "default" 0.0;
3147             target: "elm.progress.progressbar";
3148          }
3149       }
3150    }
3151
3152 #define PROCESS_IMAGE(COLOR, SIZE, NUM) \
3153    image: ""COLOR"/"SIZE"/00_list_process_"NUM".png" COMP;
3154
3155 #define PROCESS_IMAGES(COLOR, SIZE) \
3156    images { \
3157       PROCESS_IMAGE(COLOR, SIZE, 01) \
3158       PROCESS_IMAGE(COLOR, SIZE, 02) \
3159       PROCESS_IMAGE(COLOR, SIZE, 03) \
3160       PROCESS_IMAGE(COLOR, SIZE, 04) \
3161       PROCESS_IMAGE(COLOR, SIZE, 05) \
3162       PROCESS_IMAGE(COLOR, SIZE, 06) \
3163       PROCESS_IMAGE(COLOR, SIZE, 07) \
3164       PROCESS_IMAGE(COLOR, SIZE, 08) \
3165       PROCESS_IMAGE(COLOR, SIZE, 09) \
3166       PROCESS_IMAGE(COLOR, SIZE, 10) \
3167       PROCESS_IMAGE(COLOR, SIZE, 11) \
3168       PROCESS_IMAGE(COLOR, SIZE, 12) \
3169       PROCESS_IMAGE(COLOR, SIZE, 13) \
3170       PROCESS_IMAGE(COLOR, SIZE, 14) \
3171       PROCESS_IMAGE(COLOR, SIZE, 15) \
3172       PROCESS_IMAGE(COLOR, SIZE, 16) \
3173       PROCESS_IMAGE(COLOR, SIZE, 17) \
3174       PROCESS_IMAGE(COLOR, SIZE, 18) \
3175       PROCESS_IMAGE(COLOR, SIZE, 19) \
3176       PROCESS_IMAGE(COLOR, SIZE, 20) \
3177       PROCESS_IMAGE(COLOR, SIZE, 21) \
3178       PROCESS_IMAGE(COLOR, SIZE, 22) \
3179       PROCESS_IMAGE(COLOR, SIZE, 23) \
3180       PROCESS_IMAGE(COLOR, SIZE, 24) \
3181       PROCESS_IMAGE(COLOR, SIZE, 25) \
3182       PROCESS_IMAGE(COLOR, SIZE, 26) \
3183       PROCESS_IMAGE(COLOR, SIZE, 27) \
3184       PROCESS_IMAGE(COLOR, SIZE, 28) \
3185       PROCESS_IMAGE(COLOR, SIZE, 29) \
3186       PROCESS_IMAGE(COLOR, SIZE, 30) \
3187    }
3188
3189 #define PROGRESS_DESC(COLOR, SIZE, NUM ) \
3190    description { state: "pulse" 0.#NUM; \
3191       inherit: "default" 0.0; \
3192       image { \
3193          normal: ""COLOR"/"SIZE"/00_list_process_"NUM".png"; \
3194       } \
3195    }
3196
3197 #define PROCESS_DESCS(COLOR, SIZE, WIDTH, HEIGHT) \
3198       description { \
3199          state: "default" 0.0; \
3200          min: WIDTH HEIGHT; \
3201          max: WIDTH HEIGHT; \
3202          aspect: 1.0 1.0; \
3203          aspect_preference: BOTH; \
3204          image { \
3205             normal: ""COLOR"/"SIZE"/00_list_process_01.png"; \
3206          } \
3207       } \
3208       description { state: "pulse" 0.0; \
3209          inherit: "default" 0.0; \
3210          image { \
3211             normal: ""COLOR"/"SIZE"/00_list_process_01.png"; \
3212          } \
3213       } \
3214       PROGRESS_DESC(COLOR, SIZE, 01 ) \
3215       PROGRESS_DESC(COLOR, SIZE, 03 ) \
3216       PROGRESS_DESC(COLOR, SIZE, 04 ) \
3217       PROGRESS_DESC(COLOR, SIZE, 05 ) \
3218       PROGRESS_DESC(COLOR, SIZE, 06 ) \
3219       PROGRESS_DESC(COLOR, SIZE, 07 ) \
3220       PROGRESS_DESC(COLOR, SIZE, 08 ) \
3221       PROGRESS_DESC(COLOR, SIZE, 09 ) \
3222       PROGRESS_DESC(COLOR, SIZE, 10 ) \
3223       PROGRESS_DESC(COLOR, SIZE, 11 ) \
3224       PROGRESS_DESC(COLOR, SIZE, 12 ) \
3225       PROGRESS_DESC(COLOR, SIZE, 13 ) \
3226       PROGRESS_DESC(COLOR, SIZE, 14 ) \
3227       PROGRESS_DESC(COLOR, SIZE, 15 ) \
3228       PROGRESS_DESC(COLOR, SIZE, 16 ) \
3229       PROGRESS_DESC(COLOR, SIZE, 17 ) \
3230       PROGRESS_DESC(COLOR, SIZE, 18 ) \
3231       PROGRESS_DESC(COLOR, SIZE, 19 ) \
3232       PROGRESS_DESC(COLOR, SIZE, 20 ) \
3233       PROGRESS_DESC(COLOR, SIZE, 21 ) \
3234       PROGRESS_DESC(COLOR, SIZE, 22 ) \
3235       PROGRESS_DESC(COLOR, SIZE, 23 ) \
3236       PROGRESS_DESC(COLOR, SIZE, 24 ) \
3237       PROGRESS_DESC(COLOR, SIZE, 25 ) \
3238       PROGRESS_DESC(COLOR, SIZE, 26 ) \
3239       PROGRESS_DESC(COLOR, SIZE, 27 ) \
3240       PROGRESS_DESC(COLOR, SIZE, 28 ) \
3241       PROGRESS_DESC(COLOR, SIZE, 29 ) \
3242       PROGRESS_DESC(COLOR, SIZE, 30 )
3243
3244 #define   PROGRESSING_DELAY    0.07
3245
3246    group { name: "elm/progressbar/horizontal/list_process";
3247       alias: "elm/progressbar/horizontal/process";
3248       PROCESS_IMAGES("White", "63x63")
3249       parts {
3250          part { name: "access";
3251             type: RECT;
3252             description { state: "default" 0.0;
3253                fixed: 1 1;
3254                color: 0 0 0 0;
3255             }
3256          }
3257          part { name: "elm.background.progressbar";
3258             mouse_events: 0;
3259             scale: 1;
3260             type: RECT;
3261             description {
3262                state: "default" 0.0;
3263             }
3264          }
3265          part { name: "elm.swallow.bar";
3266             mouse_events: 0;
3267             scale: 1;
3268             type: SWALLOW;
3269             description { state: "default" 0.0;
3270                min: 0 0;
3271                max: 0 0;
3272                visible: 0;
3273             }
3274          }
3275          part { name: "elm.swallow.content";
3276             type: SWALLOW;
3277             scale: 1;
3278             description { state: "default" 0.0;
3279                min: 0 0;
3280                max: 0 0;
3281                visible: 0;
3282             }
3283          }
3284          part { name: "background";
3285             mouse_events: 0;
3286             scale: 1;
3287             clip_to: "elm.background.progressbar";
3288             PROCESS_DESCS("White", "63x63", 63, 63)
3289          }
3290       }
3291       script {
3292          public pulse_state;
3293       }
3294       programs {
3295          program { name: "continue_pulse";
3296             script {
3297                new Float:state;
3298                state = get_float(pulse_state);
3299                set_state(PART:"background", "pulse", state);
3300                state += 0.01;
3301                if( state > 0.30 )
3302                   state = 0.01;
3303                set_float(pulse_state, state);
3304             }
3305                after: "delay";
3306          }
3307          program { name: "delay";
3308             action: STATE_SET "pulse" 0.10;
3309             target: "background";
3310             in: PROGRESSING_DELAY 0.0;
3311             after: "continue_pulse";
3312          }
3313          program { name: "start_pulse";
3314             signal: "elm,state,pulse,start";
3315             source: "elm";
3316             script {
3317                set_float(pulse_state, 0.0);
3318             }
3319             after: "continue_pulse";
3320          }
3321          program { name: "stop_pulse";
3322             signal: "elm,state,pulse,stop";
3323             source: "elm";
3324             action: ACTION_STOP;
3325             target: "continue_pulse";
3326             target: "delay";
3327             target: "start_pulse";
3328             after: "init_pulse";
3329          }
3330          program { name: "init_pulse";
3331             action: STATE_SET "default" 0.0;
3332             target: "background";
3333          }
3334       }
3335    }
3336
3337    group { name: "elm/progressbar/horizontal/process_medium";
3338       PROCESS_IMAGES("White", "54x54")
3339       parts {
3340          part { name: "access";
3341             type: RECT;
3342             description { state: "default" 0.0;
3343                fixed: 1 1;
3344                color: 0 0 0 0;
3345             }
3346          }
3347          part { name: "elm.background.progressbar";
3348             mouse_events: 0;
3349             scale: 1;
3350             type: RECT;
3351             description {
3352                state: "default" 0.0;
3353             }
3354          }
3355          part { name: "elm.swallow.bar";
3356             mouse_events: 0;
3357             scale: 1;
3358             type: SWALLOW;
3359             description { state: "default" 0.0;
3360                min: 0 0;
3361                max: 0 0;
3362                visible: 0;
3363             }
3364          }
3365          part { name: "elm.swallow.content";
3366             type: SWALLOW;
3367             scale: 1;
3368             description { state: "default" 0.0;
3369                min: 0 0;
3370                max: 0 0;
3371                visible: 0;
3372             }
3373          }
3374          part { name: "background";
3375             mouse_events: 0;
3376             scale: 1;
3377             clip_to: "elm.background.progressbar";
3378             PROCESS_DESCS("White", "54x54", 54, 54)
3379          }
3380       }
3381       script {
3382          public pulse_state;
3383       }
3384       programs {
3385          program { name: "continue_pulse";
3386             script {
3387                new Float:state;
3388                state = get_float(pulse_state);
3389                set_state(PART:"background", "pulse", state);
3390                state += 0.01;
3391                if( state > 0.30 )
3392                   state = 0.01;
3393                set_float(pulse_state, state);
3394             }
3395                after: "delay";
3396          }
3397          program { name: "delay";
3398             action: STATE_SET "pulse" 0.10;
3399             target: "background";
3400             in: PROGRESSING_DELAY 0.0;
3401             after: "continue_pulse";
3402          }
3403          program { name: "start_pulse";
3404             signal: "elm,state,pulse,start";
3405             source: "elm";
3406             script {
3407                set_float(pulse_state, 0.0);
3408             }
3409             after: "continue_pulse";
3410          }
3411          program { name: "stop_pulse";
3412             signal: "elm,state,pulse,stop";
3413             source: "elm";
3414             action: ACTION_STOP;
3415             target: "continue_pulse";
3416             target: "delay";
3417             target: "start_pulse";
3418             after: "init_pulse";
3419          }
3420          program { name: "init_pulse";
3421             action: STATE_SET "default" 0.0;
3422             target: "background";
3423          }
3424       }
3425    }
3426
3427    group { name: "elm/progressbar/horizontal/list_process_small";
3428       alias: "elm/progressbar/horizontal/process_small";
3429       PROCESS_IMAGES("White", "36x36")
3430       parts {
3431          part { name: "access";
3432             type: RECT;
3433             description { state: "default" 0.0;
3434                fixed: 1 1;
3435                color: 0 0 0 0;
3436             }
3437          }
3438          part { name: "elm.background.progressbar";
3439             mouse_events: 0;
3440             scale: 1;
3441             type: RECT;
3442             description {
3443                state: "default" 0.0;
3444             }
3445          }
3446          part { name: "elm.swallow.bar";
3447             mouse_events: 0;
3448             scale: 1;
3449             type: SWALLOW;
3450             description { state: "default" 0.0;
3451                min: 0 0;
3452                max: 0 0;
3453                visible: 0;
3454             }
3455          }
3456          part { name: "elm.swallow.content";
3457             type: SWALLOW;
3458             scale: 1;
3459             description { state: "default" 0.0;
3460                min: 0 0;
3461                max: 0 0;
3462                visible: 0;
3463             }
3464          }
3465          part { name: "background";
3466             mouse_events: 0;
3467             scale: 1;
3468             clip_to: "elm.background.progressbar";
3469             PROCESS_DESCS("White", "36x36", 36, 36)
3470          }
3471       }
3472       script {
3473          public pulse_state;
3474       }
3475       programs {
3476          program { name: "continue_pulse";
3477             script {
3478                new Float:state;
3479                state = get_float(pulse_state);
3480                set_state(PART:"background", "pulse", state);
3481                state += 0.01;
3482                if( state > 0.30 )
3483                   state = 0.01;
3484                set_float(pulse_state, state);
3485             }
3486                after: "delay";
3487          }
3488          program { name: "delay";
3489             action: STATE_SET "pulse" 0.10;
3490             target: "background";
3491             in: PROGRESSING_DELAY 0.0;
3492             after: "continue_pulse";
3493          }
3494          program { name: "start_pulse";
3495             signal: "elm,state,pulse,start";
3496             source: "elm";
3497             script {
3498                set_float(pulse_state, 0.0);
3499             }
3500             after: "continue_pulse";
3501          }
3502          program { name: "stop_pulse";
3503             signal: "elm,state,pulse,stop";
3504             source: "elm";
3505             action: ACTION_STOP;
3506             target: "continue_pulse";
3507             target: "delay";
3508             target: "start_pulse";
3509             after: "init_pulse";
3510          }
3511          program { name: "init_pulse";
3512             action: STATE_SET "default" 0.0;
3513             target: "background";
3514          }
3515       }
3516    }
3517
3518 // Black progressbar
3519    group { name: "elm/progressbar/horizontal/list_process_black";
3520       alias: "elm/progressbar/horizontal/process_black";
3521       PROCESS_IMAGES("Black", "63x63")
3522       parts {
3523          part { name: "access";
3524             type: RECT;
3525             description { state: "default" 0.0;
3526                fixed: 1 1;
3527                color: 0 0 0 0;
3528             }
3529          }
3530          part { name: "elm.background.progressbar";
3531             mouse_events: 0;
3532             scale: 1;
3533             type: RECT;
3534             description {
3535                state: "default" 0.0;
3536             }
3537          }
3538          part { name: "elm.swallow.bar";
3539             mouse_events: 0;
3540             scale: 1;
3541             type: SWALLOW;
3542             description { state: "default" 0.0;
3543                min: 0 0;
3544                max: 0 0;
3545                visible: 0;
3546             }
3547          }
3548          part { name: "elm.swallow.content";
3549             type: SWALLOW;
3550             scale: 1;
3551             description { state: "default" 0.0;
3552                min: 0 0;
3553                max: 0 0;
3554                visible: 0;
3555             }
3556          }
3557          part { name: "background";
3558             mouse_events: 0;
3559             scale: 1;
3560             clip_to: "elm.background.progressbar";
3561             PROCESS_DESCS("Black", "63x63", 63, 63)
3562          }
3563       }
3564       script {
3565          public pulse_state;
3566       }
3567       programs {
3568          program { name: "continue_pulse";
3569             script {
3570                new Float:state;
3571                state = get_float(pulse_state);
3572                set_state(PART:"background", "pulse", state);
3573                state += 0.01;
3574                if( state > 0.30 )
3575                   state = 0.01;
3576                set_float(pulse_state, state);
3577             }
3578                after: "delay";
3579          }
3580          program { name: "delay";
3581             action: STATE_SET "pulse" 0.10;
3582             target: "background";
3583             in: PROGRESSING_DELAY 0.0;
3584             after: "continue_pulse";
3585          }
3586          program { name: "start_pulse";
3587             signal: "elm,state,pulse,start";
3588             source: "elm";
3589             script {
3590                set_float(pulse_state, 0.0);
3591             }
3592             after: "continue_pulse";
3593          }
3594          program { name: "stop_pulse";
3595             signal: "elm,state,pulse,stop";
3596             source: "elm";
3597             action: ACTION_STOP;
3598             target: "continue_pulse";
3599             target: "delay";
3600             target: "start_pulse";
3601             after: "init_pulse";
3602          }
3603          program { name: "init_pulse";
3604             action: STATE_SET "default" 0.0;
3605             target: "background";
3606          }
3607       }
3608    }
3609
3610    group { name: "elm/progressbar/horizontal/process_medium_black";
3611       PROCESS_IMAGES("Black", "54x54")
3612       parts {
3613          part { name: "access";
3614             type: RECT;
3615             description { state: "default" 0.0;
3616                fixed: 1 1;
3617                color: 0 0 0 0;
3618             }
3619          }
3620          part { name: "elm.background.progressbar";
3621             mouse_events: 0;
3622             scale: 1;
3623             type: RECT;
3624             description {
3625                state: "default" 0.0;
3626             }
3627          }
3628          part { name: "elm.swallow.bar";
3629             mouse_events: 0;
3630             scale: 1;
3631             type: SWALLOW;
3632             description { state: "default" 0.0;
3633                min: 0 0;
3634                max: 0 0;
3635                visible: 0;
3636             }
3637          }
3638          part { name: "elm.swallow.content";
3639             type: SWALLOW;
3640             scale: 1;
3641             description { state: "default" 0.0;
3642                min: 0 0;
3643                max: 0 0;
3644                visible: 0;
3645             }
3646          }
3647          part { name: "background";
3648             mouse_events: 0;
3649             scale: 1;
3650             clip_to: "elm.background.progressbar";
3651             PROCESS_DESCS("Black", "54x54", 54, 54)
3652          }
3653       }
3654       script {
3655          public pulse_state;
3656       }
3657       programs {
3658          program { name: "continue_pulse";
3659             script {
3660                new Float:state;
3661                state = get_float(pulse_state);
3662                set_state(PART:"background", "pulse", state);
3663                state += 0.01;
3664                if( state > 0.30 )
3665                   state = 0.01;
3666                set_float(pulse_state, state);
3667             }
3668                after: "delay";
3669          }
3670          program { name: "delay";
3671             action: STATE_SET "pulse" 0.10;
3672             target: "background";
3673             in: PROGRESSING_DELAY 0.0;
3674             after: "continue_pulse";
3675          }
3676          program { name: "start_pulse";
3677             signal: "elm,state,pulse,start";
3678             source: "elm";
3679             script {
3680                set_float(pulse_state, 0.0);
3681             }
3682             after: "continue_pulse";
3683          }
3684          program { name: "stop_pulse";
3685             signal: "elm,state,pulse,stop";
3686             source: "elm";
3687             action: ACTION_STOP;
3688             target: "continue_pulse";
3689             target: "delay";
3690             target: "start_pulse";
3691             after: "init_pulse";
3692          }
3693          program { name: "init_pulse";
3694             action: STATE_SET "default" 0.0;
3695             target: "background";
3696          }
3697       }
3698    }
3699
3700    group { name: "elm/progressbar/horizontal/list_process_small_black";
3701       alias: "elm/progressbar/horizontal/process_small_black";
3702       PROCESS_IMAGES("Black", "36x36")
3703       parts {
3704          part { name: "access";
3705             type: RECT;
3706             description { state: "default" 0.0;
3707                fixed: 1 1;
3708                color: 0 0 0 0;
3709             }
3710          }
3711          part { name: "elm.background.progressbar";
3712             mouse_events: 0;
3713             scale: 1;
3714             type: RECT;
3715             description {
3716                state: "default" 0.0;
3717             }
3718          }
3719          part { name: "elm.swallow.bar";
3720             mouse_events: 0;
3721             scale: 1;
3722             type: SWALLOW;
3723             description { state: "default" 0.0;
3724                min: 0 0;
3725                max: 0 0;
3726                visible: 0;
3727             }
3728          }
3729          part { name: "elm.swallow.content";
3730             type: SWALLOW;
3731             scale: 1;
3732             description { state: "default" 0.0;
3733                min: 0 0;
3734                max: 0 0;
3735                visible: 0;
3736             }
3737          }
3738          part { name: "background";
3739             mouse_events: 0;
3740             scale: 1;
3741             clip_to: "elm.background.progressbar";
3742             PROCESS_DESCS("Black", "36x36", 36, 36)
3743          }
3744       }
3745       script {
3746          public pulse_state;
3747       }
3748       programs {
3749          program { name: "continue_pulse";
3750             script {
3751                new Float:state;
3752                state = get_float(pulse_state);
3753                set_state(PART:"background", "pulse", state);
3754                state += 0.01;
3755                if( state > 0.30 )
3756                   state = 0.01;
3757                set_float(pulse_state, state);
3758             }
3759                after: "delay";
3760          }
3761          program { name: "delay";
3762             action: STATE_SET "pulse" 0.10;
3763             target: "background";
3764             in: PROGRESSING_DELAY 0.0;
3765             after: "continue_pulse";
3766          }
3767          program { name: "start_pulse";
3768             signal: "elm,state,pulse,start";
3769             source: "elm";
3770             script {
3771                set_float(pulse_state, 0.0);
3772             }
3773             after: "continue_pulse";
3774          }
3775          program { name: "stop_pulse";
3776             signal: "elm,state,pulse,stop";
3777             source: "elm";
3778             action: ACTION_STOP;
3779             target: "continue_pulse";
3780             target: "delay";
3781             target: "start_pulse";
3782             after: "init_pulse";
3783          }
3784          program { name: "init_pulse";
3785             action: STATE_SET "default" 0.0;
3786             target: "background";
3787          }
3788       }
3789    }
3790
3791 #define CIRCLE_PROGRESSING_DELAY       0.03
3792 #define PROGRESS_CIRCLE_TOTAL_STATES   50
3793
3794 #define PROGRESS_CIRCLE_BG_DESC( param_num ) \
3795    description { state: "progress" 0.#param_num; \
3796       inherit: "default" 0.0; \
3797       image { \
3798          normal: "00_progress_circle_bg_"#param_num".png"; \
3799       } \
3800    }
3801
3802    group { name: "elm/progressbar/horizontal/progress_circle";
3803       images {
3804          image: "00_progress_circle_bg.png" COMP;
3805          image: "00_progress_circle_bg_01.png" COMP;
3806          image: "00_progress_circle_bg_02.png" COMP;
3807          image: "00_progress_circle_bg_03.png" COMP;
3808          image: "00_progress_circle_bg_04.png" COMP;
3809          image: "00_progress_circle_bg_05.png" COMP;
3810          image: "00_progress_circle_bg_06.png" COMP;
3811          image: "00_progress_circle_bg_07.png" COMP;
3812          image: "00_progress_circle_bg_08.png" COMP;
3813          image: "00_progress_circle_bg_09.png" COMP;
3814          image: "00_progress_circle_bg_10.png" COMP;
3815          image: "00_progress_circle_bg_11.png" COMP;
3816          image: "00_progress_circle_bg_12.png" COMP;
3817          image: "00_progress_circle_bg_13.png" COMP;
3818          image: "00_progress_circle_bg_14.png" COMP;
3819          image: "00_progress_circle_bg_15.png" COMP;
3820          image: "00_progress_circle_bg_16.png" COMP;
3821          image: "00_progress_circle_bg_17.png" COMP;
3822          image: "00_progress_circle_bg_18.png" COMP;
3823          image: "00_progress_circle_bg_19.png" COMP;
3824          image: "00_progress_circle_bg_20.png" COMP;
3825          image: "00_progress_circle_bg_21.png" COMP;
3826          image: "00_progress_circle_bg_22.png" COMP;
3827          image: "00_progress_circle_bg_23.png" COMP;
3828          image: "00_progress_circle_bg_24.png" COMP;
3829          image: "00_progress_circle_bg_25.png" COMP;
3830          image: "00_progress_circle_bg_26.png" COMP;
3831          image: "00_progress_circle_bg_27.png" COMP;
3832          image: "00_progress_circle_bg_28.png" COMP;
3833          image: "00_progress_circle_bg_29.png" COMP;
3834          image: "00_progress_circle_bg_30.png" COMP;
3835          image: "00_progress_circle_bg_31.png" COMP;
3836          image: "00_progress_circle_bg_32.png" COMP;
3837          image: "00_progress_circle_bg_33.png" COMP;
3838          image: "00_progress_circle_bg_34.png" COMP;
3839          image: "00_progress_circle_bg_35.png" COMP;
3840          image: "00_progress_circle_bg_36.png" COMP;
3841          image: "00_progress_circle_bg_37.png" COMP;
3842          image: "00_progress_circle_bg_38.png" COMP;
3843          image: "00_progress_circle_bg_39.png" COMP;
3844          image: "00_progress_circle_bg_40.png" COMP;
3845          image: "00_progress_circle_bg_41.png" COMP;
3846          image: "00_progress_circle_bg_42.png" COMP;
3847          image: "00_progress_circle_bg_43.png" COMP;
3848          image: "00_progress_circle_bg_44.png" COMP;
3849          image: "00_progress_circle_bg_45.png" COMP;
3850          image: "00_progress_circle_bg_46.png" COMP;
3851          image: "00_progress_circle_bg_47.png" COMP;
3852          image: "00_progress_circle_bg_48.png" COMP;
3853          image: "00_progress_circle_bg_49.png" COMP;
3854          image: "00_progress_circle_bg_50.png" COMP;
3855       }
3856       parts {
3857          part { name: "access";
3858             type: RECT;
3859             description { state: "default" 0.0;
3860                fixed: 1 1;
3861                color: 0 0 0 0;
3862             }
3863          }
3864          part { name: "elm.background.progressbar";
3865             mouse_events: 0;
3866             scale: 1;
3867             type: RECT;
3868             description {
3869                state: "default" 0.0;
3870             }
3871          }
3872          part { name: "elm.swallow.bar";
3873             mouse_events: 0;
3874             scale: 1;
3875             type: SWALLOW;
3876             description { state: "default" 0.0;
3877                min: 0 0;
3878                max: 0 0;
3879                visible: 0;
3880             }
3881          }
3882          part { name: "elm.swallow.content";
3883             type: SWALLOW;
3884             scale: 1;
3885             description { state: "default" 0.0;
3886                min: 0 0;
3887                max: 0 0;
3888                visible: 0;
3889             }
3890          }
3891          part { name: "elm.cur.progressbar";
3892             mouse_events: 0;
3893             scale: 1;
3894             dragable {
3895                confine: "background";
3896                x: 1 1 1;
3897                y: 0 0 0;
3898             }
3899             description { state: "default" 0.0;
3900                min: 1 1;
3901                fixed: 1 1;
3902                visible: 0;
3903                rel1.to: "background";
3904                rel2.to: "background";
3905            }
3906          }
3907          part { name: "background";
3908             mouse_events: 0;
3909             scale: 1;
3910             clip_to: "elm.background.progressbar";
3911             description {
3912                state: "default" 0.0;
3913                min: PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC;
3914                max: PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC;
3915                aspect: 1.0 1.0;
3916                aspect_preference: BOTH;
3917                image {
3918                   normal: "00_progress_circle_bg.png";
3919                }
3920             }
3921          }
3922          part { name: "progress_circle_img";
3923             mouse_events: 0;
3924             scale: 1;
3925             clip_to: "elm.background.progressbar";
3926             description {
3927                state: "default" 0.0;
3928                rel1 {
3929                   to: "background";
3930                }
3931                rel2 {
3932                   to: "background";
3933                }
3934                aspect: 1.0 1.0;
3935                aspect_preference: BOTH;
3936                image {
3937                   normal: "00_progress_circle_bg.png";
3938                }
3939             }
3940             description { state: "progress" 0.0;
3941                inherit: "default" 0.0;
3942                image {
3943                   normal: "00_progress_circle_bg.png";
3944                }
3945             }
3946             PROGRESS_CIRCLE_BG_DESC( 01 )
3947             PROGRESS_CIRCLE_BG_DESC( 02 )
3948             PROGRESS_CIRCLE_BG_DESC( 03 )
3949             PROGRESS_CIRCLE_BG_DESC( 04 )
3950             PROGRESS_CIRCLE_BG_DESC( 05 )
3951             PROGRESS_CIRCLE_BG_DESC( 06 )
3952             PROGRESS_CIRCLE_BG_DESC( 07 )
3953             PROGRESS_CIRCLE_BG_DESC( 08 )
3954             PROGRESS_CIRCLE_BG_DESC( 09 )
3955             PROGRESS_CIRCLE_BG_DESC( 10 )
3956             PROGRESS_CIRCLE_BG_DESC( 11 )
3957             PROGRESS_CIRCLE_BG_DESC( 12 )
3958             PROGRESS_CIRCLE_BG_DESC( 13 )
3959             PROGRESS_CIRCLE_BG_DESC( 14 )
3960             PROGRESS_CIRCLE_BG_DESC( 15 )
3961             PROGRESS_CIRCLE_BG_DESC( 16 )
3962             PROGRESS_CIRCLE_BG_DESC( 17 )
3963             PROGRESS_CIRCLE_BG_DESC( 18 )
3964             PROGRESS_CIRCLE_BG_DESC( 19 )
3965             PROGRESS_CIRCLE_BG_DESC( 20 )
3966             PROGRESS_CIRCLE_BG_DESC( 21 )
3967             PROGRESS_CIRCLE_BG_DESC( 22 )
3968             PROGRESS_CIRCLE_BG_DESC( 23 )
3969             PROGRESS_CIRCLE_BG_DESC( 24 )
3970             PROGRESS_CIRCLE_BG_DESC( 25 )
3971             PROGRESS_CIRCLE_BG_DESC( 26 )
3972             PROGRESS_CIRCLE_BG_DESC( 27 )
3973             PROGRESS_CIRCLE_BG_DESC( 28 )
3974             PROGRESS_CIRCLE_BG_DESC( 29 )
3975             PROGRESS_CIRCLE_BG_DESC( 30 )
3976             PROGRESS_CIRCLE_BG_DESC( 31 )
3977             PROGRESS_CIRCLE_BG_DESC( 32 )
3978             PROGRESS_CIRCLE_BG_DESC( 33 )
3979             PROGRESS_CIRCLE_BG_DESC( 34 )
3980             PROGRESS_CIRCLE_BG_DESC( 35 )
3981             PROGRESS_CIRCLE_BG_DESC( 36 )
3982             PROGRESS_CIRCLE_BG_DESC( 37 )
3983             PROGRESS_CIRCLE_BG_DESC( 38 )
3984             PROGRESS_CIRCLE_BG_DESC( 39 )
3985             PROGRESS_CIRCLE_BG_DESC( 40 )
3986             PROGRESS_CIRCLE_BG_DESC( 41 )
3987             PROGRESS_CIRCLE_BG_DESC( 42 )
3988             PROGRESS_CIRCLE_BG_DESC( 43 )
3989             PROGRESS_CIRCLE_BG_DESC( 44 )
3990             PROGRESS_CIRCLE_BG_DESC( 45 )
3991             PROGRESS_CIRCLE_BG_DESC( 46 )
3992             PROGRESS_CIRCLE_BG_DESC( 47 )
3993             PROGRESS_CIRCLE_BG_DESC( 48 )
3994             PROGRESS_CIRCLE_BG_DESC( 49 )
3995             PROGRESS_CIRCLE_BG_DESC( 50 )
3996          }
3997       }
3998       programs {
3999          script {
4000             public curr_state = 0;
4001             public final_state = 0;
4002             public prev_state = 0;
4003             public max_state = 0;    // maximum possible state, a normalized value
4004             public circle_zero_cross = 0;   // whether circle crosses its Zero state or not.
4005
4006             public progress_circle_state_change(){
4007             new Float:x, Float:y, Float:final, Float:max;
4008             max = PROGRESS_CIRCLE_TOTAL_STATES / 100.0;
4009             set_float(max_state, max);
4010             get_drag(PART:"elm.cur.progressbar", x, y);
4011             final = x * max;   // calculate final state as per the set drag value
4012             set_float(final_state, final);
4013             if( final < get_float(prev_state) )
4014                set_int(circle_zero_cross, 1);  // high value to low value, crosses zero state.
4015             else
4016                set_int(circle_zero_cross, 0);  // low value to high value, no need for zero state crossing.
4017             }
4018          }
4019          program { name: "circle_progress";
4020             script {
4021                new Float:curr, Float:final, Float:max;
4022                new zero_cross;
4023                zero_cross = get_int(circle_zero_cross);
4024                max = get_float(max_state);
4025                curr = get_float(curr_state);
4026                set_state(PART:"progress_circle_img", "progress", curr);
4027                curr += 0.01;   // for next immediate state.
4028                if( (curr > max) && (zero_cross == 1) )
4029                {
4030                   curr = 0.00;   // once it crosses Zero state, reset its state.
4031                   set_int(circle_zero_cross, 0);
4032                }
4033                else if( curr > max ) return;
4034
4035                final = get_float(final_state);
4036                zero_cross = get_int(circle_zero_cross);
4037                if( (curr > final) && (zero_cross == 0) )
4038                {
4039                   set_float(prev_state, get_float(curr_state));
4040                   return;
4041                }
4042                set_float(curr_state, curr);
4043             }
4044             after: "delay";
4045          }
4046          program { name: "delay";
4047             action: STATE_SET "progress" 0.10;
4048             target: "progress_circle_img";
4049             in: CIRCLE_PROGRESSING_DELAY 0.0;
4050             after: "circle_progress";
4051          }
4052          program { name: "circle_start";
4053             signal: "elm,state,pulse,start";
4054             source: "elm";
4055             script {
4056                set_float(curr_state, 0.0);
4057             }
4058             after: "circle_progress";
4059          }
4060          program { name: "circle_stop";
4061             signal: "elm,state,pulse,stop";
4062             source: "elm";
4063             action: ACTION_STOP;
4064             target: "circle_progress";
4065             target: "delay";
4066             target: "circle_start";
4067          }
4068          program { name: "circle_state_change";
4069             signal: "elm,state,change";
4070             source: "elm";
4071             script {
4072                progress_circle_state_change()
4073             }
4074             after: "circle_progress";
4075          }
4076       }
4077    }