summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authordeasung.kim <deasung.kim@samsung.com>2011-11-16 19:39:59 +0900
committerdeasung.kim <deasung.kim@samsung.com>2011-11-16 21:22:43 +0900
commita230f633232643951bbff87783d33183bbc84d05 (patch)
tree2e27554e7f820062e37ef7ce7c3b45ffca328a23 /themes
parent29f87c41a7f4a0c46d64558b9264c3af61541d3d (diff)
downloadefl-theme-tizen-a230f633232643951bbff87783d33183bbc84d05.tar.gz
efl-theme-tizen-a230f633232643951bbff87783d33183bbc84d05.tar.bz2
efl-theme-tizen-a230f633232643951bbff87783d33183bbc84d05.zip
[copy&paste] remove last item's right separator
Change-Id: I637830b975f6dc4b5f260006cf647e61d3f4c270
Diffstat (limited to 'themes')
-rw-r--r--themes/groups/ctxpopup.edc85
1 files changed, 78 insertions, 7 deletions
diff --git a/themes/groups/ctxpopup.edc b/themes/groups/ctxpopup.edc
index ca395458..59eb8ae8 100644
--- a/themes/groups/ctxpopup.edc
+++ b/themes/groups/ctxpopup.edc
@@ -1991,17 +1991,25 @@
scale: 1;\
description {\
state: "default" 0.0;\
- visible: 1;\
+ visible: 0;\
color: CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_COLOR;\
min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
fixed: 1 1;\
- rel1.to: "left_padding";\
rel2 {\
- to: "left_padding";\
relative: 0 1;\
}\
}\
+ description {\
+ state: "vertical" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
+ description {\
+ state: "horizontal" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
}
#define CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART \
part {\
@@ -2011,21 +2019,29 @@
scale: 1;\
description {\
state: "default" 0.0;\
- visible: 1;\
+ visible: 0;\
color: CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_COLOR;\
min: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
max: CTXPOPUP_ENTRY_SEPARATOR_WIDTH CTXPOPUP_ENTRY_SEPARATOR_HEIGHT;\
fixed: 1 1;\
rel1 {\
- to: "right_padding";\
- relative: 1 0;\
offset: -1 0;\
}\
rel2 {\
- to: "right_padding";\
+ relative: 0 1;\
offset: -1 0;\
}\
}\
+ description {\
+ state: "vertical" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
+ description {\
+ state: "horizontal" 0.0;\
+ inherit: "default" 0.0;\
+ visible: 1;\
+ }\
}
///////////////////////////////////////////////////////////////////////////////////////
@@ -2154,6 +2170,33 @@
set_state(PART:"right_bg_padding", "default", 0.0);
}
}
+ program {
+ name: "default";
+ signal: "elm,state,default";
+ source: "elm";
+ script {
+ set_state(PART:"left_separator", "default", 0.0);
+ set_state(PART:"right_separator", "default", 0.0);
+ }
+ }
+ program {
+ name: "vertical";
+ signal: "elm,state,vertical";
+ source: "elm";
+ script {
+ set_state(PART:"left_separator", "vertical", 0.0);
+ set_state(PART:"right_separator", "vertical", 0.0);
+ }
+ }
+ program {
+ name: "horizontal";
+ signal: "elm,state,horizontal";
+ source: "elm";
+ script {
+ set_state(PART:"left_separator", "horizontal", 0.0);
+ set_state(PART:"right_separator", "horizontal", 0.0);
+ }
+ }
}
}
///////////////////////////////////////////////////////////////////////////////
@@ -2179,6 +2222,7 @@
CTXPOPUP_ENTRY_ITEM_LEFT_PADDING_PART
CTXPOPUP_ENTRY_ITEM_RIGHT_PADDING_PART
CTXPOPUP_ENTRY_ITEM_LEFT_SEPARATOR_PART
+ CTXPOPUP_ENTRY_ITEM_RIGHT_SEPARATOR_PART
part {
name: "elm.swallow.icon";
type: SWALLOW;
@@ -2271,6 +2315,33 @@
set_state(PART:"right_bg_padding", "default", 0.0);
}
}
+ program {
+ name: "default";
+ signal: "elm,state,default";
+ source: "elm";
+ script {
+ set_state(PART:"left_separator", "default", 0.0);
+ set_state(PART:"right_separator", "default", 0.0);
+ }
+ }
+ program {
+ name: "vertical";
+ signal: "elm,state,vertical";
+ source: "elm";
+ script {
+ set_state(PART:"left_separator", "vertical", 0.0);
+ set_state(PART:"right_separator", "vertical", 0.0);
+ }
+ }
+ program {
+ name: "horizontal";
+ signal: "elm,state,horizontal";
+ source: "elm";
+ script {
+ set_state(PART:"left_separator", "horizontal", 0.0);
+ set_state(PART:"right_separator", "horizontal", 0.0);
+ }
+ }
}
}