aboutsummaryrefslogtreecommitdiffstats
path: root/data/elementary/themes/edc/efl/navigation_bar.edc
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2018-04-12 21:42:38 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2018-04-19 23:40:06 +0900
commit6c65b6368ab021426dde708d1acf4c705c25f645 (patch)
tree3bb236f66c28e667d576ca4a1d1fd0bd2ad944df /data/elementary/themes/edc/efl/navigation_bar.edc
parentefl_ui_navigation_layout: Add Efl.Ui.Navigation_Layout class (diff)
downloadefl-6c65b6368ab021426dde708d1acf4c705c25f645.tar.gz
efl_ui_navigation_bar: Add Efl.Ui.Navigation_Bar class
Efl.Ui.Navigation_Bar is a widget which provides a bar form useful for navigation.
Diffstat (limited to '')
-rw-r--r--data/elementary/themes/edc/efl/navigation_bar.edc114
1 files changed, 114 insertions, 0 deletions
diff --git a/data/elementary/themes/edc/efl/navigation_bar.edc b/data/elementary/themes/edc/efl/navigation_bar.edc
new file mode 100644
index 0000000000..212ddd8d76
--- /dev/null
+++ b/data/elementary/themes/edc/efl/navigation_bar.edc
@@ -0,0 +1,114 @@
+//Efl.Ui.Navigation_Bar Themes
+group { "efl/navigation_bar";
+ styles {
+ style { name: "navigation_bar_text";
+ base: "font="FNBD" font_size=10 text_class=label align=center color=#fff color_class=navigation_bar_text style=shadow,bottom shadow_color=#00000080 ellipsis=1.0 wrap=mixed";
+ tag: "br" "\n";
+ tag: "hilight" "+ font="FNBD" text_class=label_light";
+ tag: "b" "+ font="FNBD" text_class=label_light";
+ tag: "whitecolor" "+ color=#fff";
+ tag: "tab" "\t";
+ }
+ }
+ parts {
+ spacer { "base";
+ desc { "default";
+ }
+ }
+ swallow { "back_button";
+ desc { "default";
+ fixed: 1 0;
+ min: 0 0;
+ max: 0 -1;
+ rel.to: "base";
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.5;
+ hid;
+ }
+ desc { "visible";
+ inherit: "default";
+ min: 40 0;
+ max: 40 -1;
+ vis;
+ }
+ }
+ swallow { "left_content";
+ desc { "default";
+ rel.to: "base";
+ rel2.relative: 0.0 1.0;
+ align: 0.0 0.5;
+ }
+ }
+ swallow { "right_content";
+ desc { "default";
+ rel.to: "base";
+ rel1.relative: 1.0 0.0;
+ align: 1.0 0.5;
+ }
+ }
+ spacer { "text_base";
+ desc { "default";
+ rel1 {
+ to: "back_button";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "right_content";
+ relative: 0.0 1.0;
+ }
+ }
+ desc { "left_content";
+ inherit: "default";
+ rel1 {
+ to: "left_content";
+ relative: 1.0 0.0;
+ }
+ }
+ }
+ textblock { "text";
+ scale;
+ desc { "default";
+ text {
+ style: "navigation_bar_text";
+ }
+ rel.to: "text_base";
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,back_button,visible"; source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "back_button";
+ }
+ program {
+ signal: "elm,state,back_button,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "back_button";
+ }
+ program {
+ signal: "elm,state,left_content,visible"; source: "elm";
+ action: STATE_SET "left_content" 0.0;
+ target: "text_base";
+ }
+ program {
+ signal: "elm,state,left_content,hidden"; source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "text_base";
+ }
+ }
+ }
+}
+
+group { name: "efl/navigation_bar/back_button";
+ inherit: "efl/button";
+ images.image: "icon_arrow_left.png" COMP;
+ parts {
+ image { name: "icon_arrow_left";
+ insert_before: "elm.swallow.content";
+ desc { "default";
+ image.normal: "icon_arrow_left.png";
+ fill.smooth: 0;
+ }
+ }
+ }
+}