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