*
*/
+//#define ENTRY_BLOCK_HANDLE_SOURCE2 "elm/entry/selection/block_handle"
+//#define ENTRY_BLOCK_HANDLE_SOURCE3 "elm/entry/selection/block_handle_top"
+#define ENTRY_BLOCK_HANDLE_SOURCE2 "elm/entry/selection/block_handle_right"
+#define ENTRY_BLOCK_HANDLE_SOURCE3 "elm/entry/selection/block_handle_left"
+
group { name: "elm/entry/base/default";
alias: "elm/entry/base-mixedwrap/default";
data.item: "default_font_size" "24";
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
// source6: "X"; // anchor over
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
// source6: "X"; // anchor over
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
//source6: "X"; // anchor over
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
//source6: "X"; // anchor over
//cursor_mode: BEFORE;
multiline: 0;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
//cursor_mode: BEFORE;
multiline: 0;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
//cursor_mode: BEFORE;
multiline: 0;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
//cursor_mode: BEFORE;
multiline: 0;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
text {
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
fixed: 1 0;
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
fixed: 1 0;
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
text {
//cursor_mode: BEFORE;
multiline: 0;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
//cursor_mode: BEFORE;
multiline: 0;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
scale: 1;
mouse_events: 0;
description { state: "default" 0.0;
- color: 138 183 223 128;
+ color: ENTRY_SELECTION_BG_COLOR;
}
}
}
}
}
}
+/////////////////////////////////////////////////////////////////////////
+ group { name: "elm/entry/selection/block_handle_left";
+ data.item: "position" "BOTTOM";
+ images {
+ image: "copy&paste_Icon_left.png" COMP;
+ image: "copy&paste_Icon_left_press.png" COMP;
+ }
+ parts {
+ part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 1 0;
+ min: 30 42;
+ color: 0 0 0 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ part { name: "handle";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 1 0;
+ min: 30 42;
+ rel1 {
+ relative: 1.1 0.0;
+ offset: 0 -2;
+ to: "bg";
+ }
+ rel2 {
+ relative: 1.1 0.0;
+ offset: 0 -2;
+ to: "bg";
+ }
+ image {
+ normal: "copy&paste_Icon_left.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: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "copy&paste_Icon_left_press.png";
+ border: 0 0 0 0;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focused";
+ signal: "elm,action,focus";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "handle";
+ target: "bg";
+ }
+ program { name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "handle";
+ target: "bg";
+ }
+ program { name: "pressed";
+ signal: "mouse,down,1";
+ source: "handle";
+ action: STATE_SET "press" 0.0;
+ target: "handle";
+ }
+ program { name: "unpressed";
+ signal: "mouse,up,1";
+ source: "handle";
+ action: STATE_SET "show" 0.0;
+ target: "handle";
+ }
+ }
+ }
+
+ group { name: "elm/entry/selection/block_handle_right";
+ data.item: "position" "BOTH";
+ images {
+ image: "copy&paste_Icon_right.png" COMP;
+ image: "copy&paste_Icon_right_press.png" COMP;
+ }
+ parts {
+/* part { name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.5 0.25;
+ min: 50 80;
+ color: 0 0 0 0;
+ }
+ description { state: "show" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }*/
+ part { name: "handle";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ align: 0 0;
+ min: 30 42;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 0 -2;
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ offset: 0 -2;
+ }
+ image {
+ normal: "copy&paste_Icon_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: "press" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "copy&paste_Icon_right_press.png";
+ border: 0 0 0 0;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focused";
+ signal: "elm,action,focus";
+ source: "elm";
+ action: STATE_SET "show" 0.0;
+ target: "handle";
+// target: "bg";
+ }
+ program { name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "handle";
+// target: "bg";
+ }
+ program { name: "pressed";
+ signal: "mouse,down,1";
+ source: "handle";
+ action: STATE_SET "press" 0.0;
+ target: "handle";
+ }
+ program { name: "unpressed";
+ signal: "mouse,up,1";
+ source: "handle";
+ action: STATE_SET "show" 0.0;
+ target: "handle";
+ }
+ }
+ }
+
+/////////////////////////////////////////////////////////////////////////
group { name: "elm/entry/selection/block_bar";
images {
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
// source6: "X"; // anchor over
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
fixed: 1 0;
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
fixed: 1 0;
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
// source6: "X"; // anchor over
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
fixed: 1 0;
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
fixed: 1 0;
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
//source6: "X"; // anchor over
//cursor_mode: BEFORE;
multiline: 1;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
//source6: "X"; // anchor over
//cursor_mode: BEFORE;
multiline: 0;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;
select_mode: BLOCK_HANDLE;
multiline: 0;
source: "elm/entry/selection/default"; // selection under
- source2: "elm/entry/selection/block_handle"; // block handle
- source3: "elm/entry/selection/block_handle_top"; // block handle
+ source2: ENTRY_BLOCK_HANDLE_SOURCE2; // block handle
+ source3: ENTRY_BLOCK_HANDLE_SOURCE3; // block handle
source4: "elm/entry/cursor/default"; // cursorover
source5: "elm/entry/anchor/default"; // anchor under
description { state: "default" 0.0;