5b3954d99b0588f5cc28959836a0212a096f3a79
[profile/ivi/efl-theme-tizen.git] / themes / widgets / map.edc
1 /*
2  * efl-theme-tizen
3  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an AS IS BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18
19
20 ///////////////////////////////////////////////////////////////////////////////
21 group { name: "elm/map/base/default";
22    images {
23       image: "00_winset_list_process_01.png" COMP;
24       image: "00_winset_list_process_02.png" COMP;
25       image: "00_winset_list_process_03.png" COMP;
26       image: "00_winset_list_process_04.png" COMP;
27       image: "00_winset_list_process_05.png" COMP;
28       image: "00_winset_list_process_06.png" COMP;
29       image: "00_winset_list_process_07.png" COMP;
30       image: "00_winset_list_process_08.png" COMP;
31       image: "00_winset_list_process_09.png" COMP;
32       image: "00_winset_list_process_10.png" COMP;
33       image: "00_winset_list_process_11.png" COMP;
34       image: "00_winset_list_process_12.png" COMP;
35       image: "00_winset_list_process_13.png" COMP;
36       image: "00_winset_list_process_14.png" COMP;
37       image: "00_winset_list_process_15.png" COMP;
38       image: "00_winset_list_process_16.png" COMP;
39       image: "00_winset_list_process_17.png" COMP;
40       image: "00_winset_list_process_18.png" COMP;
41       image: "00_winset_list_process_19.png" COMP;
42       image: "00_winset_list_process_20.png" COMP;
43       image: "00_winset_list_process_21.png" COMP;
44       image: "00_winset_list_process_22.png" COMP;
45       image: "00_winset_list_process_23.png" COMP;
46       image: "00_winset_list_process_24.png" COMP;
47       image: "00_winset_list_process_25.png" COMP;
48       image: "00_winset_list_process_26.png" COMP;
49       image: "00_winset_list_process_27.png" COMP;
50       image: "00_winset_list_process_28.png" COMP;
51       image: "00_winset_list_process_29.png" COMP;
52       image: "00_winset_list_process_30.png" COMP;
53    }
54    parts {
55       part { name: "bg";
56          type: RECT;
57          scale: 1;
58          description { state: "default" 0.0;
59             rel1.offset: 0 0;
60             rel2.offset: -1 -1;
61             color: 255 255 255 0;
62          }
63       }
64       part { name: "clipper";
65          type: RECT;
66          mouse_events: 0;
67          scale: 1;
68          description { state: "default" 0.0;
69             rel1.to: "bg";
70             rel2.to: "bg";
71          }
72       }
73       part { name: "elm.swallow.content";
74          clip_to: "clipper";
75          type: SWALLOW;
76          scale: 1;
77          description { state: "default" 0.0;
78             rel1.offset: 0 0;
79             rel2.offset: -1 -1;
80          }
81       }
82       part { name: "busy_clip";
83          type: RECT;
84          mouse_events: 0;
85          description { state: "default" 0.0;
86             visible: 0;
87             color: 255 255 255 0;
88          }
89          description { state: "active" 0.0;
90             visible: 1;
91             color: 255 255 255 255;
92          }
93       }
94       part { name: "busy";
95          clip_to: "busy_clip";
96          mouse_events: 0;
97          description { state: "default" 0.0;
98             fixed: 1 1;
99             min: 32 32;
100             aspect: 1.0 1.0;
101             align: 1.0 1.0;
102             aspect_preference: BOTH;
103             rel1 {
104                relative: 0.9 0.9;
105                offset:   -9 -9;
106             }
107             rel2 {
108                relative: 0.9 0.9;
109                offset:   -9 -9;
110             }
111             image {
112                normal: "00_winset_list_process_30.png";
113                tween:  "00_winset_list_process_01.png";
114                tween:  "00_winset_list_process_02.png";
115                tween:  "00_winset_list_process_03.png";
116                tween:  "00_winset_list_process_04.png";
117                tween:  "00_winset_list_process_05.png";
118                tween:  "00_winset_list_process_06.png";
119                tween:  "00_winset_list_process_07.png";
120                tween:  "00_winset_list_process_08.png";
121                tween:  "00_winset_list_process_09.png";
122                tween:  "00_winset_list_process_10.png";
123                tween:  "00_winset_list_process_11.png";
124                tween:  "00_winset_list_process_12.png";
125                tween:  "00_winset_list_process_13.png";
126                tween:  "00_winset_list_process_14.png";
127                tween:  "00_winset_list_process_15.png";
128                tween:  "00_winset_list_process_16.png";
129                tween:  "00_winset_list_process_17.png";
130                tween:  "00_winset_list_process_18.png";
131                tween:  "00_winset_list_process_19.png";
132                tween:  "00_winset_list_process_20.png";
133                tween:  "00_winset_list_process_21.png";
134                tween:  "00_winset_list_process_22.png";
135                tween:  "00_winset_list_process_23.png";
136                tween:  "00_winset_list_process_24.png";
137                tween:  "00_winset_list_process_25.png";
138                tween:  "00_winset_list_process_26.png";
139                tween:  "00_winset_list_process_27.png";
140                tween:  "00_winset_list_process_28.png";
141                tween:  "00_winset_list_process_29.png";
142             }
143          }
144       }
145       program { name: "go1";
146          signal: "elm,state,busy,start";
147          source: "elm";
148          action: STATE_SET "active" 0.0;
149          transition: SINUSOIDAL 1.0;
150          target:  "busy_clip";
151       }
152       program { name: "go2";
153          signal: "elm,state,busy,start";
154          source: "elm";
155          action: STATE_SET "default" 0.0;
156          transition: LINEAR 0.5;
157          target: "busy";
158          after:  "go2";
159       }
160       program { name: "stop1";
161          signal: "elm,state,busy,stop";
162          source: "elm";
163          action: STATE_SET "default" 0.0;
164          transition: SINUSOIDAL 1.0;
165          target: "busy_clip";
166          after: "stop2";
167       }
168       program { name: "stop2";
169          action: ACTION_STOP;
170          target: "go2";
171       }
172    }
173 }
174 group { name: "elm/map/marker/radio/default";
175    data {
176       item: size_w 48;
177       item: size_h 48;
178       item: size_max_w 58;
179       item: size_max_h 58;
180    }
181    images {
182       image: "map_item.png" COMP;
183    }
184    parts {
185       part { name: "whole";
186          type: RECT;
187          description { state: "default" 0.0;
188          }
189       }
190       part { name: "base";
191          ignore_flags: ON_HOLD;
192          description { state: "default" 0.0;
193             image.normal: "map_item.png";
194          }
195       }
196       part { name: "elm.icon";
197          type: SWALLOW;
198          clip_to: "whole";
199          mouse_events:  0;
200          description { state: "default" 0.0;
201             rel1.relative: 0.27 0.27;
202             rel2.relative: 0.73 0.73;
203          }
204       }
205       part { name: "elm.text";
206          type:          TEXT;
207          effect:        SOFT_SHADOW;
208          mouse_events:  0;
209          scale: 1;
210          description { state: "default" 0.0;
211             align:    0.5 0.5;
212             color: 224 224 224 255;
213             color3: 0 0 0 64;
214             rel1.relative: 0.28 0.25;
215             rel2.relative: 0.75 0.75;
216             text {
217                font:     "Tizen:style=Medium";
218                size:     24;
219                min:      0 0;
220                align:    0.5 0.5;
221                text_class: "tizen";
222             }
223          }
224       }
225    }
226    programs {
227       program { name: "open";
228          signal: "mouse,clicked,1";
229          source: "base";
230          action: SIGNAL_EMIT "open" "elm";
231       }
232       program { name: "bringin";
233          signal: "mouse,down,1,double";
234          source: "base";
235          action: SIGNAL_EMIT "bringin" "elm";
236       }
237    }
238 }
239 group { name: "elm/map/marker/radio2/default";
240    data {
241       item: size_w 48;
242       item: size_h 48;
243       item: size_max_w 58;
244       item: size_max_h 58;
245    }
246    images {
247       image: "map_item_2.png" COMP;
248    }
249    parts {
250       part { name: "base";
251          ignore_flags: ON_HOLD;
252          description { state: "default" 0.0;
253             image.normal: "map_item_2.png";
254          }
255       }
256       part { name: "elm.text";
257          type:          TEXT;
258          effect:        SOFT_SHADOW;
259          mouse_events:  0;
260          scale: 1;
261          description { state: "default" 0.0;
262             align:    0.5 0.5;
263             color: 224 224 224 255;
264             color3: 0 0 0 64;
265             rel1.relative: 0.28 0.25;
266             rel2.relative: 0.75 0.75;
267             text {
268                font:     "Tizen:style=Medium";
269                size:     24;
270                min:      0 0;
271                align:    0.5 0.5;
272                text_class: "tizen";
273             }
274          }
275       }
276    }
277    programs {
278       program { name: "open";
279          signal: "mouse,clicked,1";
280          source: "base";
281          action: SIGNAL_EMIT "open" "elm";
282       }
283       program { name: "bringin";
284          signal: "mouse,down,1,double";
285          source: "base";
286          action: SIGNAL_EMIT "bringin" "elm";
287       }
288    }
289 }
290 group { name: "elm/map/marker/empty/default";
291    data {
292       item: size_w 44;
293       item: size_h 44;
294       item: size_max_w 64;
295       item: size_max_h 64;
296    }
297    parts {
298       part { name: "whole";
299          type: RECT;
300          description { state: "default" 0.0;
301          }
302       }
303       part { name: "base";
304          ignore_flags: ON_HOLD;
305          description { state: "default" 0.0;
306          }
307       }
308       part { name: "elm.icon";
309          type: SWALLOW;
310          clip_to: "whole";
311          mouse_events:  0;
312          description { state: "default" 0.0;
313          }
314       }
315       part { name: "elm.text";
316          type:          TEXT;
317          effect:        SOFT_SHADOW;
318          mouse_events:  0;
319          scale: 1;
320          description { state: "default" 0.0;
321             align:    0.5 0.5;
322             color: 224 224 224 255;
323             color3: 0 0 0 64;
324             rel1.relative: 0.28 0.25;
325             rel2.relative: 0.75 0.75;
326             text {
327                font:     "Tizen:style=Medium";
328                size:     24;
329                min:      0 0;
330                align:    0.5 0.5;
331                text_class: "tizen";
332             }
333          }
334       }
335    }
336    programs {
337       program { name: "open";
338          signal: "mouse,clicked,1";
339          source: "base";
340          action: SIGNAL_EMIT "open" "elm";
341       }
342       program { name: "bringin";
343          signal: "mouse,down,1,double";
344          source: "base";
345          action: SIGNAL_EMIT "bringin" "elm";
346       }
347    }
348 }
349 group { name: "elm/map/marker_bubble/default";
350    images {
351       image: "bubble.png" COMP;
352       image: "bubble_shine.png" COMP;
353    }
354    data {
355       item: size_w 200;
356       item: size_h 100;
357    }
358    parts {
359       part { name: "clipper";
360          type: RECT;
361          mouse_events:  1;
362          description { state: "default" 0.0;
363             color: 255 255 255 0;
364          }
365          description { state: "show" 0.0;
366             inherit: "default" 0.0;
367             color: 255 255 255 255;
368          }
369       }
370       part { name: "base0";
371          mouse_events:  0;
372          clip_to: "clipper";
373          description { state: "default" 0.0;
374             image {
375                normal: "bubble.png";
376                border: 11 36 10 19;
377             }
378             image.middle: SOLID;
379             fill.smooth: 0;
380          }
381       }
382       part { name: "elm.swallow.content";
383          type: SWALLOW;
384          clip_to: "clipper";
385          description { state: "default" 0.0;
386             align: 0.5 0.5;
387             rel1 {
388                offset: 9 8;
389             }
390             rel2 {
391                offset: -10 -17;
392             }
393          }
394       }
395       part { name: "shine";
396          mouse_events:  0;
397          clip_to: "clipper";
398          description { state:    "default" 0.0;
399             rel1 {
400                to: "base0";
401             }
402             rel2 {
403                to: "base0";
404                relative: 1.0 0.5;
405             }
406             image {
407                normal: "bubble_shine.png";
408                border: 5 5 5 0;
409             }
410             fill.smooth: 0;
411          }
412       }
413    }
414    programs {
415       program { name: "show";
416          signal: "show";
417          action: STATE_SET "show" 0.0;
418          target: "clipper";
419          transition: ACCELERATE 0.5;
420       }
421    }
422 }
423 group { name: "elm/map/circle/base/default";
424    images {
425       image: "map_circle.png" COMP;
426    }
427    parts {
428       part { name: "base";
429          ignore_flags: ON_HOLD;
430          description {  state: "default" 0.0;
431             image.normal: "map_circle.png";
432          }
433       }
434    }
435 }
436 group { name: "elm/map/scale/base/default";
437    data {
438       item: size_w 100;
439       item: size_h 25;
440    }
441    images {
442       image: "map_scale.png" COMP;
443    }
444    parts {
445       part { name: "base";
446          ignore_flags: ON_HOLD;
447          description { state: "default" 0.0;
448             image.normal: "map_scale.png";
449             image.border: 10 10 10 10;
450          }
451       }
452       part { name: "elm.text";
453          type:          TEXT;
454          ignore_flags:  ON_HOLD;
455          effect:        SOFT_SHADOW;
456          mouse_events:  0;
457          scale: 1;
458          description { state: "default" 0.0;
459             color: 224 224 224 255;
460             color3: 0 0 0 64;
461             rel1 {
462                relative: 0 0;
463                offset: 1 1;
464             }
465             rel2 {
466                relative: 1 1;
467                offset: -1 -1;
468             }
469             text {
470                font:     "Tizen:style=Medium";
471                size:     24;
472                min:      0 0;
473                align:    0.1 0.5;
474                text_class: "tizen";
475             }
476          }
477       }
478    }
479 }