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