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