apply FSL license
[apps/core/preloaded/video-player.git] / res / edc / animation.edc
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  * 
8  *     http://www.tizenopensource.org/license
9  * 
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 #include "image_res.edc"
19 #include "vp_font.edc"
20
21 #define CONTROL_BUTTON_STEP(_item_name_, _val_)                         \
22 program {                                                                                                       \
23         signal: "signal."_item_name_".step."_val_;                                              \
24         source: "*";                                                                                            \
25         action: STATE_SET "step_"_val_ 0.0;                                                     \
26         target: _item_name_;                                                                            \
27 } /* CONTROL_BUTTON_STEP */
28
29
30 collections {
31         group {
32                 name: "animation";
33
34                 parts {
35
36                         part {
37                                 name: "loading.back";
38                                 type: RECT;
39                                 mouse_events: 1;
40                                 scale: 1;
41                                 description {
42                                         state: "default" 0.0;
43                                         visible: 0;
44                                         rel1 { relative: 0.0 0.0;}
45                                         rel2 { relative: 1.0 1.0;}
46                                         color: 255 0 0 255;
47                                 }
48                         }
49
50                         part {
51                                 name: "loading.txt";
52                                 type: TEXT;
53                                 mouse_events: 0;
54                                 scale: 1;
55                                 description {
56                                         state: "default" 0.0;
57                                         visible: 1;
58                                         min: 288 54;
59                                         fixed: 0 1;
60                                         align: 0.5 0.0;
61                                         rel1 { relative: 0.0 1.0; }
62                                         rel2 { relative: 1.0 1.0; }
63                                         color: FONT_COLOR;
64                                         text {
65                                                 font: FONT_NANE;
66                                                 size: 32;
67                                                 text: "";
68                                                 align: 0.5 0.5;
69                                         }
70                                 }
71
72                         }
73                         part {
74                                 name: "loading.image";
75                                 type: IMAGE;
76                                 mouse_events: 1;
77                                 scale: 1;
78                                 description {
79                                         state: "default" 0.0;
80                                         visible: 0;
81                                         min: 138 138;
82                                         fixed: 1 1;
83                                         align: 0.5 0.5;
84                                         rel1 { relative: 0.5 0.5;}
85                                         rel2 { relative: 0.5 0.5;}
86                                         image { normal: "gallery_loading_ani_01.png"; }
87                                         color: 255 255 255 255;
88                                 }
89                                 description {
90                                         state: "show" 0.0;
91                                         inherit: "default" 0.0;
92                                         visible: 1;
93                                         image { normal: "gallery_loading_ani_01.png"; }
94                                 }
95                                 description {
96                                         state: "step_1" 0.0;
97                                         inherit: "show" 0.0;
98                                         visible: 1;
99                                         image { normal: "gallery_loading_ani_01.png"; }
100                                 }
101                                 description {
102                                         state: "step_2" 0.0;
103                                         inherit: "show" 0.0;
104                                         visible: 1;
105                                         image { normal: "gallery_loading_ani_02.png"; }
106                                 }
107                                 description {
108                                         state: "step_3" 0.0;
109                                         inherit: "show" 0.0;
110                                         visible: 1;
111                                         image { normal: "gallery_loading_ani_03.png"; }
112                                 }
113                                 description {
114                                         state: "step_4" 0.0;
115                                         inherit: "show" 0.0;
116                                         visible: 1;
117                                         image { normal: "gallery_loading_ani_04.png"; }
118                                 }
119                                 description {
120                                         state: "step_5" 0.0;
121                                         inherit: "show" 0.0;
122                                         visible: 1;
123                                         image { normal: "gallery_loading_ani_05.png"; }
124                                 }
125                                 description {
126                                         state: "step_6" 0.0;
127                                         inherit: "show" 0.0;
128                                         visible: 1;
129                                         image { normal: "gallery_loading_ani_06.png"; }
130                                 }
131                                 description {
132                                         state: "step_7" 0.0;
133                                         inherit: "show" 0.0;
134                                         visible: 1;
135                                         image { normal: "gallery_loading_ani_07.png"; }
136                                 }
137                                 description {
138                                         state: "step_8" 0.0;
139                                         inherit: "show" 0.0;
140                                         visible: 1;
141                                         image { normal: "gallery_loading_ani_08.png"; }
142                                 }
143                                 description {
144                                         state: "step_9" 0.0;
145                                         inherit: "show" 0.0;
146                                         visible: 1;
147                                         image { normal: "gallery_loading_ani_09.png"; }
148                                 }
149                                 description {
150                                         state: "step_10" 0.0;
151                                         inherit: "show" 0.0;
152                                         visible: 1;
153                                         image { normal: "gallery_loading_ani_10.png"; }
154                                 }
155                                 description {
156                                         state: "step_11" 0.0;
157                                         inherit: "show" 0.0;
158                                         visible: 1;
159                                         image { normal: "gallery_loading_ani_11.png"; }
160                                 }
161                                 description {
162                                         state: "step_12" 0.0;
163                                         inherit: "show" 0.0;
164                                         visible: 1;
165                                         image { normal: "gallery_loading_ani_12.png"; }
166                                 }
167                                 description {
168                                         state: "step_13" 0.0;
169                                         inherit: "show" 0.0;
170                                         visible: 1;
171                                         image { normal: "gallery_loading_ani_13.png"; }
172                                 }
173                                 description {
174                                         state: "step_14" 0.0;
175                                         inherit: "show" 0.0;
176                                         visible: 1;
177                                         image { normal: "gallery_loading_ani_14.png"; }
178                                 }description {
179                                         state: "step_15" 0.0;
180                                         inherit: "show" 0.0;
181                                         visible: 1;
182                                         image { normal: "gallery_loading_ani_15.png"; }
183                                 }
184                                 description {
185                                         state: "step_16" 0.0;
186                                         inherit: "show" 0.0;
187                                         visible: 1;
188                                         image { normal: "gallery_loading_ani_16.png"; }
189                                 }
190                                 description {
191                                         state: "step_17" 0.0;
192                                         inherit: "show" 0.0;
193                                         visible: 1;
194                                         image { normal: "gallery_loading_ani_17.png"; }
195                                 }
196                                 description {
197                                         state: "step_18" 0.0;
198                                         inherit: "show" 0.0;
199                                         image { normal: "gallery_loading_ani_18.png"; }
200                                 }
201                                 description {
202                                         state: "step_19" 0.0;
203                                         inherit: "show" 0.0;
204                                         visible: 1;
205                                         image { normal: "gallery_loading_ani_19.png"; }
206                                 }
207                                 description {
208                                         state: "step_20" 0.0;
209                                         inherit: "show" 0.0;
210                                         visible: 1;
211                                         image { normal: "gallery_loading_ani_20.png"; }
212                                 }
213                                 description {
214                                         state: "step_21" 0.0;
215                                         inherit: "show" 0.0;
216                                         visible: 1;
217                                         image { normal: "gallery_loading_ani_21.png"; }
218                                 }
219                                 description {
220                                         state: "step_22" 0.0;
221                                         inherit: "show" 0.0;
222                                         visible: 1;
223                                         image { normal: "gallery_loading_ani_22.png"; }
224                                 }
225                                 description {
226                                         state: "step_23" 0.0;
227                                         inherit: "show" 0.0;
228                                         visible: 1;
229                                         image { normal: "gallery_loading_ani_23.png"; }
230                                 }
231                                 description {
232                                         state: "step_24" 0.0;
233                                         inherit: "show" 0.0;
234                                         visible: 1;
235                                         image { normal: "gallery_loading_ani_24.png"; }
236                                 }
237                                 description {
238                                         state: "step_25" 0.0;
239                                         inherit: "show" 0.0;
240                                         visible: 1;
241                                         image { normal: "gallery_loading_ani_25.png"; }
242                                 }
243                                 description {
244                                         state: "step_26" 0.0;
245                                         inherit: "show" 0.0;
246                                         visible: 1;
247                                         image { normal: "gallery_loading_ani_26.png"; }
248                                 }
249                                 description {
250                                         state: "step_27" 0.0;
251                                         inherit: "show" 0.0;
252                                         visible: 1;
253                                         image { normal: "gallery_loading_ani_27.png"; }
254                                 }
255                                 description {
256                                         state: "step_28" 0.0;
257                                         inherit: "show" 0.0;
258                                         visible: 1;
259                                         image { normal: "gallery_loading_ani_28.png"; }
260                                 }
261                                 description {
262                                         state: "step_29" 0.0;
263                                         inherit: "show" 0.0;
264                                         visible: 1;
265                                         image { normal: "gallery_loading_ani_29.png"; }
266                                 }
267                                 description {
268                                         state: "step_30" 0.0;
269                                         inherit: "show" 0.0;
270                                         visible: 1;
271                                         image { normal: "gallery_loading_ani_30.png"; }
272                                 }
273
274                                 description {
275                                         state: "step_0" 0.0;
276                                         inherit: "default" 0.0;
277                                         visible: 0;
278                                 }
279                         }
280                 }       /* parts */
281                 programs {
282                         CONTROL_BUTTON_STEP( "loading.image", 0);
283                         CONTROL_BUTTON_STEP( "loading.image", 1);
284                         CONTROL_BUTTON_STEP( "loading.image", 2);
285                         CONTROL_BUTTON_STEP( "loading.image", 3);
286                         CONTROL_BUTTON_STEP( "loading.image", 4);
287                         CONTROL_BUTTON_STEP( "loading.image", 5);
288                         CONTROL_BUTTON_STEP( "loading.image", 6);
289                         CONTROL_BUTTON_STEP( "loading.image", 7);
290                         CONTROL_BUTTON_STEP( "loading.image", 8);
291                         CONTROL_BUTTON_STEP( "loading.image", 9);
292                         CONTROL_BUTTON_STEP( "loading.image", 10);
293                         CONTROL_BUTTON_STEP( "loading.image", 11);
294                         CONTROL_BUTTON_STEP( "loading.image", 12);
295                         CONTROL_BUTTON_STEP( "loading.image", 13);
296                         CONTROL_BUTTON_STEP( "loading.image", 14);
297                         CONTROL_BUTTON_STEP( "loading.image", 15);
298                         CONTROL_BUTTON_STEP( "loading.image", 16);
299                         CONTROL_BUTTON_STEP( "loading.image", 17);
300                         CONTROL_BUTTON_STEP( "loading.image", 18);
301                         CONTROL_BUTTON_STEP( "loading.image", 19);
302                         CONTROL_BUTTON_STEP( "loading.image", 20);
303                         CONTROL_BUTTON_STEP( "loading.image", 21);
304                         CONTROL_BUTTON_STEP( "loading.image", 22);
305                         CONTROL_BUTTON_STEP( "loading.image", 23);
306                         CONTROL_BUTTON_STEP( "loading.image", 24);
307                         CONTROL_BUTTON_STEP( "loading.image", 25);
308                         CONTROL_BUTTON_STEP( "loading.image", 26);
309                         CONTROL_BUTTON_STEP( "loading.image", 27);
310                         CONTROL_BUTTON_STEP( "loading.image", 28);
311                         CONTROL_BUTTON_STEP( "loading.image", 29);
312                         CONTROL_BUTTON_STEP( "loading.image", 30);
313
314                 }       /* programs */
315         }       /* group */
316 }       /* collections */