princeamd pushed a commit to branch enlightenment-0.17.
commit 7dbd8b41774c6c217f4ccfbba77dfcd60fcb27fb
Author: Christopher Michael <[email protected]>
Date: Tue Feb 19 10:56:30 2013 +0000
Backport: 3920734 :: Create new randr widget group (for the main randr
widget) and give it an "inset" look like the wallpaper preview widget.
NB: This probably could have been aliased to the wallpaper preview
widget but is separate right now in case the boss wants to change it ;)
Signed-off-by: Christopher Michael <[email protected]>
SVN revision: 84144
Signed-off-by: Deon Thomas <[email protected]>
---
data/themes/edc/randr.edc | 50 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/data/themes/edc/randr.edc b/data/themes/edc/randr.edc
index 3d7a84f..30926e8 100644
--- a/data/themes/edc/randr.edc
+++ b/data/themes/edc/randr.edc
@@ -1,3 +1,53 @@
+group { name: "e/conf/randr/main";
+ images.image: "inset_shadow.png" COMP;
+ images.image: "bevel_in.png" COMP;
+ parts {
+ part { name: "bg"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "e.swallow.content";
+ rel2.to: "e.swallow.content";
+ color: 64 64 64 255;
+ }
+ }
+ part { name: "clipper"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "e.swallow.content";
+ rel2.to: "e.swallow.content";
+ }
+ }
+ part { name: "e.swallow.content"; type: SWALLOW;
+ clip_to: "clipper";
+ description { state: "default" 0.0;
+ rel1.offset: 1 1;
+ rel2.offset: -2 -2;
+ }
+ }
+ part { name: "shadow"; type: IMAGE; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "inset_shadow.png";
+ image.border: 5 5 7 3;
+ image.middle: 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ fill.smooth: 0;
+ color: 255 255 255 128;
+ }
+ }
+ part { name: "inset"; type: IMAGE; mouse_events: 0;
+ description { state: "default" 0.0;
+ image.normal: "bevel_in.png";
+ image.border: 1 1 1 1;
+ image.middle: 0;
+ rel1.offset: -1 -1;
+ rel1.to: "bg";
+ rel2.offset: 0 0;
+ rel2.to: "bg";
+ fill.smooth: 0;
+ }
+ }
+ }
+}
+
group { name: "e/conf/randr/main/monitor";
parts {
part { name: "e.swallow.stand"; type: SWALLOW;
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev