From b61867b266ebf91a4d0c5c13bf39191c18c46719 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Fri, 9 Nov 2007 20:59:05 +0000 Subject: [PATCH] Orientation support in the theme also. SVN revision: 32524 --- data/themes/default_toolbar.edc | 97 +++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/data/themes/default_toolbar.edc b/data/themes/default_toolbar.edc index c81e499fe..e70e56b3d 100644 --- a/data/themes/default_toolbar.edc +++ b/data/themes/default_toolbar.edc @@ -45,6 +45,41 @@ group to: "base"; } image.normal: "e17_menu_bg.png"; + fill + { + origin.offset: 0 -6; + size.offset: 0 6; + } + } + description + { + state: "bottom" 0.0; + inherit: "default" 0.0; + fill + { + origin.offset: 0 0; + size.offset: 0 6; + } + } + description + { + state: "left" 0.0; + inherit: "default" 0.0; + fill + { + origin.offset: -6 -16; + size.offset: 6 16; + } + } + description + { + state: "right" 0.0; + inherit: "default" 0.0; + fill + { + origin.offset: 0 0; + size.offset: 6 0; + } } } part @@ -70,7 +105,69 @@ group description { state: "default" 0.0; + rel1.offset: 18 2; + rel2.offset: -19 -3; + } + description + { + state: "bottom" 0.0; + inherit: "default" 0.0; + rel1.offset: 18 2; + rel2.offset: -19 -3; + } + description + { + state: "left" 0.0; + inherit: "default" 0.0; + rel1.offset: 2 18; + rel2.offset: -3 -19; + } + description + { + state: "right" 0.0; + inherit: "default" 0.0; + rel1.offset: 2 18; + rel2.offset: -3 -19; } } } + programs + { + program + { + name: "orient1"; + signal: "e,state,orientation,top"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "bg"; + target: "e.swallow.content"; + } + program + { + name: "orient2"; + signal: "e,state,orientation,bottom"; + source: "e"; + action: STATE_SET "bottom" 0.0; + target: "bg"; + target: "e.swallow.content"; + } + program + { + name: "orient3"; + signal: "e,state,orientation,left"; + source: "e"; + action: STATE_SET "left" 0.0; + target: "bg"; + target: "e.swallow.content"; + } + program + { + name: "orient4"; + signal: "e,state,orientation,right"; + source: "e"; + action: STATE_SET "right" 0.0; + target: "bg"; + target: "e.swallow.content"; + } + } }