2011-02-25 22:57:41 -08:00
|
|
|
images
|
2010-12-21 03:58:59 -08:00
|
|
|
{
|
2011-02-21 07:52:24 -08:00
|
|
|
image: "module_icon.png" COMP;
|
2010-12-21 03:58:59 -08:00
|
|
|
}
|
|
|
|
|
2011-02-25 22:57:41 -08:00
|
|
|
collections
|
2010-12-21 03:58:59 -08:00
|
|
|
{
|
2011-02-21 07:52:24 -08:00
|
|
|
group {
|
|
|
|
name: "icon";
|
|
|
|
max: 128 128;
|
|
|
|
parts {
|
|
|
|
part {
|
|
|
|
name: "image";
|
|
|
|
mouse_events: 0;
|
|
|
|
type: IMAGE;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
image.normal: "module_icon.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
group {
|
|
|
|
name: "modules/scale/main";
|
|
|
|
max: 128 128;
|
|
|
|
parts {
|
|
|
|
part {
|
|
|
|
name: "icon";
|
|
|
|
mouse_events: 0;
|
|
|
|
type: IMAGE;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
aspect: 1.0 1.0;
|
|
|
|
aspect_preference: BOTH;
|
|
|
|
rel1.offset: 2 2;
|
|
|
|
rel2.offset: -3 -3;
|
|
|
|
image.normal: "module_icon.png";
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "bigger" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel1.offset: -2 -2;
|
|
|
|
rel2.offset: 3 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "event";
|
|
|
|
mouse_events: 1;
|
|
|
|
type: RECT;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program {
|
|
|
|
name: "mouse_in";
|
|
|
|
signal: "mouse,in";
|
|
|
|
source: "event";
|
|
|
|
action: STATE_SET "bigger" 0.0;
|
|
|
|
transition: LINEAR 0.1;
|
|
|
|
target: "icon";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "mouse_out";
|
|
|
|
signal: "mouse,out";
|
|
|
|
source: "event";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: LINEAR 0.2;
|
|
|
|
target: "icon";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-02-25 22:57:41 -08:00
|
|
|
|
2011-02-21 07:52:24 -08:00
|
|
|
group {
|
|
|
|
name: "modules/scale/win";
|
|
|
|
|
|
|
|
parts {
|
2011-02-25 22:57:41 -08:00
|
|
|
|
2011-02-21 07:52:24 -08:00
|
|
|
part {
|
|
|
|
name: "e.swallow.win";
|
2011-02-25 22:57:41 -08:00
|
|
|
type: SWALLOW;
|
2011-02-21 07:52:24 -08:00
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
2011-02-25 22:57:41 -08:00
|
|
|
color: 255 255 255 200;
|
2011-02-21 07:52:24 -08:00
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "focused" 0.0;
|
2011-02-25 22:57:41 -08:00
|
|
|
color: 255 255 255 255;
|
2011-02-21 07:52:24 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* part {
|
|
|
|
* name: "icon";
|
|
|
|
* mouse_events: 0;
|
|
|
|
* type: IMAGE;
|
|
|
|
* description {
|
|
|
|
* state: "default" 0.0;
|
|
|
|
* aspect: 1.0 1.0;
|
|
|
|
* aspect_preference: BOTH;
|
|
|
|
* rel1.relative;
|
2011-02-25 22:57:41 -08:00
|
|
|
*
|
2011-02-21 07:52:24 -08:00
|
|
|
* rel1.offset: 2 2;
|
|
|
|
* rel2.offset: -3 -3;
|
|
|
|
* image.normal: "module_icon.png";
|
|
|
|
* }
|
|
|
|
* description {
|
|
|
|
* state: "bigger" 0.0;
|
|
|
|
* inherit: "default" 0.0;
|
|
|
|
* rel1.offset: -2 -2;
|
|
|
|
* rel2.offset: 3 3;
|
|
|
|
* }
|
|
|
|
* } */
|
2011-02-25 22:57:41 -08:00
|
|
|
part {
|
|
|
|
name: "event";
|
|
|
|
mouse_events: 1;
|
|
|
|
type: RECT;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 200 200 200 10;
|
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "focused" 0.0;
|
|
|
|
color: 255 255 255 150;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2011-02-21 07:52:24 -08:00
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program {
|
|
|
|
name: "mouse_in";
|
|
|
|
signal: "mouse,in";
|
|
|
|
source: "e";
|
|
|
|
action: STATE_SET "focused" 0.0;
|
|
|
|
transition: SINUSOIDAL 0.3;
|
2011-02-25 22:57:41 -08:00
|
|
|
target: "event";
|
2011-02-21 07:52:24 -08:00
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "mouse_out";
|
|
|
|
signal: "mouse,out";
|
|
|
|
source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: SINUSOIDAL 0.4;
|
2011-02-25 22:57:41 -08:00
|
|
|
target: "event";
|
2011-02-21 07:52:24 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2011-02-25 22:57:41 -08:00
|
|
|
group {
|
|
|
|
name: "modules/scale/desk";
|
|
|
|
|
|
|
|
parts {
|
|
|
|
part {
|
|
|
|
name: "left";
|
|
|
|
mouse_events: 0;
|
|
|
|
type: RECT;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 0 0 0 120;
|
|
|
|
rel2 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
offset: 0 -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "right";
|
|
|
|
mouse_events: 0;
|
|
|
|
type: RECT;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 0 0 0 120;
|
|
|
|
rel1 {
|
|
|
|
relative: 1.0 0.0;
|
|
|
|
offset: -1 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "top";
|
|
|
|
mouse_events: 0;
|
|
|
|
type: RECT;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 0 0 0 120;
|
|
|
|
rel2 {
|
|
|
|
relative: 1.0 0.0;
|
|
|
|
offset: -1 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "bottom";
|
|
|
|
mouse_events: 0;
|
|
|
|
type: RECT;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 0 0 0 100;
|
|
|
|
rel1 {
|
|
|
|
relative: 0.0 1.0;
|
|
|
|
offset: 0 -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part {
|
|
|
|
name: "event";
|
|
|
|
mouse_events: 1;
|
|
|
|
type: RECT;
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
2011-02-25 23:26:02 -08:00
|
|
|
color: 0 0 0 60;
|
2011-02-25 22:57:41 -08:00
|
|
|
}
|
|
|
|
description {
|
|
|
|
state: "focused" 0.0;
|
|
|
|
color: 0 0 0 80;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program {
|
|
|
|
name: "mouse_in";
|
|
|
|
signal: "mouse,in";
|
|
|
|
source: "e";
|
|
|
|
action: STATE_SET "focused" 0.0;
|
|
|
|
transition: SINUSOIDAL 0.3;
|
|
|
|
target: "event";
|
|
|
|
}
|
|
|
|
program {
|
|
|
|
name: "mouse_out";
|
|
|
|
signal: "mouse,out";
|
|
|
|
source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: SINUSOIDAL 0.4;
|
|
|
|
target: "event";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2010-12-21 03:58:59 -08:00
|
|
|
}
|