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 <cp.michael@samsung.com>

SVN revision: 84144
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
This commit is contained in:
Christopher Michael 2013-02-19 10:56:30 +00:00 committed by Deon Thomas
parent 24603c1ee0
commit 7dbd8b4177
1 changed files with 50 additions and 0 deletions

View File

@ -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;