apply text class for accessibillty giant font
[profile/ivi/efl-theme-tizen.git] / themes / widgets / layout.edc
1 /*
2  * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved 
3  *
4  * PROPRIETARY/CONFIDENTIAL
5  *
6  * This software is the confidential and proprietary information of SAMSUNG
7  * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8  * software is owned by Samsung and you shall not disclose such Confidential
9  * Information and shall use it only in accordance with the terms of the license
10  * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11  * representations or warranties about the suitability of the software, either
12  * express or implied, including but not limited to the implied warranties of
13  * merchantability, fitness for a particular purpose, or non-infringement.
14  * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15  * of or releated to this software.
16  *
17  */
18
19    /*************************************************/
20    /* elm_layout -> fundamental template style      */
21    /*************************************************/
22    group { name: "elm/layout/application/default";
23       parts {
24          part { name: "elm.swallow.bg";
25             type: SWALLOW;
26             scale: 1;
27             description { state: "default" 0.0;
28             }
29          }
30          part { name: "indicator";
31             type: RECT;
32             scale: 1;
33             description { state: "default" 0.0;
34                min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
35                max: 999999 LAYOUT_INDICATOR_HEIGHT_INC;
36                fixed: 0 1;
37                align: 0.5 0;
38                color: LAYOUT_INDICATOR_COLOR_INC;
39             }
40          }
41          part { name: "elm.swallow.content";
42             type: SWALLOW;
43             scale: 1;
44             description { state: "default" 0.0;
45                rel1.to_y: "indicator";
46                rel1.relative: 0.0 1.0;
47             }
48          }
49          part { name: "elm.swallow.controlbar";
50             type: SWALLOW;
51             description { state: "default" 0.0;
52                visible: 0;
53             }
54          }
55       }
56    }
57    /*************************************************************/
58    /* elm_layout -> fundamental template style but no indicator */
59    /*************************************************************/
60    group { name: "elm/layout/application/noindicator";
61       parts {
62          part { name: "elm.swallow.bg";
63             type: SWALLOW;
64             scale: 1;
65             description { state: "default" 0.0;
66             }
67          }
68          part { name: "elm.swallow.content";
69             type: SWALLOW;
70             scale: 1;
71             description { state: "default" 0.0;
72             }
73          }
74          part { name: "elm.swallow.controlbar";
75             type: SWALLOW;
76             description { state: "default" 0.0;
77                visible: 0;
78             }
79          }
80       }
81    }
82    /************************************************************/
83    /* elm_layout -> fundamental template style with controlbar */
84    /************************************************************/
85    group { name: "elm/layout/application/controlbar";
86       parts {
87          part { name: "elm.swallow.bg";
88             type: SWALLOW;
89             scale: 1;
90             description { state: "default" 0.0;
91             }
92          }
93          part { name: "indicator";
94             type: RECT;
95             scale: 1;
96             description { state: "default" 0.0;
97                min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
98                max: 999999 LAYOUT_INDICATOR_HEIGHT_INC;
99                fixed: 0 1;
100                align: 0.5 0;
101                color: LAYOUT_INDICATOR_COLOR_INC;
102             }
103          }
104          part { name: "elm.swallow.content";
105             type: SWALLOW;
106             scale: 1;
107             description { state: "default" 0.0;
108                rel1.to_y: "indicator";
109                rel1.relative: 0.0 1.0;
110                rel2.relative: 1.0 0.0;
111                rel2.to: "elm.swallow.controlbar";
112             }
113          }
114          part { name: "elm.swallow.controlbar";
115             type: SWALLOW;
116             scale: 1;
117             description { state: "default" 0.0;
118                min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
119                fixed: 0 1;
120                rel1 { relative: 0.0 1.0; }
121                rel2 { relative: 1.0 1.0; }
122                align: 0.5 1.0;
123             }
124          }
125       }
126    }
127    /************************************************************/
128    /* elm_layout -> fundamental template style with tabbar */
129    /************************************************************/
130    group { name: "elm/layout/application/tabbar";
131       parts {
132          part { name: "elm.swallow.bg";
133             type: SWALLOW;
134             scale: 1;
135             description { state: "default" 0.0;
136             }
137          }
138          part { name: "indicator";
139             type: RECT;
140             scale: 1;
141             description { state: "default" 0.0;
142                min: 0 LAYOUT_INDICATOR_HEIGHT_INC;
143                max: 999999 LAYOUT_INDICATOR_HEIGHT_INC;
144                fixed: 0 1;
145                align: 0.5 0;
146                color: LAYOUT_INDICATOR_COLOR_INC;
147             }
148          }
149          part { name: "elm.swallow.tabbar";
150             type: SWALLOW;
151             scale: 1;
152             description { state: "default" 0.0;
153                min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
154                fixed: 0 1;
155                rel1 { relative: 0.0 1.0; to_y: "indicator";}
156                rel2 { relative: 1.0 1.0; to_y: "indicator";}
157                align: 0.5 0.0;
158             }
159          }
160          part { name: "elm.swallow.content";
161             type: SWALLOW;
162             scale: 1;
163             description { state: "default" 0.0;
164                rel1.to_y: "elm.swallow.tabbar";
165                rel1.relative: 0.0 1.0;
166             }
167          }
168       }
169    }
170
171    /*************************************************/
172    /* elm_layout -> tabbar template style       */
173    /*************************************************/
174    group { name: "elm/layout/tabbar/default";
175       parts {
176          part { name: "elm.swallow.bg";
177             type: SWALLOW;
178             scale: 1;
179             description { state: "default" 0.0;
180             }
181          }
182          part { name: "elm.swallow.tabbar";
183             type: SWALLOW;
184             scale: 1;
185             description { state: "default" 0.0;
186                min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
187                fixed: 0 1;
188                rel1 { relative: 0.0 0.0; }
189                rel2 { relative: 1.0 0.0; }
190                align: 0.5 0.0;
191             }
192          }
193          part { name: "elm.swallow.content";
194             type: SWALLOW;
195             scale: 1;
196             description { state: "default" 0.0;
197                rel1.relative: 0.0 1.0;
198                rel1.to: "elm.swallow.tabbar";
199             }
200          }
201       }
202    }
203
204    /*************************************************/
205    /* elm_layout -> searchbar style                 */
206    /*************************************************/
207    group { name: "elm/layout/application/searchbar_base";
208       parts {
209          part { name: "elm.swallow.bg";
210             type: SWALLOW;
211             scale: 1;
212             description { state: "default" 0.0;
213             }
214          }
215          part { name: "searchbar";
216             type: SWALLOW;
217             mouse_events: 1;
218             scale: 1;
219             description { state: "default" 0.0;
220                min: 0 SEARCHBAR_H_INC;
221                fixed: 0 1;
222                align: 0.0 1.0;
223                rel2 {
224                   relative: 1.0 0.0;
225                }
226             }
227             description { state: "visible" 0.0;
228                inherit: "default" 0.0;
229                align: 0.0 0.0;
230             }
231          }
232          part { name: "elm.swallow.content";
233             type: SWALLOW;
234             mouse_events: 1;
235             scale: 1;
236             description { state: "default" 0.0;
237                align: 0.0 0.0;
238                rel1 {
239                   relative: 0.0 1.0;
240                   to: "searchbar";
241                }
242             }
243          }
244       }
245       programs {
246          program { name: "show_searchbar";
247             signal: "elm,state,show,searchbar";
248             source: "elm";
249             action: STATE_SET "visible" 0.0;
250             target: "searchbar";
251          }
252          program { name: "show_searchbar_with_animation";
253             signal: "elm,state,show,searchbar,animation";
254             source: "elm";
255             action: STATE_SET "visible" 0.0;
256             transition: DECELERATE 0.3;
257             target: "searchbar";
258          }
259          program { name: "hide_searchbar";
260             signal: "elm,state,hide,searchbar";
261             source: "elm";
262             action: STATE_SET "default" 0.0;
263             target: "searchbar";
264          }
265          program { name: "hide_searchbar_with_animation";
266             signal: "elm,state,hide,searchbar,animation";
267             source: "elm";
268             action: STATE_SET "default" 0.0;
269             transition: ACCELERATE 0.3;
270             target: "searchbar";
271          }
272       }
273    }
274
275    /*************************************************/
276    /* elm_layout -> integrated style (deprecated)   */
277    /*************************************************/
278    group { name: "elm/standard/window/integration";
279       parts {
280          /* for event blocking */
281          part { name: "base_event";
282             type: RECT;
283             repeat_events: 0;
284             description { state: "default" 0.0;
285                visible: 1;
286                color: 0 0 0 0;
287             }
288             description { state: "block_events" 0.0;
289                inherit: "default" 0.0;
290             }
291             description { state: "repeat_events" 0.0;
292                inherit: "default" 0.0;
293                visible: 0;
294             }
295          }
296          part { name: "base";
297             type: RECT;
298             mouse_events: 1;
299             repeat_events: 1;
300             description { state: "default" 0.0;
301                color: LAYOUT_BG_COLOR_INC;
302             }
303             description { state: "white_bg" 0.0;
304                color: 255 255 255 255;
305             }
306             description { state: "black_bg" 0.0;
307                color: 0 0 0 255;
308             }
309             description { state: "beige_bg" 0.0;
310                color: 246 245 237 255;
311             }
312             description { state: "group_list_bg" 0.0;
313                color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
314             }
315             description { state: "transparent_bg" 0.0;
316                color: 0 0 0 0;
317             }
318             description { state: "edit_mode" 0.0;
319                color: LAYOUT_EDIT_MODE_BG_COLOR_INC;
320             }
321          }
322          part { name: "elm.swallow.content";
323             type: SWALLOW;
324             description {
325                state: "default" 0.0;
326                visible: 0;
327                rel1 { relative: 0.0 0.0; }
328                rel2 { relative: 1.0 1.0; }
329             }
330             description { state: "show" 0.0;
331                inherit: "default" 0.0;
332                visible: 1;
333             }
334             description { state: "show_with_navi_bar" 0.0;
335                inherit: "default" 0.0;
336                rel1 { relative: 0.0 1.0; to_y: "elm.swallow.navi_bar"; }
337                visible: 1;
338             }
339             description { state: "show" 1.0;
340                inherit: "default" 0.0;
341                rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; }
342                visible: 1;
343             }
344             description { state: "show_with_navi_bar" 1.0;
345                inherit: "default" 0.0;
346                rel1 { relative: 0.0 1.0; to_y: "elm.swallow.navi_bar"; }
347                rel2 { relative: 1.0 0.0; to_y: "elm.swallow.controlbar"; }
348                visible: 1;
349             }
350          }
351          part { name: "elm.swallow.navi_bar";
352             type: SWALLOW;
353             scale: 1;
354             description {
355                state: "default" 0.0;
356                visible: 0;
357                min: 0 NAVIFRAME_TITLE_H_INC;
358                fixed: 0 1;
359                rel1 { relative: 0.0 0.0; }
360                rel2 { relative: 1.0 0.0; }
361                align: 0.5 0;
362             }
363             description { state: "show" 0.0;
364                inherit: "default" 0.0;
365                visible: 1;
366             }
367          }
368          part { name: "elm.swallow.controlbar";
369             type: SWALLOW;
370             scale: 1;
371             description { state: "default" 0.0;
372                visible: 0;
373                min: 0 CONTROLBAR_LARGE_HEIGHT_INC;
374                fixed: 0 1;
375                rel1 { relative: 0.0 1.0; }
376                rel2 { relative: 1.0 1.0; }
377                align: 0.5 1.0;
378             }
379             description { state: "show" 0.0;
380                inherit: "default" 0.0;
381                visible: 1;
382             }
383          }
384       }
385       programs {
386          program { name: "block_events";
387             signal: "elm,base_event,block_events";
388             source: "elm";
389             action: STATE_SET "block_events" 0.0;
390             target: "base_event";
391          }
392          program { name: "repeat_events";
393             signal: "elm,base_event,repeat_events";
394             source: "elm";
395             action: STATE_SET "repeat_events" 0.0;
396             target: "base_event";
397          }
398          program { name: "show_default_bg";
399             signal: "elm,bg,show,default";
400             source: "elm";
401             script {
402                set_state(PART:"base", "default", 0.0);
403             }
404          }
405          program { name: "show_black_bg";
406             signal: "elm,bg,show,black";
407             source: "elm";
408             script {
409                set_state(PART:"base", "black_bg", 0.0);
410             }
411          }
412          program { name: "show_white_bg";
413             signal: "elm,bg,show,white";
414             source: "elm";
415             script {
416                set_state(PART:"base", "white_bg", 0.0);
417             }
418          }
419          program { name: "show_beige_bg";
420             signal: "elm,bg,show,beige";
421             source: "elm";
422             script {
423                set_state(PART:"base", "beige_bg", 0.0);
424             }
425          }
426          program { name: "show_group_list_bg";
427             signal: "elm,bg,show,group_list";
428             source: "elm";
429             script {
430                set_state(PART:"base", "group_list_bg", 0.0);
431             }
432          }
433          program { name: "show_transparent_bg";
434             signal: "elm,bg,show,transparent";
435             source: "elm";
436             script {
437                set_state(PART:"base", "transparent_bg", 0.0);
438             }
439          }
440          program { name: "show_edit_mode_bg";
441             signal: "elm,bg,show,edit_mode";
442             source: "elm";
443             script {
444                set_state(PART:"base", "edit_mode", 0.0);
445             }
446          }
447          program { name: "show_navi_bar";
448             signal: "elm,state,show,navi_bar";
449             source: "elm";
450             script {
451                set_state(PART:"elm.swallow.navi_bar", "show", 0.0);
452                run_program(PROGRAM:"check_location");
453             }
454          }
455          program { name: "hide_navi_bar";
456             signal: "elm,state,hide,navi_bar";
457             source: "elm";
458             script {
459                set_state(PART:"elm.swallow.navi_bar", "default", 0.0);
460                run_program(PROGRAM:"check_location");
461             }
462          }
463          program { name: "show_content";
464             signal: "elm,state,show,content";
465             source: "elm";
466             script {
467                set_state(PART:"elm.swallow.content", "show", 0.0);
468                run_program(PROGRAM:"check_location");
469             }
470          }
471          program { name: "hide_content";
472             signal: "elm,state,hide,content";
473             source: "elm";
474             script {
475                set_state(PART:"elm.swallow.content", "hide", 0.0);
476                run_program(PROGRAM:"check_location");
477             }
478          }
479          program { name: "show_controlbar";
480             signal: "elm,state,show,controlbar";
481             source: "elm";
482             script {
483                set_state(PART:"elm.swallow.controlbar", "show", 0.0);
484                run_program(PROGRAM:"check_location");
485             }
486          }
487          program { name: "hide_controlbar";
488             signal: "elm,state,hide,controlbar";
489             source: "elm";
490             script {
491                set_state(PART:"elm.swallow.controlbar", "default", 0.0);
492                run_program(PROGRAM:"check_location");
493             }
494          }
495          program { name: "check_location";
496             script {
497                new st[30];
498                new Float:vl;
499                new navi_bar = 0, content = 0, controlbar = 0;
500
501                get_state(PART:"elm.swallow.navi_bar", st, 30, vl)
502                if (!strncmp(st, "show", 4))  navi_bar = 1;
503                get_state(PART:"elm.swallow.content", st, 30, vl)
504                if (!strncmp(st, "show", 4))  content = 1;
505                get_state(PART:"elm.swallow.controlbar", st, 30, vl)
506                if (!strncmp(st, "show", 4))  controlbar = 1;
507
508                // set navi bar
509                if (navi_bar == 1) {
510                   set_state(PART:"elm.swallow.navi_bar", "show", 0.0)
511                }
512
513                // set content
514                if (content == 1) {
515                   if (navi_bar == 1) {
516                      set_state(PART:"elm.swallow.content", "show_with_navi_bar", 0.0)
517                   } else {
518                      set_state(PART:"elm.swallow.content", "show", 0.0)
519                   }
520                   get_state(PART:"elm.swallow.content", st, 30, vl)
521
522                   if (controlbar == 1) {
523                      set_state(PART:"elm.swallow.content", st, 1.0)
524                   }
525                }
526             }
527          }
528       }
529    }
530
531 group { name: "elm/layout/editfield/default";
532    images {
533       image: "00_EditField_clear.png" COMP;
534    }
535    parts {
536       part {
537          name: "base";
538          type: RECT;
539          scale: 1;
540          ignore_flags: ON_HOLD;
541          description {
542             state: "default" 0.0;
543             min: 0 EDITFIELD_DEFAULT_MINH_INC;
544             color: 0 0 0 0;
545          }
546       }
547       part {
548          name: "top1";
549          type: RECT;
550          scale: 1;
551          ignore_flags: ON_HOLD;
552          description {
553             state: "default" 0.0;
554             visible: 0;
555             min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
556             fixed: 1 1;
557             rel1.relative: 0.0 0.0;
558             rel2.relative: 1.0 0.0;
559             align: 0.5 0;
560          }
561       }
562       part {
563          name: "top2";
564          type: RECT;
565          scale: 1;
566          ignore_flags: ON_HOLD;
567          description {
568             state: "default" 0.0;
569             visible: 0;
570             min: 0 EDITFIELD_DEFAULT_TOP2_INC;
571             fixed: 1 1;
572             rel1.relative: 0.0 0.0;
573             rel2.relative: 1.0 0.0;
574             align: 0.5 0;
575          }
576       }
577       part {
578          name: "left1";
579          type: RECT;
580          scale: 1;
581          ignore_flags: ON_HOLD;
582          description {
583             state: "default" 0.0;
584             visible: 0;
585             min: EDITFIELD_DEFAULT_LEFT1_INC 0;
586             fixed: 1 1;
587             align: 0 0;
588             rel1.relative : 0.0 0.0;
589             rel2.relative : 0.0 1.0;
590          }
591       }
592       part {
593          name: "left2";
594          type: RECT;
595          scale: 1;
596          ignore_flags: ON_HOLD;
597          description {
598             state: "default" 0.0;
599             visible: 0;
600             min: EDITFIELD_DEFAULT_LEFT2_INC 0;
601             fixed: 1 1;
602             align: 0 0;
603             rel1.relative : 0.0 0.0;
604             rel2.relative : 0.0 1.0;
605          }
606       }
607       part {
608          name: "right1";
609          type: RECT;
610          scale: 1;
611          ignore_flags: ON_HOLD;
612          description {
613             state: "default" 0.0;
614             visible: 0;
615             min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
616             fixed: 1 1;
617             align: 1 0;
618             rel1.relative : 1.0 0.0;
619             rel2.relative : 1.0 1.0;
620          }
621       }
622       part {
623          name: "right2";
624          type: RECT;
625          scale: 1;
626          ignore_flags: ON_HOLD;
627          description {
628             state: "default" 0.0;
629             visible: 0;
630             min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
631             fixed: 1 1;
632             align: 1 0;
633             rel1.relative : 1.0 0.0;
634             rel2.relative : 1.0 1.0;
635          }
636       }
637       part {
638          name: "bottom1";
639          type: RECT;
640          scale: 1;
641          ignore_flags: ON_HOLD;
642          description {
643             state: "default" 0.0;
644             visible: 0;
645             min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
646             fixed: 1 1;
647             align: 0 1;
648             rel1.relative: 0.0 1.0;
649          }
650       }
651       part {
652          name: "bottom2";
653          type: RECT;
654          scale: 1;
655          ignore_flags: ON_HOLD;
656          description {
657             state: "default" 0.0;
658             visible: 0;
659             min: 0 EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC;
660             fixed: 0 1;
661             rel1.relative: 0.0 1.0;
662             align: 0 1;
663          }
664       }
665       part {
666          name: "elm.guidetext";
667          type: TEXT;
668          scale: 1;
669          ignore_flags: ON_HOLD;
670          description {
671             state: "default" 0.0;
672             align: 0.0 0.0;
673             fixed: 1 1;
674             rel1.to: "elm.swallow.content";
675             rel2.to: "elm.swallow.content";
676             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
677             text {
678                font: "SLP:style=Roman";
679                size: ENTRY_TEXT_SIZE_INC;
680                min: 0 0;
681                align: 0.0 0.5;
682                text_class: "slp_roman";
683             }
684          }
685          description {
686             state: "hidden" 0.0;
687             inherit: "default" 0.0;
688             visible: 0;
689          }
690       }
691       part {
692          name: "elm.swallow.content";
693          type: SWALLOW;
694          scale: 1;
695          ignore_flags: ON_HOLD;
696          description {
697             state: "default" 0.0;
698             min: 0 40;
699             rel1 {
700                relative : 1.0 1.0;
701                to_x: "left1";
702                to_y: "top1";
703             }
704             rel2 {
705                relative : 0.0 0.0;
706                to_x: "right1";
707                to_y: "bottom1";
708             }
709             align: 0.0 0.5;
710          }
711       }
712       part {
713          name: "eraser_image";
714          scale: 1;
715          description {
716             state: "default" 0.0;
717             visible: 0;
718             min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
719             fixed: 1 1;
720             align: 1 0.5;
721             rel1 {
722                relative: 0.0 0.5;
723                to_x : "right2";
724             }
725             rel2 {
726                relative: 0.0 0.5;
727                to_x : "right2";
728             }
729             image {
730                normal: "00_EditField_clear.png";
731                border: 10 10 10 10;
732                border_scale: 1;
733             }
734          }
735          description {
736             state: "elm.eraser.show" 0.0;
737             inherit: "default" 0.0;
738             visible: 1;
739          }
740       }
741       part {
742          name: "eraser";
743          type: RECT;
744          mouse_events: 1;
745          ignore_flags: ON_HOLD;
746          description {
747             state: "default" 0.0;
748             visible: 0;
749             min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
750             fixed: 1 1;
751             align: 1 0.5;
752             color: 0 0 0 0;
753             rel1 {
754                relative: 0.0 0.5;
755                to_x : "right2";
756             }
757             rel2 {
758                relative: 0.0 0.5;
759                to_x : "right2";
760             }
761          }
762          description {
763             state: "elm.eraser.show" 0.0;
764             inherit: "default" 0.0;
765             visible: 1;
766          }
767       }
768    }
769    programs {
770       program {
771          name: "guidetext_show";
772          signal: "elm,state,guidetext,show";
773          source: "elm";
774          action: STATE_SET "default" 0.0;
775          target: "elm.guidetext";
776       }
777       program {
778          name: "guidetext_hide";
779          signal: "elm,state,guidetext,hide";
780          source: "elm";
781          action: STATE_SET "hidden" 0.0;
782          target: "elm.guidetext";
783       }
784       program {
785          name: "eraser_show";
786          signal: "elm,state,eraser,show";
787          source: "elm";
788          action: STATE_SET "elm.eraser.show" 0.0;
789          target: "eraser_image";
790          target: "eraser";
791       }
792       program {
793          name: "eraser_hide";
794          signal: "elm,state,eraser,hide";
795          source: "elm";
796          action: STATE_SET "default" 0.0;
797          target: "eraser_image";
798          target: "eraser";
799       }
800       program {
801          name: "eraser_clicked";
802          signal: "mouse,clicked,1";
803          source: "eraser";
804          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
805       }
806    }
807 }
808
809 group { name: "elm/layout/editfield/title";
810    images {
811       image: "00_EditField_clear.png" COMP;
812    }
813    parts {
814       part {
815          name: "base";
816          type: RECT;
817          scale: 1;
818          ignore_flags: ON_HOLD;
819          description {
820             state: "default" 0.0;
821             min: 0 EDITFIELD_DEFAULT_MINH_INC;
822             color: 0 0 0 0;
823          }
824       }
825       part {
826          name: "top1";
827          type: RECT;
828          scale: 1;
829          ignore_flags: ON_HOLD;
830          description {
831             state: "default" 0.0;
832             visible: 0;
833             min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
834             fixed: 1 1;
835             rel1.relative: 0.0 0.0;
836             rel2.relative: 1.0 0.0;
837             align: 0.5 0;
838          }
839       }
840       part {
841          name: "top2";
842          type: RECT;
843          scale: 1;
844          ignore_flags: ON_HOLD;
845          description {
846             state: "default" 0.0;
847             visible: 0;
848             min: 0 EDITFIELD_DEFAULT_TOP2_INC;
849             fixed: 1 1;
850             rel1.relative: 0.0 0.0;
851             rel2.relative: 1.0 0.0;
852             align: 0.5 0;
853          }
854       }
855       part {
856          name: "left1";
857          type: RECT;
858          scale: 1;
859          ignore_flags: ON_HOLD;
860          description {
861             state: "default" 0.0;
862             visible: 0;
863             min: EDITFIELD_DEFAULT_LEFT1_INC 0;
864             fixed: 1 1;
865             align: 0 0;
866             rel1.relative : 0.0 0.0;
867             rel2.relative : 0.0 1.0;
868          }
869       }
870       part {
871          name: "left2";
872          type: RECT;
873          scale: 1;
874          ignore_flags: ON_HOLD;
875          description {
876             state: "default" 0.0;
877             visible: 0;
878             min: EDITFIELD_DEFAULT_LEFT2_INC 0;
879             fixed: 1 1;
880             align: 0 0;
881             rel1.relative : 0.0 0.0;
882             rel2.relative : 0.0 1.0;
883          }
884       }
885       part {
886          name: "right1";
887          type: RECT;
888          scale: 1;
889          ignore_flags: ON_HOLD;
890          description {
891             state: "default" 0.0;
892             visible: 0;
893             min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
894             fixed: 1 1;
895             align: 1 0;
896             rel1.relative : 1.0 0.0;
897             rel2.relative : 1.0 1.0;
898          }
899       }
900       part {
901          name: "right2";
902          type: RECT;
903          scale: 1;
904          ignore_flags: ON_HOLD;
905          description {
906             state: "default" 0.0;
907             visible: 0;
908             min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
909             fixed: 1 1;
910             align: 1 0;
911             rel1.relative : 1.0 0.0;
912             rel2.relative : 1.0 1.0;
913          }
914       }
915       part {
916          name: "bottom1";
917          type: RECT;
918          scale: 1;
919          ignore_flags: ON_HOLD;
920          description {
921             state: "default" 0.0;
922             visible: 0;
923             min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
924             fixed: 1 1;
925             align: 0 1;
926             rel1.relative: 0.0 1.0;
927          }
928       }
929       part {
930          name: "bottom2";
931          type: RECT;
932          scale: 1;
933          ignore_flags: ON_HOLD;
934          description {
935             state: "default" 0.0;
936             visible: 0;
937             min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
938             fixed: 0 1;
939             rel1.relative: 0.0 1.0;
940             align: 0 1;
941          }
942       }
943       part {
944          name: "eraser_base";
945          type: RECT;
946          scale: 1;
947          ignore_flags: ON_HOLD;
948          description {
949             state: "default" 0.0;
950             visible: 0;
951             rel1 {
952                relative: 0.0 1.0;
953                to_y: "top1";
954             }
955          }
956       }
957       part {
958          name: "elm.text";
959          type: TEXT;
960          scale: 1;
961          ignore_flags: ON_HOLD;
962          description {
963             state: "default" 0.0;
964             align: 0.0 0.0;
965             min: 0 34;
966             fixed: 1 1;
967             rel1 {
968                relative: 1.0 1.0;
969                to_x: "left2";
970                to_y: "top2";
971             }
972             rel2 {
973                relative: 1.0 1.0;
974                to_x: "left2";
975                to_y: "top2";
976             }
977             color: EDITFIELD_TITLE_COLOR_INC;
978             text {
979                font: "SLP:style=Medium";
980                size: EDITFIELD_TITLE_SIZE_INC;
981                min: 1 1;
982                align: 0.0 0.0;
983                text_class: "slp_medium";
984             }
985          }
986       }
987       part {
988          name: "elm.guidetext";
989          type: TEXT;
990          scale: 1;
991          ignore_flags: ON_HOLD;
992          description {
993             state: "default" 0.0;
994             align: 0.0 0.0;
995             fixed: 1 1;
996             rel1.to: "elm.swallow.content";
997             rel2.to: "elm.swallow.content";
998             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
999             text {
1000                font: "SLP:style=Roman";
1001                size: ENTRY_TEXT_SIZE_INC;
1002                min: 0 0;
1003                align: 0.0 0.5;
1004                text_class: "slp_roman";
1005             }
1006          }
1007          description {
1008             state: "hidden" 0.0;
1009             inherit: "default" 0.0;
1010             visible: 0;
1011          }
1012       }
1013       part {
1014          name: "elm.swallow.content";
1015          type: SWALLOW;
1016          scale: 1;
1017          ignore_flags: ON_HOLD;
1018          description {
1019             state: "default" 0.0;
1020             min: 0 40;
1021             rel1 {
1022                relative : 1.0 1.0;
1023                to_x: "left1";
1024                to_y: "top1";
1025             }
1026             rel2 {
1027                relative : 0.0 0.0;
1028                to_x: "right1";
1029                to_y: "bottom1";
1030             }
1031             align: 0.0 0.5;
1032          }
1033       }
1034       part {
1035          name: "eraser_image";
1036          scale: 1;
1037          description {
1038             state: "default" 0.0;
1039             visible: 0;
1040             min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
1041             fixed: 1 1;
1042             align: 1 0.5;
1043             rel1 {
1044                relative: 0.0 0.5;
1045                to_x : "right2";
1046                to_y : "eraser_base";
1047             }
1048             rel2 {
1049                relative: 0.0 0.5;
1050                to_x : "right2";
1051                to_y : "eraser_base";
1052             }
1053             image {
1054                normal: "00_EditField_clear.png";
1055                border: 10 10 10 10;
1056                border_scale: 1;
1057             }
1058          }
1059          description {
1060             state: "elm.eraser.show" 0.0;
1061             inherit: "default" 0.0;
1062             visible: 1;
1063          }
1064       }
1065       part {
1066          name: "eraser";
1067          type: RECT;
1068          mouse_events: 1;
1069          ignore_flags: ON_HOLD;
1070          description {
1071             state: "default" 0.0;
1072             visible: 0;
1073             min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
1074             fixed: 1 1;
1075             align: 1 0.5;
1076             color: 0 0 0 0;
1077             rel1 {
1078                relative: 0.0 0.5;
1079                to_x : "right2";
1080                to_y : "eraser_base";
1081             }
1082             rel2 {
1083                relative: 0.0 0.5;
1084                to_x : "right2";
1085                to_y : "eraser_base";
1086             }
1087          }
1088          description {
1089             state: "elm.eraser.show" 0.0;
1090             inherit: "default" 0.0;
1091             visible: 1;
1092          }
1093       }
1094    }
1095    programs {
1096       program {
1097          name: "guidetext_show";
1098          signal: "elm,state,guidetext,show";
1099          source: "elm";
1100          action: STATE_SET "default" 0.0;
1101          target: "elm.guidetext";
1102       }
1103       program {
1104          name: "guidetext_hide";
1105          signal: "elm,state,guidetext,hide";
1106          source: "elm";
1107          action: STATE_SET "hidden" 0.0;
1108          target: "elm.guidetext";
1109       }
1110       program {
1111          name: "eraser_show";
1112          signal: "elm,state,eraser,show";
1113          source: "elm";
1114          action: STATE_SET "elm.eraser.show" 0.0;
1115          target: "eraser_image";
1116          target: "eraser";
1117       }
1118       program {
1119          name: "eraser_hide";
1120          signal: "elm,state,eraser,hide";
1121          source: "elm";
1122          action: STATE_SET "default" 0.0;
1123          target: "eraser_image";
1124          target: "eraser";
1125       }
1126       program {
1127          name: "eraser_clicked";
1128          signal: "mouse,clicked,1";
1129          source: "eraser";
1130          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
1131       }
1132    }
1133 }
1134
1135 group { name: "elm/layout/searchbar/default";
1136    images {
1137       image: "00_EditField_clear.png" COMP;
1138       image: "00_search_input_field_bg.png" COMP;
1139       image: "00_search_icon.png" COMP;
1140    }
1141    parts {
1142       part { name: "inputfield_rect";
1143          type: IMAGE;
1144          scale: 1;
1145          description { state: "default" 0.0;
1146             min: 0 SEARCHBAR_HEIGHT_INC;
1147             align: 0.0 0.5;
1148             image {
1149                normal: "00_search_input_field_bg.png";
1150                border: SEARCHBAR_INPUTFIELD_BORDER_INC;
1151             }
1152          }
1153       }
1154       part { name: "left_icon_padding_rect";
1155          type: RECT;
1156          scale: 1;
1157          description { state: "default" 0.0;
1158             visible: 0;
1159             min: SEARCHBAR_LEFT_ICON_PADDING_INC 0;
1160             fixed: 1 0;
1161             align: 0 0;
1162             rel1.to: "inputfield_rect";
1163             rel2 {
1164                relative: 0.0 1.0;
1165                to: "inputfield_rect";
1166             }
1167          }
1168       }
1169       part { name: "search_icon";
1170          type: IMAGE;
1171          scale: 1;
1172          ignore_flags: ON_HOLD;
1173          description { state: "default" 0.0;
1174             min: SEARCHBAR_ICON_MIN_W_INC SEARCHBAR_ICON_MIN_H_INC;
1175             fixed: 1 1;
1176             align: 0 0.5;
1177             rel1 {
1178                relative: 1.0 0.5;
1179                to_x: "left_icon_padding_rect";
1180                to_y: "inputfield_rect";
1181             }
1182             rel2 {
1183                relative: 1.0 0.5;
1184                to_x: "left_icon_padding_rect";
1185                to_y: "inputfield_rect";
1186             }
1187             image.normal: "00_search_icon.png";
1188          }
1189       }
1190       part { name: "left_padding_search_textfield";
1191          type: RECT;
1192          scale: 1;
1193          description { state: "default" 0.0;
1194             visible: 0;
1195             min: SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 0;
1196             fixed: 1 0;
1197             align: 0.0 0.5;
1198             rel1 {
1199                relative: 1.0 0.0;
1200                to_x: "search_icon";
1201                to_y: "inputfield_rect";
1202             }
1203             rel2 {
1204                relative: 1.0 1.0;
1205                to_x: "search_icon";
1206                to_y: "inputfield_rect";
1207             }
1208          }
1209       }
1210       part { name: "right_padding_search_textfield";
1211          type: RECT;
1212          scale: 1;
1213          description { state: "default" 0.0;
1214             visible: 0;
1215             min: SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 0;
1216             fixed: 1 0;
1217             align: 1.0 0.5;
1218             rel1 {
1219                relative: 1.0 0.0;
1220                to: "inputfield_rect";
1221             }
1222             rel2 {
1223                relative: 1.0 1.0;
1224                to: "inputfield_rect";
1225             }
1226          }
1227       }
1228       part { name: "search_textfield";
1229          type: RECT;
1230          mouse_events: 1;
1231          scale: 1;
1232          ignore_flags: ON_HOLD;
1233          description { state: "default" 0.0;
1234             color: 0 0 0 0;
1235             min: 0 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
1236             fixed: 0 1;
1237             align: 0.0 0.5;
1238             rel1 {
1239                relative: 1.0 0.0;
1240                to: "left_padding_search_textfield";
1241             }
1242             rel2 {
1243                relative: 0.0 1.0;
1244                to: "right_padding_search_textfield";
1245             }
1246          }
1247       }
1248       part { name: "top1";
1249          type: RECT;
1250          scale: 1;
1251          ignore_flags: ON_HOLD;
1252          description { state: "default" 0.0;
1253             visible: 0;
1254             min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
1255             fixed: 1 1;
1256             rel1 {
1257                relative: 0.0 0.0;
1258                to: "search_textfield";
1259             }
1260             rel2 {
1261                relative: 1.0 0.0;
1262                to: "search_textfield";
1263             }
1264             align: 0.5 0;
1265          }
1266          description { state: "elm.text.show" 0.0;
1267             inherit: "default" 0.0;
1268             min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
1269          }
1270       }
1271       part { name: "top2";
1272          type: RECT;
1273          scale: 1;
1274          ignore_flags: ON_HOLD;
1275          description { state: "default" 0.0;
1276             visible: 0;
1277             min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
1278             fixed: 1 1;
1279             rel1 {
1280                relative: 0.0 0.0;
1281                to: "search_textfield";
1282             }
1283             rel2 {
1284                relative: 1.0 0.0;
1285                to: "search_textfield";
1286             }
1287             align: 0.5 0;
1288          }
1289       }
1290       part { name: "left1";
1291          type: RECT;
1292          scale: 1;
1293          ignore_flags: ON_HOLD;
1294          description { state: "default" 0.0;
1295             visible: 0;
1296             min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
1297             fixed: 1 1;
1298             align: 0 0;
1299             rel1 {
1300                relative: 0.0 0.0;
1301                to: "search_textfield";
1302             }
1303             rel2 {
1304                relative: 0.0 1.0;
1305                to: "search_textfield";
1306             }
1307          }
1308       }
1309       part { name: "left2";
1310          type: RECT;
1311          scale: 1;
1312          ignore_flags: ON_HOLD;
1313          description { state: "default" 0.0;
1314             visible: 0;
1315             min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
1316             fixed: 1 1;
1317             align: 0 0;
1318             rel1 {
1319                relative: 0.0 0.0;
1320                to: "search_textfield";
1321             }
1322             rel2 {
1323                relative: 0.0 1.0;
1324                to: "search_textfield";
1325             }
1326          }
1327       }
1328       part { name: "right1";
1329          type: RECT;
1330          scale: 1;
1331          ignore_flags: ON_HOLD;
1332          description { state: "default" 0.0;
1333             visible: 0;
1334             min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
1335             fixed: 1 1;
1336             align: 1 0;
1337             rel1 {
1338                relative: 1.0 0.0;
1339                to: "search_textfield";
1340             }
1341             rel2.to: "search_textfield";
1342          }
1343       }
1344       part { name: "right2";
1345          type: RECT;
1346          scale: 1;
1347          ignore_flags: ON_HOLD;
1348          description { state: "default" 0.0;
1349             visible: 0;
1350             min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
1351             fixed: 1 1;
1352             align: 1 0;
1353             rel1 {
1354                relative: 1.0 0.0;
1355                to: "search_textfield";
1356             }
1357             rel2.to: "search_textfield";
1358          }
1359       }
1360       part { name: "bottom1";
1361          type: RECT;
1362          scale: 1;
1363          ignore_flags: ON_HOLD;
1364          description { state: "default" 0.0;
1365             visible: 0;
1366             min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
1367             fixed: 1 1;
1368             align: 0 1;
1369             rel1 {
1370                relative: 0.0 1.0;
1371                to: "search_textfield";
1372             }
1373          }
1374          description { state: "elm.text.show" 0.0;
1375             inherit: "default" 0.0;
1376             min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
1377          }
1378       }
1379       part { name: "bottom2";
1380          type: RECT;
1381          scale: 1;
1382          ignore_flags: ON_HOLD;
1383          description { state: "default" 0.0;
1384             visible: 0;
1385             min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
1386             fixed: 0 1;
1387             rel1 {
1388                relative: 0.0 1.0;
1389                to: "search_textfield";
1390             }
1391             align: 0 1;
1392          }
1393          description { state: "elm.text.show" 0.0;
1394             inherit: "default" 0.0;
1395             min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
1396          }
1397       }
1398       part { name: "bottom3";
1399          type: RECT;
1400          scale: 1;
1401          ignore_flags: ON_HOLD;
1402          description { state: "default" 0.0;
1403             visible: 0;
1404             min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
1405             fixed: 0 1;
1406             rel1 {
1407                relative: 0.0 1.0;
1408                to: "search_textfield";
1409             }
1410             align: 0 1;
1411          }
1412          description { state: "elm.text.show" 0.0;
1413             inherit: "default" 0.0;
1414             min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
1415          }
1416       }
1417       part { name: "elm.text";
1418          type: TEXT;
1419          scale: 1;
1420          ignore_flags: ON_HOLD;
1421          description { state: "default" 0.0;
1422             visible: 0;
1423             align: 0.0 0.0;
1424             min: 0 34;
1425             fixed: 1 1;
1426             rel1 {
1427                relative: 1.0 1.0;
1428                to_x: "left2";
1429                to_y: "top2";
1430             }
1431             rel2 {
1432                relative: 1.0 1.0;
1433                to_x: "left2";
1434                to_y: "top2";
1435             }
1436             color: EDITFIELD_TITLE_COLOR_INC;
1437             text {
1438                font: "SLP:style=Medium";
1439                size: EDITFIELD_TITLE_SIZE_INC;
1440                min: 1 1;
1441                align: 0.0 0.0;
1442                text_class: "slp_medium";
1443             }
1444          }
1445          description { state: "elm.text.show" 0.0;
1446             inherit: "default" 0.0;
1447             visible: 1;
1448          }
1449       }
1450       part { name: "elm.guidetext";
1451          type: TEXT;
1452          scale: 1;
1453          ignore_flags: ON_HOLD;
1454          description { state: "default" 0.0;
1455             align: 0.0 0.0;
1456             fixed: 1 1;
1457             rel1.to: "elm.swallow.content";
1458             rel2.to: "elm.swallow.content";
1459             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
1460             text {
1461                font: "SLP:style=Roman";
1462                size: ENTRY_TEXT_SIZE_INC;
1463                min: 0 0;
1464                align: 0.0 0.5;
1465                text_class: "slp_roman";
1466             }
1467          }
1468          description { state: "hidden" 0.0;
1469             inherit: "default" 0.0;
1470             visible: 0;
1471          }
1472       }
1473       part {
1474          name: "elm.swallow.content";
1475          type: SWALLOW;
1476          scale: 1;
1477          ignore_flags: ON_HOLD;
1478          description { state: "default" 0.0;
1479             min: 0 40;
1480             rel1 {
1481                relative : 1.0 1.0;
1482                to_x: "left1";
1483                to_y: "top1";
1484             }
1485             rel2 {
1486                relative : 0.0 0.0;
1487                to_x: "right1";
1488                to_y: "bottom1";
1489             }
1490             align: 0.0 0.5;
1491          }
1492       }
1493       part { name: "eraser_image";
1494          scale: 1;
1495          description { state: "default" 0.0;
1496             visible: 0;
1497             min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
1498             fixed: 1 1;
1499             align: 1 1;
1500             rel1 {
1501                relative: 0.0 0.0;
1502                to_x : "right2";
1503                to_y : "bottom2";
1504             }
1505             rel2 {
1506                relative: 0.0 0.0;
1507                to_x : "right2";
1508                to_y : "bottom2";
1509             }
1510             image {
1511                normal: "00_EditField_clear.png";
1512                border: 10 10 10 10;
1513                border_scale: 1;
1514             }
1515          }
1516          description { state: "elm.eraser.show" 0.0;
1517             inherit: "default" 0.0;
1518             visible: 1;
1519          }
1520       }
1521       part { name: "eraser";
1522          type: RECT;
1523          mouse_events: 1;
1524          ignore_flags: ON_HOLD;
1525          description { state: "default" 0.0;
1526             visible: 0;
1527             color: 0 0 0 0;
1528             rel1 {
1529                relative: 0.0 0.0;
1530                to_x : "eraser_image";
1531                to_y : "bottom3";
1532             }
1533             rel2.to: "search_textfield";
1534          }
1535          description { state: "elm.eraser.show" 0.0;
1536             inherit: "default" 0.0;
1537             visible: 1;
1538          }
1539       }
1540    }
1541    programs {
1542       program {
1543          name: "guidetext_show";
1544          signal: "elm,state,guidetext,show";
1545          source: "elm";
1546          action: STATE_SET "default" 0.0;
1547          target: "elm.guidetext";
1548       }
1549       program {
1550          name: "guidetext_hide";
1551          signal: "elm,state,guidetext,hide";
1552          source: "elm";
1553          action: STATE_SET "hidden" 0.0;
1554          target: "elm.guidetext";
1555       }
1556       program {
1557          name: "eraser_show";
1558          signal: "elm,state,eraser,show";
1559          source: "elm";
1560          action: STATE_SET "elm.eraser.show" 0.0;
1561          target: "eraser_image";
1562          target: "eraser";
1563       }
1564       program {
1565          name: "eraser_hide";
1566          signal: "elm,state,eraser,hide";
1567          source: "elm";
1568          action: STATE_SET "default" 0.0;
1569          target: "eraser_image";
1570          target: "eraser";
1571       }
1572       program {
1573          name: "label_show";
1574          signal: "elm,state,title,show";
1575          source: "elm";
1576          action: STATE_SET "elm.text.show" 0.0;
1577          target: "elm.text";
1578          target: "top1";
1579          target: "bottom1";
1580          target: "bottom2";
1581          target: "bottom3";
1582       }
1583       program {
1584          name: "label_hide";
1585          signal: "elm,state,title,hide";
1586          source: "elm";
1587          action: STATE_SET "default" 0.0;
1588          target: "elm.text";
1589          target: "top1";
1590          target: "bottom1";
1591          target: "bottom2";
1592          target: "bottom3";
1593       }
1594      program {
1595          name: "eraser_clicked";
1596          signal: "mouse,clicked,1";
1597          source: "eraser";
1598          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
1599       }
1600      program {
1601          name: "bg_clicked";
1602          signal: "mouse,clicked,1";
1603          source: "search_textfield";
1604          action: SIGNAL_EMIT "elm,bg,clicked" "elm";
1605       }
1606      program { name: "mouse_click";
1607          signal: "mouse,clicked,1";
1608          source: "search_icon";
1609          action: SIGNAL_EMIT "elm,action,click" "";
1610      }
1611    }
1612 }
1613
1614 group { name: "elm/layout/searchbar/cancel_button";
1615    images {
1616       image: "00_EditField_clear.png" COMP;
1617       image: "00_search_input_field_bg.png" COMP;
1618       image: "00_search_icon.png" COMP;
1619    }
1620    parts {
1621      part { name: "top_padding_rect";
1622          type: RECT;
1623          scale: 1;
1624          description { state: "default" 0.0;
1625             visible: 1;
1626             min: 0 SEARCHBAR_TOP_PADDING_INC;
1627             fixed: 0 1;
1628             align: 0 0;
1629             color: SEARCHBAR_BACKGROUND_COLOR_INC;
1630             rel2.relative: 1.0 0.0;
1631          }
1632       }
1633       part { name: "bottom_padding_rect";
1634          type: RECT;
1635          scale: 1;
1636          description { state: "default" 0.0;
1637             visible: 1;
1638             min: 0 SEARCHBAR_BOTTOM_PADDING_INC;
1639             fixed: 0 1;
1640             align: 0 1;
1641             color: SEARCHBAR_BACKGROUND_COLOR_INC;
1642             rel1.relative: 0.0 1.0;
1643          }
1644       }
1645       part { name: "base_bg";
1646          type: RECT;
1647          scale: 1;
1648          description { state: "default" 0.0;
1649             visible: 0;
1650             min: 0 SEARCHBAR_HEIGHT_INC;
1651             align: 0 0.5;
1652             fixed: 0 1;
1653             rel1 {
1654                relative: 0.0 1.0;
1655                to: "top_padding_rect";
1656             }
1657             rel2 {
1658                relative: 1.0 0.0;
1659                to: "bottom_padding_rect";
1660             }
1661          }
1662       }
1663       part { name: "left_padding_rect";
1664          type: RECT;
1665          scale: 1;
1666          description { state: "default" 0.0;
1667             visible: 1;
1668             min: SEARCHBAR_LEFT_PADDING_INC 0;
1669             fixed: 1 0;
1670             align: 0 0;
1671             rel2.relative: 0.0 1.0;
1672             color: SEARCHBAR_BACKGROUND_COLOR_INC;
1673          }
1674       }
1675       part { name: "right_padding_rect";
1676          type: RECT;
1677          scale: 1;
1678          description { state: "default" 0.0;
1679             visible: 1;
1680             min: SEARCHBAR_RIGHT_PADDING_INC 0;
1681             fixed: 1 0;
1682             align: 1 0;
1683             rel1.relative: 1.0 0.0;
1684             color: SEARCHBAR_BACKGROUND_COLOR_INC;
1685          }
1686       }
1687       part { name: "right_field_and_btn_padding_rect";
1688          type: RECT;
1689          scale: 1;
1690          description { state: "default" 0.0;
1691             visible: 1;
1692             min: SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 0;
1693             fixed: 1 0;
1694             align: 1 0;
1695             rel1.relative: 1.0 0.0;
1696             color: SEARCHBAR_BACKGROUND_COLOR_INC;
1697          }
1698       }
1699       part { name: "right_btn_padding_rect";
1700          type: RECT;
1701          scale: 1;
1702          description { state: "default" 0.0;
1703             visible: 1;
1704             min: SEARCHBAR_CANCEL_BUTTON_WITH_PADDING_W_INC 0;
1705             fixed: 1 0;
1706             align: 1 0;
1707             rel1.relative: 1.0 0.0;
1708             color: SEARCHBAR_BACKGROUND_COLOR_INC;
1709          }
1710       }
1711       part { name: "inputfield_rect";
1712          type: IMAGE;
1713          scale: 1;
1714          description { state: "default" 0.0;
1715             align: 0.0 0.5;
1716             rel1 {
1717                relative: 1.0 0.0;
1718                to_x: "left_padding_rect";
1719                to_y: "base_bg";
1720             }
1721             rel2 {
1722                relative: 0.0 1.0;
1723                to_x: "right_padding_rect";
1724                to_y: "base_bg";
1725             }
1726             image {
1727                normal: "00_search_input_field_bg.png";
1728                border: SEARCHBAR_INPUTFIELD_BORDER_INC;
1729             }
1730          }
1731          description { state: "in" 0.0;
1732             inherit: "default" 0.0;
1733             rel2.to_x: "right_field_and_btn_padding_rect";
1734          }
1735       }
1736       part { name: "left_icon_padding_rect";
1737          type: RECT;
1738          scale: 1;
1739          description { state: "default" 0.0;
1740             visible: 0;
1741             min: SEARCHBAR_LEFT_ICON_PADDING_INC 0;
1742             fixed: 1 0;
1743             align: 0 0;
1744             rel1.to: "inputfield_rect";
1745             rel2 {
1746                relative: 0.0 1.0;
1747                to: "inputfield_rect";
1748             }
1749          }
1750       }
1751       part { name: "search_icon";
1752          type: IMAGE;
1753          scale: 1;
1754          ignore_flags: ON_HOLD;
1755          description { state: "default" 0.0;
1756             min: SEARCHBAR_ICON_MIN_W_INC SEARCHBAR_ICON_MIN_H_INC;
1757             fixed: 1 1;
1758             align: 0 0.5;
1759             rel1 {
1760                relative: 1.0 0.5;
1761                to_x: "left_icon_padding_rect";
1762                to_y: "inputfield_rect";
1763             }
1764             rel2 {
1765                relative: 1.0 0.5;
1766                to_x: "left_icon_padding_rect";
1767                to_y: "inputfield_rect";
1768             }
1769             image.normal: "00_search_icon.png";
1770          }
1771       }
1772       part { name: "left_padding_search_textfield";
1773          type: RECT;
1774          scale: 1;
1775          description { state: "default" 0.0;
1776             visible: 0;
1777             min: SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 0;
1778             fixed: 1 0;
1779             align: 0.0 0.5;
1780             rel1 {
1781                relative: 1.0 0.0;
1782                to_x: "search_icon";
1783                to_y: "inputfield_rect";
1784             }
1785             rel2 {
1786                relative: 1.0 1.0;
1787                to_x: "search_icon";
1788                to_y: "inputfield_rect";
1789             }
1790          }
1791       }
1792       part { name: "right_padding_search_textfield";
1793          type: RECT;
1794          scale: 1;
1795          description { state: "default" 0.0;
1796             visible: 0;
1797             min: SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 0;
1798             fixed: 1 0;
1799             align: 1.0 0.5;
1800             rel1 {
1801                relative: 1.0 0.0;
1802                to: "inputfield_rect";
1803             }
1804             rel2 {
1805                relative: 1.0 1.0;
1806                to: "inputfield_rect";
1807             }
1808          }
1809       }
1810       part { name: "search_textfield";
1811          type: RECT;
1812          mouse_events: 1;
1813          scale: 1;
1814          ignore_flags: ON_HOLD;
1815          description { state: "default" 0.0;
1816             color: 0 0 0 0;
1817             min: 0 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
1818             fixed: 0 1;
1819             align: 0.0 0.5;
1820             rel1 {
1821                relative: 1.0 0.0;
1822                to: "left_padding_search_textfield";
1823             }
1824             rel2 {
1825                relative: 0.0 1.0;
1826                to: "right_padding_search_textfield";
1827             }
1828          }
1829       }
1830       part { name: "button_cancel";
1831          type: SWALLOW;
1832          mouse_events: 1;
1833          scale: 1;
1834          description { state: "default" 0.0;
1835             visible: 0;
1836             fixed: 1 1;
1837             min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
1838             align: 0.0 0.5;
1839             state: "default" 0.0;
1840             rel1 {
1841                relative: 1.0 1.0;
1842                to_x: "base_bg";
1843                to_y: "top_padding_rect";
1844             }
1845             rel2 {
1846                relative: 1.0 0.0;
1847                to_x: "base_bg";
1848                to_y: "bottom_padding_rect";
1849             }
1850          }
1851          description { state: "in" 0.0;
1852             visible:1;
1853             min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
1854             align: 1.0 0.5;
1855             rel1 {
1856                relative: 0.0 1.0;
1857                to_x: "right_btn_padding_rect";
1858                to_y: "top_padding_rect";
1859             }
1860             rel2 {
1861                relative: 0.0 0.0;
1862                to_x: "right_padding_rect";
1863                to_y: "bottom_padding_rect";
1864             }
1865          }
1866       }
1867       part { name: "top1";
1868          type: RECT;
1869          scale: 1;
1870          ignore_flags: ON_HOLD;
1871          description { state: "default" 0.0;
1872             visible: 0;
1873             min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
1874             fixed: 1 1;
1875             rel1 {
1876                relative: 0.0 0.0;
1877                to: "search_textfield";
1878             }
1879             rel2 {
1880                relative: 1.0 0.0;
1881                to: "search_textfield";
1882             }
1883             align: 0.5 0;
1884          }
1885          description { state: "elm.text.show" 0.0;
1886             inherit: "default" 0.0;
1887             min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
1888          }
1889       }
1890       part { name: "top2";
1891          type: RECT;
1892          scale: 1;
1893          ignore_flags: ON_HOLD;
1894          description { state: "default" 0.0;
1895             visible: 0;
1896             min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
1897             fixed: 1 1;
1898             rel1 {
1899                relative: 0.0 0.0;
1900                to: "search_textfield";
1901             }
1902             rel2 {
1903                relative: 1.0 0.0;
1904                to: "search_textfield";
1905             }
1906             align: 0.5 0;
1907          }
1908       }
1909       part { name: "left1";
1910          type: RECT;
1911          scale: 1;
1912          ignore_flags: ON_HOLD;
1913          description { state: "default" 0.0;
1914             visible: 0;
1915             min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
1916             fixed: 1 1;
1917             align: 0 0;
1918             rel1 {
1919                relative: 0.0 0.0;
1920                to: "search_textfield";
1921             }
1922             rel2 {
1923                relative: 0.0 1.0;
1924                to: "search_textfield";
1925             }
1926          }
1927       }
1928       part { name: "left2";
1929          type: RECT;
1930          scale: 1;
1931          ignore_flags: ON_HOLD;
1932          description { state: "default" 0.0;
1933             visible: 0;
1934             min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
1935             fixed: 1 1;
1936             align: 0 0;
1937             rel1 {
1938                relative: 0.0 0.0;
1939                to: "search_textfield";
1940             }
1941             rel2 {
1942                relative: 0.0 1.0;
1943                to: "search_textfield";
1944             }
1945          }
1946       }
1947       part { name: "right1";
1948          type: RECT;
1949          scale: 1;
1950          ignore_flags: ON_HOLD;
1951          description { state: "default" 0.0;
1952             visible: 0;
1953             min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
1954             fixed: 1 1;
1955             align: 1 0;
1956             rel1 {
1957                relative: 1.0 0.0;
1958                to: "search_textfield";
1959             }
1960             rel2.to: "search_textfield";
1961          }
1962       }
1963       part { name: "right2";
1964          type: RECT;
1965          scale: 1;
1966          ignore_flags: ON_HOLD;
1967          description { state: "default" 0.0;
1968             visible: 0;
1969             min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
1970             fixed: 1 1;
1971             align: 1 0;
1972             rel1 {
1973                relative: 1.0 0.0;
1974                to: "search_textfield";
1975             }
1976             rel2.to: "search_textfield";
1977          }
1978       }
1979       part { name: "bottom1";
1980          type: RECT;
1981          scale: 1;
1982          ignore_flags: ON_HOLD;
1983          description { state: "default" 0.0;
1984             visible: 0;
1985             min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
1986             fixed: 1 1;
1987             align: 0 1;
1988             rel1 {
1989                relative: 0.0 1.0;
1990                to: "search_textfield";
1991             }
1992             rel2.to: "search_textfield";
1993          }
1994          description { state: "elm.text.show" 0.0;
1995             inherit: "default" 0.0;
1996             min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
1997          }
1998       }
1999       part { name: "bottom2";
2000          type: RECT;
2001          scale: 1;
2002          ignore_flags: ON_HOLD;
2003          description { state: "default" 0.0;
2004             visible: 0;
2005             min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
2006             fixed: 0 1;
2007             rel1 {
2008                relative: 0.0 1.0;
2009                to: "search_textfield";
2010             }
2011             rel2.to: "search_textfield";
2012             align: 0 1;
2013          }
2014          description { state: "elm.text.show" 0.0;
2015             inherit: "default" 0.0;
2016             min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
2017          }
2018       }
2019       part { name: "bottom3";
2020          type: RECT;
2021          scale: 1;
2022          ignore_flags: ON_HOLD;
2023          description { state: "default" 0.0;
2024             visible: 0;
2025             min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
2026             fixed: 0 1;
2027             rel1 {
2028                relative: 0.0 1.0;
2029                to: "search_textfield";
2030             }
2031             rel2.to: "search_textfield";
2032             align: 0 1;
2033          }
2034          description { state: "elm.text.show" 0.0;
2035             inherit: "default" 0.0;
2036             min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
2037          }
2038       }
2039       part { name: "elm.text";
2040          type: TEXT;
2041          scale: 1;
2042          ignore_flags: ON_HOLD;
2043          description { state: "default" 0.0;
2044             visible: 0;
2045             align: 0.0 0.0;
2046             min: 0 34;
2047             fixed: 1 1;
2048             rel1 {
2049                relative: 1.0 1.0;
2050                to_x: "left2";
2051                to_y: "top2";
2052             }
2053             rel2 {
2054                relative: 1.0 1.0;
2055                to_x: "left2";
2056                to_y: "top2";
2057             }
2058             color: EDITFIELD_TITLE_COLOR_INC;
2059             text {
2060                font: "SLP:style=Medium";
2061                size: EDITFIELD_TITLE_SIZE_INC;
2062                min: 1 1;
2063                align: 0.0 0.0;
2064                text_class: "slp_medium";
2065             }
2066          }
2067          description { state: "elm.text.show" 0.0;
2068             inherit: "default" 0.0;
2069             visible: 1;
2070          }
2071       }
2072       part { name: "elm.guidetext";
2073          type: TEXT;
2074          scale: 1;
2075          ignore_flags: ON_HOLD;
2076          description { state: "default" 0.0;
2077             align: 0.0 0.0;
2078             fixed: 1 1;
2079             rel1.to: "elm.swallow.content";
2080             rel2.to: "elm.swallow.content";
2081             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
2082             text {
2083                font: "SLP:style=Roman";
2084                size: ENTRY_TEXT_SIZE_INC;
2085                min: 0 0;
2086                align: 0.0 0.5;
2087                text_class: "slp_roman";
2088             }
2089          }
2090          description { state: "hidden" 0.0;
2091             inherit: "default" 0.0;
2092             visible: 0;
2093          }
2094       }
2095       part {
2096          name: "elm.swallow.content";
2097          type: SWALLOW;
2098          scale: 1;
2099          ignore_flags: ON_HOLD;
2100          description { state: "default" 0.0;
2101             min: 0 40;
2102             rel1 {
2103                relative : 1.0 1.0;
2104                to_x: "left1";
2105                to_y: "top1";
2106             }
2107             rel2 {
2108                relative : 0.0 0.0;
2109                to_x: "right1";
2110                to_y: "bottom1";
2111             }
2112             align: 0.0 0.5;
2113          }
2114       }
2115       part { name: "eraser_image";
2116          scale: 1;
2117          description { state: "default" 0.0;
2118             visible: 0;
2119             min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
2120             fixed: 1 1;
2121             align: 1 1;
2122             rel1 {
2123                relative: 0.0 0.0;
2124                to_x : "right2";
2125                to_y : "bottom2";
2126             }
2127             rel2 {
2128                relative: 0.0 0.0;
2129                to_x : "right2";
2130                to_y : "bottom2";
2131             }
2132             image {
2133                normal: "00_EditField_clear.png";
2134                border: 10 10 10 10;
2135                border_scale: 1;
2136             }
2137          }
2138          description { state: "elm.eraser.show" 0.0;
2139             inherit: "default" 0.0;
2140             visible: 1;
2141          }
2142       }
2143       part { name: "eraser";
2144          type: RECT;
2145          mouse_events: 1;
2146          ignore_flags: ON_HOLD;
2147          description { state: "default" 0.0;
2148             visible: 0;
2149             color: 0 0 0 0;
2150             rel1 {
2151                relative: 0.0 0.0;
2152                to_x : "eraser_image";
2153                to_y : "bottom3";
2154             }
2155             rel2.to: "search_textfield";
2156          }
2157          description { state: "elm.eraser.show" 0.0;
2158             inherit: "default" 0.0;
2159             visible: 1;
2160          }
2161       }
2162    }
2163    programs {
2164       program {
2165          name: "guidetext_show";
2166          signal: "elm,state,guidetext,show";
2167          source: "elm";
2168          action: STATE_SET "default" 0.0;
2169          target: "elm.guidetext";
2170       }
2171       program {
2172          name: "guidetext_hide";
2173          signal: "elm,state,guidetext,hide";
2174          source: "elm";
2175          action: STATE_SET "hidden" 0.0;
2176          target: "elm.guidetext";
2177       }
2178       program {
2179          name: "eraser_show";
2180          signal: "elm,state,eraser,show";
2181          source: "elm";
2182          action: STATE_SET "elm.eraser.show" 0.0;
2183          target: "eraser_image";
2184          target: "eraser";
2185       }
2186       program {
2187          name: "eraser_hide";
2188          signal: "elm,state,eraser,hide";
2189          source: "elm";
2190          action: STATE_SET "default" 0.0;
2191          target: "eraser_image";
2192          target: "eraser";
2193       }
2194       program {
2195          name: "label_show";
2196          signal: "elm,state,title,show";
2197          source: "elm";
2198          action: STATE_SET "elm.text.show" 0.0;
2199          target: "elm.text";
2200          target: "top1";
2201          target: "bottom1";
2202          target: "bottom2";
2203          target: "bottom3";
2204       }
2205       program {
2206          name: "label_hide";
2207          signal: "elm,state,title,hide";
2208          source: "elm";
2209          action: STATE_SET "default" 0.0;
2210          target: "elm.text";
2211          target: "top1";
2212          target: "bottom1";
2213          target: "bottom2";
2214          target: "bottom3";
2215       }
2216      program {
2217          name: "eraser_clicked";
2218          signal: "mouse,clicked,1";
2219          source: "eraser";
2220          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
2221       }
2222      program {
2223          name: "bg_clicked";
2224          signal: "mouse,clicked,1";
2225          source: "search_textfield";
2226          action: SIGNAL_EMIT "elm,bg,clicked" "elm";
2227       }
2228       program { name: "cancel_in";
2229          signal: "cancel,in";
2230          source: "";
2231          action: STATE_SET "in" 0.0;
2232          target: "button_cancel";
2233          target: "inputfield_rect";
2234          transition: ACCELERATE 0.4;
2235       }
2236       program { name: "cancel_out";
2237          signal: "cancel,out";
2238          source: "";
2239          action: STATE_SET "default" 0.0;
2240          target: "button_cancel";
2241          target: "inputfield_rect";
2242          transition: ACCELERATE 0.4;
2243       }
2244       program { name: "cancel_show";
2245          signal: "cancel,show";
2246          source: "";
2247          action: STATE_SET "in" 0.0;
2248          target: "button_cancel";
2249          target: "inputfield_rect";
2250       }
2251       program { name: "cancel_hide";
2252          signal: "cancel,hide";
2253          source: "";
2254          action: STATE_SET "default" 0.0;
2255          target: "button_cancel";
2256          target: "inputfield_rect";
2257       }
2258       program { name: "mouse_click";
2259          signal: "mouse,clicked,1";
2260          source: "search_icon";
2261          action: SIGNAL_EMIT "elm,action,click" "";
2262       }
2263    }
2264 }
2265
2266 group {
2267    name: "elm/layout/nocontents/full";
2268    alias: "elm/nocontents/base/full";
2269    alias: "elm/nocontents/base/default";
2270    styles{
2271       style { name: "nocontent_style";
2272          base: "font=SLP:style=Roman font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color=#ffffff wrap=mixed ellipsis=1.0 text_class=slp_roman";
2273          tag:  "br" "\n";
2274          tag:  "hilight" "+ font=SLP:style=Bold";
2275          tag:  "b" "+ font=SLP:style=Bold";
2276          tag:  "tab" "\t";
2277       }
2278    }
2279    images {
2280       image: "00_winset_NoContents_image.png" COMP;
2281    }
2282    parts {
2283       part { name: "bg";
2284          type: RECT;
2285          scale: 1;
2286          description { state: "default" 0.0;
2287             visible: 1;
2288             min: 200 200;
2289             rel1 {
2290                relative: 0.0 0.0;
2291             }
2292             rel2 {
2293                relative: 1.0 1.0;
2294             }
2295             color: NOCONTENT_BG_COLOR_INC;
2296          }
2297       }
2298       part { name: "nocontents.image";
2299          description { state: "default" 0.0;
2300             visible: 1;
2301             align: 0.5 0.0;
2302             rel1 {
2303                relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
2304                to: "bg";
2305             }
2306             rel2 {
2307                relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
2308                to: "bg";
2309             }
2310             image {
2311                normal: "00_winset_NoContents_image.png";
2312                border: 1 1 1 1;
2313                border_scale: 1;
2314             }
2315             aspect: 1.0 1.0;
2316             aspect_preference: BOTH;
2317          }
2318       }
2319       part { name: "middle.padding";
2320          type: RECT;
2321          scale: 1;
2322          description { state: "default" 0.0;
2323             visible: 0;
2324             min: 1 NOCONTENT_MIDDLE_PADDING_INC;
2325             max: 1 NOCONTENT_MIDDLE_PADDING_INC;
2326             align: 0.5 0.0;
2327             rel1 {
2328                relative: 0.0 1.0;
2329                to_y: "nocontents.image";
2330             }
2331          }
2332       }
2333       part { name: "elm.text";
2334          type: TEXTBLOCK;
2335          scale: 1;
2336          description { state: "default" 0.0;
2337             min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
2338             fixed: 0 1;
2339             align: 0.5 0.5;
2340             visible: 1;
2341             rel1 {
2342                relative: 0.0 1.0;
2343                to_x: "bg";
2344                to_y: "middle.padding";
2345             }
2346             rel2 {
2347                relative: 1.0 1.0;
2348                to_x: "bg";
2349                to_y: "middle.padding";
2350             }
2351             color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2352             text {
2353                style: "nocontent_style";
2354                align: 0.5 0.5;
2355                min: 0 0;
2356                max: 0 1;
2357             }
2358          }
2359       }
2360    }
2361 }
2362
2363 group {
2364    name: "elm/layout/nocontents/multimedia";
2365    alias: "elm/nocontents/base/multimedia";
2366    images {
2367       image: "00_winset_NoContents_multimedia.png" COMP;
2368    }
2369    parts {
2370       part { name: "bg";
2371          type: RECT;
2372          scale: 1;
2373          description { state: "default" 0.0;
2374             visible: 1;
2375             min: 200 200;
2376             rel1 {
2377                relative: 0.0 0.0;
2378             }
2379             rel2 {
2380                relative: 1.0 1.0;
2381             }
2382             color: 0 0 0 0;
2383          }
2384       }
2385       part { name: "nocontents.image";
2386          description { state: "default" 0.0;
2387             visible: 1;
2388             align: 0.5 0.0;
2389             rel1 {
2390                relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
2391                to: "bg";
2392             }
2393             rel2 {
2394                relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
2395                to: "bg";
2396             }
2397             image {
2398                normal: "00_winset_NoContents_multimedia.png";
2399                border: 1 1 1 1;
2400                border_scale: 1;
2401             }
2402             aspect: 1.0 1.0;
2403             aspect_preference: BOTH;
2404          }
2405       }
2406       part { name: "middle.padding";
2407          type: RECT;
2408          scale: 1;
2409          description { state: "default" 0.0;
2410             visible: 0;
2411             min: 1 NOCONTENT_MIDDLE_PADDING_INC;
2412             max: 1 NOCONTENT_MIDDLE_PADDING_INC;
2413             align: 0.5 0.0;
2414             rel1 {
2415                relative: 0.0 1.0;
2416                to_y: "nocontents.image";
2417             }
2418          }
2419       }
2420       part { name: "elm.text";
2421          type: TEXTBLOCK;
2422          scale: 1;
2423          description { state: "default" 0.0;
2424             min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
2425             fixed: 0 1;
2426             align: 0.5 0.5;
2427             visible: 1;
2428             rel1 {
2429                relative: 0.0 1.0;
2430                to_x: "bg";
2431                to_y: "middle.padding";
2432             }
2433             rel2 {
2434                relative: 1.0 1.0;
2435                to_x: "bg";
2436                to_y: "middle.padding";
2437             }
2438             color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2439             text {
2440                style: "nocontent_style";
2441                align: 0.5 0.5;
2442                min: 0 0;
2443                max: 0 1;
2444             }
2445          }
2446       }
2447    }
2448 }
2449
2450 group {
2451    name: "elm/layout/nocontents/text";
2452    alias: "elm/nocontents/base/text";
2453    images {
2454       image: "00_winset_NoContents_text.png" COMP;
2455    }
2456    parts {
2457       part { name: "bg";
2458          type: RECT;
2459          scale: 1;
2460          description { state: "default" 0.0;
2461             visible: 1;
2462             min: 200 200;
2463             rel1 {
2464                relative: 0.0 0.0;
2465             }
2466             rel2 {
2467                relative: 1.0 1.0;
2468             }
2469             color: 0 0 0 0;
2470          }
2471       }
2472       part { name: "nocontents.image";
2473          description { state: "default" 0.0;
2474             visible: 1;
2475             align: 0.5 0.0;
2476             rel1 {
2477                relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
2478                to: "bg";
2479             }
2480             rel2 {
2481                relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
2482                to: "bg";
2483             }
2484             image {
2485                normal: "00_winset_NoContents_text.png";
2486                border: 1 1 1 1;
2487                border_scale: 1;
2488             }
2489             aspect: 1.0 1.0;
2490             aspect_preference: BOTH;
2491          }
2492       }
2493       part { name: "middle.padding";
2494          type: RECT;
2495          scale: 1;
2496          description { state: "default" 0.0;
2497             visible: 0;
2498             min: 1 NOCONTENT_MIDDLE_PADDING_INC;
2499             max: 1 NOCONTENT_MIDDLE_PADDING_INC;
2500             align: 0.5 0.0;
2501             rel1 {
2502                relative: 0.0 1.0;
2503                to_y: "nocontents.image";
2504             }
2505          }
2506       }
2507       part { name: "elm.text";
2508          type: TEXTBLOCK;
2509          scale: 1;
2510          description { state: "default" 0.0;
2511             min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
2512             fixed: 0 1;
2513             align: 0.5 0.5;
2514             visible: 1;
2515             rel1 {
2516                relative: 0.0 1.0;
2517                to_x: "bg";
2518                to_y: "middle.padding";
2519             }
2520             rel2 {
2521                relative: 1.0 1.0;
2522                to_x: "bg";
2523                to_y: "middle.padding";
2524             }
2525             color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2526             text {
2527                style: "nocontent_style";
2528                align: 0.5 0.5;
2529                min: 0 0;
2530                max: 0 1;
2531             }
2532          }
2533       }
2534    }
2535 }
2536
2537 group {
2538    name: "elm/layout/nocontents/unnamed";
2539    alias: "elm/nocontents/base/unnamed";
2540    images {
2541       image: "00_winset_NoContents_unnamed.png" COMP;
2542    }
2543    parts {
2544       part { name: "bg";
2545          type: RECT;
2546          scale: 1;
2547          description { state: "default" 0.0;
2548             visible: 1;
2549             min: 200 200;
2550             rel1 {
2551                relative: 0.0 0.0;
2552             }
2553             rel2 {
2554                relative: 1.0 1.0;
2555             }
2556             color: 0 0 0 0;
2557          }
2558       }
2559       part { name: "nocontents.image";
2560          description { state: "default" 0.0;
2561             visible: 1;
2562             align: 0.5 0.0;
2563             rel1 {
2564                relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
2565                to: "bg";
2566             }
2567             rel2 {
2568                relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
2569                to: "bg";
2570             }
2571             image {
2572                normal: "00_winset_NoContents_unnamed.png";
2573                border: 1 1 1 1;
2574                border_scale: 1;
2575             }
2576             aspect: 1.0 1.0;
2577             aspect_preference: BOTH;
2578          }
2579       }
2580       part { name: "middle.padding";
2581          type: RECT;
2582          scale: 1;
2583          description { state: "default" 0.0;
2584             visible: 0;
2585             min: 1 NOCONTENT_MIDDLE_PADDING_INC;
2586             max: 1 NOCONTENT_MIDDLE_PADDING_INC;
2587             align: 0.5 0.0;
2588             rel1 {
2589                relative: 0.0 1.0;
2590                to_y: "nocontents.image";
2591             }
2592          }
2593       }
2594       part { name: "elm.text";
2595          type: TEXTBLOCK;
2596          scale: 1;
2597          description { state: "default" 0.0;
2598             min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
2599             fixed: 0 1;
2600             align: 0.5 0.5;
2601             visible: 1;
2602             rel1 {
2603                relative: 0.0 1.0;
2604                to_x: "bg";
2605                to_y: "middle.padding";
2606             }
2607             rel2 {
2608                relative: 1.0 1.0;
2609                to_x: "bg";
2610                to_y: "middle.padding";
2611             }
2612             color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2613             text {
2614                style: "nocontent_style";
2615                align: 0.5 0.5;
2616                min: 0 0;
2617                max: 0 1;
2618             }
2619          }
2620       }
2621    }
2622 }
2623
2624 group {
2625    name: "elm/layout/nocontents/search";
2626    alias: "elm/nocontents/base/search";
2627    parts {
2628       part { name: "bg";
2629          mouse_events: 0;
2630          type: RECT;
2631          description { state: "default" 0.0;
2632             visible: 1;
2633             rel1 {
2634                relative: 0.0 0.0;
2635             }
2636             rel2 {
2637                relative: 1.0 1.0;
2638             }
2639             color: 0 0 0 0;
2640          }
2641       }
2642       part { name: "top_padding";
2643          mouse_events: 0;
2644          type: RECT;
2645          scale: 1;
2646          description { state: "default" 0.0;
2647             min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
2648             fixed: 0 1;
2649             align: 0 0;
2650             visible: 1;
2651             rel1 {
2652                relative: 0.0 0.0;
2653             }
2654             rel2 {
2655                relative: 1.0 0.0;
2656             }
2657             color: 0 0 0 0;
2658          }
2659       }
2660       part { name: "elm.text";
2661          mouse_events: 0;
2662          type: TEXT;
2663          scale: 1;
2664          description { state: "default" 0.0;
2665             //min: 0 30;
2666             fixed: 0 1;
2667             align: 0 0;
2668             visible: 1;
2669             rel1 {
2670                relative: 0.0 1.0;
2671                to:"top_padding";
2672             }
2673             rel2 {
2674                relative: 1.0 1.0;
2675                to:"top_padding";
2676             }
2677             color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2678             text {
2679                font: "SLP:style=Roman";
2680                size: 30;
2681                text: "";
2682                align: 0.5 0.5;
2683                text_class: "slp_roman";
2684             }
2685          }
2686       }
2687       part { name: "text_bottom_padding";
2688          mouse_events: 0;
2689          type: RECT;
2690          scale: 1;
2691          description { state: "default" 0.0;
2692             min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
2693             fixed: 0 1;
2694             align: 0 0;
2695             visible: 0;
2696             rel1 {
2697                relative: 0.0 1.0;
2698                to:"elm.text";
2699             }
2700             rel2 {
2701                relative: 1.0 1.0;
2702                to:"elm.text";
2703             }
2704          }
2705       }
2706       part { name: "custom";
2707          mouse_events: 1;
2708          type: SWALLOW;
2709          scale: 1;
2710          description { state: "default" 0.0;
2711             min: 0 0;
2712             fixed: 0 1;
2713             align: 0 0;
2714             visible: 1;
2715             rel1 {
2716                relative: 0.0 1.0;
2717                to:"text_bottom_padding";
2718             }
2719             rel2 {
2720                relative: 1.0 1.0;
2721                to:"text_bottom_padding";
2722             }
2723          }
2724       }
2725    }
2726 }