update changelog
[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       image: "00_EditField_clear_press.png" COMP;
535    }
536    parts {
537       part {
538          name: "base";
539          type: RECT;
540          scale: 1;
541          ignore_flags: ON_HOLD;
542          description {
543             state: "default" 0.0;
544             min: 0 EDITFIELD_DEFAULT_MINH_INC;
545             color: 0 0 0 0;
546          }
547       }
548       part {
549          name: "top1";
550          type: RECT;
551          scale: 1;
552          ignore_flags: ON_HOLD;
553          description {
554             state: "default" 0.0;
555             visible: 0;
556             min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
557             fixed: 1 1;
558             rel1.relative: 0.0 0.0;
559             rel2.relative: 1.0 0.0;
560             align: 0.5 0;
561          }
562       }
563       part {
564          name: "top2";
565          type: RECT;
566          scale: 1;
567          ignore_flags: ON_HOLD;
568          description {
569             state: "default" 0.0;
570             visible: 0;
571             min: 0 EDITFIELD_DEFAULT_TOP2_INC;
572             fixed: 1 1;
573             rel1.relative: 0.0 0.0;
574             rel2.relative: 1.0 0.0;
575             align: 0.5 0;
576          }
577       }
578       part {
579          name: "left1";
580          type: RECT;
581          scale: 1;
582          ignore_flags: ON_HOLD;
583          description {
584             state: "default" 0.0;
585             visible: 0;
586             min: EDITFIELD_DEFAULT_LEFT1_INC 0;
587             fixed: 1 1;
588             align: 0 0;
589             rel1.relative : 0.0 0.0;
590             rel2.relative : 0.0 1.0;
591          }
592       }
593       part {
594          name: "left2";
595          type: RECT;
596          scale: 1;
597          ignore_flags: ON_HOLD;
598          description {
599             state: "default" 0.0;
600             visible: 0;
601             min: EDITFIELD_DEFAULT_LEFT2_INC 0;
602             fixed: 1 1;
603             align: 0 0;
604             rel1.relative : 0.0 0.0;
605             rel2.relative : 0.0 1.0;
606          }
607       }
608       part {
609          name: "right1";
610          type: RECT;
611          scale: 1;
612          ignore_flags: ON_HOLD;
613          description {
614             state: "default" 0.0;
615             visible: 0;
616             min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
617             fixed: 1 1;
618             align: 1 0;
619             rel1.relative : 1.0 0.0;
620             rel2.relative : 1.0 1.0;
621          }
622       }
623       part {
624          name: "right2";
625          type: RECT;
626          scale: 1;
627          ignore_flags: ON_HOLD;
628          description {
629             state: "default" 0.0;
630             visible: 0;
631             min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
632             fixed: 1 1;
633             align: 1 0;
634             rel1.relative : 1.0 0.0;
635             rel2.relative : 1.0 1.0;
636          }
637       }
638       part {
639          name: "bottom1";
640          type: RECT;
641          scale: 1;
642          ignore_flags: ON_HOLD;
643          description {
644             state: "default" 0.0;
645             visible: 0;
646             min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
647             fixed: 1 1;
648             align: 0 1;
649             rel1.relative: 0.0 1.0;
650          }
651       }
652       part {
653          name: "bottom2";
654          type: RECT;
655          scale: 1;
656          ignore_flags: ON_HOLD;
657          description {
658             state: "default" 0.0;
659             visible: 0;
660             min: 0 EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC;
661             fixed: 0 1;
662             rel1.relative: 0.0 1.0;
663             align: 0 1;
664          }
665       }
666       part {
667          name: "elm.guidetext";
668          type: TEXT;
669          scale: 1;
670          ignore_flags: ON_HOLD;
671          description {
672             state: "default" 0.0;
673             align: 0.0 0.0;
674             fixed: 1 1;
675             rel1.to: "elm.swallow.content";
676             rel2.to: "elm.swallow.content";
677             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
678             text {
679                font: "SLP:style=Roman";
680                size: ENTRY_TEXT_SIZE_INC;
681                min: 0 0;
682                align: 0.0 0.5;
683                text_class: "slp_roman";
684             }
685          }
686          description {
687             state: "hidden" 0.0;
688             inherit: "default" 0.0;
689             visible: 0;
690          }
691       }
692       part {
693          name: "elm.swallow.content";
694          type: SWALLOW;
695          scale: 1;
696          ignore_flags: ON_HOLD;
697          description {
698             state: "default" 0.0;
699             min: 0 40;
700             rel1 {
701                relative : 1.0 1.0;
702                to_x: "left1";
703                to_y: "top1";
704             }
705             rel2 {
706                relative : 0.0 0.0;
707                to_x: "right1";
708                to_y: "bottom1";
709             }
710             align: 0.0 0.5;
711          }
712       }
713       part {
714          name: "eraser_image";
715          scale: 1;
716          description {
717             state: "default" 0.0;
718             visible: 0;
719             min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
720             fixed: 1 1;
721             align: 1 0.5;
722             rel1 {
723                relative: 0.0 0.5;
724                to_x : "right2";
725             }
726             rel2 {
727                relative: 0.0 0.5;
728                to_x : "right2";
729             }
730          }
731          description {
732             state: "elm.eraser.show" 0.0;
733             inherit: "default" 0.0;
734             visible: 1;
735             image {
736                normal: "00_EditField_clear.png";
737                border: 10 10 10 10;
738                border_scale: 1;
739             }
740          }
741          description {
742             state: "elm.eraser.pressed" 0.0;
743             inherit: "default" 0.0;
744             visible: 1;
745             image {
746                normal: "00_EditField_clear_press.png";
747                border: 8 8 8 8;
748                border_scale: 1;
749             }
750          }
751       }
752       part {
753          name: "eraser";
754          type: RECT;
755          scale: 1;
756          mouse_events: 1;
757          description {
758             state: "default" 0.0;
759             visible: 0;
760             min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
761             fixed: 1 1;
762             align: 1 0.5;
763             color: 0 0 0 0;
764             rel1 {
765                relative: 0.0 0.5;
766                to_x : "right2";
767             }
768             rel2 {
769                relative: 0.0 0.5;
770                to_x : "right2";
771             }
772          }
773          description {
774             state: "elm.eraser.show" 0.0;
775             inherit: "default" 0.0;
776             visible: 1;
777          }
778       }
779    }
780    programs {
781       program {
782          name: "guidetext_show";
783          signal: "elm,state,guidetext,show";
784          source: "elm";
785          action: STATE_SET "default" 0.0;
786          target: "elm.guidetext";
787       }
788       program {
789          name: "guidetext_hide";
790          signal: "elm,state,guidetext,hide";
791          source: "elm";
792          action: STATE_SET "hidden" 0.0;
793          target: "elm.guidetext";
794       }
795       program {
796          name: "eraser_show";
797          signal: "elm,state,eraser,show";
798          source: "elm";
799          action: STATE_SET "elm.eraser.show" 0.0;
800          target: "eraser_image";
801          target: "eraser";
802       }
803       program {
804          name: "eraser_hide";
805          signal: "elm,state,eraser,hide";
806          source: "elm";
807          action: STATE_SET "default" 0.0;
808          target: "eraser_image";
809          target: "eraser";
810       }
811       program {
812          name: "eraser_clicked";
813          signal: "mouse,clicked,1";
814          source: "eraser";
815          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
816       }
817       program {
818          name: "eraser_pressed";
819          signal: "mouse,down,1";
820          source: "eraser";
821          action: STATE_SET "elm.eraser.pressed" 0.0;
822          target: "eraser_image";
823       }
824       program {
825          name: "eraser_unpressed";
826          signal: "mouse,up,1";
827          source: "eraser";
828          action: STATE_SET "elm.eraser.show" 0.0;
829          target: "eraser_image";
830       }
831    }
832 }
833
834 group { name: "elm/layout/editfield/title";
835    images {
836       image: "00_EditField_clear.png" COMP;
837       image: "00_EditField_clear_press.png" COMP;
838    }
839    parts {
840       part {
841          name: "base";
842          type: RECT;
843          scale: 1;
844          ignore_flags: ON_HOLD;
845          description {
846             state: "default" 0.0;
847             min: 0 EDITFIELD_TITLE_MINH_INC;
848             color: 0 0 0 0;
849          }
850       }
851       part {
852          name: "top1";
853          type: RECT;
854          scale: 1;
855          ignore_flags: ON_HOLD;
856          description {
857             state: "default" 0.0;
858             visible: 0;
859             min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
860             fixed: 1 1;
861             rel1.relative: 0.0 0.0;
862             rel2.relative: 1.0 0.0;
863             align: 0.5 0;
864          }
865       }
866       part {
867          name: "top2";
868          type: RECT;
869          scale: 1;
870          ignore_flags: ON_HOLD;
871          description {
872             state: "default" 0.0;
873             visible: 0;
874             min: 0 EDITFIELD_DEFAULT_TOP2_INC;
875             fixed: 1 1;
876             rel1.relative: 0.0 0.0;
877             rel2.relative: 1.0 0.0;
878             align: 0.5 0;
879          }
880       }
881       part {
882          name: "left1";
883          type: RECT;
884          scale: 1;
885          ignore_flags: ON_HOLD;
886          description {
887             state: "default" 0.0;
888             visible: 0;
889             min: EDITFIELD_DEFAULT_LEFT1_INC 0;
890             fixed: 1 1;
891             align: 0 0;
892             rel1.relative : 0.0 0.0;
893             rel2.relative : 0.0 1.0;
894          }
895       }
896       part {
897          name: "left2";
898          type: RECT;
899          scale: 1;
900          ignore_flags: ON_HOLD;
901          description {
902             state: "default" 0.0;
903             visible: 0;
904             min: EDITFIELD_DEFAULT_LEFT2_INC 0;
905             fixed: 1 1;
906             align: 0 0;
907             rel1.relative : 0.0 0.0;
908             rel2.relative : 0.0 1.0;
909          }
910       }
911       part {
912          name: "right1";
913          type: RECT;
914          scale: 1;
915          ignore_flags: ON_HOLD;
916          description {
917             state: "default" 0.0;
918             visible: 0;
919             min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
920             fixed: 1 1;
921             align: 1 0;
922             rel1.relative : 1.0 0.0;
923             rel2.relative : 1.0 1.0;
924          }
925       }
926       part {
927          name: "right2";
928          type: RECT;
929          scale: 1;
930          ignore_flags: ON_HOLD;
931          description {
932             state: "default" 0.0;
933             visible: 0;
934             min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
935             fixed: 1 1;
936             align: 1 0;
937             rel1.relative : 1.0 0.0;
938             rel2.relative : 1.0 1.0;
939          }
940       }
941       part {
942          name: "bottom1";
943          type: RECT;
944          scale: 1;
945          ignore_flags: ON_HOLD;
946          description {
947             state: "default" 0.0;
948             visible: 0;
949             min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
950             fixed: 1 1;
951             align: 0 1;
952             rel1.relative: 0.0 1.0;
953          }
954       }
955       part {
956          name: "bottom2";
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_BOTTOM2_MULTI_INC;
964             fixed: 0 1;
965             rel1.relative: 0.0 1.0;
966             align: 0 1;
967          }
968       }
969       part {
970          name: "eraser_base";
971          type: RECT;
972          scale: 1;
973          ignore_flags: ON_HOLD;
974          description {
975             state: "default" 0.0;
976             visible: 0;
977             rel1 {
978                relative: 0.0 1.0;
979                to_y: "top1";
980             }
981          }
982       }
983       part {
984          name: "elm.text";
985          type: TEXT;
986          scale: 1;
987          ignore_flags: ON_HOLD;
988          description {
989             state: "default" 0.0;
990             align: 0.0 0.0;
991             min: 0 34;
992             fixed: 1 1;
993             rel1 {
994                relative: 1.0 1.0;
995                to_x: "left2";
996                to_y: "top2";
997             }
998             rel2 {
999                relative: 1.0 1.0;
1000                to_x: "left2";
1001                to_y: "top2";
1002             }
1003             color: EDITFIELD_TITLE_COLOR_INC;
1004             text {
1005                font: "SLP:style=Medium";
1006                size: EDITFIELD_TITLE_SIZE_INC;
1007                min: 1 1;
1008                align: 0.0 0.0;
1009                text_class: "slp_medium";
1010             }
1011          }
1012       }
1013       part {
1014          name: "elm.guidetext";
1015          type: TEXT;
1016          scale: 1;
1017          ignore_flags: ON_HOLD;
1018          description {
1019             state: "default" 0.0;
1020             align: 0.0 0.0;
1021             fixed: 1 1;
1022             rel1.to: "elm.swallow.content";
1023             rel2.to: "elm.swallow.content";
1024             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
1025             text {
1026                font: "SLP:style=Roman";
1027                size: ENTRY_TEXT_SIZE_INC;
1028                min: 0 0;
1029                align: 0.0 0.5;
1030                text_class: "slp_roman";
1031             }
1032          }
1033          description {
1034             state: "hidden" 0.0;
1035             inherit: "default" 0.0;
1036             visible: 0;
1037          }
1038       }
1039       part {
1040          name: "elm.swallow.content";
1041          type: SWALLOW;
1042          scale: 1;
1043          ignore_flags: ON_HOLD;
1044          description {
1045             state: "default" 0.0;
1046             min: 0 40;
1047             rel1 {
1048                relative : 1.0 1.0;
1049                to_x: "left1";
1050                to_y: "top1";
1051             }
1052             rel2 {
1053                relative : 0.0 0.0;
1054                to_x: "right1";
1055                to_y: "bottom1";
1056             }
1057             align: 0.0 0.5;
1058          }
1059       }
1060       part {
1061          name: "eraser_image";
1062          scale: 1;
1063          description {
1064             state: "default" 0.0;
1065             visible: 0;
1066             min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
1067             fixed: 1 1;
1068             align: 1 0.5;
1069             rel1 {
1070                relative: 0.0 0.5;
1071                to_x : "right2";
1072                to_y : "eraser_base";
1073             }
1074             rel2 {
1075                relative: 0.0 0.5;
1076                to_x : "right2";
1077                to_y : "eraser_base";
1078             }
1079          }
1080          description {
1081             state: "elm.eraser.show" 0.0;
1082             inherit: "default" 0.0;
1083             visible: 1;
1084             image {
1085                normal: "00_EditField_clear.png";
1086                border: 10 10 10 10;
1087                border_scale: 1;
1088             }
1089          }
1090          description {
1091             state: "elm.eraser.pressed" 0.0;
1092             inherit: "default" 0.0;
1093             visible: 1;
1094             image {
1095                normal: "00_EditField_clear_press.png";
1096                border: 8 8 8 8;
1097                border_scale: 1;
1098             }
1099          }
1100       }
1101       part {
1102          name: "eraser";
1103          type: RECT;
1104          scale: 1;
1105          mouse_events: 1;
1106          description {
1107             state: "default" 0.0;
1108             visible: 0;
1109             min: EDITFIELD_DEFAULT_ERASER_EVENT_MINW_INC EDITFIELD_DEFAULT_ERASER_EVENT_MINH_INC;
1110             fixed: 1 1;
1111             align: 1 0.5;
1112             color: 0 0 0 0;
1113             rel1 {
1114                relative: 0.0 0.5;
1115                to_x : "right2";
1116                to_y : "eraser_base";
1117             }
1118             rel2 {
1119                relative: 0.0 0.5;
1120                to_x : "right2";
1121                to_y : "eraser_base";
1122             }
1123          }
1124          description {
1125             state: "elm.eraser.show" 0.0;
1126             inherit: "default" 0.0;
1127             visible: 1;
1128          }
1129       }
1130    }
1131    programs {
1132       program {
1133          name: "guidetext_show";
1134          signal: "elm,state,guidetext,show";
1135          source: "elm";
1136          action: STATE_SET "default" 0.0;
1137          target: "elm.guidetext";
1138       }
1139       program {
1140          name: "guidetext_hide";
1141          signal: "elm,state,guidetext,hide";
1142          source: "elm";
1143          action: STATE_SET "hidden" 0.0;
1144          target: "elm.guidetext";
1145       }
1146       program {
1147          name: "eraser_show";
1148          signal: "elm,state,eraser,show";
1149          source: "elm";
1150          action: STATE_SET "elm.eraser.show" 0.0;
1151          target: "eraser_image";
1152          target: "eraser";
1153       }
1154       program {
1155          name: "eraser_hide";
1156          signal: "elm,state,eraser,hide";
1157          source: "elm";
1158          action: STATE_SET "default" 0.0;
1159          target: "eraser_image";
1160          target: "eraser";
1161       }
1162       program {
1163          name: "eraser_clicked";
1164          signal: "mouse,clicked,1";
1165          source: "eraser";
1166          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
1167       }
1168       program {
1169          name: "eraser_pressed";
1170          signal: "mouse,down,1";
1171          source: "eraser";
1172          action: STATE_SET "elm.eraser.pressed" 0.0;
1173          target: "eraser_image";
1174       }
1175       program {
1176          name: "eraser_unpressed";
1177          signal: "mouse,up,1";
1178          source: "eraser";
1179          action: STATE_SET "elm.eraser.show" 0.0;
1180          target: "eraser_image";
1181       }
1182    }
1183 }
1184
1185 group { name: "elm/layout/searchbar/default";
1186    images {
1187       image: "00_EditField_clear.png" COMP;
1188       image: "00_EditField_clear_press.png" COMP;
1189       image: "00_search_input_field_bg.png" COMP;
1190       image: "00_search_icon.png" COMP;
1191    }
1192    parts {
1193       part { name: "inputfield_rect";
1194          type: IMAGE;
1195          scale: 1;
1196          description { state: "default" 0.0;
1197             min: 0 SEARCHBAR_HEIGHT_INC;
1198             align: 0.0 0.5;
1199             image {
1200                normal: "00_search_input_field_bg.png";
1201                border: SEARCHBAR_INPUTFIELD_BORDER_INC;
1202             }
1203          }
1204       }
1205       part { name: "left_icon_padding_rect";
1206          type: RECT;
1207          scale: 1;
1208          description { state: "default" 0.0;
1209             visible: 0;
1210             min: SEARCHBAR_LEFT_ICON_PADDING_INC 0;
1211             fixed: 1 0;
1212             align: 0 0;
1213             rel1.to: "inputfield_rect";
1214             rel2 {
1215                relative: 0.0 1.0;
1216                to: "inputfield_rect";
1217             }
1218          }
1219       }
1220       part { name: "search_icon";
1221          type: IMAGE;
1222          scale: 1;
1223          ignore_flags: ON_HOLD;
1224          description { state: "default" 0.0;
1225             min: SEARCHBAR_ICON_MIN_W_INC SEARCHBAR_ICON_MIN_H_INC;
1226             fixed: 1 1;
1227             align: 0 0.5;
1228             rel1 {
1229                relative: 1.0 0.5;
1230                to_x: "left_icon_padding_rect";
1231                to_y: "inputfield_rect";
1232             }
1233             rel2 {
1234                relative: 1.0 0.5;
1235                to_x: "left_icon_padding_rect";
1236                to_y: "inputfield_rect";
1237             }
1238             image.normal: "00_search_icon.png";
1239          }
1240       }
1241       part { name: "left_padding_search_textfield";
1242          type: RECT;
1243          scale: 1;
1244          description { state: "default" 0.0;
1245             visible: 0;
1246             min: SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 0;
1247             fixed: 1 0;
1248             align: 0.0 0.5;
1249             rel1 {
1250                relative: 1.0 0.0;
1251                to_x: "search_icon";
1252                to_y: "inputfield_rect";
1253             }
1254             rel2 {
1255                relative: 1.0 1.0;
1256                to_x: "search_icon";
1257                to_y: "inputfield_rect";
1258             }
1259          }
1260       }
1261       part { name: "right_padding_search_textfield";
1262          type: RECT;
1263          scale: 1;
1264          description { state: "default" 0.0;
1265             visible: 0;
1266             min: SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 0;
1267             fixed: 1 0;
1268             align: 1.0 0.5;
1269             rel1 {
1270                relative: 1.0 0.0;
1271                to: "inputfield_rect";
1272             }
1273             rel2 {
1274                relative: 1.0 1.0;
1275                to: "inputfield_rect";
1276             }
1277          }
1278       }
1279       part { name: "search_textfield";
1280          type: RECT;
1281          mouse_events: 1;
1282          scale: 1;
1283          ignore_flags: ON_HOLD;
1284          description { state: "default" 0.0;
1285             color: 0 0 0 0;
1286             min: 0 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
1287             fixed: 0 1;
1288             align: 0.0 0.5;
1289             rel1 {
1290                relative: 1.0 0.0;
1291                to: "left_padding_search_textfield";
1292             }
1293             rel2 {
1294                relative: 0.0 1.0;
1295                to: "right_padding_search_textfield";
1296             }
1297          }
1298       }
1299       part { name: "top1";
1300          type: RECT;
1301          scale: 1;
1302          ignore_flags: ON_HOLD;
1303          description { state: "default" 0.0;
1304             visible: 0;
1305             min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
1306             fixed: 1 1;
1307             rel1 {
1308                relative: 0.0 0.0;
1309                to: "search_textfield";
1310             }
1311             rel2 {
1312                relative: 1.0 0.0;
1313                to: "search_textfield";
1314             }
1315             align: 0.5 0;
1316          }
1317          description { state: "elm.text.show" 0.0;
1318             inherit: "default" 0.0;
1319             min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
1320          }
1321       }
1322       part { name: "top2";
1323          type: RECT;
1324          scale: 1;
1325          ignore_flags: ON_HOLD;
1326          description { state: "default" 0.0;
1327             visible: 0;
1328             min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
1329             fixed: 1 1;
1330             rel1 {
1331                relative: 0.0 0.0;
1332                to: "search_textfield";
1333             }
1334             rel2 {
1335                relative: 1.0 0.0;
1336                to: "search_textfield";
1337             }
1338             align: 0.5 0;
1339          }
1340       }
1341       part { name: "left1";
1342          type: RECT;
1343          scale: 1;
1344          ignore_flags: ON_HOLD;
1345          description { state: "default" 0.0;
1346             visible: 0;
1347             min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
1348             fixed: 1 1;
1349             align: 0 0;
1350             rel1 {
1351                relative: 0.0 0.0;
1352                to: "search_textfield";
1353             }
1354             rel2 {
1355                relative: 0.0 1.0;
1356                to: "search_textfield";
1357             }
1358          }
1359       }
1360       part { name: "left2";
1361          type: RECT;
1362          scale: 1;
1363          ignore_flags: ON_HOLD;
1364          description { state: "default" 0.0;
1365             visible: 0;
1366             min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
1367             fixed: 1 1;
1368             align: 0 0;
1369             rel1 {
1370                relative: 0.0 0.0;
1371                to: "search_textfield";
1372             }
1373             rel2 {
1374                relative: 0.0 1.0;
1375                to: "search_textfield";
1376             }
1377          }
1378       }
1379       part { name: "right1";
1380          type: RECT;
1381          scale: 1;
1382          ignore_flags: ON_HOLD;
1383          description { state: "default" 0.0;
1384             visible: 0;
1385             min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
1386             fixed: 1 1;
1387             align: 1 0;
1388             rel1 {
1389                relative: 1.0 0.0;
1390                to: "search_textfield";
1391             }
1392             rel2.to: "search_textfield";
1393          }
1394       }
1395       part { name: "right2";
1396          type: RECT;
1397          scale: 1;
1398          ignore_flags: ON_HOLD;
1399          description { state: "default" 0.0;
1400             visible: 0;
1401             min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
1402             fixed: 1 1;
1403             align: 1 0;
1404             rel1 {
1405                relative: 1.0 0.0;
1406                to: "search_textfield";
1407             }
1408             rel2.to: "search_textfield";
1409          }
1410       }
1411       part { name: "bottom1";
1412          type: RECT;
1413          scale: 1;
1414          ignore_flags: ON_HOLD;
1415          description { state: "default" 0.0;
1416             visible: 0;
1417             min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
1418             fixed: 1 1;
1419             align: 0 1;
1420             rel1 {
1421                relative: 0.0 1.0;
1422                to: "search_textfield";
1423             }
1424          }
1425          description { state: "elm.text.show" 0.0;
1426             inherit: "default" 0.0;
1427             min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
1428          }
1429       }
1430       part { name: "bottom2";
1431          type: RECT;
1432          scale: 1;
1433          ignore_flags: ON_HOLD;
1434          description { state: "default" 0.0;
1435             visible: 0;
1436             min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
1437             fixed: 0 1;
1438             rel1 {
1439                relative: 0.0 1.0;
1440                to: "search_textfield";
1441             }
1442             align: 0 1;
1443          }
1444          description { state: "elm.text.show" 0.0;
1445             inherit: "default" 0.0;
1446             min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
1447          }
1448       }
1449       part { name: "bottom3";
1450          type: RECT;
1451          scale: 1;
1452          ignore_flags: ON_HOLD;
1453          description { state: "default" 0.0;
1454             visible: 0;
1455             min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
1456             fixed: 0 1;
1457             rel1 {
1458                relative: 0.0 1.0;
1459                to: "search_textfield";
1460             }
1461             align: 0 1;
1462          }
1463          description { state: "elm.text.show" 0.0;
1464             inherit: "default" 0.0;
1465             min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
1466          }
1467       }
1468       part { name: "elm.text";
1469          type: TEXT;
1470          scale: 1;
1471          ignore_flags: ON_HOLD;
1472          description { state: "default" 0.0;
1473             visible: 0;
1474             align: 0.0 0.0;
1475             min: 0 34;
1476             fixed: 1 1;
1477             rel1 {
1478                relative: 1.0 1.0;
1479                to_x: "left2";
1480                to_y: "top2";
1481             }
1482             rel2 {
1483                relative: 1.0 1.0;
1484                to_x: "left2";
1485                to_y: "top2";
1486             }
1487             color: EDITFIELD_TITLE_COLOR_INC;
1488             text {
1489                font: "SLP:style=Medium";
1490                size: EDITFIELD_TITLE_SIZE_INC;
1491                min: 1 1;
1492                align: 0.0 0.0;
1493                text_class: "slp_medium";
1494             }
1495          }
1496          description { state: "elm.text.show" 0.0;
1497             inherit: "default" 0.0;
1498             visible: 1;
1499          }
1500       }
1501       part { name: "elm.guidetext";
1502          type: TEXT;
1503          scale: 1;
1504          ignore_flags: ON_HOLD;
1505          description { state: "default" 0.0;
1506             align: 0.0 0.0;
1507             fixed: 1 1;
1508             rel1.to: "elm.swallow.content";
1509             rel2.to: "elm.swallow.content";
1510             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
1511             text {
1512                font: "SLP:style=Roman";
1513                size: ENTRY_TEXT_SIZE_INC;
1514                min: 0 0;
1515                align: 0.0 0.5;
1516                text_class: "slp_roman";
1517             }
1518          }
1519          description { state: "hidden" 0.0;
1520             inherit: "default" 0.0;
1521             visible: 0;
1522          }
1523       }
1524       part {
1525          name: "elm.swallow.content";
1526          type: SWALLOW;
1527          scale: 1;
1528          ignore_flags: ON_HOLD;
1529          description { state: "default" 0.0;
1530             min: 0 40;
1531             rel1 {
1532                relative : 1.0 1.0;
1533                to_x: "left1";
1534                to_y: "top1";
1535             }
1536             rel2 {
1537                relative : 0.0 0.0;
1538                to_x: "right1";
1539                to_y: "bottom1";
1540             }
1541             align: 0.0 0.5;
1542          }
1543       }
1544       part { name: "eraser_image";
1545          scale: 1;
1546          description { state: "default" 0.0;
1547             visible: 0;
1548             min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
1549             fixed: 1 1;
1550             align: 1 0.5;
1551             rel1 {
1552                relative: 0.0 0.5;
1553                to_x : "right2";
1554             }
1555             rel2 {
1556                relative: 0.0 0.5;
1557                to_x : "right2";
1558             }
1559          }
1560          description { state: "elm.eraser.show" 0.0;
1561             inherit: "default" 0.0;
1562             visible: 1;
1563             image {
1564                normal: "00_EditField_clear.png";
1565                border: 10 10 10 10;
1566                border_scale: 1;
1567             }
1568          }
1569          description {
1570             state: "elm.eraser.pressed" 0.0;
1571             inherit: "default" 0.0;
1572             visible: 1;
1573             image {
1574                normal: "00_EditField_clear_press.png";
1575                border: 8 8 8 8;
1576                border_scale: 1;
1577             }
1578          }
1579       }
1580       part { name: "eraser";
1581          type: RECT;
1582          scale: 1;
1583          mouse_events: 1;
1584          description { state: "default" 0.0;
1585             visible: 0;
1586             min: EDITFIELD_SEARCHBAR_ERASER_EVENT_MINW_INC EDITFIELD_SEARCHBAR_ERASER_EVENT_MINH_INC;
1587             fixed: 1 1;
1588             align: 1 0.5;
1589             color: 0 0 0 0;
1590             rel1 {
1591                relative: 0.0 0.5;
1592                to_x : "right2";
1593             }
1594             rel2 {
1595                relative: 0.0 0.5;
1596                to_x : "right2";
1597             }
1598          }
1599          description { state: "elm.eraser.show" 0.0;
1600             inherit: "default" 0.0;
1601             visible: 1;
1602          }
1603       }
1604    }
1605    programs {
1606       program {
1607          name: "guidetext_show";
1608          signal: "elm,state,guidetext,show";
1609          source: "elm";
1610          action: STATE_SET "default" 0.0;
1611          target: "elm.guidetext";
1612       }
1613       program {
1614          name: "guidetext_hide";
1615          signal: "elm,state,guidetext,hide";
1616          source: "elm";
1617          action: STATE_SET "hidden" 0.0;
1618          target: "elm.guidetext";
1619       }
1620       program {
1621          name: "eraser_show";
1622          signal: "elm,state,eraser,show";
1623          source: "elm";
1624          action: STATE_SET "elm.eraser.show" 0.0;
1625          target: "eraser_image";
1626          target: "eraser";
1627       }
1628       program {
1629          name: "eraser_hide";
1630          signal: "elm,state,eraser,hide";
1631          source: "elm";
1632          action: STATE_SET "default" 0.0;
1633          target: "eraser_image";
1634          target: "eraser";
1635       }
1636       program {
1637          name: "label_show";
1638          signal: "elm,state,title,show";
1639          source: "elm";
1640          action: STATE_SET "elm.text.show" 0.0;
1641          target: "elm.text";
1642          target: "top1";
1643          target: "bottom1";
1644          target: "bottom2";
1645          target: "bottom3";
1646       }
1647       program {
1648          name: "label_hide";
1649          signal: "elm,state,title,hide";
1650          source: "elm";
1651          action: STATE_SET "default" 0.0;
1652          target: "elm.text";
1653          target: "top1";
1654          target: "bottom1";
1655          target: "bottom2";
1656          target: "bottom3";
1657       }
1658      program {
1659          name: "eraser_clicked";
1660          signal: "mouse,clicked,1";
1661          source: "eraser";
1662          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
1663       }
1664      program {
1665          name: "bg_clicked";
1666          signal: "mouse,clicked,1";
1667          source: "search_textfield";
1668          action: SIGNAL_EMIT "elm,bg,clicked" "elm";
1669       }
1670      program { name: "mouse_click";
1671          signal: "mouse,clicked,1";
1672          source: "search_icon";
1673          action: SIGNAL_EMIT "elm,action,click" "";
1674      }
1675      program {
1676          name: "eraser_pressed";
1677          signal: "mouse,down,1";
1678          source: "eraser";
1679          action: STATE_SET "elm.eraser.pressed" 0.0;
1680          target: "eraser_image";
1681      }
1682      program {
1683          name: "eraser_unpressed";
1684          signal: "mouse,up,1";
1685          source: "eraser";
1686          action: STATE_SET "elm.eraser.show" 0.0;
1687          target: "eraser_image";
1688       }
1689    }
1690 }
1691
1692 group { name: "elm/layout/searchbar/cancel_button";
1693    images {
1694       image: "00_EditField_clear.png" COMP;
1695       image: "00_EditField_clear_press.png" COMP;
1696       image: "00_search_input_field_bg.png" COMP;
1697       image: "00_search_icon.png" COMP;
1698    }
1699    parts {
1700      part { name: "top_padding_rect";
1701          type: RECT;
1702          scale: 1;
1703          description { state: "default" 0.0;
1704             visible: 1;
1705             min: 0 SEARCHBAR_TOP_PADDING_INC;
1706             fixed: 0 1;
1707             align: 0 0;
1708             color: SEARCHBAR_BACKGROUND_COLOR_INC;
1709             rel2.relative: 1.0 0.0;
1710          }
1711       }
1712       part { name: "bottom_padding_rect";
1713          type: RECT;
1714          scale: 1;
1715          description { state: "default" 0.0;
1716             visible: 1;
1717             min: 0 SEARCHBAR_BOTTOM_PADDING_INC;
1718             fixed: 0 1;
1719             align: 0 1;
1720             color: SEARCHBAR_BACKGROUND_COLOR_INC;
1721             rel1.relative: 0.0 1.0;
1722          }
1723       }
1724       part { name: "base_bg";
1725          type: RECT;
1726          scale: 1;
1727          description { state: "default" 0.0;
1728             visible: 0;
1729             min: 0 SEARCHBAR_HEIGHT_INC;
1730             align: 0 0.5;
1731             fixed: 0 1;
1732             rel1 {
1733                relative: 0.0 1.0;
1734                to: "top_padding_rect";
1735             }
1736             rel2 {
1737                relative: 1.0 0.0;
1738                to: "bottom_padding_rect";
1739             }
1740          }
1741       }
1742       part { name: "left_padding_rect";
1743          type: RECT;
1744          scale: 1;
1745          description { state: "default" 0.0;
1746             visible: 1;
1747             min: SEARCHBAR_LEFT_PADDING_INC 0;
1748             fixed: 1 0;
1749             align: 0 0;
1750             rel2.relative: 0.0 1.0;
1751             color: SEARCHBAR_BACKGROUND_COLOR_INC;
1752          }
1753       }
1754       part { name: "right_padding_rect";
1755          type: RECT;
1756          scale: 1;
1757          description { state: "default" 0.0;
1758             visible: 1;
1759             min: SEARCHBAR_RIGHT_PADDING_INC 0;
1760             fixed: 1 0;
1761             align: 1 0;
1762             rel1.relative: 1.0 0.0;
1763             color: SEARCHBAR_BACKGROUND_COLOR_INC;
1764          }
1765       }
1766       part { name: "right_field_and_btn_padding_rect";
1767          type: RECT;
1768          scale: 1;
1769          description { state: "default" 0.0;
1770             visible: 1;
1771             min: SEARCHBAR_CANCEL_BUTTON_WITH_DOUBLE_PADDING_W_INC 0;
1772             fixed: 1 0;
1773             align: 1 0;
1774             rel1.relative: 1.0 0.0;
1775             color: SEARCHBAR_BACKGROUND_COLOR_INC;
1776          }
1777       }
1778       part { name: "right_btn_padding_rect";
1779          type: RECT;
1780          scale: 1;
1781          description { state: "default" 0.0;
1782             visible: 1;
1783             min: SEARCHBAR_CANCEL_BUTTON_WITH_PADDING_W_INC 0;
1784             fixed: 1 0;
1785             align: 1 0;
1786             rel1.relative: 1.0 0.0;
1787             color: SEARCHBAR_BACKGROUND_COLOR_INC;
1788          }
1789       }
1790       part { name: "inputfield_rect";
1791          type: IMAGE;
1792          scale: 1;
1793          description { state: "default" 0.0;
1794             align: 0.0 0.5;
1795             rel1 {
1796                relative: 1.0 0.0;
1797                to_x: "left_padding_rect";
1798                to_y: "base_bg";
1799             }
1800             rel2 {
1801                relative: 0.0 1.0;
1802                to_x: "right_padding_rect";
1803                to_y: "base_bg";
1804             }
1805             image {
1806                normal: "00_search_input_field_bg.png";
1807                border: SEARCHBAR_INPUTFIELD_BORDER_INC;
1808             }
1809          }
1810          description { state: "in" 0.0;
1811             inherit: "default" 0.0;
1812             rel2.to_x: "right_field_and_btn_padding_rect";
1813          }
1814       }
1815       part { name: "left_icon_padding_rect";
1816          type: RECT;
1817          scale: 1;
1818          description { state: "default" 0.0;
1819             visible: 0;
1820             min: SEARCHBAR_LEFT_ICON_PADDING_INC 0;
1821             fixed: 1 0;
1822             align: 0 0;
1823             rel1.to: "inputfield_rect";
1824             rel2 {
1825                relative: 0.0 1.0;
1826                to: "inputfield_rect";
1827             }
1828          }
1829       }
1830       part { name: "search_icon";
1831          type: IMAGE;
1832          scale: 1;
1833          ignore_flags: ON_HOLD;
1834          description { state: "default" 0.0;
1835             min: SEARCHBAR_ICON_MIN_W_INC SEARCHBAR_ICON_MIN_H_INC;
1836             fixed: 1 1;
1837             align: 0 0.5;
1838             rel1 {
1839                relative: 1.0 0.5;
1840                to_x: "left_icon_padding_rect";
1841                to_y: "inputfield_rect";
1842             }
1843             rel2 {
1844                relative: 1.0 0.5;
1845                to_x: "left_icon_padding_rect";
1846                to_y: "inputfield_rect";
1847             }
1848             image.normal: "00_search_icon.png";
1849          }
1850       }
1851       part { name: "left_padding_search_textfield";
1852          type: RECT;
1853          scale: 1;
1854          description { state: "default" 0.0;
1855             visible: 0;
1856             min: SEARCHBAR_LEFT_PADDING_SEARCHFIELD_INC 0;
1857             fixed: 1 0;
1858             align: 0.0 0.5;
1859             rel1 {
1860                relative: 1.0 0.0;
1861                to_x: "search_icon";
1862                to_y: "inputfield_rect";
1863             }
1864             rel2 {
1865                relative: 1.0 1.0;
1866                to_x: "search_icon";
1867                to_y: "inputfield_rect";
1868             }
1869          }
1870       }
1871       part { name: "right_padding_search_textfield";
1872          type: RECT;
1873          scale: 1;
1874          description { state: "default" 0.0;
1875             visible: 0;
1876             min: SEARCHBAR_RIGHT_PADDING_SEARCHFIELD_INC 0;
1877             fixed: 1 0;
1878             align: 1.0 0.5;
1879             rel1 {
1880                relative: 1.0 0.0;
1881                to: "inputfield_rect";
1882             }
1883             rel2 {
1884                relative: 1.0 1.0;
1885                to: "inputfield_rect";
1886             }
1887          }
1888       }
1889       part { name: "search_textfield";
1890          type: RECT;
1891          mouse_events: 1;
1892          scale: 1;
1893          ignore_flags: ON_HOLD;
1894          description { state: "default" 0.0;
1895             color: 0 0 0 0;
1896             min: 0 SEARCHBAR_SEARCH_TEXTFIELD_H_INC;
1897             fixed: 0 1;
1898             align: 0.0 0.5;
1899             rel1 {
1900                relative: 1.0 0.0;
1901                to: "left_padding_search_textfield";
1902             }
1903             rel2 {
1904                relative: 0.0 1.0;
1905                to: "right_padding_search_textfield";
1906             }
1907          }
1908       }
1909       part { name: "button_cancel";
1910          type: SWALLOW;
1911          mouse_events: 1;
1912          scale: 1;
1913          description { state: "default" 0.0;
1914             visible: 0;
1915             fixed: 1 1;
1916             min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
1917             align: 0.0 0.5;
1918             state: "default" 0.0;
1919             rel1 {
1920                relative: 1.0 1.0;
1921                to_x: "base_bg";
1922                to_y: "top_padding_rect";
1923             }
1924             rel2 {
1925                relative: 1.0 0.0;
1926                to_x: "base_bg";
1927                to_y: "bottom_padding_rect";
1928             }
1929          }
1930          description { state: "in" 0.0;
1931             visible:1;
1932             min: SEARCHBAR_CANCEL_BUTTON_W_INC 0;
1933             align: 1.0 0.5;
1934             rel1 {
1935                relative: 0.0 1.0;
1936                to_x: "right_btn_padding_rect";
1937                to_y: "top_padding_rect";
1938             }
1939             rel2 {
1940                relative: 0.0 0.0;
1941                to_x: "right_padding_rect";
1942                to_y: "bottom_padding_rect";
1943             }
1944          }
1945       }
1946       part { name: "top1";
1947          type: RECT;
1948          scale: 1;
1949          ignore_flags: ON_HOLD;
1950          description { state: "default" 0.0;
1951             visible: 0;
1952             min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
1953             fixed: 1 1;
1954             rel1 {
1955                relative: 0.0 0.0;
1956                to: "search_textfield";
1957             }
1958             rel2 {
1959                relative: 1.0 0.0;
1960                to: "search_textfield";
1961             }
1962             align: 0.5 0;
1963          }
1964          description { state: "elm.text.show" 0.0;
1965             inherit: "default" 0.0;
1966             min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
1967          }
1968       }
1969       part { name: "top2";
1970          type: RECT;
1971          scale: 1;
1972          ignore_flags: ON_HOLD;
1973          description { state: "default" 0.0;
1974             visible: 0;
1975             min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
1976             fixed: 1 1;
1977             rel1 {
1978                relative: 0.0 0.0;
1979                to: "search_textfield";
1980             }
1981             rel2 {
1982                relative: 1.0 0.0;
1983                to: "search_textfield";
1984             }
1985             align: 0.5 0;
1986          }
1987       }
1988       part { name: "left1";
1989          type: RECT;
1990          scale: 1;
1991          ignore_flags: ON_HOLD;
1992          description { state: "default" 0.0;
1993             visible: 0;
1994             min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
1995             fixed: 1 1;
1996             align: 0 0;
1997             rel1 {
1998                relative: 0.0 0.0;
1999                to: "search_textfield";
2000             }
2001             rel2 {
2002                relative: 0.0 1.0;
2003                to: "search_textfield";
2004             }
2005          }
2006       }
2007       part { name: "left2";
2008          type: RECT;
2009          scale: 1;
2010          ignore_flags: ON_HOLD;
2011          description { state: "default" 0.0;
2012             visible: 0;
2013             min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
2014             fixed: 1 1;
2015             align: 0 0;
2016             rel1 {
2017                relative: 0.0 0.0;
2018                to: "search_textfield";
2019             }
2020             rel2 {
2021                relative: 0.0 1.0;
2022                to: "search_textfield";
2023             }
2024          }
2025       }
2026       part { name: "right1";
2027          type: RECT;
2028          scale: 1;
2029          ignore_flags: ON_HOLD;
2030          description { state: "default" 0.0;
2031             visible: 0;
2032             min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
2033             fixed: 1 1;
2034             align: 1 0;
2035             rel1 {
2036                relative: 1.0 0.0;
2037                to: "search_textfield";
2038             }
2039             rel2.to: "search_textfield";
2040          }
2041       }
2042       part { name: "right2";
2043          type: RECT;
2044          scale: 1;
2045          ignore_flags: ON_HOLD;
2046          description { state: "default" 0.0;
2047             visible: 0;
2048             min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
2049             fixed: 1 1;
2050             align: 1 0;
2051             rel1 {
2052                relative: 1.0 0.0;
2053                to: "search_textfield";
2054             }
2055             rel2.to: "search_textfield";
2056          }
2057       }
2058       part { name: "bottom1";
2059          type: RECT;
2060          scale: 1;
2061          ignore_flags: ON_HOLD;
2062          description { state: "default" 0.0;
2063             visible: 0;
2064             min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
2065             fixed: 1 1;
2066             align: 0 1;
2067             rel1 {
2068                relative: 0.0 1.0;
2069                to: "search_textfield";
2070             }
2071             rel2.to: "search_textfield";
2072          }
2073          description { state: "elm.text.show" 0.0;
2074             inherit: "default" 0.0;
2075             min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
2076          }
2077       }
2078       part { name: "bottom2";
2079          type: RECT;
2080          scale: 1;
2081          ignore_flags: ON_HOLD;
2082          description { state: "default" 0.0;
2083             visible: 0;
2084             min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
2085             fixed: 0 1;
2086             rel1 {
2087                relative: 0.0 1.0;
2088                to: "search_textfield";
2089             }
2090             rel2.to: "search_textfield";
2091             align: 0 1;
2092          }
2093          description { state: "elm.text.show" 0.0;
2094             inherit: "default" 0.0;
2095             min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
2096          }
2097       }
2098       part { name: "bottom3";
2099          type: RECT;
2100          scale: 1;
2101          ignore_flags: ON_HOLD;
2102          description { state: "default" 0.0;
2103             visible: 0;
2104             min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
2105             fixed: 0 1;
2106             rel1 {
2107                relative: 0.0 1.0;
2108                to: "search_textfield";
2109             }
2110             rel2.to: "search_textfield";
2111             align: 0 1;
2112          }
2113          description { state: "elm.text.show" 0.0;
2114             inherit: "default" 0.0;
2115             min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
2116          }
2117       }
2118       part { name: "elm.text";
2119          type: TEXT;
2120          scale: 1;
2121          ignore_flags: ON_HOLD;
2122          description { state: "default" 0.0;
2123             visible: 0;
2124             align: 0.0 0.0;
2125             min: 0 34;
2126             fixed: 1 1;
2127             rel1 {
2128                relative: 1.0 1.0;
2129                to_x: "left2";
2130                to_y: "top2";
2131             }
2132             rel2 {
2133                relative: 1.0 1.0;
2134                to_x: "left2";
2135                to_y: "top2";
2136             }
2137             color: EDITFIELD_TITLE_COLOR_INC;
2138             text {
2139                font: "SLP:style=Medium";
2140                size: EDITFIELD_TITLE_SIZE_INC;
2141                min: 1 1;
2142                align: 0.0 0.0;
2143                text_class: "slp_medium";
2144             }
2145          }
2146          description { state: "elm.text.show" 0.0;
2147             inherit: "default" 0.0;
2148             visible: 1;
2149          }
2150       }
2151       part { name: "elm.guidetext";
2152          type: TEXT;
2153          scale: 1;
2154          ignore_flags: ON_HOLD;
2155          description { state: "default" 0.0;
2156             align: 0.0 0.0;
2157             fixed: 1 1;
2158             rel1.to: "elm.swallow.content";
2159             rel2.to: "elm.swallow.content";
2160             color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
2161             text {
2162                font: "SLP:style=Roman";
2163                size: ENTRY_TEXT_SIZE_INC;
2164                min: 0 0;
2165                align: 0.0 0.5;
2166                text_class: "slp_roman";
2167             }
2168          }
2169          description { state: "hidden" 0.0;
2170             inherit: "default" 0.0;
2171             visible: 0;
2172          }
2173       }
2174       part {
2175          name: "elm.swallow.content";
2176          type: SWALLOW;
2177          scale: 1;
2178          ignore_flags: ON_HOLD;
2179          description { state: "default" 0.0;
2180             min: 0 40;
2181             rel1 {
2182                relative : 1.0 1.0;
2183                to_x: "left1";
2184                to_y: "top1";
2185             }
2186             rel2 {
2187                relative : 0.0 0.0;
2188                to_x: "right1";
2189                to_y: "bottom1";
2190             }
2191             align: 0.0 0.5;
2192          }
2193       }
2194       part { name: "eraser_image";
2195          scale: 1;
2196          description { state: "default" 0.0;
2197             visible: 0;
2198             min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
2199             fixed: 1 1;
2200             align: 1 0.5;
2201             rel1 {
2202                relative: 0.0 0.5;
2203                to_x : "right2";
2204             }
2205             rel2 {
2206                relative: 0.0 0.5;
2207                to_x : "right2";
2208             }
2209          }
2210          description { state: "elm.eraser.show" 0.0;
2211             inherit: "default" 0.0;
2212             visible: 1;
2213             image {
2214                normal: "00_EditField_clear.png";
2215                border: 10 10 10 10;
2216                border_scale: 1;
2217             }
2218          }
2219          description {
2220             state: "elm.eraser.pressed" 0.0;
2221             inherit: "default" 0.0;
2222             visible: 1;
2223             image {
2224                normal: "00_EditField_clear_press.png";
2225                border: 8 8 8 8;
2226                border_scale: 1;
2227             }
2228          }
2229       }
2230       part { name: "eraser";
2231          type: RECT;
2232          scale: 1;
2233          mouse_events: 1;
2234          description { state: "default" 0.0;
2235             visible: 0;
2236             min: EDITFIELD_SEARCHBAR_ERASER_EVENT_MINW_INC EDITFIELD_SEARCHBAR_ERASER_EVENT_MINH_INC;
2237             fixed: 1 1;
2238             align: 1 0.5;
2239             color: 0 0 0 0;
2240             rel1 {
2241                relative: 0.0 0.5;
2242                to_x : "right2";
2243             }
2244             rel2 {
2245                relative: 0.0 0.5;
2246                to_x : "right2";
2247             }
2248          }
2249          description { state: "elm.eraser.show" 0.0;
2250             inherit: "default" 0.0;
2251             visible: 1;
2252          }
2253       }
2254    }
2255    programs {
2256       program {
2257          name: "guidetext_show";
2258          signal: "elm,state,guidetext,show";
2259          source: "elm";
2260          action: STATE_SET "default" 0.0;
2261          target: "elm.guidetext";
2262       }
2263       program {
2264          name: "guidetext_hide";
2265          signal: "elm,state,guidetext,hide";
2266          source: "elm";
2267          action: STATE_SET "hidden" 0.0;
2268          target: "elm.guidetext";
2269       }
2270       program {
2271          name: "eraser_show";
2272          signal: "elm,state,eraser,show";
2273          source: "elm";
2274          action: STATE_SET "elm.eraser.show" 0.0;
2275          target: "eraser_image";
2276          target: "eraser";
2277       }
2278       program {
2279          name: "eraser_hide";
2280          signal: "elm,state,eraser,hide";
2281          source: "elm";
2282          action: STATE_SET "default" 0.0;
2283          target: "eraser_image";
2284          target: "eraser";
2285       }
2286       program {
2287          name: "label_show";
2288          signal: "elm,state,title,show";
2289          source: "elm";
2290          action: STATE_SET "elm.text.show" 0.0;
2291          target: "elm.text";
2292          target: "top1";
2293          target: "bottom1";
2294          target: "bottom2";
2295          target: "bottom3";
2296       }
2297       program {
2298          name: "label_hide";
2299          signal: "elm,state,title,hide";
2300          source: "elm";
2301          action: STATE_SET "default" 0.0;
2302          target: "elm.text";
2303          target: "top1";
2304          target: "bottom1";
2305          target: "bottom2";
2306          target: "bottom3";
2307       }
2308      program {
2309          name: "eraser_clicked";
2310          signal: "mouse,clicked,1";
2311          source: "eraser";
2312          action: SIGNAL_EMIT "elm,eraser,clicked" "elm";
2313       }
2314      program {
2315          name: "bg_clicked";
2316          signal: "mouse,clicked,1";
2317          source: "search_textfield";
2318          action: SIGNAL_EMIT "elm,bg,clicked" "elm";
2319       }
2320       program { name: "cancel_in";
2321          signal: "cancel,in";
2322          source: "";
2323          action: STATE_SET "in" 0.0;
2324          target: "button_cancel";
2325          target: "inputfield_rect";
2326          transition: ACCELERATE 0.4;
2327       }
2328       program { name: "cancel_out";
2329          signal: "cancel,out";
2330          source: "";
2331          action: STATE_SET "default" 0.0;
2332          target: "button_cancel";
2333          target: "inputfield_rect";
2334          transition: ACCELERATE 0.4;
2335       }
2336       program { name: "cancel_show";
2337          signal: "cancel,show";
2338          source: "";
2339          action: STATE_SET "in" 0.0;
2340          target: "button_cancel";
2341          target: "inputfield_rect";
2342       }
2343       program { name: "cancel_hide";
2344          signal: "cancel,hide";
2345          source: "";
2346          action: STATE_SET "default" 0.0;
2347          target: "button_cancel";
2348          target: "inputfield_rect";
2349       }
2350       program { name: "mouse_click";
2351          signal: "mouse,clicked,1";
2352          source: "search_icon";
2353          action: SIGNAL_EMIT "elm,action,click" "";
2354       }
2355       program {
2356          name: "eraser_pressed";
2357          signal: "mouse,down,1";
2358          source: "eraser";
2359          action: STATE_SET "elm.eraser.pressed" 0.0;
2360          target: "eraser_image";
2361       }
2362       program {
2363          name: "eraser_unpressed";
2364          signal: "mouse,up,1";
2365          source: "eraser";
2366          action: STATE_SET "elm.eraser.show" 0.0;
2367          target: "eraser_image";
2368       }
2369    }
2370 }
2371
2372 group {
2373    name: "elm/layout/nocontents/full";
2374    alias: "elm/nocontents/base/full";
2375    alias: "elm/nocontents/base/default";
2376    styles{
2377       style { name: "nocontent_style";
2378          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";
2379          tag:  "br" "\n";
2380          tag:  "hilight" "+ font=SLP:style=Bold";
2381          tag:  "b" "+ font=SLP:style=Bold";
2382          tag:  "tab" "\t";
2383       }
2384    }
2385    images {
2386       image: "00_winset_NoContents_image.png" COMP;
2387    }
2388    parts {
2389       part { name: "bg";
2390          type: RECT;
2391          scale: 1;
2392          description { state: "default" 0.0;
2393             visible: 1;
2394             min: 200 200;
2395             rel1 {
2396                relative: 0.0 0.0;
2397             }
2398             rel2 {
2399                relative: 1.0 1.0;
2400             }
2401             color: NOCONTENT_BG_COLOR_INC;
2402          }
2403       }
2404       part { name: "nocontents.image";
2405          description { state: "default" 0.0;
2406             visible: 1;
2407             align: 0.5 0.0;
2408             rel1 {
2409                relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
2410                to: "bg";
2411             }
2412             rel2 {
2413                relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
2414                to: "bg";
2415             }
2416             image {
2417                normal: "00_winset_NoContents_image.png";
2418                border: 1 1 1 1;
2419                border_scale: 1;
2420             }
2421             aspect: 1.0 1.0;
2422             aspect_preference: BOTH;
2423          }
2424       }
2425       part { name: "middle.padding";
2426          type: RECT;
2427          scale: 1;
2428          description { state: "default" 0.0;
2429             visible: 0;
2430             min: 1 NOCONTENT_MIDDLE_PADDING_INC;
2431             max: 1 NOCONTENT_MIDDLE_PADDING_INC;
2432             align: 0.5 0.0;
2433             rel1 {
2434                relative: 0.0 1.0;
2435                to_y: "nocontents.image";
2436             }
2437          }
2438       }
2439       part { name: "elm.text";
2440          type: TEXTBLOCK;
2441          scale: 1;
2442          description { state: "default" 0.0;
2443             min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
2444             fixed: 0 1;
2445             align: 0.5 0.5;
2446             visible: 1;
2447             rel1 {
2448                relative: 0.0 1.0;
2449                to_x: "bg";
2450                to_y: "middle.padding";
2451             }
2452             rel2 {
2453                relative: 1.0 1.0;
2454                to_x: "bg";
2455                to_y: "middle.padding";
2456             }
2457             color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2458             text {
2459                style: "nocontent_style";
2460                align: 0.5 0.5;
2461                min: 0 0;
2462                max: 0 1;
2463             }
2464          }
2465       }
2466    }
2467 }
2468
2469 group {
2470    name: "elm/layout/nocontents/multimedia";
2471    alias: "elm/nocontents/base/multimedia";
2472    images {
2473       image: "00_winset_NoContents_multimedia.png" COMP;
2474    }
2475    parts {
2476       part { name: "bg";
2477          type: RECT;
2478          scale: 1;
2479          description { state: "default" 0.0;
2480             visible: 1;
2481             min: 200 200;
2482             rel1 {
2483                relative: 0.0 0.0;
2484             }
2485             rel2 {
2486                relative: 1.0 1.0;
2487             }
2488             color: 0 0 0 0;
2489          }
2490       }
2491       part { name: "nocontents.image";
2492          description { state: "default" 0.0;
2493             visible: 1;
2494             align: 0.5 0.0;
2495             rel1 {
2496                relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
2497                to: "bg";
2498             }
2499             rel2 {
2500                relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
2501                to: "bg";
2502             }
2503             image {
2504                normal: "00_winset_NoContents_multimedia.png";
2505                border: 1 1 1 1;
2506                border_scale: 1;
2507             }
2508             aspect: 1.0 1.0;
2509             aspect_preference: BOTH;
2510          }
2511       }
2512       part { name: "middle.padding";
2513          type: RECT;
2514          scale: 1;
2515          description { state: "default" 0.0;
2516             visible: 0;
2517             min: 1 NOCONTENT_MIDDLE_PADDING_INC;
2518             max: 1 NOCONTENT_MIDDLE_PADDING_INC;
2519             align: 0.5 0.0;
2520             rel1 {
2521                relative: 0.0 1.0;
2522                to_y: "nocontents.image";
2523             }
2524          }
2525       }
2526       part { name: "elm.text";
2527          type: TEXTBLOCK;
2528          scale: 1;
2529          description { state: "default" 0.0;
2530             min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
2531             fixed: 0 1;
2532             align: 0.5 0.5;
2533             visible: 1;
2534             rel1 {
2535                relative: 0.0 1.0;
2536                to_x: "bg";
2537                to_y: "middle.padding";
2538             }
2539             rel2 {
2540                relative: 1.0 1.0;
2541                to_x: "bg";
2542                to_y: "middle.padding";
2543             }
2544             color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2545             text {
2546                style: "nocontent_style";
2547                align: 0.5 0.5;
2548                min: 0 0;
2549                max: 0 1;
2550             }
2551          }
2552       }
2553    }
2554 }
2555
2556 group {
2557    name: "elm/layout/nocontents/text";
2558    alias: "elm/nocontents/base/text";
2559    images {
2560       image: "00_winset_NoContents_text.png" COMP;
2561    }
2562    parts {
2563       part { name: "bg";
2564          type: RECT;
2565          scale: 1;
2566          description { state: "default" 0.0;
2567             visible: 1;
2568             min: 200 200;
2569             rel1 {
2570                relative: 0.0 0.0;
2571             }
2572             rel2 {
2573                relative: 1.0 1.0;
2574             }
2575             color: 0 0 0 0;
2576          }
2577       }
2578       part { name: "nocontents.image";
2579          description { state: "default" 0.0;
2580             visible: 1;
2581             align: 0.5 0.0;
2582             rel1 {
2583                relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
2584                to: "bg";
2585             }
2586             rel2 {
2587                relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
2588                to: "bg";
2589             }
2590             image {
2591                normal: "00_winset_NoContents_text.png";
2592                border: 1 1 1 1;
2593                border_scale: 1;
2594             }
2595             aspect: 1.0 1.0;
2596             aspect_preference: BOTH;
2597          }
2598       }
2599       part { name: "middle.padding";
2600          type: RECT;
2601          scale: 1;
2602          description { state: "default" 0.0;
2603             visible: 0;
2604             min: 1 NOCONTENT_MIDDLE_PADDING_INC;
2605             max: 1 NOCONTENT_MIDDLE_PADDING_INC;
2606             align: 0.5 0.0;
2607             rel1 {
2608                relative: 0.0 1.0;
2609                to_y: "nocontents.image";
2610             }
2611          }
2612       }
2613       part { name: "elm.text";
2614          type: TEXTBLOCK;
2615          scale: 1;
2616          description { state: "default" 0.0;
2617             min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
2618             fixed: 0 1;
2619             align: 0.5 0.5;
2620             visible: 1;
2621             rel1 {
2622                relative: 0.0 1.0;
2623                to_x: "bg";
2624                to_y: "middle.padding";
2625             }
2626             rel2 {
2627                relative: 1.0 1.0;
2628                to_x: "bg";
2629                to_y: "middle.padding";
2630             }
2631             color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2632             text {
2633                style: "nocontent_style";
2634                align: 0.5 0.5;
2635                min: 0 0;
2636                max: 0 1;
2637             }
2638          }
2639       }
2640    }
2641 }
2642
2643 group {
2644    name: "elm/layout/nocontents/unnamed";
2645    alias: "elm/nocontents/base/unnamed";
2646    images {
2647       image: "00_winset_NoContents_unnamed.png" COMP;
2648    }
2649    parts {
2650       part { name: "bg";
2651          type: RECT;
2652          scale: 1;
2653          description { state: "default" 0.0;
2654             visible: 1;
2655             min: 200 200;
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: "nocontents.image";
2666          description { state: "default" 0.0;
2667             visible: 1;
2668             align: 0.5 0.0;
2669             rel1 {
2670                relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
2671                to: "bg";
2672             }
2673             rel2 {
2674                relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
2675                to: "bg";
2676             }
2677             image {
2678                normal: "00_winset_NoContents_unnamed.png";
2679                border: 1 1 1 1;
2680                border_scale: 1;
2681             }
2682             aspect: 1.0 1.0;
2683             aspect_preference: BOTH;
2684          }
2685       }
2686       part { name: "middle.padding";
2687          type: RECT;
2688          scale: 1;
2689          description { state: "default" 0.0;
2690             visible: 0;
2691             min: 1 NOCONTENT_MIDDLE_PADDING_INC;
2692             max: 1 NOCONTENT_MIDDLE_PADDING_INC;
2693             align: 0.5 0.0;
2694             rel1 {
2695                relative: 0.0 1.0;
2696                to_y: "nocontents.image";
2697             }
2698          }
2699       }
2700       part { name: "elm.text";
2701          type: TEXTBLOCK;
2702          scale: 1;
2703          description { state: "default" 0.0;
2704             min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
2705             fixed: 0 1;
2706             align: 0.5 0.5;
2707             visible: 1;
2708             rel1 {
2709                relative: 0.0 1.0;
2710                to_x: "bg";
2711                to_y: "middle.padding";
2712             }
2713             rel2 {
2714                relative: 1.0 1.0;
2715                to_x: "bg";
2716                to_y: "middle.padding";
2717             }
2718             color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2719             text {
2720                style: "nocontent_style";
2721                align: 0.5 0.5;
2722                min: 0 0;
2723                max: 0 1;
2724             }
2725          }
2726       }
2727    }
2728 }
2729
2730 group {
2731    name: "elm/layout/nocontents/search";
2732    alias: "elm/nocontents/base/search";
2733    parts {
2734       part { name: "bg";
2735          mouse_events: 0;
2736          type: RECT;
2737          description { state: "default" 0.0;
2738             visible: 1;
2739             rel1 {
2740                relative: 0.0 0.0;
2741             }
2742             rel2 {
2743                relative: 1.0 1.0;
2744             }
2745             color: 0 0 0 0;
2746          }
2747       }
2748       part { name: "top_padding";
2749          mouse_events: 0;
2750          type: RECT;
2751          scale: 1;
2752          description { state: "default" 0.0;
2753             min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
2754             fixed: 0 1;
2755             align: 0 0;
2756             visible: 1;
2757             rel1 {
2758                relative: 0.0 0.0;
2759             }
2760             rel2 {
2761                relative: 1.0 0.0;
2762             }
2763             color: 0 0 0 0;
2764          }
2765       }
2766       part { name: "elm.text";
2767          mouse_events: 0;
2768          type: TEXT;
2769          scale: 1;
2770          description { state: "default" 0.0;
2771             //min: 0 30;
2772             fixed: 0 1;
2773             align: 0 0;
2774             visible: 1;
2775             rel1 {
2776                relative: 0.0 1.0;
2777                to:"top_padding";
2778             }
2779             rel2 {
2780                relative: 1.0 1.0;
2781                to:"top_padding";
2782             }
2783             color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
2784             text {
2785                font: "SLP:style=Roman";
2786                size: 30;
2787                text: "";
2788                align: 0.5 0.5;
2789                text_class: "slp_roman";
2790             }
2791          }
2792       }
2793       part { name: "text_bottom_padding";
2794          mouse_events: 0;
2795          type: RECT;
2796          scale: 1;
2797          description { state: "default" 0.0;
2798             min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
2799             fixed: 0 1;
2800             align: 0 0;
2801             visible: 0;
2802             rel1 {
2803                relative: 0.0 1.0;
2804                to:"elm.text";
2805             }
2806             rel2 {
2807                relative: 1.0 1.0;
2808                to:"elm.text";
2809             }
2810          }
2811       }
2812       part { name: "custom";
2813          mouse_events: 1;
2814          type: SWALLOW;
2815          scale: 1;
2816          description { state: "default" 0.0;
2817             min: 0 0;
2818             fixed: 0 1;
2819             align: 0 0;
2820             visible: 1;
2821             rel1 {
2822                relative: 0.0 1.0;
2823                to:"text_bottom_padding";
2824             }
2825             rel2 {
2826                relative: 1.0 1.0;
2827                to:"text_bottom_padding";
2828             }
2829          }
2830       }
2831    }
2832 }