3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an AS IS BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
19 group { name: "elm/editfield/base/default";
21 image: "00_edit_field_clear.png" COMP;
24 style { name: "editfield_content_singleline_style";
25 base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=mixed ellipsis=1 text_class=tizen";
29 tag: "em" "+ font=Tizen:style=Oblique";
30 tag: "b" "+ font=Tizen:style=Bold";
31 tag: "link" "+ color=#800 underline=on underline_color=#8008";
32 tag: "hilight" "+ font=Tizen:style=Bold";
34 style { name: "editfield_content_multiline_style";
35 base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=mixed text_class=tizen";
39 tag: "em" "+ font=Tizen:style=Oblique";
40 tag: "b" "+ font=Tizen:style=Bold";
41 tag: "link" "+ color=#800 underline=on underline_color=#8008";
42 tag: "hilight" "+ font=Tizen:style=Bold";
44 style { name: "editfield_content_password_style";
45 base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none ellipsis=1 text_class=tizen";
49 tag: "em" "+ font=Tizen:style=Oblique";
50 tag: "b" "+ font=Tizen:style=Bold";
51 tag: "link" "+ color=#800 underline=on underline_color=#8008";
52 tag: "hilight" "+ font=Tizen:style=Bold";
56 public single_line = 0;
57 public password_mode = 0;
59 public set_multi_line() {
60 set_int(single_line, 0);
62 public set_single_line() {
63 set_int(single_line, 1);
65 public set_password() {
66 set_int(password_mode, 1);
68 public unset_password() {
69 set_int(password_mode, 0);
72 if(get_int(single_line) == 1) {
73 if(get_int(password_mode) == 0) {
74 set_state(PART:"elm.content.single", "no_edit", 0.0);
75 set_state(PART:"elm.content.multi", "default", 0.0);
76 set_state(PART:"elm.content.password", "default", 0.0);
77 set_state(PART:"elm.swallow.content", "no_edit", 0.0);
80 set_state(PART:"elm.content.single", "default", 0.0);
81 set_state(PART:"elm.content.multi", "default", 0.0);
82 set_state(PART:"elm.content.password", "no_edit", 0.0);
83 set_state(PART:"elm.swallow.content", "no_edit", 0.0);
86 else if(get_int(single_line) == 0) {
87 set_state(PART:"elm.content.single", "default", 0.0);
88 set_state(PART:"elm.content.multi", "no_edit", 0.0);
89 set_state(PART:"elm.content.password", "default", 0.0);
91 set_state(PART:"over", "default", 0.0);
92 set_state(PART:"top2", "default", 0.0);
100 ignore_flags: ON_HOLD;
102 state: "default" 0.0;
103 min: 0 EDITFIELD_DEFAULT_MINH_INC;
111 ignore_flags: ON_HOLD;
113 state: "default" 0.0;
115 min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
117 rel1.relative: 0.0 0.0;
118 rel2.relative: 1.0 0.0;
122 state: "elm.text.show" 0.0;
123 inherit: "default" 0.0;
124 min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
131 ignore_flags: ON_HOLD;
133 state: "default" 0.0;
135 min: 0 EDITFIELD_DEFAULT_TOP2_INC;
137 rel1.relative: 0.0 0.0;
138 rel2.relative: 1.0 0.0;
143 inherit: "default" 0.0;
150 ignore_flags: ON_HOLD;
152 state: "default" 0.0;
154 min: EDITFIELD_DEFAULT_LEFT1_INC 0;
157 rel1.relative : 0.0 0.0;
158 rel2.relative : 0.0 1.0;
165 ignore_flags: ON_HOLD;
167 state: "default" 0.0;
169 min: EDITFIELD_DEFAULT_LEFT2_INC 0;
172 rel1.relative : 0.0 0.0;
173 rel2.relative : 0.0 1.0;
180 ignore_flags: ON_HOLD;
182 state: "default" 0.0;
184 min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
187 rel1.relative : 1.0 0.0;
188 rel2.relative : 1.0 1.0;
195 ignore_flags: ON_HOLD;
197 state: "default" 0.0;
199 min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
202 rel1.relative : 1.0 0.0;
203 rel2.relative : 1.0 1.0;
210 ignore_flags: ON_HOLD;
212 state: "default" 0.0;
214 min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
217 rel1.relative: 0.0 1.0;
220 state: "elm.text.show" 0.0;
221 inherit: "default" 0.0;
222 min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
229 ignore_flags: ON_HOLD;
231 state: "default" 0.0;
233 min: 0 EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC;
235 rel1.relative: 0.0 1.0;
239 state: "elm.text.show" 0.0;
240 inherit: "default" 0.0;
241 min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
248 ignore_flags: ON_HOLD;
250 state: "default" 0.0;
252 min: 0 EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC;
254 rel1.relative: 0.0 1.0;
258 state: "elm.text.show" 0.0;
259 inherit: "default" 0.0;
260 min: 0 EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC;
267 ignore_flags: ON_HOLD;
269 state: "default" 0.0;
284 color: EDITFIELD_TITLE_COLOR_INC;
286 font: "Tizen:style=Medium";
287 size: EDITFIELD_TITLE_SIZE_INC;
294 state: "elm.text.show" 0.0;
295 inherit: "default" 0.0;
300 name: "elm.guidetext";
303 ignore_flags: ON_HOLD;
305 state: "default" 0.0;
308 rel1.to: "elm.swallow.content";
309 rel2.to: "elm.swallow.content";
310 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
312 font: "Tizen:style=Roman";
313 size: ENTRY_TEXT_SIZE_INC;
321 inherit: "default" 0.0;
326 name: "elm.content.single";
329 ignore_flags: ON_HOLD;
331 state: "default" 0.0;
335 to: "elm.swallow.content";
336 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
338 rel2.to: "elm.swallow.content";
340 style: "editfield_content_singleline_style";
346 state: "no_edit" 0.0;
347 inherit: "default" 0.0;
352 inherit: "default" 0.0;
357 name: "elm.content.multi";
360 ignore_flags: ON_HOLD;
362 state: "default" 0.0;
366 to: "elm.swallow.content";
367 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
369 rel2.to: "elm.swallow.content";
371 style: "editfield_content_multiline_style";
376 state: "no_edit" 0.0;
377 inherit: "default" 0.0;
382 inherit: "default" 0.0;
387 name: "elm.content.password";
390 ignore_flags: ON_HOLD;
391 entry_mode: PASSWORD;
394 state: "default" 0.0;
398 to: "elm.swallow.content";
399 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
401 rel2.to: "elm.swallow.content";
403 style: "editfield_content_password_style";
410 state: "no_edit" 0.0;
411 inherit: "default" 0.0;
416 inherit: "default" 0.0;
421 name: "elm.swallow.content";
424 ignore_flags: ON_HOLD;
426 state: "default" 0.0;
441 state: "no_edit" 0.0;
442 inherit: "default" 0.0;
447 inherit: "default" 0.0;
455 ignore_flags: ON_HOLD;
457 state: "default" 0.0;
464 inherit: "default" 0.0;
469 name: "eraser_image";
472 state: "default" 0.0;
474 min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
488 normal: "00_edit_field_clear.png";
494 state: "elm.eraser.show" 0.0;
495 inherit: "default" 0.0;
503 ignore_flags: ON_HOLD;
505 state: "default" 0.0;
510 to_x : "eraser_image";
515 state: "elm.eraser.show" 0.0;
516 inherit: "default" 0.0;
523 name: "guidetext_show";
524 signal: "elm,state,guidetext,visible";
526 action: STATE_SET "default" 0.0;
527 target: "elm.guidetext";
530 name: "guidetext_hide";
531 signal: "elm,state,guidetext,hidden";
533 action: STATE_SET "hidden" 0.0;
534 target: "elm.guidetext";
538 signal: "elm,state,eraser,show";
540 action: STATE_SET "elm.eraser.show" 0.0;
541 target: "eraser_image";
546 signal: "elm,state,eraser,hidden";
548 action: STATE_SET "default" 0.0;
549 target: "eraser_image";
553 name: "multiline_set";
554 signal: "elm,state,text,multiline";
561 name: "singleline_set";
562 signal: "elm,state,text,singleline";
569 name: "password_set";
570 signal: "elm,state,password,set";
577 name: "password_unset";
578 signal: "elm,state,password,unset";
586 signal: "elm,state,over,hide";
588 action: STATE_SET "edit" 0.0;
589 target: "elm.swallow.content";
590 target: "elm.content.password";
591 target: "elm.content.multi";
592 target: "elm.content.single";
598 signal: "elm,state,over,show";
606 signal: "elm,state,text,visible";
608 action: STATE_SET "elm.text.show" 0.0;
617 signal: "elm,state,text,hidden";
619 action: STATE_SET "default" 0.0;
628 signal: "elm,state,entry,show";
630 action: STATE_SET "edit" 0.0;
631 target: "elm.swallow.content";
632 target: "elm.content.multi";
637 group { name: "elm/editfield/base/searchbar";
638 alias: "elm/editfield/base/searchbar/default";
640 image: "00_field_btn_clear.png" COMP;
643 public single_line = 0;
644 public password_mode = 0;
646 public set_multi_line() {
647 set_int(single_line, 0);
649 public set_single_line() {
650 set_int(single_line, 1);
652 public set_password() {
653 set_int(password_mode, 1);
655 public unset_password() {
656 set_int(password_mode, 0);
659 if(get_int(single_line) == 1) {
660 if(get_int(password_mode) == 0) {
661 set_state(PART:"elm.content.single", "no_edit", 0.0);
662 set_state(PART:"elm.content.multi", "default", 0.0);
663 set_state(PART:"elm.content.password", "default", 0.0);
664 set_state(PART:"elm.swallow.content", "no_edit", 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);
670 set_state(PART:"elm.swallow.content", "no_edit", 0.0);
673 else if(get_int(single_line) == 0) {
674 set_state(PART:"elm.content.single", "default", 0.0);
675 set_state(PART:"elm.content.multi", "no_edit", 0.0);
676 set_state(PART:"elm.content.password", "default", 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: "Tizen:style=Medium";
874 size: EDITFIELD_TITLE_SIZE_INC;
881 state: "elm.text.show" 0.0;
882 inherit: "default" 0.0;
887 name: "elm.guidetext";
890 ignore_flags: ON_HOLD;
892 state: "default" 0.0;
895 rel1.to: "elm.swallow.content";
896 rel2.to: "elm.swallow.content";
897 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
899 font: "Tizen:style=Roman";
900 size: ENTRY_TEXT_SIZE_INC;
908 inherit: "default" 0.0;
913 name: "elm.content.single";
916 ignore_flags: ON_HOLD;
918 state: "default" 0.0;
922 to: "elm.swallow.content";
923 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
925 rel2.to: "elm.swallow.content";
927 style: "editfield_content_singleline_style";
933 state: "no_edit" 0.0;
934 inherit: "default" 0.0;
939 inherit: "default" 0.0;
944 name: "elm.content.multi";
947 ignore_flags: ON_HOLD;
949 state: "default" 0.0;
953 to: "elm.swallow.content";
954 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
956 rel2.to: "elm.swallow.content";
958 style: "editfield_content_multiline_style";
963 state: "no_edit" 0.0;
964 inherit: "default" 0.0;
969 inherit: "default" 0.0;
974 name: "elm.content.password";
977 ignore_flags: ON_HOLD;
978 entry_mode: PASSWORD;
981 state: "default" 0.0;
985 to: "elm.swallow.content";
986 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
988 rel2.to: "elm.swallow.content";
990 style: "editfield_content_password_style";
997 state: "no_edit" 0.0;
998 inherit: "default" 0.0;
1003 inherit: "default" 0.0;
1008 name: "elm.swallow.content";
1011 ignore_flags: ON_HOLD;
1013 state: "default" 0.0;
1028 state: "no_edit" 0.0;
1029 inherit: "default" 0.0;
1034 inherit: "default" 0.0;
1042 ignore_flags: ON_HOLD;
1044 state: "default" 0.0;
1051 inherit: "default" 0.0;
1056 name: "eraser_image";
1059 state: "default" 0.0;
1061 min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
1075 normal: "00_field_btn_clear.png";
1081 state: "elm.eraser.show" 0.0;
1082 inherit: "default" 0.0;
1090 ignore_flags: ON_HOLD;
1092 state: "default" 0.0;
1097 to_x : "eraser_image";
1102 state: "elm.eraser.show" 0.0;
1103 inherit: "default" 0.0;
1110 name: "guidetext_show";
1111 signal: "elm,state,guidetext,visible";
1113 action: STATE_SET "default" 0.0;
1114 target: "elm.guidetext";
1117 name: "guidetext_hide";
1118 signal: "elm,state,guidetext,hidden";
1120 action: STATE_SET "hidden" 0.0;
1121 target: "elm.guidetext";
1124 name: "eraser_show";
1125 signal: "elm,state,eraser,show";
1127 action: STATE_SET "elm.eraser.show" 0.0;
1128 target: "eraser_image";
1132 name: "eraser_hide";
1133 signal: "elm,state,eraser,hidden";
1135 action: STATE_SET "default" 0.0;
1136 target: "eraser_image";
1140 name: "multiline_set";
1141 signal: "elm,state,text,multiline";
1148 name: "singleline_set";
1149 signal: "elm,state,text,singleline";
1156 name: "password_set";
1157 signal: "elm,state,password,set";
1164 name: "password_unset";
1165 signal: "elm,state,password,unset";
1173 signal: "elm,state,over,hide";
1175 action: STATE_SET "edit" 0.0;
1176 target: "elm.swallow.content";
1177 target: "elm.content.password";
1178 target: "elm.content.multi";
1179 target: "elm.content.single";
1185 signal: "elm,state,over,show";
1193 signal: "elm,state,text,visible";
1195 action: STATE_SET "elm.text.show" 0.0;
1204 signal: "elm,state,text,hidden";
1206 action: STATE_SET "default" 0.0;
1215 signal: "elm,state,entry,show";
1217 action: STATE_SET "edit" 0.0;
1218 target: "elm.swallow.content";
1219 target: "elm.content.multi";
1224 group { name: "elm/editfield/base/font_color_black";
1226 image: "00_edit_field_clear.png" COMP;
1229 style { name: "editfield_content_singleline_black_style";
1230 base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=mixed ellipsis=1 text_class=tizen";
1234 tag: "em" "+ font=Tizen:style=Oblique";
1235 tag: "b" "+ font=Tizen:style=Bold";
1236 tag: "link" "+ color=#800 underline=on underline_color=#8008";
1237 tag: "hilight" "+ font=Tizen:style=Bold";
1239 style { name: "editfield_content_multiline_black_style";
1240 base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=mixed text_class=tizen";
1244 tag: "em" "+ font=Tizen:style=Oblique";
1245 tag: "b" "+ font=Tizen:style=Bold";
1246 tag: "link" "+ color=#800 underline=on underline_color=#8008";
1247 tag: "hilight" "+ font=Tizen:style=Bold";
1249 style { name: "editfield_content_password_black_style";
1250 base: "font=Tizen:style=Roman font_size="ENTRY_TEXT_SIZE_INC" color=#000000FF wrap=none ellipsis=1 text_class=tizen";
1254 tag: "em" "+ font=Tizen:style=Oblique";
1255 tag: "b" "+ font=Tizen:style=Bold";
1256 tag: "link" "+ color=#800 underline=on underline_color=#8008";
1257 tag: "hilight" "+ font=Tizen:style=Bold";
1261 public single_line = 0;
1262 public password_mode = 0;
1264 public set_multi_line() {
1265 set_int(single_line, 0);
1267 public set_single_line() {
1268 set_int(single_line, 1);
1270 public set_password() {
1271 set_int(password_mode, 1);
1273 public unset_password() {
1274 set_int(password_mode, 0);
1277 if(get_int(single_line) == 1) {
1278 if(get_int(password_mode) == 0) {
1279 set_state(PART:"elm.content.single", "no_edit", 0.0);
1280 set_state(PART:"elm.content.multi", "default", 0.0);
1281 set_state(PART:"elm.content.password", "default", 0.0);
1282 set_state(PART:"elm.swallow.content", "no_edit", 0.0);
1285 set_state(PART:"elm.content.single", "default", 0.0);
1286 set_state(PART:"elm.content.multi", "default", 0.0);
1287 set_state(PART:"elm.content.password", "no_edit", 0.0);
1288 set_state(PART:"elm.swallow.content", "no_edit", 0.0);
1291 else if(get_int(single_line) == 0) {
1292 set_state(PART:"elm.content.single", "default", 0.0);
1293 set_state(PART:"elm.content.multi", "no_edit", 0.0);
1294 set_state(PART:"elm.content.password", "default", 0.0);
1296 set_state(PART:"over", "default", 0.0);
1297 set_state(PART:"top2", "default", 0.0);
1305 ignore_flags: ON_HOLD;
1307 state: "default" 0.0;
1308 min: 0 EDITFIELD_DEFAULT_MINH_INC;
1316 ignore_flags: ON_HOLD;
1318 state: "default" 0.0;
1320 min: 0 EDITFIELD_DEFAULT_TOP1_SINGLE_INC;
1322 rel1.relative: 0.0 0.0;
1323 rel2.relative: 1.0 0.0;
1327 state: "elm.text.show" 0.0;
1328 inherit: "default" 0.0;
1329 min: 0 EDITFIELD_DEFAULT_TOP1_MULTI_INC;
1336 ignore_flags: ON_HOLD;
1338 state: "default" 0.0;
1340 min: 0 EDITFIELD_DEFAULT_TOP2_INC;
1342 rel1.relative: 0.0 0.0;
1343 rel2.relative: 1.0 0.0;
1348 inherit: "default" 0.0;
1355 ignore_flags: ON_HOLD;
1357 state: "default" 0.0;
1359 min: EDITFIELD_DEFAULT_LEFT1_INC 0;
1362 rel1.relative : 0.0 0.0;
1363 rel2.relative : 0.0 1.0;
1370 ignore_flags: ON_HOLD;
1372 state: "default" 0.0;
1374 min: EDITFIELD_DEFAULT_LEFT2_INC 0;
1377 rel1.relative : 0.0 0.0;
1378 rel2.relative : 0.0 1.0;
1385 ignore_flags: ON_HOLD;
1387 state: "default" 0.0;
1389 min: EDITFIELD_DEFAULT_RIGHT1_ERASER_SHOW_INC 0;
1392 rel1.relative : 1.0 0.0;
1393 rel2.relative : 1.0 1.0;
1400 ignore_flags: ON_HOLD;
1402 state: "default" 0.0;
1404 min: EDITFIELD_DEFAULT_RIGHT2_INC 0;
1407 rel1.relative : 1.0 0.0;
1408 rel2.relative : 1.0 1.0;
1415 ignore_flags: ON_HOLD;
1417 state: "default" 0.0;
1419 min: 0 EDITFIELD_DEFAULT_BOTTOM1_SINGLE_INC;
1422 rel1.relative: 0.0 1.0;
1425 state: "elm.text.show" 0.0;
1426 inherit: "default" 0.0;
1427 min: 0 EDITFIELD_DEFAULT_BOTTOM1_MULTI_INC;
1434 ignore_flags: ON_HOLD;
1436 state: "default" 0.0;
1438 min: 0 EDITFIELD_DEFAULT_BOTTOM2_SINGLE_INC;
1440 rel1.relative: 0.0 1.0;
1444 state: "elm.text.show" 0.0;
1445 inherit: "default" 0.0;
1446 min: 0 EDITFIELD_DEFAULT_BOTTOM2_MULTI_INC;
1453 ignore_flags: ON_HOLD;
1455 state: "default" 0.0;
1457 min: 0 EDITFIELD_DEFAULT_BOTTOM3_SINGLE_INC;
1459 rel1.relative: 0.0 1.0;
1463 state: "elm.text.show" 0.0;
1464 inherit: "default" 0.0;
1465 min: 0 EDITFIELD_DEFAULT_BOTTOM3_MULTI_INC;
1472 ignore_flags: ON_HOLD;
1474 state: "default" 0.0;
1491 font: "Tizen:style=Medium";
1492 size: EDITFIELD_TITLE_SIZE_INC;
1495 text_class: "tizen";
1499 state: "elm.text.show" 0.0;
1500 inherit: "default" 0.0;
1505 name: "elm.guidetext";
1508 ignore_flags: ON_HOLD;
1510 state: "default" 0.0;
1513 rel1.to: "elm.swallow.content";
1514 rel2.to: "elm.swallow.content";
1515 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
1517 font: "Tizen:style=Roman";
1518 size: ENTRY_TEXT_SIZE_INC;
1521 text_class: "tizen";
1525 state: "hidden" 0.0;
1526 inherit: "default" 0.0;
1531 name: "elm.content.single";
1534 ignore_flags: ON_HOLD;
1536 state: "default" 0.0;
1540 to: "elm.swallow.content";
1541 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
1543 rel2.to: "elm.swallow.content";
1545 style: "editfield_content_singleline_black_style";
1551 state: "no_edit" 0.0;
1552 inherit: "default" 0.0;
1557 inherit: "default" 0.0;
1562 name: "elm.content.multi";
1565 ignore_flags: ON_HOLD;
1567 state: "default" 0.0;
1571 to: "elm.swallow.content";
1572 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
1574 rel2.to: "elm.swallow.content";
1576 style: "editfield_content_multiline_black_style";
1581 state: "no_edit" 0.0;
1582 inherit: "default" 0.0;
1587 inherit: "default" 0.0;
1592 name: "elm.content.password";
1595 ignore_flags: ON_HOLD;
1596 entry_mode: PASSWORD;
1599 state: "default" 0.0;
1603 to: "elm.swallow.content";
1604 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
1606 rel2.to: "elm.swallow.content";
1608 style: "editfield_content_password_black_style";
1615 state: "no_edit" 0.0;
1616 inherit: "default" 0.0;
1621 inherit: "default" 0.0;
1626 name: "elm.swallow.content";
1629 ignore_flags: ON_HOLD;
1631 state: "default" 0.0;
1646 state: "no_edit" 0.0;
1647 inherit: "default" 0.0;
1652 inherit: "default" 0.0;
1660 ignore_flags: ON_HOLD;
1662 state: "default" 0.0;
1669 inherit: "default" 0.0;
1674 name: "eraser_image";
1677 state: "default" 0.0;
1679 min: EDITFIELD_DEFAULT_ERASER_MINW_INC EDITFIELD_DEFAULT_ERASER_MINH_INC;
1693 normal: "00_edit_field_clear.png";
1694 border: 10 10 10 10;
1699 state: "elm.eraser.show" 0.0;
1700 inherit: "default" 0.0;
1708 ignore_flags: ON_HOLD;
1710 state: "default" 0.0;
1715 to_x : "eraser_image";
1720 state: "elm.eraser.show" 0.0;
1721 inherit: "default" 0.0;
1728 name: "guidetext_show";
1729 signal: "elm,state,guidetext,visible";
1731 action: STATE_SET "default" 0.0;
1732 target: "elm.guidetext";
1735 name: "guidetext_hide";
1736 signal: "elm,state,guidetext,hidden";
1738 action: STATE_SET "hidden" 0.0;
1739 target: "elm.guidetext";
1742 name: "eraser_show";
1743 signal: "elm,state,eraser,show";
1745 action: STATE_SET "elm.eraser.show" 0.0;
1746 target: "eraser_image";
1750 name: "eraser_hide";
1751 signal: "elm,state,eraser,hidden";
1753 action: STATE_SET "default" 0.0;
1754 target: "eraser_image";
1758 name: "multiline_set";
1759 signal: "elm,state,text,multiline";
1766 name: "singleline_set";
1767 signal: "elm,state,text,singleline";
1774 name: "password_set";
1775 signal: "elm,state,password,set";
1782 name: "password_unset";
1783 signal: "elm,state,password,unset";
1791 signal: "elm,state,over,hide";
1793 action: STATE_SET "edit" 0.0;
1794 target: "elm.swallow.content";
1795 target: "elm.content.password";
1796 target: "elm.content.multi";
1797 target: "elm.content.single";
1803 signal: "elm,state,over,show";
1811 signal: "elm,state,text,visible";
1813 action: STATE_SET "elm.text.show" 0.0;
1822 signal: "elm,state,text,hidden";
1824 action: STATE_SET "default" 0.0;
1833 signal: "elm,state,entry,show";
1835 action: STATE_SET "edit" 0.0;
1836 target: "elm.swallow.content";
1837 target: "elm.content.multi";
1842 group { name: "elm/editfield/base/searchbar/font_color_black";
1844 image: "00_field_btn_clear.png" COMP;
1847 public single_line = 0;
1848 public password_mode = 0;
1850 public set_multi_line() {
1851 set_int(single_line, 0);
1853 public set_single_line() {
1854 set_int(single_line, 1);
1856 public set_password() {
1857 set_int(password_mode, 1);
1859 public unset_password() {
1860 set_int(password_mode, 0);
1863 if(get_int(single_line) == 1) {
1864 if(get_int(password_mode) == 0) {
1865 set_state(PART:"elm.content.single", "no_edit", 0.0);
1866 set_state(PART:"elm.content.multi", "default", 0.0);
1867 set_state(PART:"elm.content.password", "default", 0.0);
1868 set_state(PART:"elm.swallow.content", "no_edit", 0.0);
1871 set_state(PART:"elm.content.single", "default", 0.0);
1872 set_state(PART:"elm.content.multi", "default", 0.0);
1873 set_state(PART:"elm.content.password", "no_edit", 0.0);
1874 set_state(PART:"elm.swallow.content", "no_edit", 0.0);
1877 else if(get_int(single_line) == 0) {
1878 set_state(PART:"elm.content.single", "default", 0.0);
1879 set_state(PART:"elm.content.multi", "no_edit", 0.0);
1880 set_state(PART:"elm.content.password", "default", 0.0);
1882 set_state(PART:"over", "default", 0.0);
1883 set_state(PART:"top2", "default", 0.0);
1891 ignore_flags: ON_HOLD;
1893 state: "default" 0.0;
1894 min: 0 EDITFIELD_SEARCHBAR_MINH_INC;
1902 ignore_flags: ON_HOLD;
1904 state: "default" 0.0;
1906 min: 0 EDITFIELD_SEARCHBAR_TOP1_SINGLE_INC;
1908 rel1.relative: 0.0 0.0;
1909 rel2.relative: 1.0 0.0;
1913 state: "elm.text.show" 0.0;
1914 inherit: "default" 0.0;
1915 min: 0 EDITFIELD_SEARCHBAR_TOP1_MULTI_INC;
1922 ignore_flags: ON_HOLD;
1924 state: "default" 0.0;
1926 min: 0 EDITFIELD_SEARCHBAR_TOP2_INC;
1928 rel1.relative: 0.0 0.0;
1929 rel2.relative: 1.0 0.0;
1934 inherit: "default" 0.0;
1941 ignore_flags: ON_HOLD;
1943 state: "default" 0.0;
1945 min: EDITFIELD_SEARCHBAR_LEFT1_INC 0;
1948 rel1.relative : 0.0 0.0;
1949 rel2.relative : 0.0 1.0;
1956 ignore_flags: ON_HOLD;
1958 state: "default" 0.0;
1960 min: EDITFIELD_SEARCHBAR_LEFT2_INC 0;
1963 rel1.relative : 0.0 0.0;
1964 rel2.relative : 0.0 1.0;
1971 ignore_flags: ON_HOLD;
1973 state: "default" 0.0;
1975 min: EDITFIELD_SEARCHBAR_RIGHT1_ERASER_SHOW_INC 0;
1978 rel1.relative : 1.0 0.0;
1979 rel2.relative : 1.0 1.0;
1986 ignore_flags: ON_HOLD;
1988 state: "default" 0.0;
1990 min: EDITFIELD_SEARCHBAR_RIGHT2_INC 0;
1993 rel1.relative : 1.0 0.0;
1994 rel2.relative : 1.0 1.0;
2001 ignore_flags: ON_HOLD;
2003 state: "default" 0.0;
2005 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_SINGLE_INC;
2008 rel1.relative: 0.0 1.0;
2011 state: "elm.text.show" 0.0;
2012 inherit: "default" 0.0;
2013 min: 0 EDITFIELD_SEARCHBAR_BOTTOM1_MULTI_INC;
2020 ignore_flags: ON_HOLD;
2022 state: "default" 0.0;
2024 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_SINGLE_INC;
2026 rel1.relative: 0.0 1.0;
2030 state: "elm.text.show" 0.0;
2031 inherit: "default" 0.0;
2032 min: 0 EDITFIELD_SEARCHBAR_BOTTOM2_MULTI_INC;
2039 ignore_flags: ON_HOLD;
2041 state: "default" 0.0;
2043 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_SINGLE_INC;
2045 rel1.relative: 0.0 1.0;
2049 state: "elm.text.show" 0.0;
2050 inherit: "default" 0.0;
2051 min: 0 EDITFIELD_SEARCHBAR_BOTTOM3_MULTI_INC;
2058 ignore_flags: ON_HOLD;
2060 state: "default" 0.0;
2075 color: EDITFIELD_TITLE_COLOR_INC;
2077 font: "Tizen:style=Medium";
2078 size: EDITFIELD_TITLE_SIZE_INC;
2081 text_class: "tizen";
2085 state: "elm.text.show" 0.0;
2086 inherit: "default" 0.0;
2091 name: "elm.guidetext";
2094 ignore_flags: ON_HOLD;
2096 state: "default" 0.0;
2099 rel1.to: "elm.swallow.content";
2100 rel2.to: "elm.swallow.content";
2101 color: EDITFIELD_GUIDE_TEXT_COLOR_INC;
2103 font: "Tizen:style=Roman";
2104 size: ENTRY_TEXT_SIZE_INC;
2107 text_class: "tizen";
2111 state: "hidden" 0.0;
2112 inherit: "default" 0.0;
2117 name: "elm.content.single";
2120 ignore_flags: ON_HOLD;
2122 state: "default" 0.0;
2126 to: "elm.swallow.content";
2127 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
2129 rel2.to: "elm.swallow.content";
2131 style: "editfield_content_singleline_black_style";
2137 state: "no_edit" 0.0;
2138 inherit: "default" 0.0;
2143 inherit: "default" 0.0;
2148 name: "elm.content.multi";
2151 ignore_flags: ON_HOLD;
2153 state: "default" 0.0;
2157 to: "elm.swallow.content";
2158 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
2160 rel2.to: "elm.swallow.content";
2162 style: "editfield_content_multiline_black_style";
2167 state: "no_edit" 0.0;
2168 inherit: "default" 0.0;
2173 inherit: "default" 0.0;
2178 name: "elm.content.password";
2181 ignore_flags: ON_HOLD;
2182 entry_mode: PASSWORD;
2185 state: "default" 0.0;
2189 to: "elm.swallow.content";
2190 offset: EDITFIELD_DEFAULT_LEFT3_INC 0;
2192 rel2.to: "elm.swallow.content";
2194 style: "editfield_content_password_black_style";
2201 state: "no_edit" 0.0;
2202 inherit: "default" 0.0;
2207 inherit: "default" 0.0;
2212 name: "elm.swallow.content";
2215 ignore_flags: ON_HOLD;
2217 state: "default" 0.0;
2232 state: "no_edit" 0.0;
2233 inherit: "default" 0.0;
2238 inherit: "default" 0.0;
2246 ignore_flags: ON_HOLD;
2248 state: "default" 0.0;
2255 inherit: "default" 0.0;
2260 name: "eraser_image";
2263 state: "default" 0.0;
2265 min: EDITFIELD_SEARCHBAR_ERASER_MINW_INC EDITFIELD_SEARCHBAR_ERASER_MINH_INC;
2279 normal: "00_field_btn_clear.png";
2285 state: "elm.eraser.show" 0.0;
2286 inherit: "default" 0.0;
2294 ignore_flags: ON_HOLD;
2296 state: "default" 0.0;
2301 to_x : "eraser_image";
2306 state: "elm.eraser.show" 0.0;
2307 inherit: "default" 0.0;
2314 name: "guidetext_show";
2315 signal: "elm,state,guidetext,visible";
2317 action: STATE_SET "default" 0.0;
2318 target: "elm.guidetext";
2321 name: "guidetext_hide";
2322 signal: "elm,state,guidetext,hidden";
2324 action: STATE_SET "hidden" 0.0;
2325 target: "elm.guidetext";
2328 name: "eraser_show";
2329 signal: "elm,state,eraser,show";
2331 action: STATE_SET "elm.eraser.show" 0.0;
2332 target: "eraser_image";
2336 name: "eraser_hide";
2337 signal: "elm,state,eraser,hidden";
2339 action: STATE_SET "default" 0.0;
2340 target: "eraser_image";
2344 name: "multiline_set";
2345 signal: "elm,state,text,multiline";
2352 name: "singleline_set";
2353 signal: "elm,state,text,singleline";
2360 name: "password_set";
2361 signal: "elm,state,password,set";
2368 name: "password_unset";
2369 signal: "elm,state,password,unset";
2377 signal: "elm,state,over,hide";
2379 action: STATE_SET "edit" 0.0;
2380 target: "elm.swallow.content";
2381 target: "elm.content.password";
2382 target: "elm.content.multi";
2383 target: "elm.content.single";
2389 signal: "elm,state,over,show";
2397 signal: "elm,state,text,visible";
2399 action: STATE_SET "elm.text.show" 0.0;
2408 signal: "elm,state,text,hidden";
2410 action: STATE_SET "default" 0.0;
2419 signal: "elm,state,entry,show";
2421 action: STATE_SET "edit" 0.0;
2422 target: "elm.swallow.content";
2423 target: "elm.content.multi";