User relative path to imports in edc files.
[apps/core/preloaded/indicator-win.git] / res / resource / indicator_icon_animation.edc
1 /*
2  *  Indicator
3  *
4  * Copyright (c) 2000 - 2015 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19
20
21 #include "../../inc/indicator_gui.h"
22 #include "indicator_common.edc"
23
24 collections {
25         base_scale: 2.6;
26
27         group {
28                 name: "elm/indicator/icon/base";
29
30                 images {
31                         image: "B03_Processing_download_ani_00.png" COMP;
32                         image: "B03_Processing_download_ani_01.png" COMP;
33                         image: "B03_Processing_download_ani_02.png" COMP;
34                         image: "B03_Processing_download_ani_03.png" COMP;
35                         image: "B03_Processing_download_ani_04.png" COMP;
36                         image: "B03_Processing_download_ani_05.png" COMP;
37                         image: "B03_Processing_download_ani_06.png" COMP;
38                         image: "B03_Processing_upload_ani_00.png" COMP;
39                         image: "B03_Processing_upload_ani_01.png" COMP;
40                         image: "B03_Processing_upload_ani_02.png" COMP;
41                         image: "B03_Processing_upload_ani_03.png" COMP;
42                         image: "B03_Processing_upload_ani_04.png" COMP;
43                         image: "B03_Processing_upload_ani_05.png" COMP;
44                         image: "B03_Processing_upload_ani_06.png" COMP;
45                 }
46                 parts {
47                         part {
48                                 name: "background";
49                                 description {
50                                         state: "default" 0.0;
51                                         color : 255 255 255 255;
52                                         visible : 1;
53                                 }
54                         }
55                         part {
56                                 name: "padding.left";
57                                 type: RECT;
58                                 mouse_events: 0;
59                                 scale: 1;
60                                 description {
61                                         state: "default" 0.0;
62                                         min: DEFAULT_ICON_PADDING 0;
63                                         fixed: 1 0;
64                                         rel1.to: "background";
65                                         rel2 { relative: 0.0 1.0; to: "background"; }
66                                         align: 0.0 0.5;
67                                         visible: 0;
68                                 }
69                         }
70
71                         PART_SWALLOW_SET( "elm.swallow.icon", "padding.left", "padding.right" )
72
73                         part {
74                                 name: "elm.image.icon.ani";
75                                 type: IMAGE;
76                                 scale: 1;
77                                 description {
78                                         state: "default" 0.0;
79                                         rel1.to: "elm.swallow.icon";
80                                         rel2.to: "elm.swallow.icon";
81                                         visible: 0;
82                                 }
83                                 description {
84                                         state: "downloading0" 0.0;
85                                         inherit: "default" 0.0;
86                                         image {
87                                         normal:"B03_Processing_download_ani_00.png";
88                                         border: 0 0 0 0;
89                                         border_scale: 1;
90                                         }
91                                         visible: 1;
92                                 }
93                                 description {
94                                         state: "downloading1" 0.0;
95                                         inherit: "default" 0.0;
96                                         image {
97                                         normal:"B03_Processing_download_ani_01.png";
98                                         border: 0 0 0 0;
99                                         border_scale: 1;
100                                         }
101                                         visible: 1;
102                                 }
103                                 description {
104                                         state: "downloading2" 0.0;
105                                         inherit: "default" 0.0;
106                                         image {
107                                         normal:"B03_Processing_download_ani_02.png";
108                                         border: 0 0 0 0;
109                                         border_scale: 1;
110                                         }
111                                         visible: 1;
112                                 }
113                                 description {
114                                         state: "downloading3" 0.0;
115                                         inherit: "default" 0.0;
116                                         image {
117                                         normal:"B03_Processing_download_ani_03.png";
118                                         border: 0 0 0 0;
119                                         border_scale: 1;
120                                         }
121                                         visible: 1;
122                                 }
123                                 description {
124                                         state: "downloading4" 0.0;
125                                         inherit: "default" 0.0;
126                                         image {
127                                         normal:"B03_Processing_download_ani_04.png";
128                                         border: 0 0 0 0;
129                                         border_scale: 1;
130                                         }
131                                         visible: 1;
132                                 }
133                                 description {
134                                         state: "downloading5" 0.0;
135                                         inherit: "default" 0.0;
136                                         image {
137                                         normal:"B03_Processing_download_ani_05.png";
138                                         border: 0 0 0 0;
139                                         border_scale: 1;
140                                         }
141                                         visible: 1;
142                                 }
143                                 description {
144                                         state: "downloading6" 0.0;
145                                         inherit: "default" 0.0;
146                                         image {
147                                         normal:"B03_Processing_download_ani_06.png";
148                                         border: 0 0 0 0;
149                                         border_scale: 1;
150                                         }
151                                         visible: 1;
152                                 }
153
154                                 description {
155                                         state: "uploading0" 0.0;
156                                         inherit: "default" 0.0;
157                                         image {
158                                         normal:"B03_Processing_upload_ani_00.png";
159                                         border: 0 0 0 0;
160                                         border_scale: 1;
161                                         }
162                                         visible: 1;
163                                 }
164                                 description {
165                                         state: "uploading1" 0.0;
166                                         inherit: "default" 0.0;
167                                         image {
168                                         normal:"B03_Processing_upload_ani_01.png";
169                                         border: 0 0 0 0;
170                                         border_scale: 1;
171                                         }
172                                         visible: 1;
173                                 }
174                                 description {
175                                         state: "uploading2" 0.0;
176                                         inherit: "default" 0.0;
177                                         image {
178                                         normal:"B03_Processing_upload_ani_02.png";
179                                         border: 0 0 0 0;
180                                         border_scale: 1;
181                                         }
182                                         visible: 1;
183                                 }
184                                 description {
185                                         state: "uploading3" 0.0;
186                                         inherit: "default" 0.0;
187                                         image {
188                                         normal:"B03_Processing_upload_ani_03.png";
189                                         border: 0 0 0 0;
190                                         border_scale: 1;
191                                         }
192                                         visible: 1;
193                                 }
194                                 description {
195                                         state: "uploading4" 0.0;
196                                         inherit: "default" 0.0;
197                                         image {
198                                         normal:"B03_Processing_upload_ani_04.png";
199                                         border: 0 0 0 0;
200                                         border_scale: 1;
201                                         }
202                                         visible: 1;
203                                 }
204                                 description {
205                                         state: "uploading5" 0.0;
206                                         inherit: "default" 0.0;
207                                         image {
208                                         normal:"B03_Processing_upload_ani_05.png";
209                                         border: 0 0 0 0;
210                                         border_scale: 1;
211                                         }
212                                         visible: 1;
213                                 }
214                                 description {
215                                         state: "uploading6" 0.0;
216                                         inherit: "default" 0.0;
217                                         image {
218                                         normal:"B03_Processing_upload_ani_06.png";
219                                         border: 0 0 0 0;
220                                         border_scale: 1;
221                                         }
222                                         visible: 1;
223                                 }
224                         }
225
226                         part {
227                                 name: "padding.right";
228                                 type: RECT;
229                                 mouse_events: 0;
230                                 scale: 1;
231                                 description {
232                                         state: "default" 0.0;
233                                         min: 0 0;
234                                         fixed: 1 0;
235                                         rel1 { relative: 1.0 0.0; to: "background"; }
236                                         align: 1.0 0.5;
237                                         visible: 0;
238                                 }
239                         }
240
241                 }
242
243                 programs {
244                         PROGRAM_SET( "elm.swallow.icon", "elm.swallow.icon")
245
246                         /*Downloading state programs: */
247                         program{
248                                 name: "indicator.ani.downloading.0";
249                                 signal: "indicator.ani.downloading.0";
250                                 source: "prog";
251                                 action: STATE_SET "downloading0" 0.0;
252                                 target: "elm.image.icon.ani";
253                         }
254
255                         program{
256                                 name: "indicator.ani.downloading.1";
257                                 signal: "indicator.ani.downloading.1";
258                                 source: "prog";
259                                 action: STATE_SET "downloading1" 0.0;
260                                 target: "elm.image.icon.ani";
261                         }
262                         program{
263                                 name: "indicator.ani.downloading.2";
264                                 signal: "indicator.ani.downloading.2";
265                                 source: "prog";
266                                 action: STATE_SET "downloading2" 0.0;
267                                 target: "elm.image.icon.ani";
268                         }
269                         program{
270                                 name: "indicator.ani.downloading.3";
271                                 signal: "indicator.ani.downloading.3";
272                                 source: "prog";
273                                 action: STATE_SET "downloading3" 0.0;
274                                 target: "elm.image.icon.ani";
275                         }
276                         program{
277                                 name: "indicator.ani.downloading.4";
278                                 signal: "indicator.ani.downloading.4";
279                                 source: "prog";
280                                 action: STATE_SET "downloading4" 0.0;
281                                 target: "elm.image.icon.ani";
282                         }
283                         program{
284                                 name: "indicator.ani.downloading.5";
285                                 signal: "indicator.ani.downloading.5";
286                                 source: "prog";
287                                 action: STATE_SET "downloading5" 0.0;
288                                 target: "elm.image.icon.ani";
289                         }
290                         program{
291                                 name: "indicator.ani.downloading.6";
292                                 signal: "indicator.ani.downloading.6";
293                                 source: "prog";
294                                 action: STATE_SET "downloading6" 0.0;
295                                 target: "elm.image.icon.ani";
296                         }
297                         /*Uploading state programs: */
298                         program{
299                                 name: "indicator.ani.uploading.0";
300                                 signal: "indicator.ani.uploading.0";
301                                 source: "prog";
302                                 action: STATE_SET "uploading0" 0.0;
303                                 target: "elm.image.icon.ani";
304                         }
305                         program{
306                                 name: "indicator.ani.uploading.1";
307                                 signal: "indicator.ani.uploading.1";
308                                 source: "prog";
309                                 action: STATE_SET "uploading1" 0.0;
310                                 target: "elm.image.icon.ani";
311                         }
312                         program{
313                                 name: "indicator.ani.uploading.2";
314                                 signal: "indicator.ani.uploading.2";
315                                 source: "prog";
316                                 action: STATE_SET "uploading2" 0.0;
317                                 target: "elm.image.icon.ani";
318                         }
319                         program{
320                                 name: "indicator.ani.uploading.3";
321                                 signal: "indicator.ani.uploading.3";
322                                 source: "prog";
323                                 action: STATE_SET "uploading3" 0.0;
324                                 target: "elm.image.icon.ani";
325                         }
326                         program{
327                                 name: "indicator.ani.uploading.4";
328                                 signal: "indicator.ani.uploading.4";
329                                 source: "prog";
330                                 action: STATE_SET "uploading4" 0.0;
331                                 target: "elm.image.icon.ani";
332                         }
333                         program{
334                                 name: "indicator.ani.uploading.5";
335                                 signal: "indicator.ani.uploading.5";
336                                 source: "prog";
337                                 action: STATE_SET "uploading5" 0.0;
338                                 target: "elm.image.icon.ani";
339                         }
340                         program{
341                                 name: "indicator.ani.uploading.6";
342                                 signal: "indicator.ani.uploading.6";
343                                 source: "prog";
344                                 action: STATE_SET "uploading6" 0.0;
345                                 target: "elm.image.icon.ani";
346                         }
347                 }
348         }
349 }
350
351