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