}
}
}
+group { name: "elm/spinner/base/default";
+ alias: "elm/spinner/base/datetime_popup";
+ alias: "elm/spinner/base/datetime_popup/year";
+ alias: "elm/spinner/base/datetime_popup/month";
+ alias: "elm/spinner/base/datetime_popup/date";
+ alias: "elm/spinner/base/datetime_popup/hour";
+ alias: "elm/spinner/base/datetime_popup/minute";
+ images {
+ image: "00_picker_arrow_down.png" COMP;
+ image: "00_picker_arrow_up.png" COMP;
+ image: "00_picker_arrow_down_press_web.png" COMP;
+ image: "00_picker_arrow_up_press_web.png" COMP;
+ image: "00_button_01.png" COMP;
+ image: "00_button_01_press.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "up.image";
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 0.0;
+ min: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
+ max: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
+ image {
+ normal: "00_button_01.png";
+ border: SPINNER_UP_DOWN_IMAGE_BORDER_SIZE_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ }
+ part { name: "up.image.arrow";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "up.image";
+ rel2.to: "up.image";
+ min: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
+ max: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
+ image.normal: "00_picker_arrow_up.png";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_picker_arrow_up_press_web.png";
+ }
+ }
+ part { name: "down.image";
+ scale: 1;
+ description { state: "default" 0.0;
+ align: 0.5 1.0;
+ min: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
+ max: SPINNER_UP_DOWN_IMAGE_SIZE_INC;
+ image {
+ normal: "00_button_01.png";
+ border: SPINNER_UP_DOWN_IMAGE_BORDER_SIZE_INC;
+ border_scale: 1;
+ }
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_button_01_press.png";
+ }
+ }
+ part { name: "down.image.arrow";
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "down.image";
+ rel2.to: "down.image";
+ min: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
+ max: SPINNER_UP_DOWN_ARROW_IMAGE_SIZE_INC;
+ image.normal: "00_picker_arrow_down.png";
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "00_picker_arrow_down_press_web.png";
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 1;
+ color: SPINNER_ENTRY_TEXT_COLOR_INC;
+ min: 0 SPINNER_TEXT_HEIGHT_INC;
+ max: -1 SPINNER_TEXT_HEIGHT_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: SPINNER_ENTRY_TEXT_SIZE_INC;
+ min: 0 0;
+ max: 1 0;
+ text_class: "tizen";
+ }
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "button.events";
+ type: RECT;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ fixed: 1 1;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "elm.swallow.entry";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ fixed: 1 1;
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "up.btn";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "up.image";
+ rel2.to: "up.image";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "down.btn";
+ type: RECT;
+ repeat_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "down.image";
+ rel2.to: "down.image";
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "dec_start_signal_emit";
+ action: SIGNAL_EMIT "elm,action,decrement,start" "";
+ }
+ program { name: "dec_stop_signal_emit";
+ action: SIGNAL_EMIT "elm,action,decrement,stop" "";
+ }
+ program { name: "inc_start_signal_emit";
+ action: SIGNAL_EMIT "elm,action,increment,start" "";
+ }
+ program { name: "inc_stop_signal_emit";
+ action: SIGNAL_EMIT "elm,action,increment,stop" "";
+ }
+ program { name: "dec";
+ signal: "mouse,down,1*";
+ source: "down.btn";
+ action: STATE_SET "pressed" 0.0;
+ target: "down.image";
+ target: "down.image.arrow";
+ after: "dec_start_signal_emit";
+ }
+ program { name: "dec2";
+ signal: "mouse,up,1";
+ source: "down.btn";
+ action: STATE_SET "default" 0.0;
+ target: "down.image";
+ target: "down.image.arrow";
+ after: "dec_stop_signal_emit";
+ }
+ program { name: "inc";
+ signal: "mouse,down,1*";
+ source: "up.btn";
+ action: STATE_SET "pressed" 0.0;
+ target: "up.image";
+ target: "up.image.arrow";
+ after: "inc_start_signal_emit";
+ }
+ program { name: "inc2";
+ signal: "mouse,up,1";
+ source: "up.btn";
+ action: STATE_SET "default" 0.0;
+ target: "up.image";
+ target: "up.image.arrow";
+ after: "inc_stop_signal_emit";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ }
+ program { name: "active";
+ signal: "elm,state,active";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ target: "elm.text";
+ target: "elm.swallow.entry";
+ }
+ program { name: "inactive";
+ signal: "elm,state,inactive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ target: "elm.swallow.entry";
+ }
+ program { name: "toggle_text";
+ signal: "mouse,up,1";
+ source: "button.events";
+ action: SIGNAL_EMIT "elm,action,entry,toggle" "";
+ }
+ }
+}
+
+group { name: "elm/spinner/base/datetime_popup/ampm";
+ inherit: "elm/spinner/base/default";
+
+ parts {
+ part { name: "block.events";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ rel1.to: "elm.text";
+ rel2.to: "elm.text";
+ }
+ }
+ }
+}
+
+group { name: "elm/layout/datetime_popup/date_layout";
+
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ min: DATETIME_POPUP_CONTENT_SIZE_INC;
+ max: DATETIME_POPUP_CONTENT_SIZE_INC;
+ }
+ }
+ part { name: "top.padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ min: 0 0;
+ max: -1 0;
+ rel1.to: "bg";
+ rel2 {
+ relative: 1.0 0.0;
+ to: "bg";
+ }
+ align: 0.5 0.0;
+ }
+ }
+ part { name: "bottom.padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ min: 0 0;
+ max: -1 0;
+ rel1 {
+ relative: 0.0 1.0;
+ to: "bg";
+ }
+ rel2.to: "bg";
+ align: 0.5 1.0;
+ }
+ }
+ part { name: "left.padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ min: DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC 0;
+ max: DATETIME_POPUP_CONTENT_LEFT_PADDING_WIDTH_INC -1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "bg";
+ to_y: "top.padding";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "bg";
+ to_y: "bottom.padding";
+ }
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "right.padding";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ min: DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC 0;
+ max: DATETIME_POPUP_CONTENT_RIGHT_PADDING_WIDTH_INC -1;
+ rel2.to: "bg";
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "bg";
+ to_y: "top.padding";
+ }
+ rel2 {
+ relative: 1.0 0.0;
+ to_x: "bg";
+ to_y: "bottom.padding";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "field0";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "left.padding";
+ }
+ rel2.to: "left.padding";
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "center.padding1";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ min: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 0;
+ max: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC -1;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "field0";
+ }
+ rel2.to: "field0";
+ align: 0.0 0.5;
+ }
+ }
+ part { name: "field1";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0;
+ rel1 {
+ relative: 1.0 0.0;
+ to: "center.padding1";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to: "center.padding2";
+ }
+ }
+ }
+ part { name: "center.padding2";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ min: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC 0;
+ max: DATETIME_POPUP_CONTENT_CENTER_PADDING_WIDTH_INC -1;
+ rel1.to: "field2";
+ rel2 {
+ relative: 0.0 1.0;
+ to: "field2";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ part { name: "field2";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: DATETIME_POPUP_CONTENT_FIELD_WIDTH_INC 0;
+ rel1.to: "right.padding";
+ rel2 {
+ relative: 0.0 1.0;
+ to: "right.padding";
+ }
+ align: 1.0 0.5;
+ }
+ }
+ part {
+ name: "event_area";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+}
+
+group { name: "elm/layout/datetime_popup/time_layout";
+ inherit: "elm/layout/datetime_popup/date_layout";
+
+ parts {
+ part { name: "hour.minute.color";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.to: "center.padding1";
+ rel2.to: "center.padding1";
+ color: DATETIME_POPUP_CONTENT_FIELD_TEXT_COLOR_INC;
+ text {
+ font: "Tizen:style=Regular";
+ size: DATETIME_POPUP_CONTENT_FIELD_TEXT_SIZE_INC;
+ min: 0 0;
+ text_class: "tizen";
+ text: ":";
+ }
+ }
+ }
+ }
+}
}
}
}
+group { name: "elm/entry/base-single/datetime_popup";
+ name: "elm/entry/base-single/datetime_popup/year";
+ alias: "elm/entry/base-single/datetime_popup/month";
+ alias: "elm/entry/base-single/datetime_popup/date";
+ alias: "elm/entry/base-single/datetime_popup/hour";
+ alias: "elm/entry/base-single/datetime_popup/minute";
+ inherit: "elm/entry/base-single/default";
+
+ data.item: "default_font_size" "64";
+
+ styles {
+ style { name: "entry_datetime_popup_textblock_style";
+ base: "font=Tizen:style=Roman font_size="ENTRY_DATETIME_POPUP_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" wrap=none left_margin=1 right_margin=3 text_class=tizen";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Tizen:style=Oblique";
+ tag: "b" "+ font=Tizen:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Tizen:style=Bold";
+ tag: "preedit" "+ underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sel" "+ backing=on backing_color="ENTRY_PREEDIT_BACKGROUND_COLOR_INC" color="ENTRY_PREEDIT_TEXT_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_TEXT_COLOR_INC;
+ tag: "preedit_sub1" "+ backing=on backing_color="ENTRY_PREEDIT_SUB1_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub2" "+ backing=on backing_color="ENTRY_PREEDIT_SUB2_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub3" "+ backing=on backing_color="ENTRY_PREEDIT_SUB3_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ tag: "preedit_sub4" "+ backing=on backing_color="ENTRY_PREEDIT_SUB4_COLOR_INC" underline=on underline_color="ENTRY_PREEDIT_UNDERLINE_COLOR_INC;
+ }
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: BLOCK_HANDLE;
+ multiline: 0;
+ source: "elm/entry/selection/default"; // selection under
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+ source7: ENTRY_BLOCK_HANDLE_SOURCE7; // start selection handler
+ source8: ENTRY_BLOCK_HANDLE_SOURCE8; // end selection handler
+ source9: ENTRY_CURSOR_HANDLE_SOURCE9; // cursor handler
+ source10: ENTRY_BLOCK_HANDLE_SOURCE10; // start edge selection
+ source11: ENTRY_BLOCK_HANDLE_SOURCE11; // end edge selection
+ description { state: "default" 0.0;
+ text {
+ style: "entry_datetime_popup_textblock_style";
+ min: 1 1;
+ max: 0 0;
+ align: 0.0 0.5;
+ }
+ ENTRY_TEXTBLOCK_DEFAULT_REL
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_single_textblock_disabled_style";
+ }
+ }
+ }
+ }
+}