enlightenment-module-mail/mail.edc

214 lines
3.6 KiB
Plaintext

fonts
{
font: "VeraBd.ttf" "VeraBold";
}
images
{
image: "module_icon.png" COMP;
image: "newmail.png" COMP;
}
collections
{
group
{
name: "modules/mail/main";
max: 128 128;
parts
{
part
{
name: "clip";
type: RECT;
mouse_events: 1;
description
{
state: "default" 0.0;
color: 255 255 255 255;
rel1
{
relative: 0.0 0.0;
offset: 0 0;
}
rel2
{
relative: 1.0 1.0;
offset: -1 -1;
}
}
}
part
{
name: "logo";
type: IMAGE;
clip_to: "clip";
mouse_events: 1;
description
{
state: "default" 0.0;
aspect: 1.0 1.0;
rel1
{
relative: 0.0 0.0;
offset: 0 0;
}
rel2
{
relative: 1.0 1.0;
offset: -1 -1;
}
image
{
normal: "module_icon.png";
}
color: 255 255 255 255;
}
description
{
state: "new" 0.0;
inherit: "default" 0.0;
image
{
normal: "newmail.png";
}
}
}
part
{
name: "name";
type: TEXT;
clip_to: "clip";
effect: SOFT_SHADOW;
mouse_events: 0;
description
{
state: "default" 0.0;
color: 0 0 0 255;
color3: 255 255 255 42;
visible: 0;
rel1
{
relative: 0.0 0.9;
offset: 0 0;
to: "logo";
}
rel2
{
relative: 1.0 1.0;
offset: -1 -1;
to: "logo";
}
text
{
text: "Name";
font: "VeraBold";
size: 10;
min: 1 1;
align: 1.0 0.5;
text_class: "module_normal";
}
}
description
{
state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 0 0 0 255;
color3: 255 255 255 42;
}
}
part
{
name: "new_label";
type: TEXT;
clip_to: "clip";
effect: SOFT_SHADOW;
mouse_events: 0;
description
{
state: "default" 0.0;
color: 0 0 0 255;
color3: 255 255 255 42;
visible: 0;
rel1
{
relative: 0.0 0.3;
offset: 0 0;
to: "logo";
}
rel2
{
relative: 1.0 0.5;
offset: -1 -1;
to: "logo";
}
text
{
text: "New:";
font: "VeraBold";
size: 9;
min: 1 1;
align: 1.0 0.5;
text_class: "module_small";
}
}
description
{
state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 0 0 0 255;
color3: 255 255 255 42;
}
}
}
programs
{
program
{
name: "go_active";
signal: "label_active";
source: "";
action: STATE_SET "visible" 0.0;
transition: SINUSOIDAL 0.5;
target: "name";
target: "new_label";
}
program
{
name: "go_passive2";
signal: "label_passive2";
source: "";
action: ACTION_STOP;
target: "go_active";
}
program
{
name: "go_passive";
signal: "label_passive";
source: "";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 1.0;
target: "name";
target: "new_label";
}
program
{
name: "go_new";
signal: "new_mail";
action: STATE_SET "new" 0.0;
transition: SINUSOIDAL 0.5;
target: "logo";
}
program
{
name: "go_no";
signal: "no_mail";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 1.0;
target: "logo";
}
}
}
}