From 39207345d6c5b490910aa82c37638710ffe8c8c2 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 19 Feb 2013 10:56:30 +0000 Subject: [PATCH] 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 SVN revision: 84144 --- 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 3d7a84f96..30926e8ab 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;