summaryrefslogtreecommitdiff
path: root/themes/widgets/entry.edc
diff options
context:
space:
mode:
authorThiep Ha <thiep.ha@samsung.com>2013-05-17 14:15:45 +0900
committerSungho Kwak <sungho1.kwak@samsung.com>2013-06-12 20:26:22 +0900
commitb807f1ec8cd22255b796a4dbcefd14014bcdfcf0 (patch)
tree5dbfcec93af4cc789aa66c777ac75c569967413b /themes/widgets/entry.edc
parent2d6cc7a16c7572ed11b868049247de0a8d6313f6 (diff)
downloadefl-theme-tizen-b807f1ec8cd22255b796a4dbcefd14014bcdfcf0.tar.gz
efl-theme-tizen-b807f1ec8cd22255b796a4dbcefd14014bcdfcf0.tar.bz2
efl-theme-tizen-b807f1ec8cd22255b796a4dbcefd14014bcdfcf0.zip
[CopyPaste] Selection Handlers: Implement GUI 1.0 (change images, size); Fix scale issue
Change-Id: I272bc0e2d4c1239aa34e9243ba670f9d67f7da8f
Diffstat (limited to 'themes/widgets/entry.edc')
-rw-r--r--themes/widgets/entry.edc83
1 files changed, 49 insertions, 34 deletions
diff --git a/themes/widgets/entry.edc b/themes/widgets/entry.edc
index 3bc5d140..cc31e29b 100644
--- a/themes/widgets/entry.edc
+++ b/themes/widgets/entry.edc
@@ -1861,15 +1861,27 @@ group { name: "elm/entry/base-password/popup";
}
group { name: "elm/entry/selection/block_handle_left";
- data.item: "height" "40";
- data.item: "gap" "51";
+ 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_reversed.png" COMP;
- image: "copy&paste_Handler_left_01_reversed.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: 1 0;
+ }
+ }
part { name: "handle";
mouse_events: 1;
scale: 1;
@@ -1878,9 +1890,7 @@ group { name: "elm/entry/base-password/popup";
fixed: 1 1;
align: 1 0;
min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
- max:ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
- rel1.offset: 0 -ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET;
- rel2.offset: ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET 0;
+ max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
image {
normal: "copy&paste_Handler_left_01.png";
border: 0 0 0 0;
@@ -1896,9 +1906,6 @@ group { name: "elm/entry/base-password/popup";
inherit: "default" 0.0;
visible: 1;
align: 1 1;
- rel2 {
- offset: ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET;
- }
image {
normal: "copy&paste_Handler_left.png";
}
@@ -1907,23 +1914,18 @@ group { name: "elm/entry/base-password/popup";
inherit: "default" 0.0;
visible: 1;
align: 0 0;
- rel1 {
- offset: -ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET -ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET;
- }
+ rel1 { relative: 0 0; to_x: "edge"; }
image {
- normal: "copy&paste_Handler_left_01_reversed.png";
+ normal: "copy&paste_Handler_left_01_reverse.png";
}
}
description { state: "top_reversed" 0.0;
inherit: "default" 0.0;
visible: 1;
align: 0 1;
- rel1.offset: -ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET 0;
- rel2 {
- offset: 0 ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET;
- }
+ rel1 { relative: 0 0; to_x: "edge"; }
image {
- normal: "copy&paste_Handler_left_reversed.png";
+ normal: "copy&paste_Handler_left_reverse.png";
}
}
}
@@ -2000,15 +2002,27 @@ group { name: "elm/entry/base-password/popup";
}
group { name: "elm/entry/selection/block_handle_right";
- data.item: "height" "40";
- data.item: "gap" "51";
+ 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_reversed.png" COMP;
- image: "copy&paste_Handler_right_01_reversed.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 20;
+ max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 20;
+ color: 0 0 0 100;
+ visible: 1;
+ align: 0 0;
+ }
+ }
part { name: "handle";
mouse_events: 1;
scale: 1;
@@ -2018,7 +2032,6 @@ group { name: "elm/entry/base-password/popup";
align: 0 0;
min: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
max: ENTRY_SELECTION_BLOCK_HANDLE_MIN_SIZE;
- rel1.offset: -ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET -ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET;
image {
normal: "copy&paste_Handler_right.png";
border: 0 0 0 0;
@@ -2034,8 +2047,6 @@ group { name: "elm/entry/base-password/popup";
inherit: "default" 0.0;
visible: 1;
align: 0 1;
- rel1.offset: -ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET 0;
- rel2.offset: 0 ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET;
image {
normal: "copy&paste_Handler_right_01.png";
}
@@ -2044,19 +2055,18 @@ group { name: "elm/entry/base-password/popup";
inherit: "default" 0.0;
visible: 1;
align: 1 0;
- rel1.offset: 0 -ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET;
- rel2.offset: ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET+ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
+ rel2 { relative: 1.0 0.0; to_x: "edge"; }
image {
- normal: "copy&paste_Handler_right_reversed.png";
+ normal: "copy&paste_Handler_right_reverse.png";
}
}
description { state: "top_reversed" 0.0;
inherit: "default" 0.0;
visible: 1;
align: 1 1;
- rel2.offset: ENTRY_SELECTION_BLOCK_HANDLE_X_OFFSET+ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH ENTRY_SELECTION_BLOCK_HANDLE_Y_OFFSET;
+ rel2 { relative: 1.0 0.0; to_x: "edge"; }
image {
- normal: "copy&paste_Handler_right_01_reversed.png";
+ normal: "copy&paste_Handler_right_01_reverse.png";
}
}
}
@@ -2199,9 +2209,11 @@ group { name: "elm/entry/base-password/popup";
scale: 1;
mouse_events: 0;
description { state: "default" 0.0;
- min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
- color: 255 0 0 100;
+ min: 0 0;
+ max: 0 0;
+ color: 0 0 0 0;
visible: 0;
+ align: 0 0;
}
}
part { name: "bg";
@@ -2211,7 +2223,9 @@ group { name: "elm/entry/base-password/popup";
description { state: "default" 0.0;
color: ENTRY_SELECTION_EDGE_COLOR;
min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
- rel2 { relative: 0 1; to: "align"; }
+ max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1;
+ rel2 { relative: 0 1; to_x: "align"; }
+ align: 1 0;
visible: 0;
}
description { state: "show" 0.0;
@@ -2247,6 +2261,7 @@ group { name: "elm/entry/base-password/popup";
description { state: "default" 0.0;
color: ENTRY_SELECTION_EDGE_COLOR;
min: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH 0;
+ max: ENTRY_SELECTION_BLOCK_HANDLE_EDGE_WIDTH -1;
visible: 0;
}
description { state: "show" 0.0;