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";
1276 description { state: "pressed" 0.0;
1277 inherit: "default" 0.0;
1278 image.normal: "00_picker_arrow_up.png";
1281 part { name: "down.image";
1283 description { state: "default" 0.0;
1285 min: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
1286 max: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
1288 normal: "00_button_01.png";
1289 border: SPINNER_UP_DOWN_IMAGE_BORDER_SIZE_INC;
1293 description { state: "pressed" 0.0;
1294 inherit: "default" 0.0;
1295 image.normal: "00_button_01_press.png";
1298 part { name: "down.image.arrow";
1300 description { state: "default" 0.0;
1301 rel1.to: "down.image";
1302 rel2.to: "down.image";
1303 min: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
1304 max: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
1305 image.normal: "00_picker_arrow_down.png";
1307 description { state: "pressed" 0.0;
1308 inherit: "default" 0.0;
1309 image.normal: "00_picker_arrow_down.png";
1312 part { name: "elm.text";
1315 description { state: "default" 0.0;
1317 color: SPINNER_ENTRY_TEXT_COLOR_INC;
1318 min: 0 SPINNER_TEXT_HEIGHT_INC;
1319 max: -1 SPINNER_TEXT_HEIGHT_INC;
1321 font: "Tizen:style=Regular";
1322 size: SPINNER_ENTRY_TEXT_SIZE_INC;
1325 text_class: "tizen";
1328 description { state: "active" 0.0;
1329 inherit: "default" 0.0;
1333 part { name: "button.events";
1336 description { state: "default" 0.0;
1337 rel1.to: "elm.text";
1338 rel2.to: "elm.text";
1343 part { name: "elm.swallow.entry";
1345 description { state: "default" 0.0;
1347 rel1.to: "elm.text";
1348 rel2.to: "elm.text";
1351 description { state: "active" 0.0;
1352 inherit: "default" 0.0;
1356 part { name: "up.btn";
1360 description { state: "default" 0.0;
1361 rel1.to: "up.image";
1362 rel2.to: "up.image";
1366 part { name: "down.btn";
1370 description { state: "default" 0.0;
1371 rel1.to: "down.image";
1372 rel2.to: "down.image";
1376 part { name: "disabler";
1378 description { state: "default" 0.0;
1382 description { state: "disabled" 0.0;
1383 inherit: "default" 0.0;
1389 program { name: "text_show";
1390 signal: "elm,state,text,visible";
1392 action: STATE_SET "visible" 0.0;
1395 program { name: "text_hide";
1396 signal: "elm,state,text,hidden";
1398 action: STATE_SET "default" 0.0;
1401 program { name: "dec_start_signal_emit";
1402 action: SIGNAL_EMIT "elm,action,decrement,start" "";
1404 program { name: "dec_stop_signal_emit";
1405 action: SIGNAL_EMIT "elm,action,decrement,stop" "";
1407 program { name: "inc_start_signal_emit";
1408 action: SIGNAL_EMIT "elm,action,increment,start" "";
1410 program { name: "inc_stop_signal_emit";
1411 action: SIGNAL_EMIT "elm,action,increment,stop" "";
1413 program { name: "dec";
1414 signal: "mouse,down,1*";
1416 action: STATE_SET "pressed" 0.0;
1417 target: "down.image";
1418 target: "down.image.arrow";
1419 after: "dec_start_signal_emit";
1421 program { name: "dec2";
1422 signal: "mouse,up,1";
1424 action: STATE_SET "default" 0.0;
1425 target: "down.image";
1426 target: "down.image.arrow";
1427 after: "dec_stop_signal_emit";
1429 program { name: "inc";
1430 signal: "mouse,down,1*";
1432 action: STATE_SET "pressed" 0.0;
1434 target: "up.image.arrow";
1435 after: "inc_start_signal_emit";
1437 program { name: "inc2";
1438 signal: "mouse,up,1";
1440 action: STATE_SET "default" 0.0;
1442 target: "up.image.arrow";
1443 after: "inc_stop_signal_emit";
1445 program { name: "disable";
1446 signal: "elm,state,disabled";
1448 action: STATE_SET "disabled" 0.0;
1451 program { name: "enable";
1452 signal: "elm,state,enabled";
1454 action: STATE_SET "default" 0.0;
1457 program { name: "active";
1458 signal: "elm,state,active";
1460 action: STATE_SET "active" 0.0;
1462 target: "elm.swallow.entry";
1464 program { name: "inactive";
1465 signal: "elm,state,inactive";
1467 action: STATE_SET "default" 0.0;
1469 target: "elm.swallow.entry";
1471 program { name: "toggle_text";
1472 signal: "mouse,up,1";
1473 source: "button.events";
1474 action: SIGNAL_EMIT "elm,action,entry,toggle" "";
1476 program { name: "up_touch_snd";
1477 signal: "mouse,clicked,1";
1479 action: PLAY_SAMPLE "touch_sound" 1.0;
1481 program { name: "down_ouch_snd";
1482 signal: "mouse,clicked,1";
1484 action: PLAY_SAMPLE "touch_sound" 1.0;
1489 group { name: "elm/spinner/base/datetime_popup/ampm";
1490 inherit: "elm/spinner/base/default";
1493 part { name: "block.events";
1495 description { state: "default" 0.0;
1497 rel1.to: "elm.text";
1498 rel2.to: "elm.text";
1504 group { name: "elm/layout/datetime_popup/date_layout";
1510 description { state: "default" 0.0;
1512 min: DATETIME_POPUP_CONTENT_SIZE_INC;
1513 max: DATETIME_POPUP_CONTENT_SIZE_INC;
1516 part { name: "top.padding";
1519 description { state: "default" 0.0;
1531 part { name: "bottom.padding";
1534 description { state: "default" 0.0;
1546 part { name: "left.padding";
1549 description { state: "default" 0.0;
1551 min: DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC 0;
1552 max: DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC -1;
1556 to_y: "top.padding";
1561 to_y: "bottom.padding";
1566 part { name: "right.padding";
1569 description { state: "default" 0.0;
1571 min: DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC 0;
1572 max: DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC -1;
1577 to_y: "top.padding";
1582 to_y: "bottom.padding";
1587 part { name: "field0";
1590 description { state: "default" 0.0;
1591 min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0;
1596 rel2.to: "left.padding";
1600 part { name: "center.padding1";
1603 description { state: "default" 0.0;
1605 min: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 0;
1606 max: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC -1;
1615 part { name: "field1";
1618 description { state: "default" 0.0;
1619 min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0;
1622 to: "center.padding1";
1626 to: "center.padding2";
1630 part { name: "center.padding2";
1633 description { state: "default" 0.0;
1635 min: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 0;
1636 max: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC -1;
1645 part { name: "field2";
1648 description { state: "default" 0.0;
1649 min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0;
1650 rel1.to: "right.padding";
1653 to: "right.padding";
1661 description { state: "default" 0.0;
1665 description { state: "visible" 0.0;
1666 inherit: "default" 0.0;
1673 group { name: "elm/layout/datetime_popup/time_layout";
1674 inherit: "elm/layout/datetime_popup/date_layout";
1677 part { name: "hour.minute.color";
1680 description { state: "default" 0.0;
1681 rel1.to: "center.padding1";
1682 rel2.to: "center.padding1";
1683 color: DATETIME_POPUP_CONTENT_FIELD_TEXT_COLOR_INC;
1685 font: "Tizen:style=Regular";
1686 size: DATETIME_POPUP_CONTENT_FIELD_TEXT_SIZE_INC;
1688 text_class: "tizen";