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 ///////////////////////////////////////////////////////////////////////////////
21 ///////////////////////////////////////////////////////////////////////////////
23 #define DATETIME_PADDING(_pos, prev_part) \
25 name: "picker.padding"#_pos; \
29 description { state: "default" 0.0; \
43 description { state: "enable" 0.0;\
44 inherit: "default" 0.0;\
45 min: DATETIME_FIELD_PICKER_PADDING_SIZE_INC;\
49 name: "left.padding"#_pos; \
54 description { state: "default" 0.0; \
62 to: "picker.padding"#_pos;\
66 to: "picker.padding"#_pos;\
69 description { state: "enable" 0.0;\
70 inherit: "default" 0.0;\
71 min: DATETIME_FIELD_LEFT_PADDING_SIZE_INC;\
75 name: "right.padding"#_pos; \
81 state: "default" 0.0;\
96 description { state: "enable" 0.0;\
97 inherit: "default" 0.0;\
98 min: DATETIME_FIELD_RIGHT_PADDING_SIZE_INC;\
103 name: "field_"#_pos"enabled";\
104 signal: "field"#_pos",enable";\
106 action: STATE_SET "enable" 0.0;\
107 target: "left.padding"#_pos;\
108 target: "right.padding"#_pos;\
109 target: "field"#_pos;\
112 name: "field_"#_pos"disabled";\
113 signal: "field"#_pos",disable";\
115 action: STATE_SET "default" 0.0;\
116 target: "left.padding"#_pos;\
117 target: "right.padding"#_pos;\
118 target: "field"#_pos;\
122 #define DATETIME_FIELD(_pos) \
124 name: "field"#_pos; \
129 description { state: "default" 0.0; \
136 to: "left.padding"#_pos;\
140 to: "left.padding"#_pos;\
143 description { state: "enable" 0.0;\
144 inherit: "default" 0.0;\
146 min: DATETIME_FIELD_MIN_SIZE_INC;\
150 name: "separator"#_pos; \
156 state: "default" 0.0;\
163 to: "right.padding"#_pos;\
167 to: "right.padding"#_pos;\
169 color: DATETIME_SEPARATOR_TEXT_COLOR_INC;\
171 font: "Tizen:style=Regular";\
172 size: DATETIME_SEPARATOR_TEXT_FONT_SIZE_INC;\
174 text_class: "tizen";\
177 description { state: "enable" 0.0;\
178 inherit: "default" 0.0;\
180 min: DATETIME_SEPARATOR_MIN_SIZE_INC;\
185 name: "separator"#_pos",enabled";\
186 signal: "field"#_pos",separator,enable";\
188 action: STATE_SET "enable" 0.0;\
189 target: "separator"#_pos;\
192 name: "separator"#_pos",disabled";\
193 signal: "field"#_pos",separator,disable";\
195 action: STATE_SET "default" 0.0;\
196 target: "separator"#_pos;\
200 #define DATETIME_PICKER_PADDING_PROGRAMS \
202 name: "datepicker_starting_field2_padding";\
203 signal: "datepicker,starting,field2";\
206 set_state(PART:"picker.padding2", "enable", 0.0);\
207 set_state(PART:"picker.padding3", "default", 0.0);\
211 name: "datepicker_starting_field3_padding";\
212 signal: "datepicker,starting,field3";\
215 set_state(PART:"picker.padding3", "enable", 0.0);\
216 set_state(PART:"picker.padding2", "default", 0.0);\
220 name: "timepicker_starting_field3_padding";\
221 signal: "timepicker,starting,field3";\
224 set_state(PART:"picker.padding2", "default", 0.0);\
225 set_state(PART:"picker.padding3", "enable", 0.0);\
229 name: "timepicker_starting_field0_padding";\
230 signal: "timepicker,starting,field0";\
232 action: STATE_SET "default" 0.0;\
233 target: "picker.padding0";\
236 name: "datepicker_starting_field1_padding";\
237 signal: "datepicker,starting,field1";\
239 action: STATE_SET "default" 0.0;\
240 target: "picker.padding0";\
241 target: "picker.padding2";\
242 target: "picker.padding3";\
245 name: "datepicker_starting_field4_padding";\
246 signal: "datepicker,starting,field4";\
248 action: STATE_SET "default" 0.0;\
249 target: "picker.padding0";\
250 target: "picker.padding2";\
251 target: "picker.padding3";\
255 #define DATETIME_DATEPICKER_BG \
257 name: "date.picker.left.pad"; \
260 description { state: "default" 0.0; \
267 to: "left.padding0";\
271 to: "left.padding0";\
274 description { state: "datefirst" 0.0;\
275 inherit: "default" 0.0;\
276 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
278 description { state: "timefirst" 0.0;\
279 inherit: "default" 0.0;\
280 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
283 to: "left.padding3";\
287 to: "left.padding3";\
290 description { state: "timefirst24hr" 0.0;\
291 inherit: "default" 0.0;\
292 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
295 to: "left.padding2";\
299 to: "left.padding2";\
304 name: "date.picker.right.pad"; \
307 description { state: "default" 0.0; \
321 description { state: "datefirst" 0.0;\
322 inherit: "default" 0.0;\
323 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
325 description { state: "timefirst" 0.0;\
326 inherit: "default" 0.0;\
327 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
337 description { state: "timefirst24hr" 0.0;\
338 inherit: "default" 0.0;\
339 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
351 name: "date.picker.bg"; \
353 description { state: "default" 0.0; \
358 normal: "00_button_01.png";\
359 border: DATETIME_BG_IMAGE_BORDER_INC;\
364 to: "date.picker.left.pad";\
368 to: "date.picker.right.pad";\
371 description { state: "datefirst" 0.0;\
372 inherit: "default" 0.0;\
375 description { state: "timefirst" 0.0;\
376 inherit: "default" 0.0;\
379 description { state: "timefirst24hr" 0.0;\
380 inherit: "default" 0.0;\
383 description { state: "datefirst_press" 0.0;\
384 inherit: "datefirst" 0.0;\
386 normal: "00_button_01_press.png";\
387 border: DATETIME_BG_IMAGE_BORDER_INC;\
391 description { state: "timefirst_press" 0.0;\
392 inherit: "timefirst" 0.0;\
394 normal: "00_button_01_press.png";\
395 border: DATETIME_BG_IMAGE_BORDER_INC;\
399 description { state: "timefirst24hr_press" 0.0;\
400 inherit: "timefirst24hr" 0.0;\
402 normal: "00_button_01_press.png";\
403 border: DATETIME_BG_IMAGE_BORDER_INC;\
409 name: "datepicker.focus";\
412 state: "default" 0.0;\
414 rel1.to : "date.picker.bg";\
415 rel2.to : "date.picker.bg";\
417 normal: "00_button_01_focus.png";\
418 border: DATETIME_BG_IMAGE_BORDER_INC;\
422 description { state: "focus" 0.0;\
423 inherit: "default" 0.0;\
429 name: "datepicker_starting_field0";\
430 signal: "datepicker,starting,field0";\
432 action: STATE_SET "datefirst" 0.0;\
433 target: "date.picker.bg";\
434 target: "date.picker.left.pad";\
435 target: "date.picker.right.pad";\
438 name: "datepicker_starting_field3";\
439 signal: "datepicker,starting,field3";\
441 action: STATE_SET "timefirst" 0.0;\
442 target: "date.picker.bg";\
443 target: "date.picker.left.pad";\
444 target: "date.picker.right.pad";\
447 name: "datepicker_starting_field2";\
448 signal: "datepicker,starting,field2";\
450 action: STATE_SET "timefirst24hr" 0.0;\
451 target: "date.picker.bg";\
452 target: "date.picker.left.pad";\
453 target: "date.picker.right.pad";\
456 name: "datepicker_starting_field1";\
457 signal: "datepicker,starting,field1";\
459 action: STATE_SET "default" 0.0;\
460 target: "date.picker.bg";\
461 target: "date.picker.left.pad";\
462 target: "date.picker.right.pad";\
465 name: "datepicker_starting_field4";\
466 signal: "datepicker,starting,field4";\
468 action: STATE_SET "default" 0.0;\
469 target: "date.picker.bg";\
470 target: "date.picker.left.pad";\
471 target: "date.picker.right.pad";\
474 name: "datepicker_starting_field5";\
475 signal: "datepicker,starting,field5";\
477 action: STATE_SET "default" 0.0;\
478 target: "date.picker.bg";\
479 target: "date.picker.left.pad";\
480 target: "date.picker.right.pad";\
483 name: "datepicker_mouse_down";\
484 signal: "mouse,down,1";\
485 source: "date.picker.bg";\
489 get_state(PART:"date.picker.bg", st, 30, vl);\
490 if (!strcmp(st, "datefirst")) {\
491 set_state(PART:"date.picker.bg", "datefirst_press", 0.0);\
493 else if (!strcmp(st, "timefirst")) {\
494 set_state(PART:"date.picker.bg", "timefirst_press", 0.0);\
496 else if (!strcmp(st, "timefirst24hr")) {\
497 set_state(PART:"date.picker.bg", "timefirst24hr_press", 0.0);\
502 name: "datepicker_mouse_up";\
503 signal: "mouse,up,1";\
504 source: "date.picker.bg";\
508 get_state(PART:"date.picker.bg", st, 30, vl);\
509 if (!strcmp(st, "datefirst_press")) {\
510 set_state(PART:"date.picker.bg", "datefirst", 0.0);\
512 else if (!strcmp(st, "timefirst_press")) {\
513 set_state(PART:"date.picker.bg", "timefirst", 0.0);\
515 else if (!strcmp(st, "timefirst24hr_press")) {\
516 set_state(PART:"date.picker.bg", "timefirst24hr", 0.0);\
521 name: "datepicker_focus";\
522 signal: "elm,action,focus_highlight,show";\
524 action: STATE_SET "focus" 0.0;\
525 target: "datepicker.focus";\
528 name: "datepicker_unfocus";\
529 signal: "elm,action,focus_highlight,hide";\
531 action: STATE_SET "default" 0.0;\
532 target: "datepicker.focus";\
534 program { name: "datepicker_touch_snd";\
535 signal: "mouse,clicked,1";\
536 source: "date.picker.bg";\
537 action: PLAY_SAMPLE "touch_sound" 1.0;\
541 #define DATETIME_TIMEPICKER_BG \
543 name: "time.picker.left.pad"; \
546 description { state: "default" 0.0; \
553 to: "left.padding3";\
557 to: "left.padding3";\
560 description { state: "datefirst" 0.0;\
561 inherit: "default" 0.0;\
562 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
564 description { state: "timefirst" 0.0;\
565 inherit: "default" 0.0;\
566 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
569 to: "left.padding0";\
573 to: "left.padding0";\
576 description { state: "timefirst24hr" 0.0;\
577 inherit: "default" 0.0;\
578 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
581 to: "left.padding0";\
585 to: "left.padding0";\
590 name: "time.picker.right.pad"; \
593 description { state: "default" 0.0; \
600 to: "right.padding5";\
604 to: "right.padding5";\
607 description { state: "datefirst" 0.0;\
608 inherit: "default" 0.0;\
609 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
611 description { state: "timefirst" 0.0;\
612 inherit: "default" 0.0;\
613 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
616 to: "right.padding2";\
620 to: "right.padding2";\
623 description { state: "timefirst24hr" 0.0;\
624 inherit: "default" 0.0;\
625 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
628 to: "right.padding1";\
632 to: "right.padding1";\
637 name: "time.picker.bg"; \
639 description { state: "default" 0.0; \
644 normal: "00_button_01.png";\
645 border: DATETIME_BG_IMAGE_BORDER_INC;\
650 to: "time.picker.left.pad";\
654 to: "time.picker.right.pad";\
657 description { state: "datefirst" 0.0;\
658 inherit: "default" 0.0;\
661 description { state: "timefirst" 0.0;\
662 inherit: "default" 0.0;\
665 description { state: "timefirst24hr" 0.0;\
666 inherit: "default" 0.0;\
669 description { state: "datefirst_press" 0.0;\
670 inherit: "datefirst" 0.0;\
672 normal: "00_button_01_press.png";\
673 border: DATETIME_BG_IMAGE_BORDER_INC;\
677 description { state: "timefirst_press" 0.0;\
678 inherit: "timefirst" 0.0;\
680 normal: "00_button_01_press.png";\
681 border: DATETIME_BG_IMAGE_BORDER_INC;\
685 description { state: "timefirst24hr_press" 0.0;\
686 inherit: "timefirst24hr" 0.0;\
688 normal: "00_button_01_press.png";\
689 border: DATETIME_BG_IMAGE_BORDER_INC;\
695 name: "timepicker.focus";\
698 state: "default" 0.0;\
700 rel1.to : "time.picker.bg";\
701 rel2.to : "time.picker.bg";\
703 normal: "00_button_01_focus.png";\
704 border: DATETIME_BG_IMAGE_BORDER_INC;\
708 description { state: "focus" 0.0;\
709 inherit: "default" 0.0;\
715 name: "timepicker_starting_field3";\
716 signal: "timepicker,starting,field3";\
722 get_state(PART:"field3", st, 30, vl);\
723 if (!strcmp(st, "enable")) {\
724 set_state(PART:"time.picker.bg", "datefirst", 0.0);\
725 set_state(PART:"time.picker.left.pad", "datefirst", 0.0);\
726 set_state(PART:"time.picker.right.pad", "datefirst", 0.0);\
731 name: "timepicker_starting_field0";\
732 signal: "timepicker,starting,field0";\
738 get_state(PART:"date.picker.bg", st, 30, vl);\
739 if (!strcmp(st, "timefirst24hr")) {\
740 set_state(PART:"time.picker.bg", "timefirst24hr", 0.0);\
741 set_state(PART:"time.picker.left.pad", "timefirst24hr", 0.0);\
742 set_state(PART:"time.picker.right.pad", "timefirst24hr", 0.0);\
745 set_state(PART:"time.picker.bg", "timefirst", 0.0);\
746 set_state(PART:"time.picker.left.pad", "timefirst", 0.0);\
747 set_state(PART:"time.picker.right.pad", "timefirst", 0.0);\
752 name: "timepicker_starting_field1";\
753 signal: "timepicker,starting,field1";\
755 action: STATE_SET "default" 0.0;\
756 target: "time.picker.bg";\
757 target: "time.picker.left.pad";\
758 target: "time.picker.right.pad";\
761 name: "timepicker_starting_field2";\
762 signal: "timepicker,starting,field2";\
764 action: STATE_SET "default" 0.0;\
765 target: "time.picker.bg";\
766 target: "time.picker.left.pad";\
767 target: "time.picker.right.pad";\
770 name: "timepicker_starting_field4";\
771 signal: "timepicker,starting,field4";\
773 action: STATE_SET "default" 0.0;\
774 target: "time.picker.bg";\
775 target: "time.picker.left.pad";\
776 target: "time.picker.right.pad";\
779 name: "timepicker_starting_field5";\
780 signal: "timepicker,starting,field5";\
782 action: STATE_SET "default" 0.0;\
783 target: "time.picker.bg";\
784 target: "time.picker.left.pad";\
785 target: "time.picker.right.pad";\
788 name: "timepicker_mouse_down";\
789 signal: "mouse,down,1";\
790 source: "time.picker.bg";\
794 get_state(PART:"time.picker.bg", st, 30, vl);\
795 if (!strcmp(st, "datefirst")) {\
796 set_state(PART:"time.picker.bg", "datefirst_press", 0.0);\
798 else if (!strcmp(st, "timefirst")) {\
799 set_state(PART:"time.picker.bg", "timefirst_press", 0.0);\
801 else if (!strcmp(st, "timefirst24hr")) {\
802 set_state(PART:"time.picker.bg", "timefirst24hr_press", 0.0);\
807 name: "timepicker_mouse_up";\
808 signal: "mouse,up,1";\
809 source: "time.picker.bg";\
813 get_state(PART:"time.picker.bg", st, 30, vl);\
814 if (!strcmp(st, "datefirst_press")) {\
815 set_state(PART:"time.picker.bg", "datefirst", 0.0);\
817 else if (!strcmp(st, "timefirst_press")) {\
818 set_state(PART:"time.picker.bg", "timefirst", 0.0);\
820 else if (!strcmp(st, "timefirst24hr_press")) {\
821 set_state(PART:"time.picker.bg", "timefirst24hr", 0.0);\
826 name: "timepicker_focus";\
827 signal: "elm,action,focus_highlight,show";\
829 action: STATE_SET "focus" 0.0;\
830 target: "timepicker.focus";\
833 name: "timepicker_unfocus";\
834 signal: "elm,action,focus_highlight,hide";\
836 action: STATE_SET "default" 0.0;\
837 target: "timepicker.focus";\
839 program { name: "timepicker_touch_snd";\
840 signal: "mouse,clicked,1";\
841 source: "time.picker.bg";\
842 action: PLAY_SAMPLE "touch_sound" 1.0;\
846 group { name: "elm/datetime/base/default";
848 image: "00_button_01.png" COMP;
849 image: "00_button_01_press.png" COMP;
850 image: "00_button_01_focus.png" COMP;
858 state: "default" 0.0;
860 min: 0 DATETIME_WIDGET_HEIGHT;
861 max: -1 DATETIME_WIDGET_HEIGHT;
865 name: "left.padding";
871 state: "default" 0.0;
873 min: DATETIME_WIDGET_PADDING_SIZE_INC;
884 name: "right.padding";
890 state: "default" 0.0;
892 min: DATETIME_WIDGET_PADDING_SIZE_INC;
903 DATETIME_PADDING(0, "left.padding")
904 DATETIME_PADDING(1, "separator0")
905 DATETIME_PADDING(2, "separator1")
906 DATETIME_PADDING(3, "separator2")
907 DATETIME_PADDING(4, "separator3")
908 DATETIME_PADDING(5, "separator4")
910 DATETIME_DATEPICKER_BG
911 DATETIME_TIMEPICKER_BG
923 description { state: "default" 0.0;
924 color: 255 255 255 255;
926 description { state: "visible" 0.0;
927 inherit: "default" 0.0;
928 color: 255 255 255 102;
934 description { state: "default" 0.0;
940 description { state: "visible" 0.0;
941 inherit: "default" 0.0;
948 name: "disble_datetime";
949 signal: "elm,state,disabled";
951 action: STATE_SET "visible" 0.0;
956 name: "enable_datetime";
957 signal: "elm,state,enabled";
959 action: STATE_SET "default" 0.0;
963 DATETIME_PICKER_PADDING_PROGRAMS
967 #define DATETIME_FIELD_STYLE1(_pos, _after) \
969 name: "field"#_pos; \
974 description { state: "default" 0.0; \
981 to: "separator"#_after;\
985 to: "separator"#_after;\
988 description { state: "enable" 0.0;\
989 inherit: "default" 0.0;\
991 min: DATETIME_FIELD_MIN_SIZE_INC;\
996 name: "field_"#_pos"enabled";\
997 signal: "field"#_pos",enable";\
999 action: STATE_SET "enable" 0.0;\
1000 target: "field"#_pos;\
1003 name: "field_"#_pos"disabled";\
1004 signal: "field"#_pos",disable";\
1006 action: STATE_SET "default" 0.0;\
1007 target: "field"#_pos;\
1011 #define DATETIME_SEPARATOR_STYLE1(_pos) \
1013 name: "separator"#_pos; \
1016 clip_to: "clipper";\
1019 state: "default" 0.0;\
1021 min: DATETIME_SEPARATOR_MIN_SIZE_INC;\
1022 max: DATETIME_SEPARATOR_MIN_SIZE_INC;\
1033 color: DATETIME_SEPARATOR_TEXT_COLOR_INC;\
1035 font: "Tizen:style=Regular";\
1036 size: DATETIME_SEPARATOR_TEXT_FONT_SIZE_INC;\
1038 text_class: "tizen";\
1041 description { state: "enable" 0.0;\
1042 inherit: "default" 0.0;\
1045 description { state: "hide" 0.0;\
1046 inherit: "default" 0.0;\
1053 name: "separator"#_pos",enabled";\
1054 signal: "field"#_pos",separator,enable";\
1056 action: STATE_SET "enable" 0.0;\
1057 target: "separator"#_pos;\
1060 name: "separator"#_pos",disabled";\
1061 signal: "field"#_pos",separator,disable";\
1066 get_state(PART:"separator"#_pos, st, 30, vl);\
1067 if (strcmp(st, "hide")) \
1069 set_state(PART:"separator"#_pos, "default", 0.0);\
1074 name: "separator"#_pos",hide";\
1075 signal: "field"#_pos",disable";\
1077 action: STATE_SET "hide" 0.0;\
1078 target: "separator"#_pos;\
1083 group { name: "elm/datetime/base/style1";
1090 state: "default" 0.0;
1095 name: "left.padding";
1101 state: "default" 0.0;
1103 min: DATETIME_LEFT_PADDING_SIZE_INC;
1104 max: DATETIME_LEFT_PADDING_SIZE_INC;
1121 state: "default" 0.0;
1128 to_x: "left.padding";
1132 to_x: "left.padding";
1135 description { state: "enable" 0.0;
1136 inherit: "default" 0.0;
1138 min: DATETIME_FIELD_MIN_SIZE_INC;
1141 DATETIME_SEPARATOR_STYLE1(0)
1142 DATETIME_FIELD_STYLE1(1, 0)
1143 DATETIME_SEPARATOR_STYLE1(1)
1144 DATETIME_FIELD_STYLE1(2, 1)
1145 DATETIME_SEPARATOR_STYLE1(2)
1146 DATETIME_FIELD_STYLE1(3, 2)
1147 DATETIME_SEPARATOR_STYLE1(3)
1148 DATETIME_FIELD_STYLE1(4, 3)
1149 DATETIME_SEPARATOR_STYLE1(4)
1150 DATETIME_FIELD_STYLE1(5, 4)
1151 DATETIME_SEPARATOR_STYLE1(5)
1153 name: "right.padding";
1159 state: "default" 0.0;
1161 min: DATETIME_LEFT_PADDING_SIZE_INC;
1162 max: DATETIME_LEFT_PADDING_SIZE_INC;
1175 description { state: "default" 0.0;
1176 color: 255 255 255 255;
1178 description { state: "visible" 0.0;
1179 inherit: "default" 0.0;
1180 color: 255 255 255 102;
1186 description { state: "default" 0.0;
1190 description { state: "visible" 0.0;
1191 inherit: "default" 0.0;
1198 name: "disble_datetime";
1199 signal: "elm,state,disabled";
1201 action: STATE_SET "visible" 0.0;
1206 name: "enable_datetime";
1207 signal: "elm,state,enabled";
1209 action: STATE_SET "default" 0.0;
1214 name: "field0,enabled";
1215 signal: "field0,enable";
1217 action: STATE_SET "enable" 0.0;
1221 name: "field0,disabled";
1222 signal: "field0,disable";
1224 action: STATE_SET "default" 0.0;
1229 group { name: "elm/spinner/base/default";
1230 alias: "elm/spinner/base/datetime_popup";
1231 alias: "elm/spinner/base/datetime_popup/year";
1232 alias: "elm/spinner/base/datetime_popup/month";
1233 alias: "elm/spinner/base/datetime_popup/date";
1234 alias: "elm/spinner/base/datetime_popup/hour";
1235 alias: "elm/spinner/base/datetime_popup/minute";
1237 image: "00_picker_arrow_down.png" COMP;
1238 image: "00_picker_arrow_up.png" COMP;
1239 image: "00_button_01.png" COMP;
1240 image: "00_button_01_press.png" COMP;
1246 description { state: "default" 0.0;
1250 part { name: "up.image";
1252 description { state: "default" 0.0;
1254 min: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
1255 max: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
1257 normal: "00_button_01.png";
1258 border: SPINNER_UP_DOWN_IMAGE_BORDER_SIZE_INC;
1262 description { state: "pressed" 0.0;
1263 inherit: "default" 0.0;
1264 image.normal: "00_button_01_press.png";
1267 part { name: "up.image.arrow";
1269 description { state: "default" 0.0;
1270 rel1.to: "up.image";
1271 rel2.to: "up.image";
1272 min: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
1273 max: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
1274 image.normal: "00_picker_arrow_up.png";
1277 part { name: "up.image.arrow.shadow.proxy";
1280 clip_to: "up.image.arrow.shadow.clipper";
1281 description { state: "default" 0.0;
1282 source: "up.image.arrow";
1283 proxy.source_clip: 0;
1285 to: "up.image.arrow";
1286 offset: SPINNER_UP_DOWN_ARROW_DEFAULT_TOP_OFFSET_INC;
1289 to: "up.image.arrow";
1290 offset: SPINNER_UP_DOWN_ARROW_DEFAULT_BOTTOM_OFFSET_INC;
1293 description { state: "pressed" 0.0;
1294 inherit: "default" 0.0;
1296 to: "up.image.arrow";
1297 offset: SPINNER_UP_DOWN_ARROW_PRESSED_TOP_OFFSET_INC;
1300 to: "up.image.arrow";
1301 offset: SPINNER_UP_DOWN_ARROW_PRESSED_BOTTOM_OFFSET_INC;
1305 part { name: "up.image.arrow.proxy";
1308 clip_to: "up.image.arrow.clipper";
1309 description { state: "default" 0.0;
1310 source: "up.image.arrow";
1311 proxy.source_clip: 0;
1312 rel1.to: "up.image.arrow";
1313 rel2.to: "up.image.arrow";
1316 part { name: "up.image.arrow.shadow.clipper";
1319 description { state: "default" 0.0;
1320 rel1.to: "up.image.arrow";
1321 rel2.to: "up.image.arrow";
1322 color: SPINNER_UP_DOWN_ARROW_SHADOW_DEFAULT_COLOR_INC;
1324 description { state: "pressed" 0.0;
1325 inherit: "default" 0.0;
1326 color: SPINNER_UP_DOWN_ARROW_SHADOW_PRESSED_COLOR_INC;
1329 part { name: "up.image.arrow.clipper";
1332 description { state: "default" 0.0;
1333 rel1.to: "up.image.arrow";
1334 rel2.to: "up.image.arrow";
1335 color: SPINNER_UP_DOWN_ARROW_DEFAULT_COLOR_INC;
1337 description { state: "pressed" 0.0;
1338 inherit: "default" 0.0;
1339 color: SPINNER_UP_DOWN_ARROW_PRESSED_COLOR_INC;
1342 part { name: "down.image";
1344 description { state: "default" 0.0;
1346 min: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
1347 max: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
1349 normal: "00_button_01.png";
1350 border: SPINNER_UP_DOWN_IMAGE_BORDER_SIZE_INC;
1354 description { state: "pressed" 0.0;
1355 inherit: "default" 0.0;
1356 image.normal: "00_button_01_press.png";
1359 part { name: "down.image.arrow";
1361 description { state: "default" 0.0;
1362 rel1.to: "down.image";
1363 rel2.to: "down.image";
1364 min: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
1365 max: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
1366 image.normal: "00_picker_arrow_down.png";
1369 part { name: "down.image.arrow.shadow.proxy";
1372 clip_to: "down.image.arrow.shadow.clipper";
1373 description { state: "default" 0.0;
1374 source: "down.image.arrow";
1375 proxy.source_clip: 0;
1377 to: "down.image.arrow";
1378 offset: SPINNER_UP_DOWN_ARROW_DEFAULT_TOP_OFFSET_INC;
1381 to: "down.image.arrow";
1382 offset: SPINNER_UP_DOWN_ARROW_DEFAULT_BOTTOM_OFFSET_INC;
1385 description { state: "pressed" 0.0;
1386 inherit: "default" 0.0;
1388 to: "down.image.arrow";
1389 offset: SPINNER_UP_DOWN_ARROW_PRESSED_TOP_OFFSET_INC;
1392 to: "down.image.arrow";
1393 offset: SPINNER_UP_DOWN_ARROW_PRESSED_BOTTOM_OFFSET_INC;
1397 part { name: "down.image.arrow.proxy";
1400 clip_to: "down.image.arrow.clipper";
1401 description { state: "default" 0.0;
1402 source: "down.image.arrow";
1403 proxy.source_clip: 0;
1404 rel1.to: "down.image.arrow";
1405 rel2.to: "down.image.arrow";
1408 part { name: "down.image.arrow.shadow.clipper";
1411 description { state: "default" 0.0;
1412 rel1.to: "down.image.arrow";
1413 rel2.to: "down.image.arrow";
1414 color: SPINNER_UP_DOWN_ARROW_SHADOW_DEFAULT_COLOR_INC;
1416 description { state: "pressed" 0.0;
1417 inherit: "default" 0.0;
1418 color: SPINNER_UP_DOWN_ARROW_SHADOW_PRESSED_COLOR_INC;
1421 part { name: "down.image.arrow.clipper";
1424 description { state: "default" 0.0;
1425 rel1.to: "down.image.arrow";
1426 rel2.to: "down.image.arrow";
1427 color: SPINNER_UP_DOWN_ARROW_DEFAULT_COLOR_INC;
1429 description { state: "pressed" 0.0;
1430 inherit: "default" 0.0;
1431 color: SPINNER_UP_DOWN_ARROW_PRESSED_COLOR_INC;
1434 part { name: "elm.text";
1437 description { state: "default" 0.0;
1439 color: SPINNER_ENTRY_TEXT_COLOR_INC;
1440 min: 0 SPINNER_TEXT_HEIGHT_INC;
1441 max: -1 SPINNER_TEXT_HEIGHT_INC;
1443 font: "Tizen:style=Regular";
1444 size: SPINNER_ENTRY_TEXT_SIZE_INC;
1447 text_class: "tizen";
1450 description { state: "active" 0.0;
1451 inherit: "default" 0.0;
1455 part { name: "button.events";
1458 description { state: "default" 0.0;
1459 rel1.to: "elm.text";
1460 rel2.to: "elm.text";
1465 part { name: "elm.swallow.entry";
1467 description { state: "default" 0.0;
1469 rel1.to: "elm.text";
1470 rel2.to: "elm.text";
1473 description { state: "active" 0.0;
1474 inherit: "default" 0.0;
1478 part { name: "up.btn";
1482 description { state: "default" 0.0;
1483 rel1.to: "up.image";
1484 rel2.to: "up.image";
1488 part { name: "down.btn";
1492 description { state: "default" 0.0;
1493 rel1.to: "down.image";
1494 rel2.to: "down.image";
1498 part { name: "disabler";
1500 description { state: "default" 0.0;
1504 description { state: "disabled" 0.0;
1505 inherit: "default" 0.0;
1511 program { name: "text_show";
1512 signal: "elm,state,text,visible";
1514 action: STATE_SET "visible" 0.0;
1517 program { name: "text_hide";
1518 signal: "elm,state,text,hidden";
1520 action: STATE_SET "default" 0.0;
1523 program { name: "dec_start_signal_emit";
1524 action: SIGNAL_EMIT "elm,action,decrement,start" "";
1526 program { name: "dec_stop_signal_emit";
1527 action: SIGNAL_EMIT "elm,action,decrement,stop" "";
1529 program { name: "inc_start_signal_emit";
1530 action: SIGNAL_EMIT "elm,action,increment,start" "";
1532 program { name: "inc_stop_signal_emit";
1533 action: SIGNAL_EMIT "elm,action,increment,stop" "";
1535 program { name: "dec";
1536 signal: "mouse,down,1*";
1538 action: STATE_SET "pressed" 0.0;
1539 target: "down.image";
1540 target: "down.image.arrow.shadow.proxy";
1541 target: "down.image.arrow.shadow.clipper";
1542 target: "down.image.arrow.clipper";
1543 after: "dec_start_signal_emit";
1545 program { name: "dec2";
1546 signal: "mouse,up,1";
1548 action: STATE_SET "default" 0.0;
1549 target: "down.image";
1550 target: "down.image.arrow.shadow.proxy";
1551 target: "down.image.arrow.shadow.clipper";
1552 target: "down.image.arrow.clipper";
1553 after: "dec_stop_signal_emit";
1555 program { name: "inc";
1556 signal: "mouse,down,1*";
1558 action: STATE_SET "pressed" 0.0;
1560 target: "up.image.arrow.shadow.proxy";
1561 target: "up.image.arrow.shadow.clipper";
1562 target: "up.image.arrow.clipper";
1563 after: "inc_start_signal_emit";
1565 program { name: "inc2";
1566 signal: "mouse,up,1";
1568 action: STATE_SET "default" 0.0;
1570 target: "up.image.arrow";
1571 target: "up.image.arrow.shadow.proxy";
1572 target: "up.image.arrow.shadow.clipper";
1573 target: "up.image.arrow.clipper";
1574 after: "inc_stop_signal_emit";
1576 program { name: "disable";
1577 signal: "elm,state,disabled";
1579 action: STATE_SET "disabled" 0.0;
1582 program { name: "enable";
1583 signal: "elm,state,enabled";
1585 action: STATE_SET "default" 0.0;
1588 program { name: "active";
1589 signal: "elm,state,active";
1591 action: STATE_SET "active" 0.0;
1593 target: "elm.swallow.entry";
1595 program { name: "inactive";
1596 signal: "elm,state,inactive";
1598 action: STATE_SET "default" 0.0;
1600 target: "elm.swallow.entry";
1602 program { name: "toggle_text";
1603 signal: "mouse,up,1";
1604 source: "button.events";
1605 action: SIGNAL_EMIT "elm,action,entry,toggle" "";
1607 program { name: "up_touch_snd";
1608 signal: "mouse,clicked,1";
1610 action: PLAY_SAMPLE "touch_sound" 1.0;
1612 program { name: "down_ouch_snd";
1613 signal: "mouse,clicked,1";
1615 action: PLAY_SAMPLE "touch_sound" 1.0;
1620 group { name: "elm/spinner/base/datetime_popup/ampm";
1621 inherit: "elm/spinner/base/default";
1624 part { name: "block.events";
1626 description { state: "default" 0.0;
1628 rel1.to: "elm.text";
1629 rel2.to: "elm.text";
1635 group { name: "elm/layout/datetime_popup/date_layout";
1641 description { state: "default" 0.0;
1643 min: DATETIME_POPUP_CONTENT_SIZE_INC;
1644 max: DATETIME_POPUP_CONTENT_SIZE_INC;
1647 part { name: "top.padding";
1650 description { state: "default" 0.0;
1662 part { name: "bottom.padding";
1665 description { state: "default" 0.0;
1677 part { name: "left.padding";
1680 description { state: "default" 0.0;
1682 min: DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC 0;
1683 max: DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC -1;
1687 to_y: "top.padding";
1692 to_y: "bottom.padding";
1697 part { name: "right.padding";
1700 description { state: "default" 0.0;
1702 min: DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC 0;
1703 max: DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC -1;
1708 to_y: "top.padding";
1713 to_y: "bottom.padding";
1718 part { name: "field0";
1721 description { state: "default" 0.0;
1722 min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0;
1727 rel2.to: "left.padding";
1731 part { name: "center.padding1";
1734 description { state: "default" 0.0;
1736 min: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 0;
1737 max: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC -1;
1746 part { name: "field1";
1749 description { state: "default" 0.0;
1750 min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0;
1753 to: "center.padding1";
1757 to: "center.padding2";
1761 part { name: "center.padding2";
1764 description { state: "default" 0.0;
1766 min: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 0;
1767 max: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC -1;
1776 part { name: "field2";
1779 description { state: "default" 0.0;
1780 min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0;
1781 rel1.to: "right.padding";
1784 to: "right.padding";
1792 description { state: "default" 0.0;
1796 description { state: "visible" 0.0;
1797 inherit: "default" 0.0;
1804 group { name: "elm/layout/datetime_popup/time_layout";
1805 inherit: "elm/layout/datetime_popup/date_layout";
1808 part { name: "hour.minute.color";
1811 description { state: "default" 0.0;
1812 rel1.to: "center.padding1";
1813 rel2.to: "center.padding1";
1814 color: DATETIME_POPUP_CONTENT_FIELD_TEXT_COLOR_INC;
1816 font: "Tizen:style=Regular";
1817 size: DATETIME_POPUP_CONTENT_FIELD_TEXT_SIZE_INC;
1819 text_class: "tizen";