merge with master
[profile/ivi/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.png" COMP;
2179          image: "00_progress_pending_02.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.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.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(SIZE, NUM) \
3097    image: "process/"SIZE"/00_list_process_"NUM".png" COMP;
3098
3099 #define PROCESS_IMAGES(SIZE) \
3100    images { \
3101       PROCESS_IMAGE(SIZE, 01) \
3102       PROCESS_IMAGE(SIZE, 02) \
3103       PROCESS_IMAGE(SIZE, 03) \
3104       PROCESS_IMAGE(SIZE, 04) \
3105       PROCESS_IMAGE(SIZE, 05) \
3106       PROCESS_IMAGE(SIZE, 06) \
3107       PROCESS_IMAGE(SIZE, 07) \
3108       PROCESS_IMAGE(SIZE, 08) \
3109       PROCESS_IMAGE(SIZE, 09) \
3110       PROCESS_IMAGE(SIZE, 10) \
3111       PROCESS_IMAGE(SIZE, 11) \
3112       PROCESS_IMAGE(SIZE, 12) \
3113       PROCESS_IMAGE(SIZE, 13) \
3114       PROCESS_IMAGE(SIZE, 14) \
3115       PROCESS_IMAGE(SIZE, 15) \
3116       PROCESS_IMAGE(SIZE, 16) \
3117       PROCESS_IMAGE(SIZE, 17) \
3118       PROCESS_IMAGE(SIZE, 18) \
3119       PROCESS_IMAGE(SIZE, 19) \
3120       PROCESS_IMAGE(SIZE, 20) \
3121       PROCESS_IMAGE(SIZE, 21) \
3122       PROCESS_IMAGE(SIZE, 22) \
3123       PROCESS_IMAGE(SIZE, 23) \
3124       PROCESS_IMAGE(SIZE, 24) \
3125       PROCESS_IMAGE(SIZE, 25) \
3126       PROCESS_IMAGE(SIZE, 26) \
3127       PROCESS_IMAGE(SIZE, 27) \
3128       PROCESS_IMAGE(SIZE, 28) \
3129       PROCESS_IMAGE(SIZE, 29) \
3130       PROCESS_IMAGE(SIZE, 30) \
3131    }
3132
3133 #define PROGRESS_DESC(SIZE, NUM ) \
3134    description { state: "pulse" 0.#NUM; \
3135       inherit: "default" 0.0; \
3136       image { \
3137          normal: "process/"SIZE"/00_list_process_"NUM".png"; \
3138       } \
3139    }
3140
3141 #define PROCESS_DESCS(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/"SIZE"/00_list_process_01.png"; \
3150          } \
3151       } \
3152       description { state: "pulse" 0.0; \
3153          inherit: "default" 0.0; \
3154          image { \
3155             normal: "process/"SIZE"/00_list_process_01.png"; \
3156          } \
3157       } \
3158       PROGRESS_DESC(SIZE, 01 ) \
3159       PROGRESS_DESC(SIZE, 03 ) \
3160       PROGRESS_DESC(SIZE, 04 ) \
3161       PROGRESS_DESC(SIZE, 05 ) \
3162       PROGRESS_DESC(SIZE, 06 ) \
3163       PROGRESS_DESC(SIZE, 07 ) \
3164       PROGRESS_DESC(SIZE, 08 ) \
3165       PROGRESS_DESC(SIZE, 09 ) \
3166       PROGRESS_DESC(SIZE, 10 ) \
3167       PROGRESS_DESC(SIZE, 11 ) \
3168       PROGRESS_DESC(SIZE, 12 ) \
3169       PROGRESS_DESC(SIZE, 13 ) \
3170       PROGRESS_DESC(SIZE, 14 ) \
3171       PROGRESS_DESC(SIZE, 15 ) \
3172       PROGRESS_DESC(SIZE, 16 ) \
3173       PROGRESS_DESC(SIZE, 17 ) \
3174       PROGRESS_DESC(SIZE, 18 ) \
3175       PROGRESS_DESC(SIZE, 19 ) \
3176       PROGRESS_DESC(SIZE, 20 ) \
3177       PROGRESS_DESC(SIZE, 21 ) \
3178       PROGRESS_DESC(SIZE, 22 ) \
3179       PROGRESS_DESC(SIZE, 23 ) \
3180       PROGRESS_DESC(SIZE, 24 ) \
3181       PROGRESS_DESC(SIZE, 25 ) \
3182       PROGRESS_DESC(SIZE, 26 ) \
3183       PROGRESS_DESC(SIZE, 27 ) \
3184       PROGRESS_DESC(SIZE, 28 ) \
3185       PROGRESS_DESC(SIZE, 29 ) \
3186       PROGRESS_DESC(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("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("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("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("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("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("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 #define PROGRESS_BG_DESC( param_name, param_num ) \
3442    description { state: "pulse" 0.#param_num; \
3443       inherit: "default" 0.0; \
3444       image { \
3445          normal: "00_winset_"#param_name"_process_"#param_num".png"; \
3446       } \
3447    }
3448
3449    group { name: "elm/progressbar/horizontal/toolbar_process";
3450       images {
3451          image: "00_winset_toolbar_process_01.png" COMP;
3452          image: "00_winset_toolbar_process_02.png" COMP;
3453          image: "00_winset_toolbar_process_03.png" COMP;
3454          image: "00_winset_toolbar_process_04.png" COMP;
3455          image: "00_winset_toolbar_process_05.png" COMP;
3456          image: "00_winset_toolbar_process_06.png" COMP;
3457          image: "00_winset_toolbar_process_07.png" COMP;
3458          image: "00_winset_toolbar_process_08.png" COMP;
3459          image: "00_winset_toolbar_process_09.png" COMP;
3460          image: "00_winset_toolbar_process_10.png" COMP;
3461          image: "00_winset_toolbar_process_11.png" COMP;
3462          image: "00_winset_toolbar_process_12.png" COMP;
3463          image: "00_winset_toolbar_process_13.png" COMP;
3464          image: "00_winset_toolbar_process_14.png" COMP;
3465          image: "00_winset_toolbar_process_15.png" COMP;
3466          image: "00_winset_toolbar_process_16.png" COMP;
3467          image: "00_winset_toolbar_process_17.png" COMP;
3468          image: "00_winset_toolbar_process_18.png" COMP;
3469          image: "00_winset_toolbar_process_19.png" COMP;
3470          image: "00_winset_toolbar_process_20.png" COMP;
3471          image: "00_winset_toolbar_process_21.png" COMP;
3472          image: "00_winset_toolbar_process_22.png" COMP;
3473          image: "00_winset_toolbar_process_23.png" COMP;
3474          image: "00_winset_toolbar_process_24.png" COMP;
3475          image: "00_winset_toolbar_process_25.png" COMP;
3476          image: "00_winset_toolbar_process_26.png" COMP;
3477          image: "00_winset_toolbar_process_27.png" COMP;
3478          image: "00_winset_toolbar_process_28.png" COMP;
3479          image: "00_winset_toolbar_process_29.png" COMP;
3480          image: "00_winset_toolbar_process_30.png" COMP;
3481       }
3482       parts {
3483          part { name: "elm.background.progressbar";
3484             mouse_events: 0;
3485             scale: 1;
3486             type: RECT;
3487             description {
3488                state: "default" 0.0;
3489             }
3490          }
3491          part { name: "elm.swallow.bar";
3492             mouse_events: 0;
3493             scale: 1;
3494             type: SWALLOW;
3495             description { state: "default" 0.0;
3496                min: 0 0;
3497                max: 0 0;
3498                visible: 0;
3499             }
3500          }
3501          part { name: "elm.swallow.content";
3502             type: SWALLOW;
3503             scale: 1;
3504             description { state: "default" 0.0;
3505                min: 0 0;
3506                max: 0 0;
3507                visible: 0;
3508             }
3509          }
3510          part { name: "background";
3511             mouse_events: 0;
3512             scale: 1;
3513             clip_to: "elm.background.progressbar";
3514             description {
3515                state: "default" 0.0;
3516                min: 32 32;
3517                max: 32 32;
3518                visible: 1;
3519                aspect: 1.0 1.0;
3520                aspect_preference: BOTH;
3521                image {
3522                   normal: "00_winset_toolbar_process_01.png";
3523                }
3524             }
3525             description { state: "pulse" 0.0;
3526                inherit: "default" 0.0;
3527                image {
3528                    normal: "00_winset_toolbar_process_01.png";
3529                }
3530             }
3531             PROGRESS_BG_DESC( toolbar, 01 )
3532             PROGRESS_BG_DESC( toolbar, 02 )
3533             PROGRESS_BG_DESC( toolbar, 03 )
3534             PROGRESS_BG_DESC( toolbar, 04 )
3535             PROGRESS_BG_DESC( toolbar, 05 )
3536             PROGRESS_BG_DESC( toolbar, 06 )
3537             PROGRESS_BG_DESC( toolbar, 07 )
3538             PROGRESS_BG_DESC( toolbar, 08 )
3539             PROGRESS_BG_DESC( toolbar, 09 )
3540             PROGRESS_BG_DESC( toolbar, 10 )
3541             PROGRESS_BG_DESC( toolbar, 11 )
3542             PROGRESS_BG_DESC( toolbar, 12 )
3543             PROGRESS_BG_DESC( toolbar, 13 )
3544             PROGRESS_BG_DESC( toolbar, 14 )
3545             PROGRESS_BG_DESC( toolbar, 15 )
3546             PROGRESS_BG_DESC( toolbar, 16 )
3547             PROGRESS_BG_DESC( toolbar, 17 )
3548             PROGRESS_BG_DESC( toolbar, 18 )
3549             PROGRESS_BG_DESC( toolbar, 19 )
3550             PROGRESS_BG_DESC( toolbar, 20 )
3551             PROGRESS_BG_DESC( toolbar, 21 )
3552             PROGRESS_BG_DESC( toolbar, 22 )
3553             PROGRESS_BG_DESC( toolbar, 23 )
3554             PROGRESS_BG_DESC( toolbar, 24 )
3555             PROGRESS_BG_DESC( toolbar, 25 )
3556             PROGRESS_BG_DESC( toolbar, 26 )
3557             PROGRESS_BG_DESC( toolbar, 27 )
3558             PROGRESS_BG_DESC( toolbar, 28 )
3559             PROGRESS_BG_DESC( toolbar, 29 )
3560             PROGRESS_BG_DESC( toolbar, 30 )
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/UIActivityIndicatorStyleWhiteLarge";
3610       images {
3611          image: "progress_01.png" COMP;
3612          image: "progress_02.png" COMP;
3613          image: "progress_03.png" COMP;
3614          image: "progress_04.png" COMP;
3615          image: "progress_05.png" COMP;
3616          image: "progress_06.png" COMP;
3617          image: "progress_07.png" COMP;
3618          image: "progress_08.png" COMP;
3619          image: "progress_09.png" COMP;
3620          image: "progress_10.png" COMP;
3621          image: "progress_11.png" COMP;
3622          image: "progress_12.png" COMP;
3623       }
3624       parts {
3625          part { name: "elm.background.progressbar";
3626             mouse_events: 0;
3627             scale: 1;
3628             type: RECT;
3629             description {
3630                state: "default" 0.0;
3631             }
3632          }
3633          part { name: "elm.swallow.bar";
3634             mouse_events: 0;
3635             scale: 1;
3636             type: SWALLOW;
3637             description { state: "default" 0.0;
3638                min: 0 0;
3639                max: 0 0;
3640                visible: 0;
3641             }
3642          }
3643          part { name: "elm.swallow.content";
3644             type: SWALLOW;
3645             scale: 1;
3646             description { state: "default" 0.0;
3647                min: 0 0;
3648                max: 0 0;
3649                visible: 0;
3650             }
3651          }
3652          part { name: "background";
3653             mouse_events: 0;
3654             scale: 1;
3655             clip_to: "elm.background.progressbar";
3656             description {
3657                state: "default" 0.0;
3658                min: 60 60;
3659                max: 60 60;
3660                visible: 1;
3661                aspect: 1.0 1.0;
3662                aspect_preference: BOTH;
3663                image {
3664                   normal: "progress_01.png";
3665                }
3666             }
3667             description {
3668                state: "pulse" 0.0;
3669                inherit: "default" 0.0;
3670                image {
3671                   normal: "progress_01.png";
3672                }
3673             }
3674             description {
3675                state: "pulse" 0.01;
3676                inherit: "default" 0.0;
3677                image {
3678                   normal: "progress_01.png";
3679                }
3680             }
3681             description {
3682                state: "pulse" 0.02;
3683                inherit: "default" 0.0;
3684                image {
3685                   normal: "progress_02.png";
3686                }
3687             }
3688             description {
3689                state: "pulse" 0.03;
3690                inherit: "default" 0.0;
3691                image {
3692                   normal: "progress_03.png";
3693                }
3694             }
3695             description {
3696                state: "pulse" 0.04;
3697                inherit: "default" 0.0;
3698                image {
3699                   normal: "progress_04.png";
3700                }
3701             }
3702             description {
3703                state: "pulse" 0.05;
3704                inherit: "default" 0.0;
3705                image {
3706                   normal: "progress_05.png";
3707                }
3708             }
3709             description {
3710                state: "pulse" 0.06;
3711                inherit: "default" 0.0;
3712                image {
3713                   normal: "progress_06.png";
3714                }
3715             }
3716             description {
3717                state: "pulse" 0.07;
3718                inherit: "default" 0.0;
3719                image {
3720                   normal: "progress_07.png";
3721                }
3722             }
3723             description {
3724                state: "pulse" 0.08;
3725                inherit: "default" 0.0;
3726                image {
3727                   normal: "progress_08.png";
3728                }
3729             }
3730             description {
3731                state: "pulse" 0.09;
3732                inherit: "default" 0.0;
3733                image {
3734                   normal: "progress_09.png";
3735                }
3736             }
3737             description {
3738                state: "pulse" 0.10;
3739                inherit: "default" 0.0;
3740                image {
3741                   normal: "progress_10.png";
3742                }
3743             }
3744             description {
3745                state: "pulse" 0.11;
3746                inherit: "default" 0.0;
3747                image {
3748                   normal: "progress_11.png";
3749                }
3750             }
3751             description {
3752                state: "pulse" 0.12;
3753                inherit: "default" 0.0;
3754                image {
3755                   normal: "progress_12.png";
3756                }
3757             }
3758          }
3759       }
3760       script {
3761          public pulse_state;
3762       }
3763       programs {
3764          program { name: "continue_pulse";
3765             script {
3766                new Float:state;
3767                state = get_float(pulse_state);
3768                set_state(PART:"background", "pulse", state);
3769                state += 0.01;
3770                if( state > 0.12 )
3771                   state = 0.01;
3772                set_float(pulse_state, state);
3773             }
3774             after: "delay";
3775          }
3776          program { name: "delay";
3777              action: STATE_SET "pulse" 0.10;
3778              target: "background";
3779              in: PROGRESSING_DELAY 0.0;
3780              after: "continue_pulse";
3781          }
3782          program { name: "start_pulse";
3783             signal: "elm,state,pulse,start";
3784             source: "elm";
3785             script {
3786                set_float(pulse_state, 0.0);
3787             }
3788             after: "continue_pulse";
3789          }
3790          program { name: "stop_pulse";
3791             signal: "elm,state,pulse,stop";
3792             source: "elm";
3793             action: ACTION_STOP;
3794             target: "continue_pulse";
3795             target: "delay";
3796             target: "start_pulse";
3797             after: "init_pulse";
3798          }
3799          program { name: "init_pulse";
3800             action: STATE_SET "default" 0.0;
3801             target: "background";
3802          }
3803       }
3804    }
3805
3806    group { name: "elm/progressbar/horizontal/UIActivityIndicatorStyleWhite";
3807       images {
3808          image: "progress_01_s.png" COMP;
3809          image: "progress_02_s.png" COMP;
3810          image: "progress_03_s.png" COMP;
3811          image: "progress_04_s.png" COMP;
3812          image: "progress_05_s.png" COMP;
3813          image: "progress_06_s.png" COMP;
3814          image: "progress_07_s.png" COMP;
3815          image: "progress_08_s.png" COMP;
3816          image: "progress_09_s.png" COMP;
3817          image: "progress_10_s.png" COMP;
3818          image: "progress_11_s.png" COMP;
3819          image: "progress_12_s.png" COMP;
3820       }
3821       parts {
3822          part { name: "elm.background.progressbar";
3823             mouse_events: 0;
3824             scale: 1;
3825             type: RECT;
3826             description {
3827                state: "default" 0.0;
3828             }
3829          }
3830          part { name: "elm.swallow.bar";
3831             mouse_events: 0;
3832             scale: 1;
3833             type: SWALLOW;
3834             description { state: "default" 0.0;
3835                min: 0 0;
3836                max: 0 0;
3837                visible: 0;
3838             }
3839          }
3840          part { name: "elm.swallow.content";
3841             type: SWALLOW;
3842             scale: 1;
3843             description { state: "default" 0.0;
3844                min: 0 0;
3845                max: 0 0;
3846                visible: 0;
3847             }
3848          }
3849          part { name: "background";
3850             mouse_events: 0;
3851             scale: 1;
3852             clip_to: "elm.background.progressbar";
3853             description {
3854                state: "default" 0.0;
3855                min: 30 30;
3856                max: 30 30;
3857                visible: 1;
3858                aspect: 1.0 1.0;
3859                aspect_preference: BOTH;
3860                image {
3861                   normal: "progress_01_s.png";
3862                }
3863             }
3864             description {
3865                state: "pulse" 0.0;
3866                inherit: "default" 0.0;
3867                image {
3868                   normal: "progress_01_s.png";
3869                }
3870             }
3871             description {
3872                state: "pulse" 0.01;
3873                inherit: "default" 0.0;
3874                image {
3875                   normal: "progress_01_s.png";
3876                }
3877             }
3878             description {
3879                state: "pulse" 0.02;
3880                inherit: "default" 0.0;
3881                image {
3882                   normal: "progress_02_s.png";
3883                }
3884             }
3885             description {
3886                state: "pulse" 0.03;
3887                inherit: "default" 0.0;
3888                image {
3889                   normal: "progress_03_s.png";
3890                }
3891             }
3892             description {
3893                state: "pulse" 0.04;
3894                inherit: "default" 0.0;
3895                image {
3896                   normal: "progress_04_s.png";
3897                }
3898             }
3899             description {
3900                state: "pulse" 0.05;
3901                inherit: "default" 0.0;
3902                image {
3903                   normal: "progress_05_s.png";
3904                }
3905             }
3906             description {
3907                state: "pulse" 0.06;
3908                inherit: "default" 0.0;
3909                image {
3910                   normal: "progress_06_s.png";
3911                }
3912             }
3913             description {
3914                state: "pulse" 0.07;
3915                inherit: "default" 0.0;
3916                image {
3917                   normal: "progress_07_s.png";
3918                }
3919             }
3920             description {
3921                state: "pulse" 0.08;
3922                inherit: "default" 0.0;
3923                image {
3924                   normal: "progress_08_s.png";
3925                }
3926             }
3927             description {
3928                state: "pulse" 0.09;
3929                inherit: "default" 0.0;
3930                image {
3931                   normal: "progress_09_s.png";
3932                }
3933             }
3934             description {
3935                state: "pulse" 0.10;
3936                inherit: "default" 0.0;
3937                image {
3938                   normal: "progress_10_s.png";
3939                }
3940             }
3941             description {
3942                state: "pulse" 0.11;
3943                inherit: "default" 0.0;
3944                image {
3945                   normal: "progress_11_s.png";
3946                }
3947             }
3948             description {
3949                state: "pulse" 0.12;
3950                inherit: "default" 0.0;
3951                image {
3952                   normal: "progress_12_s.png";
3953                }
3954             }
3955          }
3956       }
3957       script {
3958          public pulse_state;
3959       }
3960       programs {
3961          program { name: "continue_pulse";
3962             script {
3963                new Float:state;
3964                state = get_float(pulse_state);
3965                set_state(PART:"background", "pulse", state);
3966                state += 0.01;
3967                if( state > 0.12 )
3968                   state = 0.01;
3969                set_float(pulse_state, state);
3970             }
3971             after: "delay";
3972          }
3973          program { name: "delay";
3974             action: STATE_SET "pulse" 0.10;
3975             target: "background";
3976             in: PROGRESSING_DELAY 0.0;
3977             after: "continue_pulse";
3978          }
3979          program { name: "start_pulse";
3980             signal: "elm,state,pulse,start";
3981             source: "elm";
3982             script {
3983                set_float(pulse_state, 0.0);
3984             }
3985             after: "continue_pulse";
3986            }
3987          program { name: "stop_pulse";
3988             signal: "elm,state,pulse,stop";
3989             source: "elm";
3990             action: ACTION_STOP;
3991             target: "continue_pulse";
3992             target: "delay";
3993             target: "start_pulse";
3994             after: "init_pulse";
3995          }
3996          program { name: "init_pulse";
3997             action: STATE_SET "default" 0.0;
3998             target: "background";
3999          }
4000       }
4001    }
4002
4003    group { name: "elm/progressbar/horizontal/UIActivityIndicatorStyleGray";
4004       images {
4005          image: "progress_01_g.png" COMP;
4006          image: "progress_02_g.png" COMP;
4007          image: "progress_03_g.png" COMP;
4008          image: "progress_04_g.png" COMP;
4009          image: "progress_05_g.png" COMP;
4010          image: "progress_06_g.png" COMP;
4011          image: "progress_07_g.png" COMP;
4012          image: "progress_08_g.png" COMP;
4013          image: "progress_09_g.png" COMP;
4014          image: "progress_10_g.png" COMP;
4015          image: "progress_11_g.png" COMP;
4016          image: "progress_12_g.png" COMP;
4017       }
4018       parts {
4019          part { name: "elm.background.progressbar";
4020             mouse_events: 0;
4021             scale: 1;
4022             type: RECT;
4023             description {
4024                state: "default" 0.0;
4025             }
4026          }
4027          part { name: "elm.swallow.bar";
4028             mouse_events: 0;
4029             scale: 1;
4030             type: SWALLOW;
4031             description { state: "default" 0.0;
4032                min: 0 0;
4033                max: 0 0;
4034                visible: 0;
4035             }
4036          }
4037          part { name: "elm.swallow.content";
4038             type: SWALLOW;
4039             scale: 1;
4040             description { state: "default" 0.0;
4041                min: 0 0;
4042                max: 0 0;
4043                visible: 0;
4044             }
4045          }
4046          part { name: "background";
4047             mouse_events: 0;
4048             scale: 1;
4049             clip_to: "elm.background.progressbar";
4050             description {
4051                state: "default" 0.0;
4052                min: 30 30;
4053                max: 30 30;
4054                visible: 1;
4055                aspect: 1.0 1.0;
4056                aspect_preference: BOTH;
4057                image {
4058                   normal: "progress_01_g.png";
4059                }
4060             }
4061             description {
4062                state: "pulse" 0.0;
4063                inherit: "default" 0.0;
4064                image {
4065                   normal: "progress_01_g.png";
4066                }
4067             }
4068             description {
4069                state: "pulse" 0.01;
4070                inherit: "default" 0.0;
4071                image {
4072                   normal: "progress_01_g.png";
4073                }
4074             }
4075             description {
4076                state: "pulse" 0.02;
4077                inherit: "default" 0.0;
4078                image {
4079                   normal: "progress_02_g.png";
4080                }
4081             }
4082             description {
4083                state: "pulse" 0.03;
4084                inherit: "default" 0.0;
4085                image {
4086                   normal: "progress_03_g.png";
4087                }
4088             }
4089             description {
4090                state: "pulse" 0.04;
4091                inherit: "default" 0.0;
4092                image {
4093                   normal: "progress_04_g.png";
4094                }
4095             }
4096             description {
4097                state: "pulse" 0.05;
4098                inherit: "default" 0.0;
4099                image {
4100                   normal: "progress_05_g.png";
4101                }
4102             }
4103             description {
4104                state: "pulse" 0.06;
4105                inherit: "default" 0.0;
4106                image {
4107                   normal: "progress_06_g.png";
4108                }
4109             }
4110             description {
4111                state: "pulse" 0.07;
4112                inherit: "default" 0.0;
4113                image {
4114                   normal: "progress_07_g.png";
4115                }
4116             }
4117             description {
4118                state: "pulse" 0.08;
4119                inherit: "default" 0.0;
4120                image {
4121                   normal: "progress_08_g.png";
4122                }
4123             }
4124             description {
4125                state: "pulse" 0.09;
4126                inherit: "default" 0.0;
4127                image {
4128                   normal: "progress_09_g.png";
4129                }
4130             }
4131             description {
4132                state: "pulse" 0.10;
4133                inherit: "default" 0.0;
4134                image {
4135                    normal: "progress_10_g.png";
4136                }
4137             }
4138             description {
4139                state: "pulse" 0.11;
4140                inherit: "default" 0.0;
4141                image {
4142                   normal: "progress_11_g.png";
4143                }
4144             }
4145             description {
4146                state: "pulse" 0.12;
4147                inherit: "default" 0.0;
4148                image {
4149                   normal: "progress_12_g.png";
4150                }
4151             }
4152          }
4153       }
4154       script {
4155          public pulse_state;
4156       }
4157       programs {
4158          program { name: "continue_pulse";
4159             script {
4160                new Float:state;
4161                state = get_float(pulse_state);
4162                set_state(PART:"background", "pulse", state);
4163                state += 0.01;
4164                if( state > 0.12 )
4165                   state = 0.01;
4166                set_float(pulse_state, state);
4167             }
4168             after: "delay";
4169          }
4170          program { name: "delay";
4171             action: STATE_SET "pulse" 0.10;
4172             target: "background";
4173             in: PROGRESSING_DELAY 0.0;
4174             after: "continue_pulse";
4175          }
4176          program { name: "start_pulse";
4177             signal: "elm,state,pulse,start";
4178             source: "elm";
4179             script {
4180                set_float(pulse_state, 0.0);
4181             }
4182             after: "continue_pulse";
4183          }
4184          program { name: "stop_pulse";
4185             signal: "elm,state,pulse,stop";
4186             source: "elm";
4187             action: ACTION_STOP;
4188             target: "continue_pulse";
4189             target: "delay";
4190             target: "start_pulse";
4191             after: "init_pulse";
4192          }
4193          program { name: "init_pulse";
4194             action: STATE_SET "default" 0.0;
4195             target: "background";
4196          }
4197       }
4198    }
4199
4200 #define CIRCLE_PROGRESSING_DELAY       0.03
4201 #define PROGRESS_CIRCLE_TOTAL_STATES   50
4202
4203 #define PROGRESS_CIRCLE_BG_DESC( param_num ) \
4204    description { state: "progress" 0.#param_num; \
4205       inherit: "default" 0.0; \
4206       image { \
4207          normal: "00_progress_circle_bg_"#param_num".png"; \
4208       } \
4209    }
4210
4211    group { name: "elm/progressbar/horizontal/progress_circle";
4212       images {
4213          image: "00_progress_circle_bg.png" COMP;
4214          image: "00_progress_circle_bg_01.png" COMP;
4215          image: "00_progress_circle_bg_02.png" COMP;
4216          image: "00_progress_circle_bg_03.png" COMP;
4217          image: "00_progress_circle_bg_04.png" COMP;
4218          image: "00_progress_circle_bg_05.png" COMP;
4219          image: "00_progress_circle_bg_06.png" COMP;
4220          image: "00_progress_circle_bg_07.png" COMP;
4221          image: "00_progress_circle_bg_08.png" COMP;
4222          image: "00_progress_circle_bg_09.png" COMP;
4223          image: "00_progress_circle_bg_10.png" COMP;
4224          image: "00_progress_circle_bg_11.png" COMP;
4225          image: "00_progress_circle_bg_12.png" COMP;
4226          image: "00_progress_circle_bg_13.png" COMP;
4227          image: "00_progress_circle_bg_14.png" COMP;
4228          image: "00_progress_circle_bg_15.png" COMP;
4229          image: "00_progress_circle_bg_16.png" COMP;
4230          image: "00_progress_circle_bg_17.png" COMP;
4231          image: "00_progress_circle_bg_18.png" COMP;
4232          image: "00_progress_circle_bg_19.png" COMP;
4233          image: "00_progress_circle_bg_20.png" COMP;
4234          image: "00_progress_circle_bg_21.png" COMP;
4235          image: "00_progress_circle_bg_22.png" COMP;
4236          image: "00_progress_circle_bg_23.png" COMP;
4237          image: "00_progress_circle_bg_24.png" COMP;
4238          image: "00_progress_circle_bg_25.png" COMP;
4239          image: "00_progress_circle_bg_26.png" COMP;
4240          image: "00_progress_circle_bg_27.png" COMP;
4241          image: "00_progress_circle_bg_28.png" COMP;
4242          image: "00_progress_circle_bg_29.png" COMP;
4243          image: "00_progress_circle_bg_30.png" COMP;
4244          image: "00_progress_circle_bg_31.png" COMP;
4245          image: "00_progress_circle_bg_32.png" COMP;
4246          image: "00_progress_circle_bg_33.png" COMP;
4247          image: "00_progress_circle_bg_34.png" COMP;
4248          image: "00_progress_circle_bg_35.png" COMP;
4249          image: "00_progress_circle_bg_36.png" COMP;
4250          image: "00_progress_circle_bg_37.png" COMP;
4251          image: "00_progress_circle_bg_38.png" COMP;
4252          image: "00_progress_circle_bg_39.png" COMP;
4253          image: "00_progress_circle_bg_40.png" COMP;
4254          image: "00_progress_circle_bg_41.png" COMP;
4255          image: "00_progress_circle_bg_42.png" COMP;
4256          image: "00_progress_circle_bg_43.png" COMP;
4257          image: "00_progress_circle_bg_44.png" COMP;
4258          image: "00_progress_circle_bg_45.png" COMP;
4259          image: "00_progress_circle_bg_46.png" COMP;
4260          image: "00_progress_circle_bg_47.png" COMP;
4261          image: "00_progress_circle_bg_48.png" COMP;
4262          image: "00_progress_circle_bg_49.png" COMP;
4263          image: "00_progress_circle_bg_50.png" COMP;
4264       }
4265       parts {
4266          part { name: "elm.background.progressbar";
4267             mouse_events: 0;
4268             scale: 1;
4269             type: RECT;
4270             description {
4271                state: "default" 0.0;
4272             }
4273          }
4274          part { name: "elm.swallow.bar";
4275             mouse_events: 0;
4276             scale: 1;
4277             type: SWALLOW;
4278             description { state: "default" 0.0;
4279                min: 0 0;
4280                max: 0 0;
4281                visible: 0;
4282             }
4283          }
4284          part { name: "elm.swallow.content";
4285             type: SWALLOW;
4286             scale: 1;
4287             description { state: "default" 0.0;
4288                min: 0 0;
4289                max: 0 0;
4290                visible: 0;
4291             }
4292          }
4293          part { name: "elm.cur.progressbar";
4294             mouse_events: 0;
4295             scale: 1;
4296             dragable {
4297                confine: "background";
4298                x: 1 1 1;
4299                y: 0 0 0;
4300             }
4301             description { state: "default" 0.0;
4302                min: 1 1;
4303                fixed: 1 1;
4304                visible: 0;
4305                rel1.to: "background";
4306                rel2.to: "background";
4307            }
4308          }
4309          part { name: "background";
4310             mouse_events: 0;
4311             scale: 1;
4312             clip_to: "elm.background.progressbar";
4313             description {
4314                state: "default" 0.0;
4315                min: PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC;
4316                max: PROGRESSBAR_PROGRESS_CIRCLE_BG_SIZE_INC;
4317                aspect: 1.0 1.0;
4318                aspect_preference: BOTH;
4319                image {
4320                   normal: "00_progress_circle_bg.png";
4321                }
4322             }
4323          }
4324          part { name: "progress_circle_img";
4325             mouse_events: 0;
4326             scale: 1;
4327             clip_to: "elm.background.progressbar";
4328             description {
4329                state: "default" 0.0;
4330                rel1 {
4331                   to: "background";
4332                }
4333                rel2 {
4334                   to: "background";
4335                }
4336                aspect: 1.0 1.0;
4337                aspect_preference: BOTH;
4338                image {
4339                   normal: "00_progress_circle_bg.png";
4340                }
4341             }
4342             description { state: "progress" 0.0;
4343                inherit: "default" 0.0;
4344                image {
4345                   normal: "00_progress_circle_bg.png";
4346                }
4347             }
4348             PROGRESS_CIRCLE_BG_DESC( 01 )
4349             PROGRESS_CIRCLE_BG_DESC( 02 )
4350             PROGRESS_CIRCLE_BG_DESC( 03 )
4351             PROGRESS_CIRCLE_BG_DESC( 04 )
4352             PROGRESS_CIRCLE_BG_DESC( 05 )
4353             PROGRESS_CIRCLE_BG_DESC( 06 )
4354             PROGRESS_CIRCLE_BG_DESC( 07 )
4355             PROGRESS_CIRCLE_BG_DESC( 08 )
4356             PROGRESS_CIRCLE_BG_DESC( 09 )
4357             PROGRESS_CIRCLE_BG_DESC( 10 )
4358             PROGRESS_CIRCLE_BG_DESC( 11 )
4359             PROGRESS_CIRCLE_BG_DESC( 12 )
4360             PROGRESS_CIRCLE_BG_DESC( 13 )
4361             PROGRESS_CIRCLE_BG_DESC( 14 )
4362             PROGRESS_CIRCLE_BG_DESC( 15 )
4363             PROGRESS_CIRCLE_BG_DESC( 16 )
4364             PROGRESS_CIRCLE_BG_DESC( 17 )
4365             PROGRESS_CIRCLE_BG_DESC( 18 )
4366             PROGRESS_CIRCLE_BG_DESC( 19 )
4367             PROGRESS_CIRCLE_BG_DESC( 20 )
4368             PROGRESS_CIRCLE_BG_DESC( 21 )
4369             PROGRESS_CIRCLE_BG_DESC( 22 )
4370             PROGRESS_CIRCLE_BG_DESC( 23 )
4371             PROGRESS_CIRCLE_BG_DESC( 24 )
4372             PROGRESS_CIRCLE_BG_DESC( 25 )
4373             PROGRESS_CIRCLE_BG_DESC( 26 )
4374             PROGRESS_CIRCLE_BG_DESC( 27 )
4375             PROGRESS_CIRCLE_BG_DESC( 28 )
4376             PROGRESS_CIRCLE_BG_DESC( 29 )
4377             PROGRESS_CIRCLE_BG_DESC( 30 )
4378             PROGRESS_CIRCLE_BG_DESC( 31 )
4379             PROGRESS_CIRCLE_BG_DESC( 32 )
4380             PROGRESS_CIRCLE_BG_DESC( 33 )
4381             PROGRESS_CIRCLE_BG_DESC( 34 )
4382             PROGRESS_CIRCLE_BG_DESC( 35 )
4383             PROGRESS_CIRCLE_BG_DESC( 36 )
4384             PROGRESS_CIRCLE_BG_DESC( 37 )
4385             PROGRESS_CIRCLE_BG_DESC( 38 )
4386             PROGRESS_CIRCLE_BG_DESC( 39 )
4387             PROGRESS_CIRCLE_BG_DESC( 40 )
4388             PROGRESS_CIRCLE_BG_DESC( 41 )
4389             PROGRESS_CIRCLE_BG_DESC( 42 )
4390             PROGRESS_CIRCLE_BG_DESC( 43 )
4391             PROGRESS_CIRCLE_BG_DESC( 44 )
4392             PROGRESS_CIRCLE_BG_DESC( 45 )
4393             PROGRESS_CIRCLE_BG_DESC( 46 )
4394             PROGRESS_CIRCLE_BG_DESC( 47 )
4395             PROGRESS_CIRCLE_BG_DESC( 48 )
4396             PROGRESS_CIRCLE_BG_DESC( 49 )
4397             PROGRESS_CIRCLE_BG_DESC( 50 )
4398          }
4399       }
4400       programs {
4401          script {
4402             public curr_state = 0;
4403             public final_state = 0;
4404             public prev_state = 0;
4405             public max_state = 0;    // maximum possible state, a normalized value
4406             public circle_zero_cross = 0;   // whether circle crosses its Zero state or not.
4407
4408             public progress_circle_state_change(){
4409             new Float:x, Float:y, Float:final, Float:max;
4410             max = PROGRESS_CIRCLE_TOTAL_STATES / 100.0;
4411             set_float(max_state, max);
4412             get_drag(PART:"elm.cur.progressbar", x, y);
4413             final = x * max;   // calculate final state as per the set drag value
4414             set_float(final_state, final);
4415             if( final < get_float(prev_state) )
4416                set_int(circle_zero_cross, 1);  // high value to low value, crosses zero state.
4417             else
4418                set_int(circle_zero_cross, 0);  // low value to high value, no need for zero state crossing.
4419             }
4420          }
4421          program { name: "circle_progress";
4422             script {
4423                new Float:curr, Float:final, Float:max;
4424                new zero_cross;
4425                zero_cross = get_int(circle_zero_cross);
4426                max = get_float(max_state);
4427                curr = get_float(curr_state);
4428                set_state(PART:"progress_circle_img", "progress", curr);
4429                curr += 0.01;   // for next immediate state.
4430                if( (curr > max) && (zero_cross == 1) )
4431                {
4432                   curr = 0.00;   // once it crosses Zero state, reset its state.
4433                   set_int(circle_zero_cross, 0);
4434                }
4435                else if( curr > max ) return;
4436
4437                final = get_float(final_state);
4438                zero_cross = get_int(circle_zero_cross);
4439                if( (curr > final) && (zero_cross == 0) )
4440                {
4441                   set_float(prev_state, get_float(curr_state));
4442                   return;
4443                }
4444                set_float(curr_state, curr);
4445             }
4446             after: "delay";
4447          }
4448          program { name: "delay";
4449             action: STATE_SET "progress" 0.10;
4450             target: "progress_circle_img";
4451             in: CIRCLE_PROGRESSING_DELAY 0.0;
4452             after: "circle_progress";
4453          }
4454          program { name: "circle_start";
4455             signal: "elm,state,pulse,start";
4456             source: "elm";
4457             script {
4458                set_float(curr_state, 0.0);
4459             }
4460             after: "circle_progress";
4461          }
4462          program { name: "circle_stop";
4463             signal: "elm,state,pulse,stop";
4464             source: "elm";
4465             action: ACTION_STOP;
4466             target: "circle_progress";
4467             target: "delay";
4468             target: "circle_start";
4469          }
4470          program { name: "circle_state_change";
4471             signal: "elm,state,change";
4472             source: "elm";
4473             script {
4474                progress_circle_state_change()
4475             }
4476             after: "circle_progress";
4477          }
4478       }
4479    }