4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
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>
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)
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.
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
24 group { name: "elm/editfield/base/default";
26 image: "00_EditField_clear.png" COMP;
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";
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";
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";
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";
49 style { name: "editfield_content_password_style";
50 base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none ellipsis=1";
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";
61 public single_line = 0;
62 public password_mode = 0;
64 public set_multi_line() {
65 set_int(single_line, 0);
67 public set_single_line() {
68 set_int(single_line, 1);
70 public set_password() {
71 set_int(password_mode, 1);
73 public unset_password() {
74 set_int(password_mode, 0);
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);
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);
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);
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);
104 ignore_flags: ON_HOLD;
106 state: "default" 0.0;
107 min: 0 EDITFIELD_DEFAULT_MINH_INC;
115 ignore_flags: ON_HOLD;
117 state: "default" 0.0;
119 min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
121 rel1.relative: 0.0 0.0;
122 rel2.relative: 1.0 0.0;
126 state: "elm.text.show" 0.0;
127 inherit: "default" 0.0;
128 min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
135 ignore_flags: ON_HOLD;
137 state: "default" 0.0;
139 min: 0 EDITFIELD_DEFAULT_TOP2_INC;
141 rel1.relative: 0.0 0.0;
142 rel2.relative: 1.0 0.0;
147 inherit: "default" 0.0;
154 ignore_flags: ON_HOLD;
156 state: "default" 0.0;
158 min: EDITFIELD_DEFAULT_LEFT1_INC 0;
161 rel1.relative : 0.0 0.0;
162 rel2.relative : 0.0 1.0;
169 ignore_flags: ON_HOLD;
171 state: "default" 0.0;
173 min: EDITFIELD_DEFAULT_LEFT2_INC 0;
176 rel1.relative : 0.0 0.0;
177 rel2.relative : 0.0 1.0;
184 ignore_flags: ON_HOLD;
186 state: "default" 0.0;
188 min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
191 rel1.relative : 1.0 0.0;
192 rel2.relative : 1.0 1.0;
199 ignore_flags: ON_HOLD;
201 state: "default" 0.0;
203 min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
206 rel1.relative : 1.0 0.0;
207 rel2.relative : 1.0 1.0;
214 ignore_flags: ON_HOLD;
216 state: "default" 0.0;
218 min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
221 rel1.relative: 0.0 1.0;
224 state: "elm.text.show" 0.0;
225 inherit: "default" 0.0;
226 min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
233 ignore_flags: ON_HOLD;
235 state: "default" 0.0;
237 min: 0 EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC;
239 rel1.relative: 0.0 1.0;
243 state: "elm.text.show" 0.0;
244 inherit: "default" 0.0;
245 min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
252 ignore_flags: ON_HOLD;
254 state: "default" 0.0;
256 min: 0 EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC;
258 rel1.relative: 0.0 1.0;
262 state: "elm.text.show" 0.0;
263 inherit: "default" 0.0;
264 min: 0 EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC;
271 ignore_flags: ON_HOLD;
273 state: "default" 0.0;
288 color: EDITFIELD_TITLE_COLOR_INC;
290 font: "SLP:style=Medium";
291 size: EDITFIELD_TITLE_SIZE_INC;
297 state: "elm.text.show" 0.0;
298 inherit: "default" 0.0;
303 name: "elm.guidetext";
306 ignore_flags: ON_HOLD;
308 state: "default" 0.0;
311 rel1.to: "elm.swallow.content";
312 rel2.to: "elm.swallow.content";
313 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
315 font: "SLP:style=Roman";
316 size: ENTRY_TEXT_SIZE_INC;
323 inherit: "default" 0.0;
328 name: "elm.content.single";
331 ignore_flags: ON_HOLD;
333 state: "default" 0.0;
337 to: "elm.swallow.content";
338 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
340 rel2.to: "elm.swallow.content";
342 style: "editfield_content_singleline_style";
348 state: "no_edit" 0.0;
349 inherit: "default" 0.0;
354 inherit: "default" 0.0;
359 name: "elm.content.multi";
362 ignore_flags: ON_HOLD;
364 state: "default" 0.0;
368 to: "elm.swallow.content";
369 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
371 rel2.to: "elm.swallow.content";
373 style: "editfield_content_multiline_style";
378 state: "no_edit" 0.0;
379 inherit: "default" 0.0;
384 inherit: "default" 0.0;
389 name: "elm.content.password";
392 ignore_flags: ON_HOLD;
393 entry_mode: PASSWORD;
396 state: "default" 0.0;
400 to: "elm.swallow.content";
401 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
403 rel2.to: "elm.swallow.content";
405 style: "editfield_content_password_style";
412 state: "no_edit" 0.0;
413 inherit: "default" 0.0;
418 inherit: "default" 0.0;
423 name: "elm.swallow.content";
426 ignore_flags: ON_HOLD;
428 state: "default" 0.0;
443 state: "no_edit" 0.0;
444 inherit: "default" 0.0;
449 inherit: "default" 0.0;
457 ignore_flags: ON_HOLD;
459 state: "default" 0.0;
466 inherit: "default" 0.0;
471 name: "eraser_image";
474 state: "default" 0.0;
476 min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
490 normal: "00_EditField_clear.png";
496 state: "elm.eraser.show" 0.0;
497 inherit: "default" 0.0;
504 ignore_flags: ON_HOLD;
506 state: "default" 0.0;
511 to_x : "eraser_image";
516 state: "elm.eraser.show" 0.0;
517 inherit: "default" 0.0;
524 name: "guidetext_show";
525 signal: "elm,state,guidetext,visible";
527 action: STATE_SET "default" 0.0;
528 target: "elm.guidetext";
531 name: "guidetext_hide";
532 signal: "elm,state,guidetext,hidden";
534 action: STATE_SET "hidden" 0.0;
535 target: "elm.guidetext";
539 signal: "elm,state,eraser,show";
541 action: STATE_SET "elm.eraser.show" 0.0;
542 target: "eraser_image";
547 signal: "elm,state,eraser,hidden";
549 action: STATE_SET "default" 0.0;
550 target: "eraser_image";
554 name: "multiline_set";
555 signal: "elm,state,text,multiline";
562 name: "singleline_set";
563 signal: "elm,state,text,singleline";
570 name: "password_set";
571 signal: "elm,state,password,set";
578 name: "password_unset";
579 signal: "elm,state,password,unset";
587 signal: "elm,state,over,hide";
589 action: STATE_SET "edit" 0.0;
590 target: "elm.swallow.content";
591 target: "elm.content.password";
592 target: "elm.content.multi";
593 target: "elm.content.single";
599 signal: "elm,state,over,show";
607 signal: "elm,state,text,visible";
609 action: STATE_SET "elm.text.show" 0.0;
618 signal: "elm,state,text,hidden";
620 action: STATE_SET "default" 0.0;
629 signal: "elm,state,entry,show";
631 action: STATE_SET "edit" 0.0;
632 target: "elm.swallow.content";
633 target: "elm.content.multi";
638 group { name: "elm/editfield/base/searchbar";
639 alias: "elm/editfield/base/searchbar/default";
641 image: "00_field_btn_Clear.png" COMP;
644 public single_line = 0;
645 public password_mode = 0;
647 public set_multi_line() {
648 set_int(single_line, 0);
650 public set_single_line() {
651 set_int(single_line, 1);
653 public set_password() {
654 set_int(password_mode, 1);
656 public unset_password() {
657 set_int(password_mode, 0);
660 if(get_int(single_line) == 1) {
661 if(get_int(password_mode) == 0) {
662 set_state(PART:"elm.content.single", "no_edit", 0.0);
663 set_state(PART:"elm.content.multi", "default", 0.0);
664 set_state(PART:"elm.content.password", "default", 0.0);
667 set_state(PART:"elm.content.single", "default", 0.0);
668 set_state(PART:"elm.content.multi", "default", 0.0);
669 set_state(PART:"elm.content.password", "no_edit", 0.0);
672 else if(get_int(single_line) == 0) {
673 set_state(PART:"elm.content.single", "default", 0.0);
674 set_state(PART:"elm.content.multi", "no_edit", 0.0);
675 set_state(PART:"elm.content.password", "default", 0.0);
677 set_state(PART:"elm.swallow.content", "no_edit", 0.0);
678 set_state(PART:"over", "default", 0.0);
679 set_state(PART:"top2", "default", 0.0);
687 ignore_flags: ON_HOLD;
689 state: "default" 0.0;
690 min: 0 EDITFIELD_SEARCHBAR_MINH_INC;
698 ignore_flags: ON_HOLD;
700 state: "default" 0.0;
702 min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
704 rel1.relative: 0.0 0.0;
705 rel2.relative: 1.0 0.0;
709 state: "elm.text.show" 0.0;
710 inherit: "default" 0.0;
711 min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
718 ignore_flags: ON_HOLD;
720 state: "default" 0.0;
722 min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
724 rel1.relative: 0.0 0.0;
725 rel2.relative: 1.0 0.0;
730 inherit: "default" 0.0;
737 ignore_flags: ON_HOLD;
739 state: "default" 0.0;
741 min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
744 rel1.relative : 0.0 0.0;
745 rel2.relative : 0.0 1.0;
752 ignore_flags: ON_HOLD;
754 state: "default" 0.0;
756 min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
759 rel1.relative : 0.0 0.0;
760 rel2.relative : 0.0 1.0;
767 ignore_flags: ON_HOLD;
769 state: "default" 0.0;
771 min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
774 rel1.relative : 1.0 0.0;
775 rel2.relative : 1.0 1.0;
782 ignore_flags: ON_HOLD;
784 state: "default" 0.0;
786 min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
789 rel1.relative : 1.0 0.0;
790 rel2.relative : 1.0 1.0;
797 ignore_flags: ON_HOLD;
799 state: "default" 0.0;
801 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
804 rel1.relative: 0.0 1.0;
807 state: "elm.text.show" 0.0;
808 inherit: "default" 0.0;
809 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
816 ignore_flags: ON_HOLD;
818 state: "default" 0.0;
820 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
822 rel1.relative: 0.0 1.0;
826 state: "elm.text.show" 0.0;
827 inherit: "default" 0.0;
828 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
835 ignore_flags: ON_HOLD;
837 state: "default" 0.0;
839 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
841 rel1.relative: 0.0 1.0;
845 state: "elm.text.show" 0.0;
846 inherit: "default" 0.0;
847 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
854 ignore_flags: ON_HOLD;
856 state: "default" 0.0;
871 color: EDITFIELD_TITLE_COLOR_INC;
873 font: "SLP:style=Medium";
874 size: EDITFIELD_TITLE_SIZE_INC;
880 state: "elm.text.show" 0.0;
881 inherit: "default" 0.0;
886 name: "elm.guidetext";
889 ignore_flags: ON_HOLD;
891 state: "default" 0.0;
894 rel1.to: "elm.swallow.content";
895 rel2.to: "elm.swallow.content";
896 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
898 font: "SLP:style=Roman";
899 size: ENTRY_TEXT_SIZE_INC;
906 inherit: "default" 0.0;
911 name: "elm.content.single";
914 ignore_flags: ON_HOLD;
916 state: "default" 0.0;
920 to: "elm.swallow.content";
921 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
923 rel2.to: "elm.swallow.content";
925 style: "editfield_content_singleline_style";
931 state: "no_edit" 0.0;
932 inherit: "default" 0.0;
937 inherit: "default" 0.0;
942 name: "elm.content.multi";
945 ignore_flags: ON_HOLD;
947 state: "default" 0.0;
951 to: "elm.swallow.content";
952 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
954 rel2.to: "elm.swallow.content";
956 style: "editfield_content_multiline_style";
961 state: "no_edit" 0.0;
962 inherit: "default" 0.0;
967 inherit: "default" 0.0;
972 name: "elm.content.password";
975 ignore_flags: ON_HOLD;
976 entry_mode: PASSWORD;
979 state: "default" 0.0;
983 to: "elm.swallow.content";
984 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
986 rel2.to: "elm.swallow.content";
988 style: "editfield_content_password_style";
995 state: "no_edit" 0.0;
996 inherit: "default" 0.0;
1001 inherit: "default" 0.0;
1006 name: "elm.swallow.content";
1009 ignore_flags: ON_HOLD;
1011 state: "default" 0.0;
1026 state: "no_edit" 0.0;
1027 inherit: "default" 0.0;
1032 inherit: "default" 0.0;
1040 ignore_flags: ON_HOLD;
1042 state: "default" 0.0;
1049 inherit: "default" 0.0;
1054 name: "eraser_image";
1057 state: "default" 0.0;
1059 min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
1073 normal: "00_field_btn_Clear.png";
1079 state: "elm.eraser.show" 0.0;
1080 inherit: "default" 0.0;
1087 ignore_flags: ON_HOLD;
1089 state: "default" 0.0;
1094 to_x : "eraser_image";
1099 state: "elm.eraser.show" 0.0;
1100 inherit: "default" 0.0;
1107 name: "guidetext_show";
1108 signal: "elm,state,guidetext,visible";
1110 action: STATE_SET "default" 0.0;
1111 target: "elm.guidetext";
1114 name: "guidetext_hide";
1115 signal: "elm,state,guidetext,hidden";
1117 action: STATE_SET "hidden" 0.0;
1118 target: "elm.guidetext";
1121 name: "eraser_show";
1122 signal: "elm,state,eraser,show";
1124 action: STATE_SET "elm.eraser.show" 0.0;
1125 target: "eraser_image";
1129 name: "eraser_hide";
1130 signal: "elm,state,eraser,hidden";
1132 action: STATE_SET "default" 0.0;
1133 target: "eraser_image";
1137 name: "multiline_set";
1138 signal: "elm,state,text,multiline";
1145 name: "singleline_set";
1146 signal: "elm,state,text,singleline";
1153 name: "password_set";
1154 signal: "elm,state,password,set";
1161 name: "password_unset";
1162 signal: "elm,state,password,unset";
1170 signal: "elm,state,over,hide";
1172 action: STATE_SET "edit" 0.0;
1173 target: "elm.swallow.content";
1174 target: "elm.content.password";
1175 target: "elm.content.multi";
1176 target: "elm.content.single";
1182 signal: "elm,state,over,show";
1190 signal: "elm,state,text,visible";
1192 action: STATE_SET "elm.text.show" 0.0;
1201 signal: "elm,state,text,hidden";
1203 action: STATE_SET "default" 0.0;
1212 signal: "elm,state,entry,show";
1214 action: STATE_SET "edit" 0.0;
1215 target: "elm.swallow.content";
1216 target: "elm.content.multi";
1221 group { name: "elm/editfield/base/font_color_black";
1223 image: "00_EditField_clear.png" COMP;
1226 style { name: "editfield_content_singleline_black_style";
1227 base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=mixed ellipsis=1";
1231 tag: "em" "+ font=SLP:style=Oblique";
1232 tag: "b" "+ font=SLP:style=Bold";
1233 tag: "link" "+ color=#800 underline=on underline_color=#8008";
1234 tag: "hilight" "+ font=SLP:style=Bold";
1236 style { name: "editfield_content_multiline_black_style";
1237 base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=mixed";
1241 tag: "em" "+ font=SLP:style=Oblique";
1242 tag: "b" "+ font=SLP:style=Bold";
1243 tag: "link" "+ color=#800 underline=on underline_color=#8008";
1244 tag: "hilight" "+ font=SLP:style=Bold";
1246 style { name: "editfield_content_password_black_style";
1247 base: "font=SLP:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=none ellipsis=1";
1251 tag: "em" "+ font=SLP:style=Oblique";
1252 tag: "b" "+ font=SLP:style=Bold";
1253 tag: "link" "+ color=#800 underline=on underline_color=#8008";
1254 tag: "hilight" "+ font=SLP:style=Bold";
1258 public single_line = 0;
1259 public password_mode = 0;
1261 public set_multi_line() {
1262 set_int(single_line, 0);
1264 public set_single_line() {
1265 set_int(single_line, 1);
1267 public set_password() {
1268 set_int(password_mode, 1);
1270 public unset_password() {
1271 set_int(password_mode, 0);
1274 if(get_int(single_line) == 1) {
1275 if(get_int(password_mode) == 0) {
1276 set_state(PART:"elm.content.single", "no_edit", 0.0);
1277 set_state(PART:"elm.content.multi", "default", 0.0);
1278 set_state(PART:"elm.content.password", "default", 0.0);
1281 set_state(PART:"elm.content.single", "default", 0.0);
1282 set_state(PART:"elm.content.multi", "default", 0.0);
1283 set_state(PART:"elm.content.password", "no_edit", 0.0);
1286 else if(get_int(single_line) == 0) {
1287 set_state(PART:"elm.content.single", "default", 0.0);
1288 set_state(PART:"elm.content.multi", "no_edit", 0.0);
1289 set_state(PART:"elm.content.password", "default", 0.0);
1291 set_state(PART:"elm.swallow.content", "no_edit", 0.0);
1292 set_state(PART:"over", "default", 0.0);
1293 set_state(PART:"top2", "default", 0.0);
1301 ignore_flags: ON_HOLD;
1303 state: "default" 0.0;
1304 min: 0 EDITFIELD_DEFAULT_MINH_INC;
1312 ignore_flags: ON_HOLD;
1314 state: "default" 0.0;
1316 min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
1318 rel1.relative: 0.0 0.0;
1319 rel2.relative: 1.0 0.0;
1323 state: "elm.text.show" 0.0;
1324 inherit: "default" 0.0;
1325 min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
1332 ignore_flags: ON_HOLD;
1334 state: "default" 0.0;
1336 min: 0 EDITFIELD_DEFAULT_TOP2_INC;
1338 rel1.relative: 0.0 0.0;
1339 rel2.relative: 1.0 0.0;
1344 inherit: "default" 0.0;
1351 ignore_flags: ON_HOLD;
1353 state: "default" 0.0;
1355 min: EDITFIELD_DEFAULT_LEFT1_INC 0;
1358 rel1.relative : 0.0 0.0;
1359 rel2.relative : 0.0 1.0;
1366 ignore_flags: ON_HOLD;
1368 state: "default" 0.0;
1370 min: EDITFIELD_DEFAULT_LEFT2_INC 0;
1373 rel1.relative : 0.0 0.0;
1374 rel2.relative : 0.0 1.0;
1381 ignore_flags: ON_HOLD;
1383 state: "default" 0.0;
1385 min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
1388 rel1.relative : 1.0 0.0;
1389 rel2.relative : 1.0 1.0;
1396 ignore_flags: ON_HOLD;
1398 state: "default" 0.0;
1400 min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
1403 rel1.relative : 1.0 0.0;
1404 rel2.relative : 1.0 1.0;
1411 ignore_flags: ON_HOLD;
1413 state: "default" 0.0;
1415 min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
1418 rel1.relative: 0.0 1.0;
1421 state: "elm.text.show" 0.0;
1422 inherit: "default" 0.0;
1423 min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
1430 ignore_flags: ON_HOLD;
1432 state: "default" 0.0;
1434 min: 0 EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC;
1436 rel1.relative: 0.0 1.0;
1440 state: "elm.text.show" 0.0;
1441 inherit: "default" 0.0;
1442 min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
1449 ignore_flags: ON_HOLD;
1451 state: "default" 0.0;
1453 min: 0 EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC;
1455 rel1.relative: 0.0 1.0;
1459 state: "elm.text.show" 0.0;
1460 inherit: "default" 0.0;
1461 min: 0 EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC;
1468 ignore_flags: ON_HOLD;
1470 state: "default" 0.0;
1487 font: "SLP:style=Medium";
1488 size: EDITFIELD_TITLE_SIZE_INC;
1494 state: "elm.text.show" 0.0;
1495 inherit: "default" 0.0;
1500 name: "elm.guidetext";
1503 ignore_flags: ON_HOLD;
1505 state: "default" 0.0;
1508 rel1.to: "elm.swallow.content";
1509 rel2.to: "elm.swallow.content";
1510 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
1512 font: "SLP:style=Roman";
1513 size: ENTRY_TEXT_SIZE_INC;
1519 state: "hidden" 0.0;
1520 inherit: "default" 0.0;
1525 name: "elm.content.single";
1528 ignore_flags: ON_HOLD;
1530 state: "default" 0.0;
1534 to: "elm.swallow.content";
1535 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
1537 rel2.to: "elm.swallow.content";
1539 style: "editfield_content_singleline_black_style";
1545 state: "no_edit" 0.0;
1546 inherit: "default" 0.0;
1551 inherit: "default" 0.0;
1556 name: "elm.content.multi";
1559 ignore_flags: ON_HOLD;
1561 state: "default" 0.0;
1565 to: "elm.swallow.content";
1566 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
1568 rel2.to: "elm.swallow.content";
1570 style: "editfield_content_multiline_black_style";
1575 state: "no_edit" 0.0;
1576 inherit: "default" 0.0;
1581 inherit: "default" 0.0;
1586 name: "elm.content.password";
1589 ignore_flags: ON_HOLD;
1590 entry_mode: PASSWORD;
1593 state: "default" 0.0;
1597 to: "elm.swallow.content";
1598 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
1600 rel2.to: "elm.swallow.content";
1602 style: "editfield_content_password_black_style";
1609 state: "no_edit" 0.0;
1610 inherit: "default" 0.0;
1615 inherit: "default" 0.0;
1620 name: "elm.swallow.content";
1623 ignore_flags: ON_HOLD;
1625 state: "default" 0.0;
1640 state: "no_edit" 0.0;
1641 inherit: "default" 0.0;
1646 inherit: "default" 0.0;
1654 ignore_flags: ON_HOLD;
1656 state: "default" 0.0;
1663 inherit: "default" 0.0;
1668 name: "eraser_image";
1671 state: "default" 0.0;
1673 min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
1687 normal: "00_EditField_clear.png";
1688 border: 10 10 10 10;
1693 state: "elm.eraser.show" 0.0;
1694 inherit: "default" 0.0;
1701 ignore_flags: ON_HOLD;
1703 state: "default" 0.0;
1708 to_x : "eraser_image";
1713 state: "elm.eraser.show" 0.0;
1714 inherit: "default" 0.0;
1721 name: "guidetext_show";
1722 signal: "elm,state,guidetext,visible";
1724 action: STATE_SET "default" 0.0;
1725 target: "elm.guidetext";
1728 name: "guidetext_hide";
1729 signal: "elm,state,guidetext,hidden";
1731 action: STATE_SET "hidden" 0.0;
1732 target: "elm.guidetext";
1735 name: "eraser_show";
1736 signal: "elm,state,eraser,show";
1738 action: STATE_SET "elm.eraser.show" 0.0;
1739 target: "eraser_image";
1743 name: "eraser_hide";
1744 signal: "elm,state,eraser,hidden";
1746 action: STATE_SET "default" 0.0;
1747 target: "eraser_image";
1751 name: "multiline_set";
1752 signal: "elm,state,text,multiline";
1759 name: "singleline_set";
1760 signal: "elm,state,text,singleline";
1767 name: "password_set";
1768 signal: "elm,state,password,set";
1775 name: "password_unset";
1776 signal: "elm,state,password,unset";
1784 signal: "elm,state,over,hide";
1786 action: STATE_SET "edit" 0.0;
1787 target: "elm.swallow.content";
1788 target: "elm.content.password";
1789 target: "elm.content.multi";
1790 target: "elm.content.single";
1796 signal: "elm,state,over,show";
1804 signal: "elm,state,text,visible";
1806 action: STATE_SET "elm.text.show" 0.0;
1815 signal: "elm,state,text,hidden";
1817 action: STATE_SET "default" 0.0;
1826 signal: "elm,state,entry,show";
1828 action: STATE_SET "edit" 0.0;
1829 target: "elm.swallow.content";
1830 target: "elm.content.multi";
1835 group { name: "elm/editfield/base/searchbar/font_color_black";
1837 image: "00_field_btn_Clear.png" COMP;
1840 public single_line = 0;
1841 public password_mode = 0;
1843 public set_multi_line() {
1844 set_int(single_line, 0);
1846 public set_single_line() {
1847 set_int(single_line, 1);
1849 public set_password() {
1850 set_int(password_mode, 1);
1852 public unset_password() {
1853 set_int(password_mode, 0);
1856 if(get_int(single_line) == 1) {
1857 if(get_int(password_mode) == 0) {
1858 set_state(PART:"elm.content.single", "no_edit", 0.0);
1859 set_state(PART:"elm.content.multi", "default", 0.0);
1860 set_state(PART:"elm.content.password", "default", 0.0);
1863 set_state(PART:"elm.content.single", "default", 0.0);
1864 set_state(PART:"elm.content.multi", "default", 0.0);
1865 set_state(PART:"elm.content.password", "no_edit", 0.0);
1868 else if(get_int(single_line) == 0) {
1869 set_state(PART:"elm.content.single", "default", 0.0);
1870 set_state(PART:"elm.content.multi", "no_edit", 0.0);
1871 set_state(PART:"elm.content.password", "default", 0.0);
1873 set_state(PART:"elm.swallow.content", "no_edit", 0.0);
1874 set_state(PART:"over", "default", 0.0);
1875 set_state(PART:"top2", "default", 0.0);
1883 ignore_flags: ON_HOLD;
1885 state: "default" 0.0;
1886 min: 0 EDITFIELD_SEARCHBAR_MINH_INC;
1894 ignore_flags: ON_HOLD;
1896 state: "default" 0.0;
1898 min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
1900 rel1.relative: 0.0 0.0;
1901 rel2.relative: 1.0 0.0;
1905 state: "elm.text.show" 0.0;
1906 inherit: "default" 0.0;
1907 min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
1914 ignore_flags: ON_HOLD;
1916 state: "default" 0.0;
1918 min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
1920 rel1.relative: 0.0 0.0;
1921 rel2.relative: 1.0 0.0;
1926 inherit: "default" 0.0;
1933 ignore_flags: ON_HOLD;
1935 state: "default" 0.0;
1937 min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
1940 rel1.relative : 0.0 0.0;
1941 rel2.relative : 0.0 1.0;
1948 ignore_flags: ON_HOLD;
1950 state: "default" 0.0;
1952 min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
1955 rel1.relative : 0.0 0.0;
1956 rel2.relative : 0.0 1.0;
1963 ignore_flags: ON_HOLD;
1965 state: "default" 0.0;
1967 min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
1970 rel1.relative : 1.0 0.0;
1971 rel2.relative : 1.0 1.0;
1978 ignore_flags: ON_HOLD;
1980 state: "default" 0.0;
1982 min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
1985 rel1.relative : 1.0 0.0;
1986 rel2.relative : 1.0 1.0;
1993 ignore_flags: ON_HOLD;
1995 state: "default" 0.0;
1997 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
2000 rel1.relative: 0.0 1.0;
2003 state: "elm.text.show" 0.0;
2004 inherit: "default" 0.0;
2005 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
2012 ignore_flags: ON_HOLD;
2014 state: "default" 0.0;
2016 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
2018 rel1.relative: 0.0 1.0;
2022 state: "elm.text.show" 0.0;
2023 inherit: "default" 0.0;
2024 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
2031 ignore_flags: ON_HOLD;
2033 state: "default" 0.0;
2035 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
2037 rel1.relative: 0.0 1.0;
2041 state: "elm.text.show" 0.0;
2042 inherit: "default" 0.0;
2043 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
2050 ignore_flags: ON_HOLD;
2052 state: "default" 0.0;
2067 color: EDITFIELD_TITLE_COLOR_INC;
2069 font: "SLP:style=Medium";
2070 size: EDITFIELD_TITLE_SIZE_INC;
2076 state: "elm.text.show" 0.0;
2077 inherit: "default" 0.0;
2082 name: "elm.guidetext";
2085 ignore_flags: ON_HOLD;
2087 state: "default" 0.0;
2090 rel1.to: "elm.swallow.content";
2091 rel2.to: "elm.swallow.content";
2092 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
2094 font: "SLP:style=Roman";
2095 size: ENTRY_TEXT_SIZE_INC;
2101 state: "hidden" 0.0;
2102 inherit: "default" 0.0;
2107 name: "elm.content.single";
2110 ignore_flags: ON_HOLD;
2112 state: "default" 0.0;
2116 to: "elm.swallow.content";
2117 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
2119 rel2.to: "elm.swallow.content";
2121 style: "editfield_content_singleline_black_style";
2127 state: "no_edit" 0.0;
2128 inherit: "default" 0.0;
2133 inherit: "default" 0.0;
2138 name: "elm.content.multi";
2141 ignore_flags: ON_HOLD;
2143 state: "default" 0.0;
2147 to: "elm.swallow.content";
2148 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
2150 rel2.to: "elm.swallow.content";
2152 style: "editfield_content_multiline_black_style";
2157 state: "no_edit" 0.0;
2158 inherit: "default" 0.0;
2163 inherit: "default" 0.0;
2168 name: "elm.content.password";
2171 ignore_flags: ON_HOLD;
2172 entry_mode: PASSWORD;
2175 state: "default" 0.0;
2179 to: "elm.swallow.content";
2180 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
2182 rel2.to: "elm.swallow.content";
2184 style: "editfield_content_password_black_style";
2191 state: "no_edit" 0.0;
2192 inherit: "default" 0.0;
2197 inherit: "default" 0.0;
2202 name: "elm.swallow.content";
2205 ignore_flags: ON_HOLD;
2207 state: "default" 0.0;
2222 state: "no_edit" 0.0;
2223 inherit: "default" 0.0;
2228 inherit: "default" 0.0;
2236 ignore_flags: ON_HOLD;
2238 state: "default" 0.0;
2245 inherit: "default" 0.0;
2250 name: "eraser_image";
2253 state: "default" 0.0;
2255 min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
2269 normal: "00_field_btn_Clear.png";
2275 state: "elm.eraser.show" 0.0;
2276 inherit: "default" 0.0;
2283 ignore_flags: ON_HOLD;
2285 state: "default" 0.0;
2290 to_x : "eraser_image";
2295 state: "elm.eraser.show" 0.0;
2296 inherit: "default" 0.0;
2303 name: "guidetext_show";
2304 signal: "elm,state,guidetext,visible";
2306 action: STATE_SET "default" 0.0;
2307 target: "elm.guidetext";
2310 name: "guidetext_hide";
2311 signal: "elm,state,guidetext,hidden";
2313 action: STATE_SET "hidden" 0.0;
2314 target: "elm.guidetext";
2317 name: "eraser_show";
2318 signal: "elm,state,eraser,show";
2320 action: STATE_SET "elm.eraser.show" 0.0;
2321 target: "eraser_image";
2325 name: "eraser_hide";
2326 signal: "elm,state,eraser,hidden";
2328 action: STATE_SET "default" 0.0;
2329 target: "eraser_image";
2333 name: "multiline_set";
2334 signal: "elm,state,text,multiline";
2341 name: "singleline_set";
2342 signal: "elm,state,text,singleline";
2349 name: "password_set";
2350 signal: "elm,state,password,set";
2357 name: "password_unset";
2358 signal: "elm,state,password,unset";
2366 signal: "elm,state,over,hide";
2368 action: STATE_SET "edit" 0.0;
2369 target: "elm.swallow.content";
2370 target: "elm.content.password";
2371 target: "elm.content.multi";
2372 target: "elm.content.single";
2378 signal: "elm,state,over,show";
2386 signal: "elm,state,text,visible";
2388 action: STATE_SET "elm.text.show" 0.0;
2397 signal: "elm,state,text,hidden";
2399 action: STATE_SET "default" 0.0;
2408 signal: "elm,state,entry,show";
2410 action: STATE_SET "edit" 0.0;
2411 target: "elm.swallow.content";
2412 target: "elm.content.multi";