75 lines
2.1 KiB
Plaintext
75 lines
2.1 KiB
Plaintext
|
collections {
|
||
|
|
||
|
images.image: "module_icon.png" COMP;
|
||
|
|
||
|
group {
|
||
|
name: "icon";
|
||
|
max: 48 48;
|
||
|
parts {
|
||
|
part {
|
||
|
name: "image";
|
||
|
type: IMAGE;
|
||
|
mouse_events: 0;
|
||
|
description {
|
||
|
state: "default" 0.00;
|
||
|
visible: 1;
|
||
|
aspect: 1.00 1.00;
|
||
|
aspect_preference: BOTH;
|
||
|
rel1 {
|
||
|
relative: 0.00 0.00;
|
||
|
offset: 0 0;
|
||
|
}
|
||
|
rel2 {
|
||
|
relative: 1.00 1.00;
|
||
|
offset: -1 -1;
|
||
|
}
|
||
|
image.normal: "module_icon.png";
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
group {
|
||
|
name: "modules/share/main";
|
||
|
max: 128 128;
|
||
|
parts {
|
||
|
part { name: "logo";
|
||
|
type: IMAGE;
|
||
|
description { state: "default" 0.0;
|
||
|
aspect: 1.0 1.0;
|
||
|
aspect_preference: BOTH;
|
||
|
rel1.offset: 0 0;
|
||
|
rel2.offset: -1 -1;
|
||
|
image.normal: "module_icon.png";
|
||
|
}
|
||
|
description { state: "active" 0.0;
|
||
|
inherit: "default" 0.0;
|
||
|
color: 255 255 255 128;
|
||
|
}
|
||
|
}
|
||
|
part { name: "inout";
|
||
|
type: RECT;
|
||
|
mouse_events: 1;
|
||
|
description { state: "default" 0.0;
|
||
|
color: 255 255 255 0;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
programs {
|
||
|
program { name: "go_active";
|
||
|
signal: "active";
|
||
|
source: "";
|
||
|
action: STATE_SET "active" 0.0;
|
||
|
target: "logo";
|
||
|
transition: LINEAR 0.5;
|
||
|
}
|
||
|
program { name: "go_passive";
|
||
|
signal: "passive";
|
||
|
source: "";
|
||
|
action: STATE_SET "default" 0.0;
|
||
|
target: "logo";
|
||
|
transition: LINEAR 0.5;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|