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