summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--themes/widgets/entry.edc383
1 files changed, 380 insertions, 3 deletions
diff --git a/themes/widgets/entry.edc b/themes/widgets/entry.edc
index 9958a0b1..1424a212 100644
--- a/themes/widgets/entry.edc
+++ b/themes/widgets/entry.edc
@@ -6530,6 +6530,383 @@ group { name: "elm/scroller/entry/editfield/searchbar/default";
}
}
}
+
+ group { name: "elm/entry/selection/block_handle_left/datetime";
+ data.item: "height" "79";
+ data.item: "gap" "32";
+ images {
+ image: "copy&paste_Handler_left.png" COMP;
+ image: "copy&paste_Handler_left_01.png" COMP;
+ image: "copy&paste_Handler_left_reverse.png" COMP;
+ image: "copy&paste_Handler_left_01_reverse.png" COMP;
+ }
+ parts {
+ part { name: "edge";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
+ max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
+ color: 0 0 0 0;
+ visible: 0;
+ align: 0 0;
+ }
+ }
+ part { name: "handle";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 1 0;
+ rel2 { relative: 1 1; to_x: "edge"; }
+ min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
+ max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
+ image {
+ normal: "copy&paste_Handler_left_01.png";
+ border: 0 0 0 0;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "top" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 1 1;
+ rel2 { relative: 1 1; to_x: "edge"; }
+ image {
+ normal: "copy&paste_Handler_left.png";
+ }
+ }
+ description { state: "bottom_reversed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 0 0;
+ rel1 { relative: 0 0; to_x: "edge"; }
+ image {
+ normal: "copy&paste_Handler_left_01_reverse.png";
+ }
+ }
+ description { state: "top_reversed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 0 1;
+ rel1 { relative: 0 0; to_x: "edge"; }
+ image {
+ normal: "copy&paste_Handler_left_reverse.png";
+ }
+ }
+ }
+ }
+ script {
+ public handler_ontop;
+ public handler_focused;
+ public double_clicked;
+ }
+ programs {
+ program { name: "focused";
+ signal: "edje,focus,in";
+ source: "edje";
+ script {
+ set_int(handler_focused, 1);
+ set_int(double_clicked, 0);
+ }
+ }
+ program { name: "unfocused";
+ signal: "edje,focus,out";
+ source: "edje";
+ script {
+ set_int(handler_focused, 0);
+ set_state(PART:"handle", "default", 0.0);
+ set_int(double_clicked, 0);
+ }
+ }
+ program { name: "bottom_reversed";
+ signal: "elm,state,bottom,reversed";
+ source: "elm";
+ script {
+ new dc;
+ dc = get_int(double_clicked);
+ if (dc)
+ {
+ set_state(PART:"handle", "bottom_reversed", 0.0);
+ }
+ else
+ {
+ set_state(PART:"handle", "default", 0.0);
+ }
+ }
+ }
+ program { name: "top_reversed";
+ signal: "elm,state,top,reversed";
+ source: "elm";
+ script {
+ new dc;
+ dc = get_int(double_clicked);
+ if (dc)
+ {
+ set_state(PART:"handle", "top_reversed", 0.0);
+ }
+ else
+ {
+ set_state(PART:"handle", "default", 0.0);
+ }
+ }
+ }
+ program { name: "top";
+ signal: "elm,state,top";
+ source: "elm";
+ script {
+ new focused;
+ focused = get_int(handler_focused);
+ set_int(handler_ontop, 1);
+ if (focused)
+ {
+ new dc;
+ dc = get_int(double_clicked);
+ if (dc)
+ {
+ set_state(PART:"handle", "top", 0.0);
+ }
+ else
+ {
+ set_state(PART:"handle", "default", 0.0);
+ }
+ }
+ else
+ {
+ set_state(PART:"handle", "default", 0.0);
+ }
+ }
+ }
+ program { name: "bottom";
+ signal: "elm,state,bottom";
+ source: "elm";
+ script {
+ new focused;
+ focused = get_int(handler_focused);
+ set_int(handler_ontop, 0);
+ if (focused)
+ {
+ new dc;
+ dc = get_int(double_clicked);
+ if (dc)
+ {
+ set_state(PART:"handle", "show", 0.0);
+ }
+ else
+ {
+ set_state(PART:"handle", "default", 0.0);
+ }
+ }
+ else
+ {
+ set_state(PART:"handle", "default", 0.0);
+ }
+ }
+ }
+ program { name: "double_clicked";
+ signal: "edje,entry,double,clicked";
+ source: "edje";
+ script {
+ set_int(double_clicked, 1);
+ }
+ }
+ }
+ }
+
+ group { name: "elm/entry/selection/block_handle_right/datetime";
+ data.item: "height" "79";
+ data.item: "gap" "32";
+ images {
+ image: "copy&paste_Handler_right.png" COMP;
+ image: "copy&paste_Handler_right_01.png" COMP;
+ image: "copy&paste_Handler_right_reverse.png" COMP;
+ image: "copy&paste_Handler_right_01_reverse.png" COMP;
+ }
+ parts {
+ part { name: "edge";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
+ max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
+ color: 0 0 0 0;
+ visible: 0;
+ align: 0 0;
+ }
+ }
+ part { name: "handle";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0 0;
+ min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
+ max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
+ image {
+ normal: "copy&paste_Handler_right.png";
+ border: 0 0 0 0;
+ }
+ image.middle: SOLID;
+ fill.smooth: 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "top" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 0 1;
+ image {
+ normal: "copy&paste_Handler_right_01.png";
+ }
+ }
+ description { state: "bottom_reversed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 1 0;
+ rel2 { relative: 1.0 0.0; to_x: "edge"; }
+ image {
+ normal: "copy&paste_Handler_right_reverse.png";
+ }
+ }
+ description { state: "top_reversed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ align: 1 1;
+ rel2 { relative: 1.0 0.0; to_x: "edge"; }
+ image {
+ normal: "copy&paste_Handler_right_01_reverse.png";
+ }
+ }
+ }
+ }
+ script {
+ public handler_ontop;
+ public handler_focused;
+ public double_clicked;
+ }
+ programs {
+ program { name: "focused";
+ signal: "edje,focus,in";
+ source: "edje";
+ script {
+ set_int(handler_focused, 1);
+ set_int(double_clicked, 0);
+ }
+ }
+ program { name: "unfocused";
+ signal: "edje,focus,out";
+ source: "edje";
+ script {
+ set_int(handler_focused, 0);
+ set_state(PART:"handle", "default", 0.0);
+ set_int(double_clicked, 0);
+ }
+ }
+ program { name: "top";
+ signal: "elm,state,top";
+ source: "elm";
+ script {
+ new focused;
+ focused = get_int(handler_focused);
+ set_int(handler_ontop, 1);
+ if (focused)
+ {
+ new dc;
+ dc = get_int(double_clicked);
+ if (dc)
+ {
+ set_state(PART:"handle", "default", 0.0);
+ }
+ else
+ {
+ set_state(PART:"handle", "top", 0.0);
+ }
+ }
+ else
+ {
+ set_state(PART:"handle", "default", 0.0);
+ }
+ }
+ }
+ program { name: "bottom";
+ signal: "elm,state,bottom";
+ source: "elm";
+ script {
+ new focused;
+ focused = get_int(handler_focused);
+ set_int(handler_ontop, 0);
+ if (focused)
+ {
+ new dc;
+ dc = get_int(double_clicked);
+ if (dc)
+ {
+ set_state(PART:"handle", "show", 0.0);
+ }
+ else
+ {
+ set_state(PART:"handle", "default", 0.0);
+ }
+ }
+ else
+ {
+ set_state(PART:"handle", "default", 0.0);
+ }
+ }
+ }
+ program { name: "bottom_reversed";
+ signal: "elm,state,bottom,reversed";
+ source: "elm";
+ script {
+ new dc;
+ dc = get_int(double_clicked);
+ if (dc)
+ {
+ set_state(PART:"handle", "default", 0.0);
+ }
+ else
+ {
+ set_state(PART:"handle", "bottom_reversed", 0.0);
+ }
+ }
+ }
+ program { name: "top_reversed";
+ signal: "elm,state,top,reversed";
+ source: "elm";
+ script {
+ new dc;
+ dc = get_int(double_clicked);
+ if (dc)
+ {
+ set_state(PART:"handle", "default", 0.0);
+ }
+ else
+ {
+ set_state(PART:"handle", "top_reversed", 0.0);
+ }
+ }
+ }
+ program { name: "double_clicked";
+ signal: "edje,entry,double,clicked";
+ source: "edje";
+ script {
+ set_int(double_clicked, 1);
+ }
+ }
+ }
+ }
+
group { name: "elm/entry/base-single/datetime_popup";
inherit: "elm/entry/base-single/default";
alias: "elm/entry/base-single/datetime_popup/year";
@@ -6540,7 +6917,7 @@ group { name: "elm/entry/base-single/datetime_popup";
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";
+ base: "font=Tizen:style=Roman font_size="ENTRY_DATETIME_POPUP_TEXT_SIZE_INC" color="ENTRY_TEXT_COLOR_INC" align=center wrap=none left_margin=1 right_margin=3 text_class=tizen";
tag: "br" "\n";
tag: "ps" "ps";
tag: "tab" "\t";
@@ -6567,8 +6944,8 @@ group { name: "elm/entry/base-single/datetime_popup";
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
+ source7: "elm/entry/selection/block_handle_left/datetime"; // start selection handler
+ source8: "elm/entry/selection/block_handle_right/datetime"; // 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