f68cc9c2cd7fa6e5ac464462b802cb34019a29e2
[profile/ivi/efl-theme-tizen.git] / themes / widgets / selectioninfo.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 group { name: "elm/standard/selectioninfo/default";
21    images {
22       image: "00_bottom_popup_shadow.png" COMP;
23    }
24    parts {
25       part { name: "bg";
26          type: RECT;
27          scale : 1;
28          description {
29             state: "default" 0.0;
30             min: 0 SELECTION_INFO_VER_PADDING_INC;
31             fixed: 0 1;
32             align: 0.5 1.0;
33             rel1.relative: 0.0 1.0;
34             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
35          }
36       }
37       part { name: "bottom.popup.shadow";
38          type: IMAGE;
39          scale: 1;
40          description { state: "default" 0.0;
41             min: SELECTION_INFO_SHADOW_VER_W_INC SELECTION_INFO_SHADOW_VER_H_INC;
42             align: 0.5 1.0;
43             fixed: 1 1;
44             image.normal: "00_bottom_popup_shadow.png";
45             rel2 {
46                to: "bg";
47                relative: 1.0 0.0;
48             }
49          }
50       }
51       part { name: "padding_left";
52          scale: 1;
53          description {
54             state: "default" 0.0;
55             min: SELECTION_INFO_LEFT_PADDING_INC 0;
56             align: 0.0 0.5;
57             rel1.to: "bg";
58             rel2 {
59                to: "bg";
60                relative: 0.0 1.0;
61             }
62             fixed: 1 0;
63             visible: 0;
64          }
65       }
66       part {
67          name: "elm.text";
68          type: TEXT;
69          mouse_events: 0;
70          scale: 1;
71          description {
72             state: "default" 0.0;
73             rel1 {
74                to: "padding_left";
75                relative: 1.0 0.0;
76             }
77             rel2.to: "bg";
78             color: SELECTION_INFO_TEXT_COLOR_INC;
79             text {
80                font: "Tizen";
81                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
82                text: "";
83                align: 0.0 0.5;
84                text_class: "tizen";
85             }
86          }
87       }
88    }
89    programs {
90       program { name: "clicked";
91          signal: "mouse,clicked,1";
92          source: "bg";
93          action: SIGNAL_EMIT "elm,action,click" "";
94       }
95    }
96 }
97
98 group { name: "elm/standard/selectioninfo/center_text";
99    inherit: "elm/standard/selectioninfo/default";
100    parts {
101       part {
102          name: "elm.text";
103          description {
104             state: "default" 0.0;
105             rel1 {
106                to: "bg";
107                relative: 0.0 0.0;
108             }
109             rel2 {
110                to: "bg";
111                relative: 1.0 1.0;
112             }
113             text.align: 0.5 0.5;
114          }
115       }
116    }
117 }
118
119 group { name: "elm/standard/selectioninfo/vertical/bottom_12";
120    images {
121       image: "00_bottom_popup_shadow.png" COMP;
122    }
123    parts {
124       part { name: "bg";
125          type: RECT;
126          scale : 1;
127          description {
128             state: "default" 0.0;
129             min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_VER_PADDING_INC;
130             fixed: 1 1;
131             align: 0.5 1.0;
132             rel1.relative: 0.5 1.0;
133             rel2.relative: 0.5 1.0;
134             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
135          }
136       }
137       part { name: "bottom.popup.shadow";
138          type: IMAGE;
139          scale: 1;
140          description { state: "default" 0.0;
141             min: SELECTION_INFO_SHADOW_VER_W_INC SELECTION_INFO_SHADOW_VER_H_INC;
142             align: 0.5 1.0;
143             fixed: 1 1;
144             image.normal: "00_bottom_popup_shadow.png";
145             rel2 {
146                to: "bg";
147                relative: 1.0 0.0;
148             }
149          }
150       }
151       part {
152          name: "elm.text";
153          type: TEXT;
154          mouse_events: 0;
155          scale: 1;
156          description {
157             state: "default" 0.0;
158             align: 0.5 0.0;
159             rel1 { to: "bg"; }
160             rel2 { to: "bg"; }
161             color: SELECTION_INFO_TEXT_COLOR_INC;
162             text {
163                font: "Tizen";
164                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
165                text: "";
166                text_class: "tizen";
167             }
168          }
169       }
170    }
171    programs {
172       program { name: "clicked";
173          signal: "mouse,clicked,1";
174          source: "base";
175          action: SIGNAL_EMIT "elm,action,click" "";
176       }
177    }
178 }
179
180 group { name: "elm/standard/selectioninfo/vertical/bottom_64";
181    images {
182       image: "00_bottom_popup_shadow.png" COMP;
183    }
184    parts {
185       part {
186          name: "bg";
187          type: RECT;
188          mouse_events: 1;
189          repeat_events: 1;
190          scale : 1;
191          description {
192             state: "default" 0.0;
193             min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC;
194             fixed: 1 1;
195             align: 0.5 1.0;
196             rel1.relative: 0.5 1.0;
197             rel2.relative: 0.5 1.0;
198             color: 0 0 0 0;
199          }
200       }
201       part { name: "bottom.popup.shadow";
202          type: IMAGE;
203          scale: 1;
204          description { state: "default" 0.0;
205             min: SELECTION_INFO_SHADOW_VER_W_INC SELECTION_INFO_SHADOW_VER_H_INC;
206             align: 0.5 1.0;
207             fixed: 1 1;
208             image.normal: "00_bottom_popup_shadow.png";
209             rel2 {
210                to: "bg";
211                relative: 1.0 0.0;
212             }
213          }
214       }
215       part { name: "base";
216          type: RECT;
217          mouse_events: 1;
218          scale : 1;
219          description {
220             state: "default" 0.0;
221             min: 0 SELECTION_INFO_VER_PADDING_INC;
222             fixed: 0 1;
223             align: 0.5 0.0;
224             rel1 { relative: 0.0 0.0; to: "bg"; }
225             rel2 { relative: 1.0 0.32; to: "bg"; }
226             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
227          }
228       }
229       part {
230          name: "elm.text";
231          type: TEXT;
232          mouse_events: 0;
233          scale: 1;
234          description {
235             state: "default" 0.0;
236             align: 0.5 0.0;
237             rel1 { to: "base"; }
238             rel2 { to: "base"; }
239             color: SELECTION_INFO_TEXT_COLOR_INC;
240             text {
241                font: "Tizen";
242                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
243                text: "";
244                text_class: "tizen";
245             }
246          }
247       }
248    }
249    programs {
250       program {
251          name: "clicked";
252          signal: "mouse,clicked,1";
253          source: "base";
254          action: SIGNAL_EMIT "elm,action,click" "";
255       }
256    }
257 }
258
259 group { name: "elm/standard/selectioninfo/vertical/bottom_86";
260    images {
261       image: "00_bottom_popup_shadow.png" COMP;
262    }
263    parts {
264       part {
265          name: "bg";
266          type: RECT;
267          mouse_events: 1;
268          repeat_events: 1;
269          scale : 1;
270          description {
271             state: "default" 0.0;
272             min: SELECTION_INFO_MIN_VER_W_INC SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC;
273             fixed: 1 1;
274             align: 0.5 1.0;
275             rel1.relative: 0.5 1.0;
276             rel2.relative: 0.5 1.0;
277             color: 0 0 0 0;
278          }
279       }
280       part { name: "bottom.popup.shadow";
281          type: IMAGE;
282          scale: 1;
283          description { state: "default" 0.0;
284             min: SELECTION_INFO_SHADOW_VER_W_INC SELECTION_INFO_SHADOW_VER_H_INC;
285             align: 0.5 1.0;
286             fixed: 1 1;
287             image.normal: "00_bottom_popup_shadow.png";
288             rel2 {
289                to: "bg";
290                relative: 1.0 0.0;
291             }
292          }
293       }
294       part {
295          name: "base";
296          type: RECT;
297          mouse_events: 1;
298          scale : 1;
299          description {
300             state: "default" 0.0;
301             min: 0 SELECTION_INFO_VER_PADDING_INC;
302             fixed: 0 1;
303             align: 0.5 0.0;
304             rel1 { relative: 0.0 0.0; to: "bg"; }
305             rel2 { relative: 1.0 0.258; to: "bg"; }
306             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
307          }
308       }
309       part {
310          name: "elm.text";
311          type: TEXT;
312          mouse_events: 0;
313          scale: 1;
314          description {
315             state: "default" 0.0;
316             align: 0.5 0.0;
317             rel1 { to: "base"; }
318             rel2 { to: "base"; }
319             color: SELECTION_INFO_TEXT_COLOR_INC;
320             text {
321                font: "Tizen";
322                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
323                text: "";
324                text_class: "tizen";
325             }
326          }
327       }
328    }
329    programs {
330       program {
331          name: "clicked";
332          signal: "mouse,clicked,1";
333          source: "base";
334          action: SIGNAL_EMIT "elm,action,click" "";
335       }
336    }
337 }
338
339 group { name: "elm/standard/selectioninfo/horizontal/bottom_12";
340    images {
341       image: "00_bottom_popup_shadow.png" COMP;
342    }
343    parts {
344       part { name: "bg";
345          type: RECT;
346          mouse_events: 1;
347          repeat_events: 1;
348          scale : 1;
349          description {
350             state: "default" 0.0;
351             min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_VER_PADDING_INC;
352             fixed: 1 1;
353             align: 0.5 1.0;
354             rel1.relative: 0.5 1.0;
355             rel2.relative: 0.5 1.0;
356             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
357          }
358       }
359       part { name: "bottom.popup.shadow";
360          type: IMAGE;
361          scale: 1;
362          description { state: "default" 0.0;
363             min: SELECTION_INFO_SHADOW_HORZ_W_INC SELECTION_INFO_SHADOW_HORZ_H_INC;
364             align: 0.5 1.0;
365             fixed: 1 1;
366             image.normal: "00_bottom_popup_shadow.png";
367             rel2 {
368                to: "bg";
369                relative: 1.0 0.0;
370             }
371          }
372       }
373       part {
374          name: "elm.text";
375          type: TEXT;
376          mouse_events: 0;
377          scale: 1;
378          description {
379             state: "default" 0.0;
380             align: 0.5 0.0;
381             rel1 { to: "bg"; }
382             rel2 { to: "bg"; }
383             color: SELECTION_INFO_TEXT_COLOR_INC;
384             text {
385                font: "Tizen";
386                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
387                text: "";
388                text_class: "tizen";
389             }
390          }
391       }
392    }
393    programs {
394       program { name: "clicked";
395          signal: "mouse,clicked,1";
396          source: "base";
397          action: SIGNAL_EMIT "elm,action,click" "";
398       }
399    }
400 }
401
402 group { name: "elm/standard/selectioninfo/horizontal/bottom_64";
403    images {
404       image: "00_bottom_popup_shadow.png" COMP;
405    }
406    parts {
407       part {
408          name: "bg";
409          type: RECT;
410          mouse_events: 1;
411          repeat_events: 1;
412          scale : 1;
413          description {
414             state: "default" 0.0;
415             min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_MIN_VER_BOTTOM_64_H_INC;
416             fixed: 1 1;
417             align: 0.5 1.0;
418             rel1.relative: 0.5 1.0;
419             rel2.relative: 0.5 1.0;
420             color: 0 0 0 0;
421          }
422       }
423       part { name: "bottom.popup.shadow";
424          type: IMAGE;
425          scale: 1;
426          description { state: "default" 0.0;
427             min: SELECTION_INFO_SHADOW_HORZ_W_INC SELECTION_INFO_SHADOW_HORZ_H_INC;
428             align: 0.5 1.0;
429             fixed: 1 1;
430             image.normal: "00_bottom_popup_shadow.png";
431             rel2 {
432                to: "bg";
433                relative: 1.0 0.0;
434             }
435          }
436       }
437       part { name: "base";
438          type: RECT;
439          mouse_events: 1;
440          scale : 1;
441          description {
442             state: "default" 0.0;
443             min: 0 SELECTION_INFO_VER_PADDING_INC;
444             fixed: 0 1;
445             align: 0.5 0.0;
446             rel1 { relative: 0.0 0.0; to: "bg"; }
447             rel2 { relative: 1.0 0.32; to: "bg"; }
448             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
449          }
450       }
451       part {
452          name: "elm.text";
453          type: TEXT;
454          mouse_events: 0;
455          scale: 1;
456          description {
457             state: "default" 0.0;
458             align: 0.5 0.0;
459             rel1 { to: "base"; }
460             rel2 { to: "base"; }
461             color: SELECTION_INFO_TEXT_COLOR_INC;
462             text {
463                font: "Tizen";
464                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
465                text: "";
466                text_class: "tizen";
467             }
468          }
469       }
470    }
471    programs {
472       program {
473          name: "clicked";
474          signal: "mouse,clicked,1";
475          source: "base";
476          action: SIGNAL_EMIT "elm,action,click" "";
477       }
478    }
479 }
480
481 group { name: "elm/standard/selectioninfo/horizontal/bottom_86";
482    images {
483       image: "00_bottom_popup_shadow.png" COMP;
484    }
485    parts {
486       part {
487          name: "bg";
488          type: RECT;
489          mouse_events: 1;
490          repeat_events: 1;
491          scale : 1;
492          description {
493             state: "default" 0.0;
494             min: SELECTION_INFO_MIN_HORZ_W_INC SELECTION_INFO_MIN_VER_BOTTOM_86_H_INC;
495             fixed: 1 1;
496             align: 0.5 1.0;
497             rel1.relative: 0.5 1.0;
498             rel2.relative: 0.5 1.0;
499             color: 0 0 0 0;
500          }
501       }
502       part { name: "bottom.popup.shadow";
503          type: IMAGE;
504          scale: 1;
505          description { state: "default" 0.0;
506             min: SELECTION_INFO_SHADOW_HORZ_W_INC SELECTION_INFO_SHADOW_HORZ_H_INC;
507             align: 0.5 1.0;
508             fixed: 1 1;
509             image.normal: "00_bottom_popup_shadow.png";
510             rel2 {
511                to: "bg";
512                relative: 1.0 0.0;
513             }
514          }
515       }
516       part {
517          name: "base";
518          type: RECT;
519          mouse_events: 1;
520          scale : 1;
521          description {
522             state: "default" 0.0;
523             min: 0 SELECTION_INFO_VER_PADDING_INC;
524             fixed: 0 1;
525             align: 0.5 0.0;
526             rel1 { relative: 0.0 0.0; to: "bg"; }
527             rel2 { relative: 1.0 0.258; to: "bg"; }
528             color: SELECTION_INFO_BACKGROUND_COLOR_INC;
529          }
530       }
531       part {
532          name: "elm.text";
533          type: TEXT;
534          mouse_events: 0;
535          scale: 1;
536          description {
537             state: "default" 0.0;
538             align: 0.5 0.0;
539             rel1 { to: "base"; }
540             rel2 { to: "base"; }
541             color: SELECTION_INFO_TEXT_COLOR_INC;
542             text {
543                font: "Tizen";
544                size: SELECTION_INFO_TEXT_FONT_SIZE_INC;
545                text: "";
546                text_class: "tizen";
547             }
548          }
549       }
550    }
551    programs {
552       program {
553          name: "clicked";
554          signal: "mouse,clicked,1";
555          source: "base";
556          action: SIGNAL_EMIT "elm,action,click" "";
557       }
558    }
559 }