modules/comp-scale: fix default theme.. now the module works again if anyone cares
SVN revision: 81643
This commit is contained in:
parent
0558c1abbc
commit
9e627581d1
|
@ -134,6 +134,207 @@ collections
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* comp-scale has to recreate to border shadow as we cant get it from comp */
|
||||||
|
group {
|
||||||
|
name: "modules/scale/win";
|
||||||
|
|
||||||
|
parts {
|
||||||
|
part { name: "clipper";
|
||||||
|
type: RECT;
|
||||||
|
mouse_events: 0;
|
||||||
|
description { state: "default" 0.0;
|
||||||
|
color: 255 255 255 255;
|
||||||
|
rel1 {
|
||||||
|
relative: -1.0 -1.0;
|
||||||
|
offset: -9999 -9999;
|
||||||
|
}
|
||||||
|
rel2 {
|
||||||
|
relative: 2.0 2.0;
|
||||||
|
offset: 9999 9999;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
description { state: "faded" 0.0;
|
||||||
|
inherit: "default" 0.0;
|
||||||
|
color: 200 200 200 200;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
part { name: "shadow";
|
||||||
|
mouse_events: 0;
|
||||||
|
clip_to: "clipper";
|
||||||
|
description { state: "default" 0.0;
|
||||||
|
image {
|
||||||
|
normal: "sh.png";
|
||||||
|
border: 35 35 35 35;
|
||||||
|
middle: 0;
|
||||||
|
}
|
||||||
|
fill {
|
||||||
|
smooth: 0;
|
||||||
|
}
|
||||||
|
rel1 {
|
||||||
|
to: "e.swallow.win";
|
||||||
|
relative: 0.0 0.0;
|
||||||
|
offset: -16 -14;
|
||||||
|
}
|
||||||
|
rel2 {
|
||||||
|
to: "e.swallow.win";
|
||||||
|
relative: 1.0 1.0;
|
||||||
|
offset: 15 17;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
part {
|
||||||
|
name: "e.swallow.win";
|
||||||
|
type: SWALLOW;
|
||||||
|
clip_to: "clipper";
|
||||||
|
mouse_events: 1;
|
||||||
|
description {
|
||||||
|
state: "default" 0.0;
|
||||||
|
color: 255 255 255 255;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
part {
|
||||||
|
name: "text.clipper";
|
||||||
|
type: RECT;
|
||||||
|
description {
|
||||||
|
state: "default" 0.0;
|
||||||
|
rel1 {
|
||||||
|
to: "e.swallow.win";
|
||||||
|
offset: 10 0;
|
||||||
|
}
|
||||||
|
rel2 {
|
||||||
|
to: "e.swallow.win";
|
||||||
|
offset: -10 -1;
|
||||||
|
}
|
||||||
|
color: 255 255 255 0;
|
||||||
|
visible: 0;
|
||||||
|
}
|
||||||
|
description {
|
||||||
|
state: "show" 0.0;
|
||||||
|
inherit: "default" 0.0;
|
||||||
|
color: 255 255 255 255;
|
||||||
|
visible: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
part {
|
||||||
|
name: "text_bg";
|
||||||
|
mouse_events: 0;
|
||||||
|
clip_to: "text.clipper";
|
||||||
|
description {
|
||||||
|
state: "default" 0.0;
|
||||||
|
min: 60 22;
|
||||||
|
max: 9999 22;
|
||||||
|
color: 255 255 255 192;
|
||||||
|
rel1 {
|
||||||
|
to: "e.text.label";
|
||||||
|
relative: 0.0 0.0;
|
||||||
|
offset: -10 0;
|
||||||
|
}
|
||||||
|
rel2 {
|
||||||
|
to: "e.text.label";
|
||||||
|
relative: 1.0 1.0;
|
||||||
|
offset: 10 -1;
|
||||||
|
}
|
||||||
|
image {
|
||||||
|
normal: "label.png";
|
||||||
|
border: 5 5 5 5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
part {
|
||||||
|
name: "e.text.label";
|
||||||
|
type: TEXT;
|
||||||
|
/* effect: TEXT_EFFECT_BOLD; */
|
||||||
|
scale: 1;
|
||||||
|
mouse_events: 0;
|
||||||
|
clip_to: "text.clipper";
|
||||||
|
description {
|
||||||
|
state: "default" 0.0;
|
||||||
|
visible: 0;
|
||||||
|
rel1 {
|
||||||
|
to: "e.swallow.win";
|
||||||
|
offset: 25 0;
|
||||||
|
}
|
||||||
|
rel2 {
|
||||||
|
to: "e.swallow.win";
|
||||||
|
offset: -25 -1;
|
||||||
|
}
|
||||||
|
text {
|
||||||
|
font: "Sans:style=Bold";
|
||||||
|
size: 7;
|
||||||
|
align: 0.5 0.5;
|
||||||
|
elipsis: 1.0;
|
||||||
|
// min: 0 1;
|
||||||
|
max: 1 0;
|
||||||
|
text: "";
|
||||||
|
text_class: "border_title_active";
|
||||||
|
}
|
||||||
|
|
||||||
|
/* TEXT_COLOR_SELECTED;
|
||||||
|
* TEXT_BOLD("border_title_active", 0.5 0.5, 1 0); */
|
||||||
|
|
||||||
|
text {
|
||||||
|
elipsis: 1.0;
|
||||||
|
max: 1 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
programs {
|
||||||
|
program {
|
||||||
|
name: "mouse_in";
|
||||||
|
signal: "mouse,in";
|
||||||
|
source: "e";
|
||||||
|
action: STATE_SET "default" 0.0;
|
||||||
|
transition: SINUSOIDAL 0.4 CURRENT;
|
||||||
|
target: "clipper";
|
||||||
|
}
|
||||||
|
program {
|
||||||
|
name: "mouse_out";
|
||||||
|
signal: "mouse,out";
|
||||||
|
source: "e";
|
||||||
|
action: STATE_SET "faded" 0.0;
|
||||||
|
transition: SINUSOIDAL 0.4 CURRENT;
|
||||||
|
target: "clipper";
|
||||||
|
}
|
||||||
|
program {
|
||||||
|
name: "mouse_in2";
|
||||||
|
signal: "mouse,in";
|
||||||
|
source: "e";
|
||||||
|
action: STATE_SET "show" 0.0;
|
||||||
|
transition: SINUSOIDAL 0.2 CURRENT;
|
||||||
|
target: "text.clipper";
|
||||||
|
}
|
||||||
|
program {
|
||||||
|
name: "mouse_out2";
|
||||||
|
signal: "mouse,out";
|
||||||
|
source: "e";
|
||||||
|
action: STATE_SET "default" 0.0;
|
||||||
|
transition: DECELERATE 0.2 CURRENT;
|
||||||
|
target: "text.clipper";
|
||||||
|
}
|
||||||
|
program {
|
||||||
|
name: "hide";
|
||||||
|
signal: "hide";
|
||||||
|
source: "e";
|
||||||
|
action: STATE_SET "default" 0.0;
|
||||||
|
transition: SINUSOIDAL 0.2 CURRENT;
|
||||||
|
target: "clipper";
|
||||||
|
}
|
||||||
|
program {
|
||||||
|
name: "show";
|
||||||
|
signal: "show";
|
||||||
|
source: "e";
|
||||||
|
action: STATE_SET "default" 0.0;
|
||||||
|
transition: SINUSOIDAL 0.2 CURRENT;
|
||||||
|
target: "text.clipper";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
group {
|
group {
|
||||||
name: "modules/scale/win";
|
name: "modules/scale/win";
|
||||||
|
|
||||||
|
@ -186,7 +387,7 @@ collections
|
||||||
name: "e.swallow.win";
|
name: "e.swallow.win";
|
||||||
type: SWALLOW;
|
type: SWALLOW;
|
||||||
clip_to: "clipper";
|
clip_to: "clipper";
|
||||||
/* mouse_events: 0; */
|
// mouse_events: 0;
|
||||||
description {
|
description {
|
||||||
state: "default" 0.0;
|
state: "default" 0.0;
|
||||||
color: 255 255 255 255;
|
color: 255 255 255 255;
|
||||||
|
@ -268,7 +469,7 @@ collections
|
||||||
size: 7;
|
size: 7;
|
||||||
align: 0.5 0.5;
|
align: 0.5 0.5;
|
||||||
elipsis: 1.0;
|
elipsis: 1.0;
|
||||||
/* min: 0 1; */
|
// min: 0 1;
|
||||||
max: 1 0;
|
max: 1 0;
|
||||||
text: "";
|
text: "";
|
||||||
text_class: "border_title_active";
|
text_class: "border_title_active";
|
||||||
|
@ -328,7 +529,7 @@ collections
|
||||||
target: "text.clipper";
|
target: "text.clipper";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
group {
|
group {
|
||||||
name: "modules/scale/desk";
|
name: "modules/scale/desk";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue