[Genlist] Change button and group image by GUI 1.0
[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
22    group { name: "elm/progressbar/horizontal/default";
23       alias: "elm/progressbar/horizontal/list_progress";
24       images {
25          image: "00_progress_bg.png" COMP;
26          image: "00_progress_bar.png" COMP;
27       }
28       parts {
29          part { name: "access";
30             type: RECT;
31             description { state: "default" 0.0;
32                fixed: 1 1;
33                color: 0 0 0 0;
34             }
35          }
36          part { name: "elm.padding.left";
37             type: RECT;
38             scale: 1;
39             description {
40                state: "default" 0.0;
41                min: 0 0;
42                fixed: 1 0;
43                rel1 {
44                   relative: 0.0  0.0;
45                   offset: 0 0;
46                }
47                rel2 {
48                   relative: 0.0  1.0;
49                   offset: 0 0;
50                }
51                visible: 0;
52                align: 0.0 0.0;
53             }
54          }
55          part { name: "elm.padding.right";
56             type: RECT;
57             scale: 1;
58             description {
59                state: "default" 0.0;
60                min: 0 0;
61                fixed: 1 0;
62                rel1 {
63                   relative: 1.0  0.0;
64                   offset: 0 0;
65                }
66                rel2 {
67                   relative: 1.0  1.0;
68                   offset:   0   0;
69                }
70                visible: 0;
71                align: 1.0 0.0;
72             }
73          }
74          part { name: "elm.background.progressbar";
75             type: RECT;
76             mouse_events: 0;
77             scale: 1;
78             description {
79                state: "default" 0.0;
80                rel1 {
81                   to_x: "elm.padding.left";
82                   relative: 1.0 0.0;
83                   offset: 0 0;
84                }
85                rel2 {
86                   to_x: "elm.padding.right";
87                   relative: 0.0 1.0;
88                   offset: 0 0;
89                }
90             }
91          }
92          part { name: "elm.swallow.bar";
93             mouse_events: 0;
94             scale: 1;
95             type: SWALLOW;
96             description {
97                min: 1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
98                max: 99999 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
99                state: "default" 0.0;
100                rel1 {
101                   to: "elm.background.progressbar";
102                   relative: 0.0 0.0;
103                }
104                rel2 {
105                   to: "elm.background.progressbar";
106                   relative: 1.0 1.0;
107                }
108             }
109          }
110          part { name: "elm.swallow.content";
111             type: SWALLOW;
112             scale: 1;
113             description { state: "default" 0.0;
114                visible: 0;
115                align: 0.0 0.5;
116                rel1 {
117                   offset: 0 0;
118                   to_y: "elm.background.progressbar";
119                }
120                rel2 {
121                   offset: 0 -1;
122                   relative: 0.0 1.0;
123                   to_y: "elm.background.progressbar";
124                }
125             }
126             description { state: "visible" 0.0;
127                inherit: "default" 0.0;
128                visible: 1;
129                aspect: 1.0 1.0;
130                aspect_preference: VERTICAL;
131                rel2.offset: 4 -1;
132             }
133          }
134          part { name: "elm.text";
135             type: TEXT;
136             mouse_events: 0;
137             scale: 1;
138             description { state: "default" 0.0;
139                visible: 0;
140                fixed: 1 1;
141                align: 0.0 0.5;
142                rel1.to_x: "elm.swallow.content";
143                rel1.relative: 1.0 0.0;
144                rel2.to_x: "elm.swallow.content";
145                rel2.relative: 1.0 1.0;
146                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
147                text {
148                   font: "Tizen:style=Medium";
149                   size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
150                   min: 0 0;
151                   align: 0.0 0.5;
152                   text_class: "tizen";
153                }
154             }
155             description { state: "visible" 0.0;
156                inherit: "default" 0.0;
157                visible: 0;
158                text.min: 1 1;
159             }
160          }
161          part { name: "background";
162             mouse_events: 0;
163             scale: 1;
164             clip_to: "elm.background.progressbar";
165             description {
166                state: "default" 0.0;
167                rel1 {
168                   to: "elm.swallow.bar";
169                   relative: 0.0 0.0;
170                }
171                rel2 {
172                   to: "elm.swallow.bar";
173                   relative: 1.0 1.0;
174                }
175                image {
176                   normal: "00_progress_bg.png";
177                   border: PROGRESS_BG_IMAGE_BORDER_INC;
178                   border_scale: 1;
179                }
180             }
181          }
182          part { name: "elm.text.status";
183             type: TEXT;
184             mouse_events: 0;
185             scale: 1;
186             description { state: "default" 0.0;
187                fixed: 1 1;
188                visible: 0;
189                rel1 {
190                   to: "background";
191                   relative: 0.5 0.5;
192                }
193                rel2 {
194                   to: "background";
195                   relative: 0.5 0.5;
196                }
197                text {
198                   font: "Tizen:style=Medium";
199                   size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
200                   min: 0 0;
201                   align: 0.5 0.0;
202                   text_class: "tizen";
203                }
204                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
205             }
206             description { state: "show" 0.0;
207                inherit: "default" 0.0;
208                visible: 0;
209                text.min: 1 1;
210             }
211          }
212          part {
213             name: "bar.image.left.padding";
214             type: RECT;
215             scale: 1;
216             description {
217                state: "default" 0.0;
218                visible: 0;
219                min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
220                max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
221                fixed: 1 0;
222                rel1.to: "elm.swallow.bar";
223                rel2 {
224                   relative: 0.0  1.0;
225                   to: "elm.swallow.bar";
226                }
227                align: 0.0 0.5;
228             }
229          }
230          part {
231             name: "bar.image.right.padding";
232             type: RECT;
233             scale: 1;
234             description {
235                state: "default" 0.0;
236                visible: 0;
237                min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
238                max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
239                fixed: 1 0;
240                rel1 {
241                   relative: 1.0  0.0;
242                   to: "elm.swallow.bar";
243                }
244                rel2.to: "elm.swallow.bar";
245                align: 1.0 0.5;
246             }
247          }
248          part { name: "drag.background";
249             mouse_events: 0;
250             type: RECT;
251             scale: 1;
252             clip_to: "elm.background.progressbar";
253             description {
254                state: "default" 0.0;
255                visible: 0;
256                rel1 {
257                   to_x: "bar.image.left.padding";
258                   to_y: "elm.swallow.bar";
259                   relative: 1.0 0.0;
260                }
261                rel2 {
262                   to_x: "bar.image.right.padding";
263                   to_y: "elm.swallow.bar";
264                   relative: 0.0 1.0;
265                }
266             }
267          }
268          part { name: "elm.progress.progressbar";
269             mouse_events: 0;
270             scale: 1;
271             clip_to: "elm.background.progressbar";
272             description {
273                state: "default" 0.0;
274                min: 0 0;
275                fixed: 1 1;
276                rel1 {
277                   to_x: "bar.image.left.padding";
278                   to_y: "elm.swallow.bar";
279                   relative: 1.0 0.0;
280                }
281                rel2 {
282                   to_y: "elm.swallow.bar";
283                   to_x: "elm.cur.progressbar";
284                   offset: -1 -1;
285                }
286                image {
287                   normal: "00_progress_bar.png";
288                   border: PROGRESS_BAR_IMAGE_BORDER_INC;
289                   border_scale: 1;
290                }
291             }
292             description {
293                state: "invert" 0.0;
294                inherit: "default" 0.0;
295                rel1 {
296                   to_y: "elm.swallow.bar";
297                   to_x: "elm.cur.progressbar";
298                }
299                rel2 {
300                   to_y: "elm.swallow.bar";
301                   to_x: "bar.image.right.padding";
302                   relative: 1.0 0.0;
303                }
304             }
305             description {
306                state: "state_begin" 0.0;
307                inherit: "default" 0.0;
308                rel1 {
309                   to: "elm.swallow.bar";
310                   relative: 0.0 0.0;
311                }
312                rel2 {
313                   to: "elm.swallow.bar";
314                   relative: 0.1 1.0;
315                }
316             }
317             description {
318                state: "state_end" 0.0;
319                inherit: "default" 0.0;
320                rel1 {
321                   to: "elm.swallow.bar";
322                   relative: 0.9 0.0;
323                }
324                rel2 {
325                   to: "elm.swallow.bar";
326                   relative: 1.0 1.0;
327                }
328             }
329          }
330          part { name: "text-bar";
331             type: TEXT;
332             mouse_events: 0;
333             scale: 1;
334             clip_to: "progress-rect";
335             //effect: SOFT_SHADOW;
336             scale: 0;
337             description { state: "default" 0.0;
338                align: 0.0 0.0;
339                fixed: 1 1;
340                visible: 0;
341                rel1.to: "elm.text.status";
342                rel1.offset: -1 -1;
343                rel2.to: "elm.text.status";
344                text {
345                   text_source: "elm.text.status";
346                   font: "Tizen:style=Medium";
347                   size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
348                   min: 0 0;
349                   align: 0.0 0.0;
350                   text_class: "tizen";
351                }
352                color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
353             }
354             description { state: "show" 0.0;
355                inherit: "default" 0.0;
356                visible: 0;
357                text.min: 1 1;
358             }
359          }
360          part { name: "elm.cur.progressbar";
361             mouse_events: 0;
362             scale: 1;
363             dragable {
364                confine: "drag.background";
365                x: 1 1 1;
366                y: 0 0 0;
367             }
368             description { state: "default" 0.0;
369                min: 0 28;
370                fixed: 1 1;
371                visible: 0;
372                rel1.to: "drag.background";
373                rel2.to: "drag.background";
374            }
375          }
376          part { name: "progress-rect";
377             type: RECT;
378             mouse_events: 0;
379             scale: 1;
380             description {
381                state: "default" 0.0;
382                rel1.to: "elm.progress.progressbar";
383                rel2.to: "elm.progress.progressbar";
384             }
385          }
386       }
387       programs {
388          program { name: "label_show";
389             signal: "elm,state,text,visible";
390             source: "elm";
391             action:  STATE_SET "visible" 0.0;
392             target: "elm.text";
393          }
394          program { name: "label_hide";
395             signal: "elm,state,text,hidden";
396             source: "elm";
397             action:  STATE_SET "default" 0.0;
398             target: "elm.text";
399          }
400          program { name: "icon_show";
401             signal: "elm,state,icon,visible";
402             source: "elm";
403             action:  STATE_SET "visible" 0.0;
404             target: "elm.swallow.content";
405          }
406          program { name: "icon_hide";
407             signal: "elm,state,icon,hidden";
408             source: "elm";
409             action:  STATE_SET "default" 0.0;
410             target: "elm.swallow.content";
411          }
412          program { name: "units_show";
413             signal: "elm,state,units,visible";
414             source: "elm";
415             action:  STATE_SET "show" 0.0;
416             target: "text-bar";
417             target: "elm.text.status";
418          }
419          program { name: "units_hide";
420             signal: "elm,state,units,hidden";
421             source: "elm";
422             action:  STATE_SET "default" 0.0;
423             target: "text-bar";
424             target: "elm.text.status";
425          }
426          program { name: "slide_to_end";
427             action:  STATE_SET "state_end" 0.0;
428             transition: LINEAR 0.5;
429             target: "elm.progress.progressbar";
430             after: "slide_to_begin";
431          }
432          program { name: "slide_to_begin";
433             signal: "elm,state,slide,begin";
434             action: STATE_SET "state_begin" 0.0;
435             target: "elm.progress.progressbar";
436             transition: LINEAR 0.5;
437             after: "slide_to_end";
438          }
439          program { name: "start_pulse";
440             signal: "elm,state,pulse,start";
441             source: "elm";
442            // after: "slide_to_end";
443          }
444          program { name: "stop_pulse";
445             signal: "elm,state,pulse,stop";
446             source: "elm";
447             action: ACTION_STOP;
448             target: "slide_to_begin";
449             target: "slide_to_end";
450             target: "start_pulse";
451             //after: "state_pulse";
452          }
453          program { name: "state_pulse";
454             signal: "elm,state,pulse";
455             source: "elm";
456             action: STATE_SET "state_begin" 0.0;
457             target: "elm.progress.progressbar";
458             after: "units_hide";
459          }
460          program { name: "state_fraction";
461             signal: "elm,state,fraction";
462             source: "elm";
463             action: ACTION_STOP;
464             target: "slide_to_begin";
465             target: "slide_to_end";
466             target: "start_pulse";
467             action: STATE_SET "default" 0.0;
468             target: "elm.progress.progressbar";
469          }
470          program { name: "set_invert_on";
471             signal: "elm,state,inverted,on";
472             source: "elm";
473             action:  STATE_SET "invert" 0.0;
474             target: "elm.progress.progressbar";
475          }
476          program { name: "set_invert_off";
477             signal: "elm,state,inverted,off";
478             source: "elm";
479             action:  STATE_SET "default" 0.0;
480             target: "elm.progress.progressbar";
481          }
482       }
483    }
484
485    group { name: "elm/progressbar/horizontal/list_title_progress";
486       images {
487          image: "00_progress_bg.png" COMP;
488          image: "00_progress_bar.png" COMP;
489       }
490       parts {
491          part { name: "access";
492             type: RECT;
493             description { state: "default" 0.0;
494                fixed: 1 1;
495                color: 0 0 0 0;
496             }
497          }
498          part { name: "base";
499             type: RECT;
500             scale: 1;
501             description {
502                state: "default" 0.0;
503                visible: 0;
504                rel1 { relative: 0.0  0.0; }
505                rel2 { relative: 1.0  1.0; }
506                color: 0 0 0 0;
507             }
508          }
509          part { name: "elm.padding.left";
510             type: RECT;
511             scale: 1;
512             description {
513                state: "default" 0.0;
514                min: 0 82;
515                visible: 0;
516                fixed: 1 0;
517                rel1 { relative: 0.0  0.0; to: "base"; }
518                rel2 { relative: 0.0  1.0; to: "base"; }
519                color: 0 0 0 0;
520                align: 0.0 0.0;
521             }
522          }
523          part { name: "elm.padding.right";
524             type: RECT;
525             scale: 1;
526             description {
527                state: "default" 0.0;
528                min: 0 82;
529                visible: 0;
530                fixed: 1 0;
531                rel1 { relative: 1.0  0.0; to: "base"; }
532                rel2 { relative: 1.0  1.0; to: "base"; }
533                color: 0 0 0 0;
534                align: 1.0 0.0;
535             }
536          }
537          part {
538             name: "elm.padding.top";
539             type: RECT;
540             scale: 1;
541             mouse_events: 0;
542             description { state: "default" 0.0;
543                align: 0.0 0.0;
544                min: 100 1;
545                visible: 0;
546                fixed: 0 1;
547                rel1 { relative: 0.0  0.0; to: "base"; }
548                rel2 { relative: 1.0  0.0; to: "base"; }
549                color: 0 0 0 0;
550             }
551          }
552          part {
553             name: "elm.padding.bottom";
554             type: RECT;
555             scale: 1;
556             mouse_events: 0;
557             description { state: "default" 0.0;
558                align: 1.0 1.0;
559                min: 100 1;
560                visible: 0;
561                fixed: 0 1;
562                rel1 { relative: 0.0  1.0; to: "base"; }
563                rel2 { relative: 1.0  1.0; to: "base"; }
564                color: 0 0 0 0;
565             }
566          }
567          part {
568             name: "label_rect";
569             type: RECT;
570             scale: 1;
571             mouse_events: 0;
572             description { state: "default" 0.0;
573                visible: 1;
574                min: 460 56;
575                fixed: 0 1;
576                rel1 { relative: 1.0 1.0; to_x: "elm.padding.left"; to_y: "elm.padding.top"; }
577                rel2 { relative: 0.0 0.0; to_x: "elm.padding.right"; }
578                align: 0.0 0.0;
579                color: 0 0 0 0;
580             }
581          }
582          part { name: "elm.background.progressbar";
583             type: RECT;
584             mouse_events: 0;
585             scale: 1;
586             description {
587                state: "default" 0.0;
588                rel1 {
589                   to_x: "elm.padding.left";
590                   to_y: "label_rect";
591                   relative: 1.0 1.0;
592                   offset: 0 0;
593                }
594                rel2 {
595                   to_x: "elm.padding.right";
596                   relative: 0.0 1.0;
597                   offset: 0 0;
598                }
599             }
600          }
601          part { name: "elm.swallow.bar";
602             mouse_events: 0;
603             scale: 1;
604             type: SWALLOW;
605             description {
606                min: 1 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
607                max: 99999 PROGRESSBAR_LIST_PROGRESS_HEIGHT_INC;
608                state: "default" 0.0;
609                rel1 {
610                   to: "elm.background.progressbar";
611                   relative: 0.0 0.0;
612                }
613                rel2 {
614                   to: "elm.background.progressbar";
615                   relative: 1.0 1.0;
616                }
617             }
618          }
619          part { name: "elm.swallow.content";
620             type: SWALLOW;
621             scale: 1;
622             description { state: "default" 0.0;
623                visible: 0;
624                align: 0.0 0.5;
625                rel1 {
626                   offset: 0 0;
627                   to_y: "elm.background.progressbar";
628                }
629                rel2 {
630                   offset: 0 -1;
631                   relative: 0.0 1.0;
632                   to_y: "elm.background.progressbar";
633                }
634             }
635             description { state: "visible" 0.0;
636                inherit: "default" 0.0;
637                visible: 1;
638                aspect: 1.0 1.0;
639                aspect_preference: VERTICAL;
640                rel2.offset: 4 -1;
641             }
642          }
643          part { name: "elm.text";
644             type: TEXT;
645             mouse_events: 0;
646             scale: 1;
647             description { state: "default" 0.0;
648                visible: 1;
649                fixed: 1 1;
650                align: 0.0 0.5;
651                rel1.to: "label_rect";
652                rel2.to: "label_rect";
653                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
654                text {
655                   font: "Tizen:style=Medium";
656                   size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
657                   min: 0 0;
658                   align: 0.0 0.5;
659                   text_class: "tizen";
660                }
661             }
662             description { state: "visible" 0.0;
663                inherit: "default" 0.0;
664                visible: 1;
665                text.min: 1 1;
666             }
667          }
668          part { name: "background";
669             mouse_events: 0;
670             scale: 1;
671             clip_to: "elm.background.progressbar";
672             description {
673                state: "default" 0.0;
674                rel1 {
675                   to: "elm.swallow.bar";
676                   relative: 0.0 0.0;
677                }
678                rel2 {
679                   to: "elm.swallow.bar";
680                   relative: 1.0 1.0;
681                }
682                image {
683                   normal: "00_progress_bg.png";
684                   border: PROGRESS_BG_IMAGE_BORDER_INC;
685                   border_scale: 1;
686                }
687             }
688          }
689          part { name: "elm.text.status";
690             type: TEXT;
691             mouse_events: 0;
692             scale: 1;
693             description { state: "default" 0.0;
694                fixed: 1 1;
695                visible: 0;
696                rel1 {
697                   to: "background";
698                   relative: 0.5 0.5;
699                }
700                rel2 {
701                   to: "background";
702                   relative: 0.5 0.5;
703                }
704                text {
705                   font: "Tizen:style=Medium";
706                   size: PROGRESSBAR_TITLE_FONT_SIZE_INC;
707                   min: 0 0;
708                   align: 0.5 0.0;
709                   text_class: "tizen";
710                }
711                color: PROGRESSBAR_LIST_PROGRESS_STYLE_TEXT_COLOR_INC;
712             }
713             description { state: "show" 0.0;
714                inherit: "default" 0.0;
715                visible: 0;
716                text.min: 1 1;
717             }
718          }
719          part {
720             name: "bar.image.left.padding";
721             type: RECT;
722             scale: 1;
723             description {
724                state: "default" 0.0;
725                visible: 0;
726                min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
727                max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
728                fixed: 1 0;
729                rel1.to: "elm.swallow.bar";
730                rel2 {
731                   relative: 0.0  1.0;
732                   to: "elm.swallow.bar";
733                }
734                align: 0.0 0.5;
735             }
736          }
737          part {
738             name: "bar.image.right.padding";
739             type: RECT;
740             scale: 1;
741             description {
742                state: "default" 0.0;
743                visible: 0;
744                min: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
745                max: PROGRESS_BAR_IMAGE_PADDING_SIZE_INC;
746                fixed: 1 0;
747                rel1 {
748                   relative: 1.0  0.0;
749                   to: "elm.swallow.bar";
750                }
751                rel2.to: "elm.swallow.bar";
752                align: 1.0 0.5;
753             }
754          }
755          part { name: "drag.background";
756             mouse_events: 0;
757             type: RECT;
758             scale: 1;
759             clip_to: "elm.background.progressbar";
760             description {
761                state: "default" 0.0;
762                visible: 0;
763                rel1 {
764                   to_x: "bar.image.left.padding";
765                   to_y: "elm.swallow.bar";
766                   relative: 1.0 0.0;
767                }
768                rel2 {
769                   to_x: "bar.image.right.padding";
770                   to_y: "elm.swallow.bar";
771                   relative: 0.0 1.0;
772                }
773             }
774          }
775          part { name: "elm.progress.progressbar";
776             mouse_events: 0;
777             scale: 1;
778             clip_to: "elm.background.progressbar";
779             description {
780                state: "default" 0.0;
781                min: 0 0;
782                fixed: 1 1;
783                rel1 {
784                   to_x: "bar.image.left.padding";
785                   to_y: "elm.swallow.bar";
786                   relative: 1.0 0.0;
787                }
788                rel2 {
789                   to_y: "elm.swallow.bar";
790                   to_x: "elm.cur.progressbar";
791                   offset: -1 -1;
792                }
793                image {
794                   normal: "00_progress_bar.png";
795                   border: PROGRESS_BAR_IMAGE_BORDER_INC;
796                   border_scale: 1;
797                }
798             }
799             description {
800                state: "invert" 0.0;
801                inherit: "default" 0.0;
802                rel1 {
803                   to_y: "elm.swallow.bar";
804                   to_x: "elm.cur.progressbar";
805                }
806                rel2 {
807                   to_y: "elm.swallow.bar";
808                   to_x: "bar.image.right.padding";
809                   relative: 1.0 0.0;
810                }
811             }
812             description {
813                state: "state_begin" 0.0;
814                inherit: "default" 0.0;
815                rel1 {
816                   to: "elm.swallow.bar";
817                   relative: 0.0 0.0;
818                }
819                rel2 {
820                   to: "elm.swallow.bar";
821                   relative: 0.1 1.0;
822                }
823             }
824             description {
825                state: "state_end" 0.0;
826                inherit: "default" 0.0;
827                rel1 {
828                   to: "elm.swallow.bar";
829                   relative: 0.9 0.0;
830                }
831                rel2 {
832                   to: "elm.swallow.bar";
833                   relative: 1.0 1.0;
834                }
835             }
836          }
837          part { name: "text-bar";
838             type: TEXT;
839             mouse_events: 0;
840             scale: 1;
841             clip_to: "progress-rect";
842             //effect: SOFT_SHADOW;
843             scale: 0;
844             description { state: "default" 0.0;
845                align: 0.0 0.0;
846                fixed: 1 1;
847                visible: 0;
848                rel1.to: "elm.text.status";
849                rel1.offset: -1 -1;
850                rel2.to: "elm.text.status";
851                text {
852                   text_source: "elm.text.status";
853                   font: "Tizen:style=Medium";
854                   size: PROGRESSBAR_STATUS_TEXT_FONT_SIZE_INC;
855                   min: 0 0;
856                   align: 0.0 0.0;
857                   text_class: "tizen";
858                }
859                color: PROGRESSBAR_LIST_PROGRESS_STYLE_STATUS_TEXT_COLOR_INC;
860             }
861             description { state: "show" 0.0;
862                inherit: "default" 0.0;
863                visible: 0;
864                text.min: 1 1;
865             }
866          }
867          part { name: "elm.cur.progressbar";
868             mouse_events: 0;
869             scale: 1;
870             dragable {
871                confine: "drag.background";
872                x: 1 1 1;
873                y: 0 0 0;
874             }
875             description { state: "default" 0.0;
876                min: 0 28;
877                fixed: 1 1;
878                visible: 0;
879                rel1.to: "drag.background";
880                rel2.to: "drag.background";
881             }
882          }
883          part { name: "progress-rect";
884             type: RECT;
885             mouse_events: 0;
886             scale: 1;
887             description {
888                state: "default" 0.0;
889                rel1.to: "elm.progress.progressbar";
890                rel2.to: "elm.progress.progressbar";
891             }
892          }
893       }
894       programs {
895          program { name: "label_show";
896             signal: "elm,state,text,visible";
897             source: "elm";
898             action:  STATE_SET "visible" 0.0;
899             target: "elm.text";
900          }
901          program { name: "label_hide";
902             signal: "elm,state,text,hidden";
903             source: "elm";
904             action:  STATE_SET "default" 0.0;
905             target: "elm.text";
906          }
907          program { name: "icon_show";
908             signal: "elm,state,icon,visible";
909             source: "elm";
910             action:  STATE_SET "visible" 0.0;
911             target: "elm.swallow.content";
912          }
913          program { name: "icon_hide";
914             signal: "elm,state,icon,hidden";
915             source: "elm";
916             action:  STATE_SET "default" 0.0;
917             target: "elm.swallow.content";
918          }
919          program { name: "units_show";
920             signal: "elm,state,units,visible";
921             source: "elm";
922             action:  STATE_SET "show" 0.0;
923             target: "text-bar";
924             target: "elm.text.status";
925          }
926          program { name: "units_hide";
927             signal: "elm,state,units,hidden";
928             source: "elm";
929             action:  STATE_SET "default" 0.0;
930             target: "text-bar";
931             target: "elm.text.status";
932          }
933          program { name: "slide_to_end";
934             action:  STATE_SET "state_end" 0.0;
935             transition: LINEAR 0.5;
936             target: "elm.progress.progressbar";
937             after: "slide_to_begin";
938          }
939          program { name: "slide_to_begin";
940             signal: "elm,state,slide,begin";
941             action: STATE_SET "state_begin" 0.0;
942             target: "elm.progress.progressbar";
943             transition: LINEAR 0.5;
944             after: "slide_to_end";
945          }
946          program { name: "start_pulse";
947             signal: "elm,state,pulse,start";
948             source: "elm";
949            // after: "slide_to_end";
950          }
951          program { name: "stop_pulse";
952             signal: "elm,state,pulse,stop";
953             source: "elm";
954             action: ACTION_STOP;
955             target: "slide_to_begin";
956             target: "slide_to_end";
957             target: "start_pulse";
958             //after: "state_pulse";
959          }
960          program { name: "state_pulse";
961             signal: "elm,state,pulse";
962             source: "elm";
963             action: STATE_SET "state_begin" 0.0;
964             target: "elm.progress.progressbar";
965             after: "units_hide";
966          }
967          program { name: "state_fraction";
968             signal: "elm,state,fraction";
969             source: "elm";
970             action: ACTION_STOP;
971             target: "slide_to_begin";
972             target: "slide_to_end";
973             target: "start_pulse";
974             action: STATE_SET "default" 0.0;
975             target: "elm.progress.progressbar";
976          }
977          program { name: "set_invert_on";
978             signal: "elm,state,inverted,on";
979             source: "elm";
980             action:  STATE_SET "invert" 0.0;
981             target: "elm.progress.progressbar";
982          }
983          program { name: "set_invert_off";
984             signal: "elm,state,inverted,off";
985             source: "elm";
986             action:  STATE_SET "default" 0.0;
987             target: "elm.progress.progressbar";
988          }
989       }
990    }
991
992    group { name: "elm/progressbar/horizontal/pending_list";
993       images {
994          image: "00_progress_bg.png" COMP;
995          image: "00_progress_pending_01_bg.png" COMP;
996          image: "00_progress_pending_02_bg.png" COMP;
997          image: "00_progress_pending_01_bg_h.png" COMP;
998          image: "00_progress_pending_02_bg_h.png" COMP;
999       }
1000       parts {
1001          part { name: "access";
1002             type: RECT;
1003             description { state: "default" 0.0;
1004                fixed: 1 1;
1005                color: 0 0 0 0;
1006             }
1007          }
1008          part { name: "elm.background.progressbar";
1009             type: RECT;
1010             mouse_events: 0;
1011             scale: 1;
1012             description {
1013                state: "default" 0.0;
1014                rel1 {
1015                   relative: 0.0 0.0;
1016                   offset: 0 0;
1017                }
1018                rel2 {
1019                   relative: 1.0 1.0;
1020                }
1021             }
1022          }
1023          part { name: "elm.swallow.bar";
1024             mouse_events: 0;
1025             scale: 1;
1026             type: SWALLOW;
1027             description {
1028                min: 1 PROGRESSBAR_LIST_PENDING_HEIGHT_INC;
1029                max: 99999 PROGRESSBAR_LIST_PENDING_HEIGHT_INC;
1030                state: "default" 0.0;
1031                rel1 {
1032                   to: "elm.background.progressbar";
1033                   relative: 0.0 0.0;
1034                }
1035                rel2 {
1036                   to: "elm.background.progressbar";
1037                   relative: 1.0 1.0;
1038                }
1039             }
1040          }
1041          part { name: "background";
1042             mouse_events: 0;
1043             scale: 1;
1044             clip_to: "elm.background.progressbar";
1045             description {
1046                state: "default" 0.0;
1047                rel1 {
1048                   to: "elm.swallow.bar";
1049                   relative: 0.0 0.0;
1050                }
1051                rel2 {
1052                   to: "elm.swallow.bar";
1053                   relative: 1.0 1.0;
1054                }
1055                image {
1056                   normal: "00_progress_bg.png";
1057                   border: PROGRESS_BG_IMAGE_BORDER_INC;
1058                   border_scale: 1;
1059                }
1060             }
1061          }
1062          part { name: "elm.progress.progressbar";
1063             mouse_events: 0;
1064             scale: 1;
1065             clip_to: "elm.background.progressbar";
1066             description {
1067                state: "default" 0.0;
1068                min: 0 0;
1069                fixed: 1 1;
1070                rel1 {
1071                   to: "background";
1072                   relative: 0.0 0.0;
1073                }
1074                rel2 {
1075                   to: "background";
1076                   relative: 1.0 1.0;
1077                   offset: -1 -1;
1078                }
1079                image {
1080                   normal: "00_progress_pending_01_bg.png";
1081                   border: 0 0 0 0;
1082                }
1083             }
1084             description {
1085                state: "state_begin" 0.0;
1086                inherit: "default" 0.0;
1087             }
1088             description {
1089                state: "state_begin_landscape" 0.0;
1090                inherit: "default" 0.0;
1091                image {
1092                   normal: "00_progress_pending_01_bg_h.png";
1093                   border: 0 0 0 0;
1094                }
1095             }
1096             description {
1097                state: "state_end" 0.0;
1098                inherit: "default" 0.0;
1099                image {
1100                   normal: "00_progress_pending_02_bg.png";
1101                   border: 0 0 0 0;
1102                }
1103             }
1104             description {
1105                state: "state_end_landscape" 0.0;
1106                inherit: "default" 0.0;
1107                image {
1108                   normal: "00_progress_pending_02_bg_h.png";
1109                   border: 0 0 0 0;
1110                }
1111             }
1112          }
1113       }
1114       script {
1115          public landscape = 0;
1116       }
1117       programs {
1118          program { name: "slide_to_end";
1119             in: 0.3 0.0;
1120             script {
1121                if (!get_int(landscape))
1122                  set_state(PART:"elm.progress.progressbar", "state_end", 0.0);
1123                else
1124                  set_state(PART:"elm.progress.progressbar", "state_end_landscape", 0.0);
1125             }
1126             after: "slide_to_begin";
1127          }
1128          program { name: "slide_to_begin";
1129             signal: "elm,state,slide,begin";
1130             in: 0.3 0.0;
1131             script {
1132                if (!get_int(landscape))
1133                  set_state(PART:"elm.progress.progressbar", "state_begin", 0.0);
1134                else
1135                  set_state(PART:"elm.progress.progressbar", "state_begin_landscape", 0.0);
1136             }
1137             after: "slide_to_end";
1138          }
1139          program { name: "start_pulse";
1140             signal: "elm,state,pulse,start";
1141             source: "elm";
1142             after: "slide_to_end";
1143          }
1144          program { name: "stop_pulse";
1145             signal: "elm,state,pulse,stop";
1146             source: "elm";
1147             action: ACTION_STOP;
1148             target: "slide_to_begin";
1149             target: "slide_to_end";
1150             target: "start_pulse";
1151             after: "init_pulse";
1152          }
1153          program { name: "init_pulse";
1154             action: STATE_SET "default" 0.0;
1155             target: "elm.progress.progressbar";
1156          }
1157          program { name: "landscape_mode";
1158             source: "elm";
1159             signal: "elm,state,orient,90";
1160             script {
1161                set_int(landscape, 1);
1162             }
1163          }
1164          program { name: "landscape_mode2";
1165             source: "elm";
1166             signal: "elm,state,orient,270";
1167             script {
1168                set_int(landscape, 1);
1169             }
1170          }
1171          program { name: "portrait_mode";
1172             source: "elm";
1173             signal: "elm,state,orient,0";
1174             script {
1175                set_int(landscape, 0);
1176             }
1177          }
1178          program { name: "portrait_mode2";
1179             source: "elm";
1180             signal: "elm,state,orient,180";
1181             script {
1182                set_int(landscape, 0);
1183             }
1184          }
1185       }
1186    }
1187
1188 #define PROCESS_IMAGE(COLOR, SIZE, NUM) \
1189    image: ""COLOR"/"SIZE"/00_list_process_"NUM".png" COMP;
1190
1191 #define PROCESS_IMAGES(COLOR, SIZE) \
1192    images { \
1193       PROCESS_IMAGE(COLOR, SIZE, 01) \
1194       PROCESS_IMAGE(COLOR, SIZE, 02) \
1195       PROCESS_IMAGE(COLOR, SIZE, 03) \
1196       PROCESS_IMAGE(COLOR, SIZE, 04) \
1197       PROCESS_IMAGE(COLOR, SIZE, 05) \
1198       PROCESS_IMAGE(COLOR, SIZE, 06) \
1199       PROCESS_IMAGE(COLOR, SIZE, 07) \
1200       PROCESS_IMAGE(COLOR, SIZE, 08) \
1201       PROCESS_IMAGE(COLOR, SIZE, 09) \
1202       PROCESS_IMAGE(COLOR, SIZE, 10) \
1203       PROCESS_IMAGE(COLOR, SIZE, 11) \
1204       PROCESS_IMAGE(COLOR, SIZE, 12) \
1205       PROCESS_IMAGE(COLOR, SIZE, 13) \
1206       PROCESS_IMAGE(COLOR, SIZE, 14) \
1207       PROCESS_IMAGE(COLOR, SIZE, 15) \
1208       PROCESS_IMAGE(COLOR, SIZE, 16) \
1209       PROCESS_IMAGE(COLOR, SIZE, 17) \
1210       PROCESS_IMAGE(COLOR, SIZE, 18) \
1211       PROCESS_IMAGE(COLOR, SIZE, 19) \
1212       PROCESS_IMAGE(COLOR, SIZE, 20) \
1213       PROCESS_IMAGE(COLOR, SIZE, 21) \
1214       PROCESS_IMAGE(COLOR, SIZE, 22) \
1215       PROCESS_IMAGE(COLOR, SIZE, 23) \
1216       PROCESS_IMAGE(COLOR, SIZE, 24) \
1217       PROCESS_IMAGE(COLOR, SIZE, 25) \
1218       PROCESS_IMAGE(COLOR, SIZE, 26) \
1219       PROCESS_IMAGE(COLOR, SIZE, 27) \
1220       PROCESS_IMAGE(COLOR, SIZE, 28) \
1221       PROCESS_IMAGE(COLOR, SIZE, 29) \
1222       PROCESS_IMAGE(COLOR, SIZE, 30) \
1223    }
1224
1225 #define PROGRESS_DESC(COLOR, SIZE, NUM ) \
1226    description { state: "pulse" 0.#NUM; \
1227       inherit: "default" 0.0; \
1228       image { \
1229          normal: ""COLOR"/"SIZE"/00_list_process_"NUM".png"; \
1230       } \
1231    }
1232
1233 #define PROCESS_DESCS(COLOR, SIZE, WIDTH, HEIGHT) \
1234       description { \
1235          state: "default" 0.0; \
1236          min: WIDTH HEIGHT; \
1237          max: WIDTH HEIGHT; \
1238          aspect: 1.0 1.0; \
1239          aspect_preference: BOTH; \
1240          image { \
1241             normal: ""COLOR"/"SIZE"/00_list_process_01.png"; \
1242          } \
1243       } \
1244       description { state: "pulse" 0.0; \
1245          inherit: "default" 0.0; \
1246          image { \
1247             normal: ""COLOR"/"SIZE"/00_list_process_01.png"; \
1248          } \
1249       } \
1250       PROGRESS_DESC(COLOR, SIZE, 01 ) \
1251       PROGRESS_DESC(COLOR, SIZE, 02 ) \
1252       PROGRESS_DESC(COLOR, SIZE, 03 ) \
1253       PROGRESS_DESC(COLOR, SIZE, 04 ) \
1254       PROGRESS_DESC(COLOR, SIZE, 05 ) \
1255       PROGRESS_DESC(COLOR, SIZE, 06 ) \
1256       PROGRESS_DESC(COLOR, SIZE, 07 ) \
1257       PROGRESS_DESC(COLOR, SIZE, 08 ) \
1258       PROGRESS_DESC(COLOR, SIZE, 09 ) \
1259       PROGRESS_DESC(COLOR, SIZE, 10 ) \
1260       PROGRESS_DESC(COLOR, SIZE, 11 ) \
1261       PROGRESS_DESC(COLOR, SIZE, 12 ) \
1262       PROGRESS_DESC(COLOR, SIZE, 13 ) \
1263       PROGRESS_DESC(COLOR, SIZE, 14 ) \
1264       PROGRESS_DESC(COLOR, SIZE, 15 ) \
1265       PROGRESS_DESC(COLOR, SIZE, 16 ) \
1266       PROGRESS_DESC(COLOR, SIZE, 17 ) \
1267       PROGRESS_DESC(COLOR, SIZE, 18 ) \
1268       PROGRESS_DESC(COLOR, SIZE, 19 ) \
1269       PROGRESS_DESC(COLOR, SIZE, 20 ) \
1270       PROGRESS_DESC(COLOR, SIZE, 21 ) \
1271       PROGRESS_DESC(COLOR, SIZE, 22 ) \
1272       PROGRESS_DESC(COLOR, SIZE, 23 ) \
1273       PROGRESS_DESC(COLOR, SIZE, 24 ) \
1274       PROGRESS_DESC(COLOR, SIZE, 25 ) \
1275       PROGRESS_DESC(COLOR, SIZE, 26 ) \
1276       PROGRESS_DESC(COLOR, SIZE, 27 ) \
1277       PROGRESS_DESC(COLOR, SIZE, 28 ) \
1278       PROGRESS_DESC(COLOR, SIZE, 29 ) \
1279       PROGRESS_DESC(COLOR, SIZE, 30 )
1280
1281 #define   PROGRESSING_DELAY    0.07
1282
1283    group { name: "elm/progressbar/horizontal/list_process";
1284       alias: "elm/progressbar/horizontal/process";
1285       PROCESS_IMAGES("White", "63x63")
1286       parts {
1287          part { name: "access";
1288             type: RECT;
1289             description { state: "default" 0.0;
1290                fixed: 1 1;
1291                color: 0 0 0 0;
1292             }
1293          }
1294          part { name: "elm.background.progressbar";
1295             mouse_events: 0;
1296             scale: 1;
1297             type: RECT;
1298             description {
1299                state: "default" 0.0;
1300             }
1301          }
1302          part { name: "elm.swallow.bar";
1303             mouse_events: 0;
1304             scale: 1;
1305             type: SWALLOW;
1306             description { state: "default" 0.0;
1307                min: 0 0;
1308                max: 0 0;
1309                visible: 0;
1310             }
1311          }
1312          part { name: "elm.swallow.content";
1313             type: SWALLOW;
1314             scale: 1;
1315             description { state: "default" 0.0;
1316                min: 0 0;
1317                max: 0 0;
1318                visible: 0;
1319             }
1320          }
1321          part { name: "background";
1322             mouse_events: 0;
1323             scale: 1;
1324             clip_to: "elm.background.progressbar";
1325             PROCESS_DESCS("White", "63x63", 63, 63)
1326          }
1327       }
1328       script {
1329          public pulse_state;
1330       }
1331       programs {
1332          program { name: "continue_pulse";
1333             script {
1334                new Float:state;
1335                state = get_float(pulse_state);
1336                set_state(PART:"background", "pulse", state);
1337                state += 0.01;
1338                if( state > 0.30 )
1339                   state = 0.01;
1340                set_float(pulse_state, state);
1341             }
1342                after: "delay";
1343          }
1344          program { name: "delay";
1345             action: STATE_SET "pulse" 0.10;
1346             target: "background";
1347             in: PROGRESSING_DELAY 0.0;
1348             after: "continue_pulse";
1349          }
1350          program { name: "start_pulse";
1351             signal: "elm,state,pulse,start";
1352             source: "elm";
1353             script {
1354                set_float(pulse_state, 0.0);
1355             }
1356             after: "continue_pulse";
1357          }
1358          program { name: "stop_pulse";
1359             signal: "elm,state,pulse,stop";
1360             source: "elm";
1361             action: ACTION_STOP;
1362             target: "continue_pulse";
1363             target: "delay";
1364             target: "start_pulse";
1365             after: "init_pulse";
1366          }
1367          program { name: "init_pulse";
1368             action: STATE_SET "default" 0.0;
1369             target: "background";
1370          }
1371       }
1372    }
1373
1374    group { name: "elm/progressbar/horizontal/list_process_medium";
1375       alias: "elm/progressbar/horizontal/process_medium";
1376       PROCESS_IMAGES("White", "54x54")
1377       parts {
1378          part { name: "access";
1379             type: RECT;
1380             description { state: "default" 0.0;
1381                fixed: 1 1;
1382                color: 0 0 0 0;
1383             }
1384          }
1385          part { name: "elm.background.progressbar";
1386             mouse_events: 0;
1387             scale: 1;
1388             type: RECT;
1389             description {
1390                state: "default" 0.0;
1391             }
1392          }
1393          part { name: "elm.swallow.bar";
1394             mouse_events: 0;
1395             scale: 1;
1396             type: SWALLOW;
1397             description { state: "default" 0.0;
1398                min: 0 0;
1399                max: 0 0;
1400                visible: 0;
1401             }
1402          }
1403          part { name: "elm.swallow.content";
1404             type: SWALLOW;
1405             scale: 1;
1406             description { state: "default" 0.0;
1407                min: 0 0;
1408                max: 0 0;
1409                visible: 0;
1410             }
1411          }
1412          part { name: "background";
1413             mouse_events: 0;
1414             scale: 1;
1415             clip_to: "elm.background.progressbar";
1416             PROCESS_DESCS("White", "54x54", 54, 54)
1417          }
1418       }
1419       script {
1420          public pulse_state;
1421       }
1422       programs {
1423          program { name: "continue_pulse";
1424             script {
1425                new Float:state;
1426                state = get_float(pulse_state);
1427                set_state(PART:"background", "pulse", state);
1428                state += 0.01;
1429                if( state > 0.30 )
1430                   state = 0.01;
1431                set_float(pulse_state, state);
1432             }
1433                after: "delay";
1434          }
1435          program { name: "delay";
1436             action: STATE_SET "pulse" 0.10;
1437             target: "background";
1438             in: PROGRESSING_DELAY 0.0;
1439             after: "continue_pulse";
1440          }
1441          program { name: "start_pulse";
1442             signal: "elm,state,pulse,start";
1443             source: "elm";
1444             script {
1445                set_float(pulse_state, 0.0);
1446             }
1447             after: "continue_pulse";
1448          }
1449          program { name: "stop_pulse";
1450             signal: "elm,state,pulse,stop";
1451             source: "elm";
1452             action: ACTION_STOP;
1453             target: "continue_pulse";
1454             target: "delay";
1455             target: "start_pulse";
1456             after: "init_pulse";
1457          }
1458          program { name: "init_pulse";
1459             action: STATE_SET "default" 0.0;
1460             target: "background";
1461          }
1462       }
1463    }
1464
1465    group { name: "elm/progressbar/horizontal/list_process_small";
1466       alias: "elm/progressbar/horizontal/process_small";
1467       PROCESS_IMAGES("White", "36x36")
1468       parts {
1469          part { name: "access";
1470             type: RECT;
1471             description { state: "default" 0.0;
1472                fixed: 1 1;
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             }
1483          }
1484          part { name: "elm.swallow.bar";
1485             mouse_events: 0;
1486             scale: 1;
1487             type: SWALLOW;
1488             description { state: "default" 0.0;
1489                min: 0 0;
1490                max: 0 0;
1491                visible: 0;
1492             }
1493          }
1494          part { name: "elm.swallow.content";
1495             type: SWALLOW;
1496             scale: 1;
1497             description { state: "default" 0.0;
1498                min: 0 0;
1499                max: 0 0;
1500                visible: 0;
1501             }
1502          }
1503          part { name: "background";
1504             mouse_events: 0;
1505             scale: 1;
1506             clip_to: "elm.background.progressbar";
1507             description {
1508                state: "default" 0.0;
1509                min: 36 36;
1510                max: 36 36;
1511                visible: 1;
1512                aspect: 1.0 1.0;
1513                aspect_preference: BOTH;
1514                image {
1515                   normal: "White/36x36/00_list_process_01.png";
1516                }
1517             }
1518             description {
1519                state: "pulse" 0.0;
1520                inherit: "default" 0.0;
1521                image {
1522                   normal: "White/36x36/00_list_process_01.png";
1523                   tween:  "White/36x36/00_list_process_02.png";
1524                   tween:  "White/36x36/00_list_process_03.png";
1525                   tween:  "White/36x36/00_list_process_04.png";
1526                   tween:  "White/36x36/00_list_process_05.png";
1527                   tween:  "White/36x36/00_list_process_06.png";
1528                   tween:  "White/36x36/00_list_process_07.png";
1529                   tween:  "White/36x36/00_list_process_08.png";
1530                   tween:  "White/36x36/00_list_process_09.png";
1531                   tween:  "White/36x36/00_list_process_10.png";
1532                   tween:  "White/36x36/00_list_process_11.png";
1533                   tween:  "White/36x36/00_list_process_12.png";
1534                   tween:  "White/36x36/00_list_process_13.png";
1535                   tween:  "White/36x36/00_list_process_14.png";
1536                   tween:  "White/36x36/00_list_process_15.png";
1537                   tween:  "White/36x36/00_list_process_16.png";
1538                   tween:  "White/36x36/00_list_process_17.png";
1539                   tween:  "White/36x36/00_list_process_18.png";
1540                   tween:  "White/36x36/00_list_process_19.png";
1541                   tween:  "White/36x36/00_list_process_20.png";
1542                   tween:  "White/36x36/00_list_process_21.png";
1543                   tween:  "White/36x36/00_list_process_22.png";
1544                   tween:  "White/36x36/00_list_process_23.png";
1545                   tween:  "White/36x36/00_list_process_24.png";
1546                   tween:  "White/36x36/00_list_process_25.png";
1547                   tween:  "White/36x36/00_list_process_26.png";
1548                   tween:  "White/36x36/00_list_process_27.png";
1549                   tween:  "White/36x36/00_list_process_28.png";
1550                   tween:  "White/36x36/00_list_process_29.png";
1551                   tween:  "White/36x36/00_list_process_30.png";
1552                }
1553             }
1554          }
1555       }
1556       programs {
1557          program { name: "start_pulse";
1558             signal: "elm,state,pulse,start";
1559             source: "elm";
1560             action: STATE_SET "pulse" 0.0;
1561             target: "background";
1562             transition: LINEAR 1.5;
1563             after: "start_pulse";
1564          }
1565          program { name: "stop_pulse";
1566             signal: "elm,state,pulse,stop";
1567             source: "elm";
1568             action: STATE_SET "default" 0.0;
1569             target: "background";
1570          }
1571          program { name: "init_pulse";
1572             action: STATE_SET "default" 0.0;
1573             target: "background";
1574          }
1575       }
1576    }
1577
1578
1579 // Black progressbar
1580    group { name: "elm/progressbar/horizontal/list_process_black";
1581       alias: "elm/progressbar/horizontal/process_black";
1582       PROCESS_IMAGES("Black", "63x63")
1583       parts {
1584          part { name: "access";
1585             type: RECT;
1586             description { state: "default" 0.0;
1587                fixed: 1 1;
1588                color: 0 0 0 0;
1589             }
1590          }
1591          part { name: "elm.background.progressbar";
1592             mouse_events: 0;
1593             scale: 1;
1594             type: RECT;
1595             description {
1596                state: "default" 0.0;
1597             }
1598          }
1599          part { name: "elm.swallow.bar";
1600             mouse_events: 0;
1601             scale: 1;
1602             type: SWALLOW;
1603             description { state: "default" 0.0;
1604                min: 0 0;
1605                max: 0 0;
1606                visible: 0;
1607             }
1608          }
1609          part { name: "elm.swallow.content";
1610             type: SWALLOW;
1611             scale: 1;
1612             description { state: "default" 0.0;
1613                min: 0 0;
1614                max: 0 0;
1615                visible: 0;
1616             }
1617          }
1618          part { name: "background";
1619             mouse_events: 0;
1620             scale: 1;
1621             clip_to: "elm.background.progressbar";
1622             PROCESS_DESCS("Black", "63x63", 63, 63)
1623          }
1624       }
1625       script {
1626          public pulse_state;
1627       }
1628       programs {
1629          program { name: "continue_pulse";
1630             script {
1631                new Float:state;
1632                state = get_float(pulse_state);
1633                set_state(PART:"background", "pulse", state);
1634                state += 0.01;
1635                if( state > 0.30 )
1636                   state = 0.01;
1637                set_float(pulse_state, state);
1638             }
1639                after: "delay";
1640          }
1641          program { name: "delay";
1642             action: STATE_SET "pulse" 0.10;
1643             target: "background";
1644             in: PROGRESSING_DELAY 0.0;
1645             after: "continue_pulse";
1646          }
1647          program { name: "start_pulse";
1648             signal: "elm,state,pulse,start";
1649             source: "elm";
1650             script {
1651                set_float(pulse_state, 0.0);
1652             }
1653             after: "continue_pulse";
1654          }
1655          program { name: "stop_pulse";
1656             signal: "elm,state,pulse,stop";
1657             source: "elm";
1658             action: ACTION_STOP;
1659             target: "continue_pulse";
1660             target: "delay";
1661             target: "start_pulse";
1662             after: "init_pulse";
1663          }
1664          program { name: "init_pulse";
1665             action: STATE_SET "default" 0.0;
1666             target: "background";
1667          }
1668       }
1669    }
1670
1671    group { name: "elm/progressbar/horizontal/list_process_medium_black";
1672       alias: "elm/progressbar/horizontal/process_medium_black";
1673       PROCESS_IMAGES("Black", "54x54")
1674       parts {
1675          part { name: "access";
1676             type: RECT;
1677             description { state: "default" 0.0;
1678                fixed: 1 1;
1679                color: 0 0 0 0;
1680             }
1681          }
1682          part { name: "elm.background.progressbar";
1683             mouse_events: 0;
1684             scale: 1;
1685             type: RECT;
1686             description {
1687                state: "default" 0.0;
1688             }
1689          }
1690          part { name: "elm.swallow.bar";
1691             mouse_events: 0;
1692             scale: 1;
1693             type: SWALLOW;
1694             description { state: "default" 0.0;
1695                min: 0 0;
1696                max: 0 0;
1697                visible: 0;
1698             }
1699          }
1700          part { name: "elm.swallow.content";
1701             type: SWALLOW;
1702             scale: 1;
1703             description { state: "default" 0.0;
1704                min: 0 0;
1705                max: 0 0;
1706                visible: 0;
1707             }
1708          }
1709          part { name: "background";
1710             mouse_events: 0;
1711             scale: 1;
1712             clip_to: "elm.background.progressbar";
1713             PROCESS_DESCS("Black", "54x54", 54, 54)
1714          }
1715       }
1716       script {
1717          public pulse_state;
1718       }
1719       programs {
1720          program { name: "continue_pulse";
1721             script {
1722                new Float:state;
1723                state = get_float(pulse_state);
1724                set_state(PART:"background", "pulse", state);
1725                state += 0.01;
1726                if( state > 0.30 )
1727                   state = 0.01;
1728                set_float(pulse_state, state);
1729             }
1730                after: "delay";
1731          }
1732          program { name: "delay";
1733             action: STATE_SET "pulse" 0.10;
1734             target: "background";
1735             in: PROGRESSING_DELAY 0.0;
1736             after: "continue_pulse";
1737          }
1738          program { name: "start_pulse";
1739             signal: "elm,state,pulse,start";
1740             source: "elm";
1741             script {
1742                set_float(pulse_state, 0.0);
1743             }
1744             after: "continue_pulse";
1745          }
1746          program { name: "stop_pulse";
1747             signal: "elm,state,pulse,stop";
1748             source: "elm";
1749             action: ACTION_STOP;
1750             target: "continue_pulse";
1751             target: "delay";
1752             target: "start_pulse";
1753             after: "init_pulse";
1754          }
1755          program { name: "init_pulse";
1756             action: STATE_SET "default" 0.0;
1757             target: "background";
1758          }
1759       }
1760    }
1761
1762    group { name: "elm/progressbar/horizontal/list_process_small_black";
1763       alias: "elm/progressbar/horizontal/process_small_black";
1764       PROCESS_IMAGES("Black", "36x36")
1765       parts {
1766          part { name: "access";
1767             type: RECT;
1768             description { state: "default" 0.0;
1769                fixed: 1 1;
1770                color: 0 0 0 0;
1771             }
1772          }
1773          part { name: "elm.background.progressbar";
1774             mouse_events: 0;
1775             scale: 1;
1776             type: RECT;
1777             description {
1778                state: "default" 0.0;
1779             }
1780          }
1781          part { name: "elm.swallow.bar";
1782             mouse_events: 0;
1783             scale: 1;
1784             type: SWALLOW;
1785             description { state: "default" 0.0;
1786                min: 0 0;
1787                max: 0 0;
1788                visible: 0;
1789             }
1790          }
1791          part { name: "elm.swallow.content";
1792             type: SWALLOW;
1793             scale: 1;
1794             description { state: "default" 0.0;
1795                min: 0 0;
1796                max: 0 0;
1797                visible: 0;
1798             }
1799          }
1800          part { name: "background";
1801             mouse_events: 0;
1802             scale: 1;
1803             clip_to: "elm.background.progressbar";
1804             PROCESS_DESCS("Black", "36x36", 36, 36)
1805          }
1806       }
1807       script {
1808          public pulse_state;
1809       }
1810       programs {
1811          program { name: "continue_pulse";
1812             script {
1813                new Float:state;
1814                state = get_float(pulse_state);
1815                set_state(PART:"background", "pulse", state);
1816                state += 0.01;
1817                if( state > 0.30 )
1818                   state = 0.01;
1819                set_float(pulse_state, state);
1820             }
1821                after: "delay";
1822          }
1823          program { name: "delay";
1824             action: STATE_SET "pulse" 0.10;
1825             target: "background";
1826             in: PROGRESSING_DELAY 0.0;
1827             after: "continue_pulse";
1828          }
1829          program { name: "start_pulse";
1830             signal: "elm,state,pulse,start";
1831             source: "elm";
1832             script {
1833                set_float(pulse_state, 0.0);
1834             }
1835             after: "continue_pulse";
1836          }
1837          program { name: "stop_pulse";
1838             signal: "elm,state,pulse,stop";
1839             source: "elm";
1840             action: ACTION_STOP;
1841             target: "continue_pulse";
1842             target: "delay";
1843             target: "start_pulse";
1844             after: "init_pulse";
1845          }
1846          program { name: "init_pulse";
1847             action: STATE_SET "default" 0.0;
1848             target: "background";
1849          }
1850       }
1851    }