summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2020-06-24 04:36:26 (GMT)
committerJaehyun Cho <jae_hyun.cho@samsung.com>2020-06-25 04:31:28 (GMT)
commitd937634e4bbed8eb5dffb1693d6bae3c6bc29923 (patch)
treea69489872e8493434faf6d611aaf0ca200dc866a
parenteecc66c81bbe2517ba7e54889fa8dc2f3b9780ab (diff)
downloadefl-theme-tizen-mobile-tizen.zip
efl-theme-tizen-mobile-tizen.tar.gz
efl-theme-tizen-mobile-tizen.tar.bz2
Although panel left and right styles are not used, "elm/panel/left/default" and "elm/panel/right/default" groups are required not to cause CRI() by using ELM_PANEL_ORIENT_LEFT/RIGHT. Change-Id: I94edae0bbfaee9c7bb2c2f460276e87b8f765a3d
-rw-r--r--mobile/widgets/panel.edc153
1 files changed, 153 insertions, 0 deletions
diff --git a/mobile/widgets/panel.edc b/mobile/widgets/panel.edc
index c6baec2..31d0712 100644
--- a/mobile/widgets/panel.edc
+++ b/mobile/widgets/panel.edc
@@ -499,3 +499,156 @@ group { "elm/panel/bottom/default";
}
}
}
+
+group { "elm/panel/left/default";
+ images.image: "core_icon_picker_arrow_left.png" COMP;
+ images.image: "core_icon_picker_arrow_right.png" COMP;
+ data.item: "focus_highlight" "off";
+ parts {
+ spacer { "all";
+ desc { "default";
+ }
+ }
+ rect { "base";
+ desc { "default";
+ rel1.to_x: "all";
+ rel2.to_x: "elm.swallow.event";
+ rel2.relative: 0.0 1.0;
+ color: 255 255 255 255;
+ }
+ }
+ swallow { "elm.swallow.content";
+ desc { "default";
+ rel1.offset: 4 4;
+ rel1.to: "base";
+ rel2.offset: -5 -5;
+ rel2.to: "base";
+ }
+ }
+ swallow { "elm.swallow.event";
+ desc { "default";
+ fixed: 1 1;
+ min: 50 50;
+ max: 50 99999;
+ align: 0.0 0.5;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ color: 0 0 0 0;
+ }
+ desc { "hidden";
+ inherit: "default";
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ }
+ rect { "btn";
+ desc { "default";
+ rel.to: "elm.swallow.event";
+ color: 64 64 64 255;
+ }
+ }
+ image { "icn";
+ mouse;
+ scale;
+ desc { "default";
+ fixed: 1 1;
+ min: 50 50;
+ max: 50 50;
+ rel.to: "btn";
+ image.normal: "core_icon_picker_arrow_left.png";
+ }
+ desc { "hidden";
+ inherit: "default";
+ image.normal: "core_icon_picker_arrow_right.png";
+ }
+ }
+ }
+ programs {
+ program { "clicked";
+ signal: "mouse,clicked,1";
+ source: "btn";
+ action: SIGNAL_EMIT "elm,action,panel,toggle" "elm";
+ }
+ program { "show";
+ signal: "elm,action,show";
+ source: "elm";
+ action: STATE_SET "default";
+ transition: DECELERATE 0.3;
+ target: "elm.swallow.event";
+ target: "base";
+ target: "icn";
+ }
+ program { "hide";
+ signal: "elm,action,hide";
+ source: "elm";
+ action: STATE_SET "hidden";
+ transition: ACCELERATE 0.3;
+ target: "elm.swallow.event";
+ target: "icn";
+ }
+ program { "hide1";
+ signal: "elm,action,hide";
+ source: "elm";
+ script {
+ custom_state(PART:"base", "default", 0.0);
+ set_state_val(PART:"base", STATE_REL1, -1.0, 0.0);
+ set_state_val(PART:"base", STATE_REL2, 0.0, 1.0);
+ }
+ after: "hide2";
+ }
+ program { "hide2";
+ action: STATE_SET "custom";
+ transition: ACCELERATE 0.3;
+ target: "base";
+ }
+ }
+}
+
+group { "elm/panel/right/default";
+ inherit: "elm/panel/left/default";
+ parts {
+ rect { "base";
+ desc { "default";
+ rel1.to_x: "elm.swallow.event";
+ rel1.relative: 1.0 0.0;
+ rel2.to_x: "all";
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ swallow { "elm.swallow.event";
+ desc { "default";
+ align: 1.0 0.5;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ }
+ desc { "hidden";
+ inherit: "default";
+ align: 1.0 0.5;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ }
+ }
+ image { "icn";
+ nomouse;
+ scale;
+ desc { "default";
+ image.normal: "core_icon_picker_arrow_right.png";
+ }
+ desc { "hidden";
+ inherit: "default";
+ image.normal: "core_icon_picker_arrow_left.png";
+ }
+ }
+ }
+ programs {
+ program { "hide1";
+ signal: "elm,action,hide"; source: "elm";
+ script {
+ custom_state(PART:"base", "default", 0.0);
+ set_state_val(PART:"base", STATE_REL1, 1.0, 0.0);
+ set_state_val(PART:"base", STATE_REL2, 2.0, 1.0);
+ }
+ after: "hide2";
+ }
+ }
+}