make toggle change color black to white for on/off

SVN revision: 37264
This commit is contained in:
Carsten Haitzler 2008-10-28 06:00:37 +00:00
parent 66ba6e635a
commit 3c2f9078e6
2 changed files with 92 additions and 1 deletions

View File

@ -726,13 +726,17 @@ collections {
}
part { name: "elm.ontext";
type: TEXT;
effect: SOFT_SHADOW;
mouse_events: 0;
scale: 1;
clip_to: "clipper";
description { state: "default" 0.0;
rel1.to: "onrect";
rel1.offset: 1 1;
rel2.to: "onrect";
color: 0 0 0 255;
rel2.offset: 0 0;
color: 224 224 224 255;
color3: 0 0 0 64;
text {
font: "Sans,Edje-Vera";
size: 10;
@ -3072,6 +3076,93 @@ collections {
}
}
}
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/bubble/base/default";
images {
image: "frame_1.png" COMP;
image: "frame_2.png" COMP;
image: "dia_grad.png" COMP;
}
parts {
part { name: "base0";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "dia_grad.png";
rel1.to: "over";
rel2.to: "over";
fill {
smooth: 0;
size {
relative: 0.0 1.0;
offset: 64 0;
}
}
}
}
part { name: "base";
mouse_events: 0;
description { state: "default" 0.0;
image {
normal: "frame_2.png";
border: 5 5 32 26;
middle: 0;
}
fill.smooth : 0;
}
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
rel1 {
to_y: "elm.text";
relative: 0.0 1.0;
offset: 8 2;
}
rel2.offset: -9 -9;
}
}
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
align: 0.0 0.0;
fixed: 0 1;
rel1 {
relative: 0.0 0.0;
offset: 6 6;
}
rel2 {
relative: 1.0 0.0;
offset: -7 6;
}
color: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
size: 10;
min: 1 1;
max: 1 1;
align: 0.0 0.0;
}
}
}
part { name: "over";
mouse_events: 0;
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
image {
normal: "frame_1.png";
border: 2 2 28 22;
middle: 0;
}
fill.smooth : 0;
}
}
}
}
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/icon/home/default"; min: 32 32;
images.image: "icon_home.png" COMP; parts { part { name: "base";

Binary file not shown.

Before

Width:  |  Height:  |  Size: 847 B

After

Width:  |  Height:  |  Size: 868 B