diff options
author | Thiep Ha <thiep.ha@samsung.com> | 2013-05-20 19:57:57 +0900 |
---|---|---|
committer | Sungho Kwak <sungho1.kwak@samsung.com> | 2013-06-12 20:27:26 +0900 |
commit | fd8b12ec525a8ad23bba9f2d7667a43e01644d98 (patch) | |
tree | 4e4979fdf5b4da7e78ef8e67709d36bab9525feb /themes/widgets/entry.edc | |
parent | 3685d624a5bd626a0d3ef52ef02a9ba54908fd44 (diff) | |
download | efl-theme-tizen-fd8b12ec525a8ad23bba9f2d7667a43e01644d98.tar.gz efl-theme-tizen-fd8b12ec525a8ad23bba9f2d7667a43e01644d98.tar.bz2 efl-theme-tizen-fd8b12ec525a8ad23bba9f2d7667a43e01644d98.zip |
[Copy&Paste] GUI 1.0: Change image for cursor handler, add reverse image
Change-Id: If49eea5b3b1a3e51149a3f66434ebd131c6a650d
Diffstat (limited to 'themes/widgets/entry.edc')
-rw-r--r-- | themes/widgets/entry.edc | 47 |
1 files changed, 38 insertions, 9 deletions
diff --git a/themes/widgets/entry.edc b/themes/widgets/entry.edc index cc31e29b..63a99121 100644 --- a/themes/widgets/entry.edc +++ b/themes/widgets/entry.edc @@ -2016,10 +2016,10 @@ group { name: "elm/entry/base-password/popup"; scale: 1; mouse_events: 0; description { state: "default" 0.0; - min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 20; - max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 20; - color: 0 0 0 100; - visible: 1; + 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; } } @@ -2145,18 +2145,18 @@ group { name: "elm/entry/base-password/popup"; group { name: "elm/entry/cursor_handle/default"; images { image: "copy&paste_Handler_center.png" COMP; + image: "copy&paste_Handler_center_reverse.png" COMP; } parts { part { name: "handle"; scale: 1; mouse_events: 1; description { state: "default" 0.0; - max: 60 60; - min: 60 60; + max: 59 86; + min: 59 86; align: 0 0; - fixed: 1 1; visible: 0; - rel1 { offset: -30 -8; } + align: 0.5 0; image { normal: "copy&paste_Handler_center.png"; border: 0 0 0 0; @@ -2168,14 +2168,34 @@ group { name: "elm/entry/base-password/popup"; inherit: "default" 0.0; visible: 1; } + description { state: "top" 0.0; + inherit: "default" 0.0; + visible: 1; + align: 0.5 1.0; + image { + normal: "copy&paste_Handler_center_reverse.png"; + border: 0 0 0 0; + } + } } } + script { + public on_top; + } programs { program { name: "focused"; signal: "edje,focus,in"; source: "edje"; script { - set_state(PART:"handle", "show", 0.0); + new on_top_val = get_int(on_top); + if (on_top_val) + { + set_state(PART:"handle", "top", 0.0); + } + else + { + set_state(PART:"handle", "show", 0.0); + } } } program { name: "unfocused"; @@ -2189,6 +2209,7 @@ group { name: "elm/entry/base-password/popup"; signal: "edje,cursor,handle,show"; source: "edje"; script { + set_int(on_top, 0); set_state(PART:"handle", "show", 0.0); } } @@ -2199,6 +2220,14 @@ group { name: "elm/entry/base-password/popup"; set_state(PART:"handle", "default", 0.0); } } + program { name: "top"; + signal: "edje,cursor,handle,top"; + source: "edje"; + script { + set_int(on_top, 1); + set_state(PART:"handle", "top", 0.0); + } + } } } |