nocontents - removed mouse_events:0
[profile/ivi/efl-theme-tizen.git] / themes / groups / nocontents.edc
1 /*
2  *  nbeat-theme
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: Seokjae Jeong <seok.j.jeong@samsung.com>, Myoungwoon Roy Kim <Myoungwoon.kim@samsung.com>, Jeonghyun Yun <jh0506.yun@samsung.com>, Jaehwan Kim <jae.hwan.kim@samsung.com>, Chuneon Park <chuneon.park@samsung.com>, Juyung Seo <juyung.seo@samsung.com>, Woohyun Jung <wh0705.jung@samsung.com>, Myungjae Lee <mjae.lee@samsung.com>, Hyoyoung Chang <hyoyoung.chang@samsung.com>, IlKook Yun <ilkook.yun@samsung.com>, CinWoo Kim <cinoo.kim@samsung.com> JiYeon Park <jy0703.park@samsung.com>
7  * 
8  * This library is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU Lesser General Public License as published by the
10  * Free Software Foundation; either version 2.1 of the License, or (at your option)
11  * any later version.
12  * 
13  * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14  * WARRANTY; without even the implied warranty of MERCHANTABILITY or
15  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16  * License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this library; if not, write to the Free Software Foundation, Inc., 51
20  * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  *
22  */
23
24
25    group {
26       name: "elm/nocontents/base/default";
27       alias: "elm/nocontents/base/full";
28       styles{
29          style { name: "nocontent_style";
30             base: "font=SLP:style=Roman font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" \
31             align=center \
32             color=#ffffff wrap=char";
33             tag:  "br" "\n";
34             tag:  "hilight" "+ font=SLP:style=Bold";
35             tag:  "b" "+ font=SLP:style=Bold";
36             tag:  "tab" "\t";
37          }
38       }
39       images {
40          image: "00_winset_NoContents_image.png" COMP;
41       }
42       parts {
43          part { name: "bg";
44             type: RECT;
45             description { state: "default" 0.0;
46                visible: 1;
47                rel1 { relative: 0.0 0.0;}
48                rel2 { relative: 1.0 1.0;}
49                color: 0 0 0 0;
50             }
51          }
52          part { name: "nocontents.image";
53             description { state: "default" 0.0;
54                visible: 1;
55                align: 0.5 0.0;
56                rel1 { relative: 0.176 0.287; to: "bg";}
57                rel2 { relative: 0.706 0.53; to: "bg";}
58                image {
59                   normal: "00_winset_NoContents_image.png";
60                   border: 1 1 1 1;
61                   border_scale: 1;
62                }
63                aspect: 1.0 1.0;
64                aspect_preference: BOTH;
65             }
66          }
67          part { name: "middle.padding";
68             type: RECT;
69             description { state: "default" 0.0;
70                visible: 0;
71                min: 1 NOCONTENT_MIDDLE_PADDING_INC;
72                max: 1 NOCONTENT_MIDDLE_PADDING_INC;
73                align: 0.5 0.0;
74                rel1 { relative: 0.0 1.0; to_y: "nocontents.image";}
75             }
76          }
77          part { name: "elm.text";
78             type: TEXTBLOCK;
79             scale: 1;
80             description { state: "default" 0.0;
81                //min: 0 29;
82                fixed: 0 1;
83                align: 0.5 0.0;
84                visible: 1;
85                rel1 { relative: 0.0 1.0; to_y: "middle.padding";}
86                rel2 { relative: 1.0 0.605; to:"bg";}
87                color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
88                text {
89                   style: "nocontent_style";
90                   min: 1 0;
91                }
92             }
93          }
94       }
95    }
96
97    group {
98       name: "elm/nocontents/base/multimedia";
99       images {
100          image: "00_winset_NoContents_multimedia.png" COMP;
101       }
102       parts {
103          part { name: "bg";
104             type: RECT;
105             description { state: "default" 0.0;
106                visible: 1;
107                rel1 {
108                   relative: 0.0 0.0;
109                }
110                rel2 {
111                   relative: 1.0 1.0;
112                }
113                color: 0 0 0 0;
114             }
115          }
116          part { name: "nocontents.image";
117             description { state: "default" 0.0;
118                visible: 1;
119                align: 0.5 0.0;
120                rel1 {
121                   relative: 0.294 0.288;
122                   to: "bg";
123                }
124                rel2 {
125                   relative: 0.706 0.53;
126                   to: "bg";
127                }
128                image {
129                   normal: "00_winset_NoContents_multimedia.png";
130                   border: 1 1 1 1;
131                   border_scale: 1;
132                }
133                aspect: 1.0 1.0;
134                aspect_preference: BOTH;
135             }
136          }
137          part { name: "middle.padding";
138             type: RECT;
139             description { state: "default" 0.0;
140                visible: 0;
141                min: 1 NOCONTENT_MIDDLE_PADDING_INC;
142                max: 1 NOCONTENT_MIDDLE_PADDING_INC;
143                align: 0.5 0.0;
144                rel1 {
145                   relative: 0.0 1.0;
146                   to_y: "nocontents.image";
147                }
148             }
149          }
150          part { name: "elm.text";
151             type: TEXTBLOCK;
152             scale: 1;
153             description { state: "default" 0.0;
154                fixed: 0 1;
155                align: 0.5 0.0;
156                visible: 1;
157                rel1 {
158                   relative: 0.0 1.0;
159                   to_y: "middle.padding";
160                }
161                rel2 {
162                   relative: 1.0 0.605;
163                   to:"bg";
164                }
165                color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
166                text {
167                   style: "nocontent_style";
168                   min: 1 0;
169                }
170             }
171          }
172       }
173    }
174    
175    group {
176       name: "elm/nocontents/base/text";
177       images {
178          image: "00_winset_NoContents_text.png" COMP;
179       }
180       parts {
181          part { name: "bg";
182             type: RECT;
183             description { state: "default" 0.0;
184                visible: 1;
185                rel1 {
186                   relative: 0.0 0.0;
187                }
188                rel2 {
189                   relative: 1.0 1.0;
190                }
191                color: 0 0 0 0;
192             }
193          }
194          part { name: "nocontents.image";
195             description { state: "default" 0.0;
196                visible: 1;
197                align: 0.5 0.0;
198                rel1 {
199                   relative: 0.294 0.288;
200                   to: "bg";
201                }
202                rel2 {
203                   relative: 0.706 0.53;
204                   to: "bg";
205                }
206                image {
207                   normal: "00_winset_NoContents_text.png";
208                   border: 1 1 1 1;
209                   border_scale: 1;
210                }
211                aspect: 1.0 1.0;
212                aspect_preference: BOTH;
213             }
214          }
215          part { name: "middle.padding";
216             type: RECT;
217             description { state: "default" 0.0;
218                visible: 0;
219                min: 1 NOCONTENT_MIDDLE_PADDING_INC;
220                max: 1 NOCONTENT_MIDDLE_PADDING_INC;
221                align: 0.5 0.0;
222                rel1 {
223                   relative: 0.0 1.0;
224                   to_y: "nocontents.image";
225                }
226             }
227          }
228          part { name: "elm.text";
229             type: TEXTBLOCK;
230             scale: 1;
231             description { state: "default" 0.0;
232                fixed: 0 1;
233                align: 0.5 0.0;
234                visible: 1;
235                rel1 {
236                   relative: 0.0 1.0;
237                   to_y: "middle.padding";
238                }
239                rel2 {
240                   relative: 1.0 0.605;
241                   to:"bg";
242                }
243                color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
244                text {
245                   style: "nocontent_style";
246                   min: 1 0;
247                }
248             }
249          }
250       }
251    }
252    
253    group {
254       name: "elm/nocontents/base/unnamed";
255       images {
256          image: "00_winset_NoContents_unnamed.png" COMP;
257       }
258       parts {
259          part { name: "bg";
260             type: RECT;
261             description { state: "default" 0.0;
262                visible: 1;
263                rel1 {
264                   relative: 0.0 0.0;
265                }
266                rel2 {
267                   relative: 1.0 1.0;
268                }
269                color: 0 0 0 0;
270             }
271          }
272          part { name: "nocontents.image";
273             description { state: "default" 0.0;
274                visible: 1;
275                align: 0.5 0.0;
276                rel1 {
277                   relative: 0.294 0.288;
278                   to: "bg";
279                }
280                rel2 {
281                   relative: 0.706 0.53;
282                   to: "bg";
283                }
284                image {
285                   normal: "00_winset_NoContents_unnamed.png";
286                   border: 1 1 1 1;
287                   border_scale: 1;
288                }
289                aspect: 1.0 1.0;
290                aspect_preference: BOTH;
291             }
292          }
293          part { name: "middle.padding";
294             type: RECT;
295             description { state: "default" 0.0;
296                visible: 0;
297                min: 1 NOCONTENT_MIDDLE_PADDING_INC;
298                max: 1 NOCONTENT_MIDDLE_PADDING_INC;
299                align: 0.5 0.0;
300                rel1 {
301                   relative: 0.0 1.0;
302                   to_y: "nocontents.image";
303                }
304             }
305          }
306          part { name: "elm.text";
307             type: TEXTBLOCK;
308             scale: 1;
309             description { state: "default" 0.0;
310                fixed: 0 1;
311                align: 0.5 0.0;
312                visible: 1;
313                rel1 {
314                   relative: 0.0 1.0;
315                   to_y: "middle.padding";
316                }
317                rel2 {
318                   relative: 1.0 0.605;
319                   to:"bg";
320                }
321                color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
322                text {
323                   style: "nocontent_style";
324                   min: 1 0;
325                }
326             }
327          }
328       }
329    }
330    
331    group {
332       name: "elm/nocontents/base/search";
333       parts {
334          part { name: "bg";
335             mouse_events: 0;
336             type: RECT;
337             description { state: "default" 0.0;
338                visible: 1;
339                rel1 {
340                   relative: 0.0 0.0;
341                }
342                rel2 {
343                   relative: 1.0 1.0;
344                }
345                color: 0 0 0 0;
346             }
347          }
348          part { name: "top_padding";
349             mouse_events: 0;
350             type: RECT;
351             scale: 1;
352             description { state: "default" 0.0;
353                min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
354                fixed: 0 1;
355                align: 0 0;
356                visible: 1;
357                rel1 {
358                   relative: 0.0 0.0;
359                }
360                rel2 {
361                   relative: 1.0 0.0;
362                }
363                color: 0 0 0 0;
364             }
365          }
366          part { name: "elm.text";
367             mouse_events: 0;
368             type: TEXT;
369             scale: 1;
370             description { state: "default" 0.0;
371                //min: 0 30;
372                fixed: 0 1;
373                align: 0 0;
374                visible: 1;
375                rel1 {
376                   relative: 0.0 1.0;
377                   to:"top_padding";
378                }
379                rel2 {
380                   relative: 1.0 1.0;
381                   to:"top_padding";
382                }
383                color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
384                text {
385                   font: "SLP:style=Roman";
386                   size: 30;
387                   text: "";
388                   align: 0.5 0.5;
389                }
390             }
391          }
392          part { name: "text_bottom_padding";
393             mouse_events: 0;
394             type: RECT;
395             scale: 1;
396             description { state: "default" 0.0;
397                min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
398                fixed: 0 1;
399                align: 0 0;
400                visible: 0;
401                rel1 {
402                   relative: 0.0 1.0;
403                   to:"elm.text";
404                }
405                rel2 {
406                   relative: 1.0 1.0;
407                   to:"elm.text";
408                }
409             }
410          }
411          part { name: "custom";
412             mouse_events: 1;
413             type: SWALLOW; 
414             scale: 1;
415             description { state: "default" 0.0;
416                min: 0 0;
417                fixed: 0 1;
418                align: 0 0;
419                visible: 1;
420                rel1 {
421                   relative: 0.0 1.0;
422                   to:"text_bottom_padding";
423                }
424                rel2 {
425                   relative: 1.0 1.0;
426                   to:"text_bottom_padding";
427                }
428             }
429          }
430       }
431    }