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; \
44 description { state: "enable" 0.0;\
45 inherit: "default" 0.0;\
46 min: DATETIME_FIELD_PICKER_PADDING_SIZE_INC;\
50 name: "left.padding"#_pos; \
55 description { state: "default" 0.0; \
64 to: "picker.padding"#_pos;\
68 to: "picker.padding"#_pos;\
71 description { state: "enable" 0.0;\
72 inherit: "default" 0.0;\
73 min: DATETIME_FIELD_LEFT_PADDING_SIZE_INC;\
77 name: "right.padding"#_pos; \
83 state: "default" 0.0;\
99 description { state: "enable" 0.0;\
100 inherit: "default" 0.0;\
101 min: DATETIME_FIELD_RIGHT_PADDING_SIZE_INC;\
106 name: "field_"#_pos"enabled";\
107 signal: "field"#_pos",enable";\
109 action: STATE_SET "enable" 0.0;\
110 target: "left.padding"#_pos;\
111 target: "right.padding"#_pos;\
112 target: "field"#_pos;\
115 name: "field_"#_pos"disabled";\
116 signal: "field"#_pos",disable";\
118 action: STATE_SET "default" 0.0;\
119 target: "left.padding"#_pos;\
120 target: "right.padding"#_pos;\
121 target: "field"#_pos;\
125 #define DATETIME_FIELD(_pos) \
127 name: "field"#_pos; \
132 description { state: "default" 0.0; \
140 to: "left.padding"#_pos;\
144 to: "left.padding"#_pos;\
147 description { state: "enable" 0.0;\
148 inherit: "default" 0.0;\
150 min: DATETIME_FIELD_MIN_SIZE_INC;\
154 name: "separator"#_pos; \
160 state: "default" 0.0;\
168 to: "right.padding"#_pos;\
172 to: "right.padding"#_pos;\
174 color: DATETIME_SEPARATOR_TEXT_COLOR_INC;\
176 font: "Tizen:style=Regular";\
177 size: DATETIME_SEPARATOR_TEXT_FONT_SIZE_INC;\
179 text_class: "tizen";\
182 description { state: "enable" 0.0;\
183 inherit: "default" 0.0;\
185 min: DATETIME_SEPARATOR_MIN_SIZE_INC;\
190 name: "separator"#_pos",enabled";\
191 signal: "field"#_pos",separator,enable";\
193 action: STATE_SET "enable" 0.0;\
194 target: "separator"#_pos;\
197 name: "separator"#_pos",disabled";\
198 signal: "field"#_pos",separator,disable";\
200 action: STATE_SET "default" 0.0;\
201 target: "separator"#_pos;\
205 #define DATETIME_PICKER_PADDING_PROGRAMS \
207 name: "datepicker_starting_field2_padding";\
208 signal: "datepicker,starting,field2";\
211 set_state(PART:"picker.padding2", "enable", 0.0);\
212 set_state(PART:"picker.padding3", "default", 0.0);\
216 name: "datepicker_starting_field3_padding";\
217 signal: "datepicker,starting,field3";\
220 set_state(PART:"picker.padding3", "enable", 0.0);\
221 set_state(PART:"picker.padding2", "default", 0.0);\
225 name: "timepicker_starting_field3_padding";\
226 signal: "timepicker,starting,field3";\
229 set_state(PART:"picker.padding2", "default", 0.0);\
230 set_state(PART:"picker.padding3", "enable", 0.0);\
234 name: "timepicker_starting_field0_padding";\
235 signal: "timepicker,starting,field0";\
237 action: STATE_SET "default" 0.0;\
238 target: "picker.padding0";\
241 name: "datepicker_starting_field1_padding";\
242 signal: "datepicker,starting,field1";\
244 action: STATE_SET "default" 0.0;\
245 target: "picker.padding0";\
246 target: "picker.padding2";\
247 target: "picker.padding3";\
250 name: "datepicker_starting_field4_padding";\
251 signal: "datepicker,starting,field4";\
253 action: STATE_SET "default" 0.0;\
254 target: "picker.padding0";\
255 target: "picker.padding2";\
256 target: "picker.padding3";\
260 #define DATETIME_DATEPICKER_BG \
262 name: "date.picker.left.pad"; \
265 description { state: "default" 0.0; \
272 to: "left.padding0";\
276 to: "left.padding0";\
279 description { state: "datefirst" 0.0;\
280 inherit: "default" 0.0;\
281 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
283 description { state: "timefirst" 0.0;\
284 inherit: "default" 0.0;\
285 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
288 to: "left.padding3";\
292 to: "left.padding3";\
295 description { state: "timefirst24hr" 0.0;\
296 inherit: "default" 0.0;\
297 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
300 to: "left.padding2";\
304 to: "left.padding2";\
309 name: "date.picker.right.pad"; \
312 description { state: "default" 0.0; \
326 description { state: "datefirst" 0.0;\
327 inherit: "default" 0.0;\
328 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
330 description { state: "timefirst" 0.0;\
331 inherit: "default" 0.0;\
332 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
342 description { state: "timefirst24hr" 0.0;\
343 inherit: "default" 0.0;\
344 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
356 name: "date.picker.bg"; \
358 description { state: "default" 0.0; \
363 normal: "00_button_01.png";\
364 border: DATETIME_BG_IMAGE_BORDER_INC;\
369 to: "date.picker.left.pad";\
373 to: "date.picker.right.pad";\
376 description { state: "datefirst" 0.0;\
377 inherit: "default" 0.0;\
380 description { state: "timefirst" 0.0;\
381 inherit: "default" 0.0;\
384 description { state: "timefirst24hr" 0.0;\
385 inherit: "default" 0.0;\
388 description { state: "datefirst_press" 0.0;\
389 inherit: "datefirst" 0.0;\
391 normal: "00_button_01_press.png";\
392 border: DATETIME_BG_IMAGE_BORDER_INC;\
396 description { state: "timefirst_press" 0.0;\
397 inherit: "timefirst" 0.0;\
399 normal: "00_button_01_press.png";\
400 border: DATETIME_BG_IMAGE_BORDER_INC;\
404 description { state: "timefirst24hr_press" 0.0;\
405 inherit: "timefirst24hr" 0.0;\
407 normal: "00_button_01_press.png";\
408 border: DATETIME_BG_IMAGE_BORDER_INC;\
414 name: "datepicker.focus";\
417 state: "default" 0.0;\
419 rel1.to : "date.picker.bg";\
420 rel2.to : "date.picker.bg";\
422 normal: "00_button_01_focus.png";\
423 border: DATETIME_BG_IMAGE_BORDER_INC;\
427 description { state: "focus" 0.0;\
428 inherit: "default" 0.0;\
434 name: "datepicker_starting_field0";\
435 signal: "datepicker,starting,field0";\
437 action: STATE_SET "datefirst" 0.0;\
438 target: "date.picker.bg";\
439 target: "date.picker.left.pad";\
440 target: "date.picker.right.pad";\
443 name: "datepicker_starting_field3";\
444 signal: "datepicker,starting,field3";\
446 action: STATE_SET "timefirst" 0.0;\
447 target: "date.picker.bg";\
448 target: "date.picker.left.pad";\
449 target: "date.picker.right.pad";\
452 name: "datepicker_starting_field2";\
453 signal: "datepicker,starting,field2";\
455 action: STATE_SET "timefirst24hr" 0.0;\
456 target: "date.picker.bg";\
457 target: "date.picker.left.pad";\
458 target: "date.picker.right.pad";\
461 name: "datepicker_starting_field1";\
462 signal: "datepicker,starting,field1";\
464 action: STATE_SET "default" 0.0;\
465 target: "date.picker.bg";\
466 target: "date.picker.left.pad";\
467 target: "date.picker.right.pad";\
470 name: "datepicker_starting_field4";\
471 signal: "datepicker,starting,field4";\
473 action: STATE_SET "default" 0.0;\
474 target: "date.picker.bg";\
475 target: "date.picker.left.pad";\
476 target: "date.picker.right.pad";\
479 name: "datepicker_starting_field5";\
480 signal: "datepicker,starting,field5";\
482 action: STATE_SET "default" 0.0;\
483 target: "date.picker.bg";\
484 target: "date.picker.left.pad";\
485 target: "date.picker.right.pad";\
488 name: "datepicker_mouse_down";\
489 signal: "mouse,down,1";\
490 source: "date.picker.bg";\
494 get_state(PART:"date.picker.bg", st, 30, vl);\
495 if (!strcmp(st, "datefirst")) {\
496 set_state(PART:"date.picker.bg", "datefirst_press", 0.0);\
498 else if (!strcmp(st, "timefirst")) {\
499 set_state(PART:"date.picker.bg", "timefirst_press", 0.0);\
501 else if (!strcmp(st, "timefirst24hr")) {\
502 set_state(PART:"date.picker.bg", "timefirst24hr_press", 0.0);\
507 name: "datepicker_mouse_up";\
508 signal: "mouse,up,1";\
509 source: "date.picker.bg";\
513 get_state(PART:"date.picker.bg", st, 30, vl);\
514 if (!strcmp(st, "datefirst_press")) {\
515 set_state(PART:"date.picker.bg", "datefirst", 0.0);\
517 else if (!strcmp(st, "timefirst_press")) {\
518 set_state(PART:"date.picker.bg", "timefirst", 0.0);\
520 else if (!strcmp(st, "timefirst24hr_press")) {\
521 set_state(PART:"date.picker.bg", "timefirst24hr", 0.0);\
526 name: "datepicker_focus";\
527 signal: "elm,action,focus_highlight,show";\
529 action: STATE_SET "focus" 0.0;\
530 target: "datepicker.focus";\
533 name: "datepicker_unfocus";\
534 signal: "elm,action,focus_highlight,hide";\
536 action: STATE_SET "default" 0.0;\
537 target: "datepicker.focus";\
539 program { name: "datepicker_touch_snd";\
540 signal: "mouse,clicked,1";\
541 source: "date.picker.bg";\
542 action: PLAY_SAMPLE "touch_sound" 1.0;\
543 after: datepicker_show_signal;\
545 program { name: "datepicker_show_signal";\
546 action: SIGNAL_EMIT "datetime,datepicker,show" "";\
550 #define DATETIME_TIMEPICKER_BG \
552 name: "time.picker.left.pad"; \
555 description { state: "default" 0.0; \
562 to: "left.padding3";\
566 to: "left.padding3";\
569 description { state: "datefirst" 0.0;\
570 inherit: "default" 0.0;\
571 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
573 description { state: "timefirst" 0.0;\
574 inherit: "default" 0.0;\
575 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
578 to: "left.padding0";\
582 to: "left.padding0";\
585 description { state: "timefirst24hr" 0.0;\
586 inherit: "default" 0.0;\
587 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
590 to: "left.padding0";\
594 to: "left.padding0";\
599 name: "time.picker.right.pad"; \
602 description { state: "default" 0.0; \
609 to: "right.padding5";\
613 to: "right.padding5";\
616 description { state: "datefirst" 0.0;\
617 inherit: "default" 0.0;\
618 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
620 description { state: "timefirst" 0.0;\
621 inherit: "default" 0.0;\
622 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
625 to: "right.padding2";\
629 to: "right.padding2";\
632 description { state: "timefirst24hr" 0.0;\
633 inherit: "default" 0.0;\
634 min: DATETIME_PICKER_BG_PADDING_SIZE_INC;\
637 to: "right.padding1";\
641 to: "right.padding1";\
646 name: "time.picker.bg"; \
648 description { state: "default" 0.0; \
653 normal: "00_button_01.png";\
654 border: DATETIME_BG_IMAGE_BORDER_INC;\
659 to: "time.picker.left.pad";\
663 to: "time.picker.right.pad";\
666 description { state: "datefirst" 0.0;\
667 inherit: "default" 0.0;\
670 description { state: "timefirst" 0.0;\
671 inherit: "default" 0.0;\
674 description { state: "timefirst24hr" 0.0;\
675 inherit: "default" 0.0;\
678 description { state: "datefirst_press" 0.0;\
679 inherit: "datefirst" 0.0;\
681 normal: "00_button_01_press.png";\
682 border: DATETIME_BG_IMAGE_BORDER_INC;\
686 description { state: "timefirst_press" 0.0;\
687 inherit: "timefirst" 0.0;\
689 normal: "00_button_01_press.png";\
690 border: DATETIME_BG_IMAGE_BORDER_INC;\
694 description { state: "timefirst24hr_press" 0.0;\
695 inherit: "timefirst24hr" 0.0;\
697 normal: "00_button_01_press.png";\
698 border: DATETIME_BG_IMAGE_BORDER_INC;\
704 name: "timepicker.focus";\
707 state: "default" 0.0;\
709 rel1.to : "time.picker.bg";\
710 rel2.to : "time.picker.bg";\
712 normal: "00_button_01_focus.png";\
713 border: DATETIME_BG_IMAGE_BORDER_INC;\
717 description { state: "focus" 0.0;\
718 inherit: "default" 0.0;\
724 name: "timepicker_starting_field3";\
725 signal: "timepicker,starting,field3";\
731 get_state(PART:"field3", st, 30, vl);\
732 if (!strcmp(st, "enable")) {\
733 set_state(PART:"time.picker.bg", "datefirst", 0.0);\
734 set_state(PART:"time.picker.left.pad", "datefirst", 0.0);\
735 set_state(PART:"time.picker.right.pad", "datefirst", 0.0);\
740 name: "timepicker_starting_field0";\
741 signal: "timepicker,starting,field0";\
747 get_state(PART:"date.picker.bg", st, 30, vl);\
748 if (!strcmp(st, "timefirst24hr")) {\
749 set_state(PART:"time.picker.bg", "timefirst24hr", 0.0);\
750 set_state(PART:"time.picker.left.pad", "timefirst24hr", 0.0);\
751 set_state(PART:"time.picker.right.pad", "timefirst24hr", 0.0);\
754 set_state(PART:"time.picker.bg", "timefirst", 0.0);\
755 set_state(PART:"time.picker.left.pad", "timefirst", 0.0);\
756 set_state(PART:"time.picker.right.pad", "timefirst", 0.0);\
761 name: "timepicker_starting_field1";\
762 signal: "timepicker,starting,field1";\
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_field2";\
771 signal: "timepicker,starting,field2";\
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_field4";\
780 signal: "timepicker,starting,field4";\
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_starting_field5";\
789 signal: "timepicker,starting,field5";\
791 action: STATE_SET "default" 0.0;\
792 target: "time.picker.bg";\
793 target: "time.picker.left.pad";\
794 target: "time.picker.right.pad";\
797 name: "timepicker_mouse_down";\
798 signal: "mouse,down,1";\
799 source: "time.picker.bg";\
803 get_state(PART:"time.picker.bg", st, 30, vl);\
804 if (!strcmp(st, "datefirst")) {\
805 set_state(PART:"time.picker.bg", "datefirst_press", 0.0);\
807 else if (!strcmp(st, "timefirst")) {\
808 set_state(PART:"time.picker.bg", "timefirst_press", 0.0);\
810 else if (!strcmp(st, "timefirst24hr")) {\
811 set_state(PART:"time.picker.bg", "timefirst24hr_press", 0.0);\
816 name: "timepicker_mouse_up";\
817 signal: "mouse,up,1";\
818 source: "time.picker.bg";\
822 get_state(PART:"time.picker.bg", st, 30, vl);\
823 if (!strcmp(st, "datefirst_press")) {\
824 set_state(PART:"time.picker.bg", "datefirst", 0.0);\
826 else if (!strcmp(st, "timefirst_press")) {\
827 set_state(PART:"time.picker.bg", "timefirst", 0.0);\
829 else if (!strcmp(st, "timefirst24hr_press")) {\
830 set_state(PART:"time.picker.bg", "timefirst24hr", 0.0);\
835 name: "timepicker_bg_hide";\
836 signal: "datetime,timepicker,bg,hide";\
838 action: STATE_SET "default" 0.0;\
839 target: "time.picker.bg";\
840 target: "time.picker.left.pad";\
841 target: "time.picker.right.pad";\
844 name: "timepicker_focus";\
845 signal: "elm,action,focus_highlight,show";\
847 action: STATE_SET "focus" 0.0;\
848 target: "timepicker.focus";\
851 name: "timepicker_unfocus";\
852 signal: "elm,action,focus_highlight,hide";\
854 action: STATE_SET "default" 0.0;\
855 target: "timepicker.focus";\
857 program { name: "timepicker_touch_snd";\
858 signal: "mouse,clicked,1";\
859 source: "time.picker.bg";\
860 action: PLAY_SAMPLE "touch_sound" 1.0;\
861 after: timepicker_show_signal;\
863 program { name: "timepicker_show_signal";\
864 action: SIGNAL_EMIT "datetime,timepicker,show" "";\
868 group { name: "elm/datetime/base/default";
870 image: "00_button_01.png" COMP;
871 image: "00_button_01_press.png" COMP;
872 image: "00_button_01_focus.png" COMP;
880 state: "default" 0.0;
882 min: 0 DATETIME_WIDGET_HEIGHT;
883 max: -1 DATETIME_WIDGET_HEIGHT;
887 name: "left.padding";
893 state: "default" 0.0;
895 min: DATETIME_WIDGET_PADDING_SIZE_INC;
906 name: "right.padding";
912 state: "default" 0.0;
914 min: DATETIME_WIDGET_PADDING_SIZE_INC;
925 DATETIME_PADDING(0, "left.padding")
926 DATETIME_PADDING(1, "separator0")
927 DATETIME_PADDING(2, "separator1")
928 DATETIME_PADDING(3, "separator2")
929 DATETIME_PADDING(4, "separator3")
930 DATETIME_PADDING(5, "separator4")
932 DATETIME_DATEPICKER_BG
933 DATETIME_TIMEPICKER_BG
945 description { state: "default" 0.0;
946 color: 255 255 255 255;
948 description { state: "visible" 0.0;
949 inherit: "default" 0.0;
950 color: 255 255 255 102;
956 description { state: "default" 0.0;
962 description { state: "visible" 0.0;
963 inherit: "default" 0.0;
970 name: "disble_datetime";
971 signal: "elm,state,disabled";
973 action: STATE_SET "visible" 0.0;
978 name: "enable_datetime";
979 signal: "elm,state,enabled";
981 action: STATE_SET "default" 0.0;
985 DATETIME_PICKER_PADDING_PROGRAMS
989 group { name: "elm/datetime/base/pickerstyle";
992 #define DATETIME_FIELD_STYLE1(_pos, _after) \
994 name: "field"#_pos; \
999 description { state: "default" 0.0; \
1006 to: "separator"#_after;\
1010 to: "separator"#_after;\
1013 description { state: "enable" 0.0;\
1014 inherit: "default" 0.0;\
1016 min: DATETIME_FIELD_MIN_SIZE_INC;\
1021 name: "field_"#_pos"enabled";\
1022 signal: "field"#_pos",enable";\
1024 action: STATE_SET "enable" 0.0;\
1025 target: "field"#_pos;\
1028 name: "field_"#_pos"disabled";\
1029 signal: "field"#_pos",disable";\
1031 action: STATE_SET "default" 0.0;\
1032 target: "field"#_pos;\
1036 #define DATETIME_SEPARATOR_STYLE1(_pos) \
1038 name: "separator"#_pos; \
1041 clip_to: "clipper";\
1044 state: "default" 0.0;\
1046 min: DATETIME_SEPARATOR_MIN_SIZE_INC;\
1047 max: DATETIME_SEPARATOR_MIN_SIZE_INC;\
1058 color: DATETIME_SEPARATOR_TEXT_COLOR_INC;\
1060 font: "Tizen:style=Regular";\
1061 size: DATETIME_SEPARATOR_TEXT_FONT_SIZE_INC;\
1063 text_class: "tizen";\
1066 description { state: "enable" 0.0;\
1067 inherit: "default" 0.0;\
1070 description { state: "hide" 0.0;\
1071 inherit: "default" 0.0;\
1078 name: "separator"#_pos",enabled";\
1079 signal: "field"#_pos",separator,enable";\
1081 action: STATE_SET "enable" 0.0;\
1082 target: "separator"#_pos;\
1085 name: "separator"#_pos",disabled";\
1086 signal: "field"#_pos",separator,disable";\
1091 get_state(PART:"separator"#_pos, st, 30, vl);\
1092 if (strcmp(st, "hide")) \
1094 set_state(PART:"separator"#_pos, "default", 0.0);\
1099 name: "separator"#_pos",hide";\
1100 signal: "field"#_pos",disable";\
1102 action: STATE_SET "hide" 0.0;\
1103 target: "separator"#_pos;\
1108 group { name: "elm/datetime/base/style1";
1115 state: "default" 0.0;
1120 name: "left.padding";
1126 state: "default" 0.0;
1128 min: DATETIME_LEFT_PADDING_SIZE_INC;
1129 max: DATETIME_LEFT_PADDING_SIZE_INC;
1146 state: "default" 0.0;
1153 to_x: "left.padding";
1157 to_x: "left.padding";
1160 description { state: "enable" 0.0;
1161 inherit: "default" 0.0;
1163 min: DATETIME_FIELD_MIN_SIZE_INC;
1166 DATETIME_SEPARATOR_STYLE1(0)
1167 DATETIME_FIELD_STYLE1(1, 0)
1168 DATETIME_SEPARATOR_STYLE1(1)
1169 DATETIME_FIELD_STYLE1(2, 1)
1170 DATETIME_SEPARATOR_STYLE1(2)
1171 DATETIME_FIELD_STYLE1(3, 2)
1172 DATETIME_SEPARATOR_STYLE1(3)
1173 DATETIME_FIELD_STYLE1(4, 3)
1174 DATETIME_SEPARATOR_STYLE1(4)
1175 DATETIME_FIELD_STYLE1(5, 4)
1176 DATETIME_SEPARATOR_STYLE1(5)
1178 name: "right.padding";
1184 state: "default" 0.0;
1186 min: DATETIME_LEFT_PADDING_SIZE_INC;
1187 max: DATETIME_LEFT_PADDING_SIZE_INC;
1200 description { state: "default" 0.0;
1201 color: 255 255 255 255;
1203 description { state: "visible" 0.0;
1204 inherit: "default" 0.0;
1205 color: 255 255 255 102;
1211 description { state: "default" 0.0;
1215 description { state: "visible" 0.0;
1216 inherit: "default" 0.0;
1223 name: "disble_datetime";
1224 signal: "elm,state,disabled";
1226 action: STATE_SET "visible" 0.0;
1231 name: "enable_datetime";
1232 signal: "elm,state,enabled";
1234 action: STATE_SET "default" 0.0;
1239 name: "field0,enabled";
1240 signal: "field0,enable";
1242 action: STATE_SET "enable" 0.0;
1246 name: "field0,disabled";
1247 signal: "field0,disable";
1249 action: STATE_SET "default" 0.0;
1254 group { name: "elm/spinner/base/default";
1255 alias: "elm/spinner/base/datetime_popup";
1256 alias: "elm/spinner/base/datetime_popup/year";
1257 alias: "elm/spinner/base/datetime_popup/month";
1258 alias: "elm/spinner/base/datetime_popup/date";
1259 alias: "elm/spinner/base/datetime_popup/hour";
1260 alias: "elm/spinner/base/datetime_popup/minute";
1262 image: "00_picker_arrow_down.png" COMP;
1263 image: "00_picker_arrow_up.png" COMP;
1264 image: "00_button_01.png" COMP;
1265 image: "00_button_01_press.png" COMP;
1271 description { state: "default" 0.0;
1275 part { name: "up.image";
1277 description { state: "default" 0.0;
1279 min: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
1280 max: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
1282 normal: "00_button_01.png";
1283 border: SPINNER_UP_DOWN_IMAGE_BORDER_SIZE_INC;
1287 description { state: "pressed" 0.0;
1288 inherit: "default" 0.0;
1289 image.normal: "00_button_01_press.png";
1292 part { name: "up.image.arrow";
1294 description { state: "default" 0.0;
1295 rel1.to: "up.image";
1296 rel2.to: "up.image";
1297 min: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
1298 max: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
1299 image.normal: "00_picker_arrow_up.png";
1302 part { name: "up.image.arrow.shadow.proxy";
1305 clip_to: "up.image.arrow.shadow.clipper";
1306 description { state: "default" 0.0;
1307 source: "up.image.arrow";
1308 proxy.source_clip: 0;
1310 to: "up.image.arrow";
1311 offset: SPINNER_UP_DOWN_ARROW_DEFAULT_TOP_OFFSET_INC;
1314 to: "up.image.arrow";
1315 offset: SPINNER_UP_DOWN_ARROW_DEFAULT_BOTTOM_OFFSET_INC;
1318 description { state: "pressed" 0.0;
1319 inherit: "default" 0.0;
1321 to: "up.image.arrow";
1322 offset: SPINNER_UP_DOWN_ARROW_PRESSED_TOP_OFFSET_INC;
1325 to: "up.image.arrow";
1326 offset: SPINNER_UP_DOWN_ARROW_PRESSED_BOTTOM_OFFSET_INC;
1330 part { name: "up.image.arrow.proxy";
1333 clip_to: "up.image.arrow.clipper";
1334 description { state: "default" 0.0;
1335 source: "up.image.arrow";
1336 proxy.source_clip: 0;
1337 rel1.to: "up.image.arrow";
1338 rel2.to: "up.image.arrow";
1341 part { name: "up.image.arrow.shadow.clipper";
1344 description { state: "default" 0.0;
1345 rel1.to: "up.image.arrow";
1346 rel2.to: "up.image.arrow";
1347 color: SPINNER_UP_DOWN_ARROW_SHADOW_DEFAULT_COLOR_INC;
1349 description { state: "pressed" 0.0;
1350 inherit: "default" 0.0;
1351 color: SPINNER_UP_DOWN_ARROW_SHADOW_PRESSED_COLOR_INC;
1354 part { name: "up.image.arrow.clipper";
1357 description { state: "default" 0.0;
1358 rel1.to: "up.image.arrow";
1359 rel2.to: "up.image.arrow";
1360 color: SPINNER_UP_DOWN_ARROW_DEFAULT_COLOR_INC;
1362 description { state: "pressed" 0.0;
1363 inherit: "default" 0.0;
1364 color: SPINNER_UP_DOWN_ARROW_PRESSED_COLOR_INC;
1367 part { name: "down.image";
1369 description { state: "default" 0.0;
1371 min: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
1372 max: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
1374 normal: "00_button_01.png";
1375 border: SPINNER_UP_DOWN_IMAGE_BORDER_SIZE_INC;
1379 description { state: "pressed" 0.0;
1380 inherit: "default" 0.0;
1381 image.normal: "00_button_01_press.png";
1384 part { name: "down.image.arrow";
1386 description { state: "default" 0.0;
1387 rel1.to: "down.image";
1388 rel2.to: "down.image";
1389 min: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
1390 max: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
1391 image.normal: "00_picker_arrow_down.png";
1394 part { name: "down.image.arrow.shadow.proxy";
1397 clip_to: "down.image.arrow.shadow.clipper";
1398 description { state: "default" 0.0;
1399 source: "down.image.arrow";
1400 proxy.source_clip: 0;
1402 to: "down.image.arrow";
1403 offset: SPINNER_UP_DOWN_ARROW_DEFAULT_TOP_OFFSET_INC;
1406 to: "down.image.arrow";
1407 offset: SPINNER_UP_DOWN_ARROW_DEFAULT_BOTTOM_OFFSET_INC;
1410 description { state: "pressed" 0.0;
1411 inherit: "default" 0.0;
1413 to: "down.image.arrow";
1414 offset: SPINNER_UP_DOWN_ARROW_PRESSED_TOP_OFFSET_INC;
1417 to: "down.image.arrow";
1418 offset: SPINNER_UP_DOWN_ARROW_PRESSED_BOTTOM_OFFSET_INC;
1422 part { name: "down.image.arrow.proxy";
1425 clip_to: "down.image.arrow.clipper";
1426 description { state: "default" 0.0;
1427 source: "down.image.arrow";
1428 proxy.source_clip: 0;
1429 rel1.to: "down.image.arrow";
1430 rel2.to: "down.image.arrow";
1433 part { name: "down.image.arrow.shadow.clipper";
1436 description { state: "default" 0.0;
1437 rel1.to: "down.image.arrow";
1438 rel2.to: "down.image.arrow";
1439 color: SPINNER_UP_DOWN_ARROW_SHADOW_DEFAULT_COLOR_INC;
1441 description { state: "pressed" 0.0;
1442 inherit: "default" 0.0;
1443 color: SPINNER_UP_DOWN_ARROW_SHADOW_PRESSED_COLOR_INC;
1446 part { name: "down.image.arrow.clipper";
1449 description { state: "default" 0.0;
1450 rel1.to: "down.image.arrow";
1451 rel2.to: "down.image.arrow";
1452 color: SPINNER_UP_DOWN_ARROW_DEFAULT_COLOR_INC;
1454 description { state: "pressed" 0.0;
1455 inherit: "default" 0.0;
1456 color: SPINNER_UP_DOWN_ARROW_PRESSED_COLOR_INC;
1459 part { name: "elm.text";
1462 description { state: "default" 0.0;
1464 color: SPINNER_ENTRY_TEXT_COLOR_INC;
1465 min: 0 SPINNER_TEXT_HEIGHT_INC;
1466 max: -1 SPINNER_TEXT_HEIGHT_INC;
1468 font: "Tizen:style=Regular";
1469 size: SPINNER_ENTRY_TEXT_SIZE_INC;
1472 text_class: "tizen";
1475 description { state: "active" 0.0;
1476 inherit: "default" 0.0;
1480 part { name: "button.events";
1483 description { state: "default" 0.0;
1484 rel1.to: "elm.text";
1485 rel2.to: "elm.text";
1490 part { name: "elm.swallow.entry";
1492 description { state: "default" 0.0;
1494 rel1.to: "elm.text";
1495 rel2.to: "elm.text";
1498 description { state: "active" 0.0;
1499 inherit: "default" 0.0;
1503 part { name: "up.btn";
1507 description { state: "default" 0.0;
1508 rel1.to: "up.image";
1509 rel2.to: "up.image";
1513 part { name: "down.btn";
1517 description { state: "default" 0.0;
1518 rel1.to: "down.image";
1519 rel2.to: "down.image";
1523 part { name: "disabler";
1525 description { state: "default" 0.0;
1529 description { state: "disabled" 0.0;
1530 inherit: "default" 0.0;
1536 program { name: "text_show";
1537 signal: "elm,state,text,visible";
1539 action: STATE_SET "visible" 0.0;
1542 program { name: "text_hide";
1543 signal: "elm,state,text,hidden";
1545 action: STATE_SET "default" 0.0;
1548 program { name: "dec_start_signal_emit";
1549 action: SIGNAL_EMIT "elm,action,decrement,start" "";
1551 program { name: "dec_stop_signal_emit";
1552 action: SIGNAL_EMIT "elm,action,decrement,stop" "";
1554 program { name: "inc_start_signal_emit";
1555 action: SIGNAL_EMIT "elm,action,increment,start" "";
1557 program { name: "inc_stop_signal_emit";
1558 action: SIGNAL_EMIT "elm,action,increment,stop" "";
1560 program { name: "dec";
1561 signal: "mouse,down,1*";
1563 action: STATE_SET "pressed" 0.0;
1564 target: "down.image";
1565 target: "down.image.arrow.shadow.proxy";
1566 target: "down.image.arrow.shadow.clipper";
1567 target: "down.image.arrow.clipper";
1568 after: "dec_start_signal_emit";
1570 program { name: "dec2";
1571 signal: "mouse,up,1";
1573 action: STATE_SET "default" 0.0;
1574 target: "down.image";
1575 target: "down.image.arrow.shadow.proxy";
1576 target: "down.image.arrow.shadow.clipper";
1577 target: "down.image.arrow.clipper";
1578 after: "dec_stop_signal_emit";
1580 program { name: "inc";
1581 signal: "mouse,down,1*";
1583 action: STATE_SET "pressed" 0.0;
1585 target: "up.image.arrow.shadow.proxy";
1586 target: "up.image.arrow.shadow.clipper";
1587 target: "up.image.arrow.clipper";
1588 after: "inc_start_signal_emit";
1590 program { name: "inc2";
1591 signal: "mouse,up,1";
1593 action: STATE_SET "default" 0.0;
1595 target: "up.image.arrow";
1596 target: "up.image.arrow.shadow.proxy";
1597 target: "up.image.arrow.shadow.clipper";
1598 target: "up.image.arrow.clipper";
1599 after: "inc_stop_signal_emit";
1601 program { name: "disable";
1602 signal: "elm,state,disabled";
1604 action: STATE_SET "disabled" 0.0;
1607 program { name: "enable";
1608 signal: "elm,state,enabled";
1610 action: STATE_SET "default" 0.0;
1613 program { name: "active";
1614 signal: "elm,state,active";
1616 action: STATE_SET "active" 0.0;
1618 target: "elm.swallow.entry";
1620 program { name: "inactive";
1621 signal: "elm,state,inactive";
1623 action: STATE_SET "default" 0.0;
1625 target: "elm.swallow.entry";
1627 program { name: "toggle_text";
1628 signal: "mouse,up,1";
1629 source: "button.events";
1630 action: SIGNAL_EMIT "elm,action,entry,toggle" "";
1632 program { name: "up_touch_snd";
1633 signal: "mouse,clicked,1";
1635 action: PLAY_SAMPLE "touch_sound" 1.0;
1637 program { name: "down_ouch_snd";
1638 signal: "mouse,clicked,1";
1640 action: PLAY_SAMPLE "touch_sound" 1.0;
1645 group { name: "elm/spinner/base/datetime_popup/ampm";
1646 inherit: "elm/spinner/base/default";
1649 part { name: "block.events";
1651 description { state: "default" 0.0;
1653 rel1.to: "elm.text";
1654 rel2.to: "elm.text";
1660 group { name: "elm/layout/datetime_popup/date_layout";
1666 description { state: "default" 0.0;
1668 min: DATETIME_POPUP_CONTENT_SIZE_INC;
1669 max: DATETIME_POPUP_CONTENT_SIZE_INC;
1672 part { name: "top.padding";
1675 description { state: "default" 0.0;
1687 part { name: "bottom.padding";
1690 description { state: "default" 0.0;
1702 part { name: "left.padding";
1705 description { state: "default" 0.0;
1707 min: DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC 0;
1708 max: DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC -1;
1712 to_y: "top.padding";
1717 to_y: "bottom.padding";
1722 part { name: "right.padding";
1725 description { state: "default" 0.0;
1727 min: DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC 0;
1728 max: DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC -1;
1733 to_y: "top.padding";
1738 to_y: "bottom.padding";
1743 part { name: "field0";
1746 description { state: "default" 0.0;
1747 min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0;
1752 rel2.to: "left.padding";
1756 part { name: "center.padding1";
1759 description { state: "default" 0.0;
1761 min: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 0;
1762 max: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC -1;
1771 part { name: "field1";
1774 description { state: "default" 0.0;
1775 min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0;
1778 to: "center.padding1";
1782 to: "center.padding2";
1786 part { name: "center.padding2";
1789 description { state: "default" 0.0;
1791 min: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 0;
1792 max: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC -1;
1801 part { name: "field2";
1804 description { state: "default" 0.0;
1805 min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0;
1806 rel1.to: "right.padding";
1809 to: "right.padding";
1817 description { state: "default" 0.0;
1821 description { state: "visible" 0.0;
1822 inherit: "default" 0.0;
1829 group { name: "elm/layout/datetime_popup/time_layout";
1830 inherit: "elm/layout/datetime_popup/date_layout";
1833 part { name: "hour.minute.color";
1836 description { state: "default" 0.0;
1837 rel1.to: "center.padding1";
1838 rel2.to: "center.padding1";
1839 color: DATETIME_POPUP_CONTENT_FIELD_TEXT_COLOR_INC;
1841 font: "Tizen:style=Regular";
1842 size: DATETIME_POPUP_CONTENT_FIELD_TEXT_SIZE_INC;
1844 text_class: "tizen";
1852 group { name: "elm/layout/datetime_popup/time_layout_24hr";
1853 inherit: "elm/layout/datetime_popup/date_layout";
1856 part { name: "field0";
1859 description { state: "default" 0.0;
1860 min: DATETIME_POPUP_CONTENT_TIME_24HR_FIELD_WIDTH_INC 0;
1865 rel2.to: "left.padding";
1869 part { name: "hour.minute.color";
1872 description { state: "default" 0.0;
1873 rel1.to: "center.padding1";
1874 rel2.to: "center.padding1";
1875 color: DATETIME_POPUP_CONTENT_FIELD_TEXT_COLOR_INC;
1877 font: "Tizen:style=Regular";
1878 size: DATETIME_POPUP_CONTENT_FIELD_TEXT_SIZE_INC;
1880 text_class: "tizen";
1885 part { name: "field1";
1888 description { state: "default" 0.0;
1889 min: DATETIME_POPUP_CONTENT_TIME_24HR_FIELD_WIDTH_INC 0;
1892 to: "center.padding1";
1896 to: "center.padding2";
1900 part { name: "center.padding2";
1903 description { state: "default" 0.0;
1907 rel1.to: "right.padding";
1908 rel2.to: "right.padding";
1911 part { name: "field2";
1914 description { state: "default" 0.0;
1918 rel1.to: "right.padding";
1919 rel2.to: "right.padding";