legacy/experimental/ecdb/trunk/data/themes/default/groups/erase_disc.edc

301 lines
4.3 KiB
Plaintext
Raw Normal View History

group {
name: "ecdb/erase_page";
min: 640 170;
parts {
part {
name: "bg";
2008-09-24 18:52:11 +00:00
type: RECT;
description {
state: "default" 0.0;
color: 0 0 0 0;
2008-09-25 17:39:40 +00:00
rel1 {
relative: 0.0 0.0;
offset: 0 0;
2008-09-25 17:39:40 +00:00
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
2008-09-25 17:39:40 +00:00
}
}
description {
state: "before_show" 0.0;
2008-09-25 17:39:40 +00:00
color: 0 0 0 0;
rel1 {
relative: 0.0 0.0;
2008-11-01 17:54:25 +00:00
offset: -33 0;
}
rel2 {
relative: 0.0 0.0;
2008-11-01 17:54:25 +00:00
offset: -1 0;
}
}
description {
2008-09-25 17:39:40 +00:00
state: "hide" 0.0;
color: 0 0 0 0;
rel1 {
relative: 1.0 1.0;
offset: -1 -1;
2008-09-25 17:39:40 +00:00
}
rel2 {
relative: 1.0 1.0;
offset: 33 33;
}
}
}
part {
name: "ecdb/erase/return";
type: SWALLOW;
repeat_events: 1;
description {
state: "default" 0.0;
rel1 {
to: "bg";
relative: 0.5 0.0;
2008-09-25 17:39:40 +00:00
offset: 10 10;
}
rel2 {
to: "bg";
relative: 1.0 0.3;
offset: -11 -11;
}
2008-09-25 17:39:40 +00:00
}
}
part {
name: "ecdb/erase/begin";
2008-09-25 17:39:40 +00:00
type: SWALLOW;
repeat_events: 1;
2008-09-25 17:39:40 +00:00
description {
state: "default" 0.0;
rel1 {
to: "bg";
relative: 0.5 0.3;
offset: 10 10;
2008-09-25 17:39:40 +00:00
}
rel2 {
to: "bg";
relative: 1.0 0.6;
offset: -11 -11;
}
}
}
part {
name: "ecdb/erase/speed";
type: SWALLOW;
repeat_events: 1;
description {
state: "default" 0.0;
rel1 {
to: "bg";
relative: 0.5 0.6;
offset: 10 10;
}
rel2 {
to: "bg";
relative: 1.0 0.9;
offset: -11 -11;
2008-09-25 17:39:40 +00:00
}
}
}
part {
name: "progress_outline";
type: IMAGE;
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
to: "bg";
relative: 0.0 0.0;
offset: 10 13;
}
rel2 {
to: "bg";
relative: 0.5 1.0;
offset: -1 -10;
}
image {
normal: "frame_outline.png";
border: 9 9 9 9;
}
}
}
2008-11-05 15:20:00 +00:00
2008-11-05 15:48:37 +00:00
part {
name: "progress_text";
type: TEXT;
effect: SOFT_SHADOW;
description {
state: "default" 0.0;
fixed: 1 1;
color: 200 200 200 255;
color3: 20 20 20 255;
rel1 {
to: "progress_outline";
relative: 0.0 0.7;
2008-11-05 15:48:37 +00:00
offset: 5 5;
}
rel2 {
to: "progress_outline";
relative: 1.0 1.0;
offset: -6 -6;
}
text {
text: "Begin Erase";
font: "ecdb/default";
min: 1 1;
size: 24;
align: 0.5 0.5;
}
}
description {
state: "fade" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
}
}
part {
name: "progress_percent";
type: TEXT;
effect: SOFT_SHADOW;
description {
state: "default" 0.0;
fixed: 1 1;
color: 200 200 200 255;
color3: 20 20 20 255;
rel1 {
to: "progress_outline";
relative: 0.0 0.0;
offset: 5 5;
}
rel2 {
to: "progress_outline";
relative: 1.0 0.7;
offset: -6 -6;
}
text {
text: "0%";
font: "ecdb/default";
min: 1 1;
size: 72;
align: 0.5 0.5;
}
}
}
2008-11-05 15:20:00 +00:00
part {
name: "disabled_hack";
type: RECT;
mouse_events: 1;
description {
state: "default" 0.0;
visible: 0;
rel1 {
to: "bg";
relative: 0.5 0.0;
offset: 0 0;
}
rel2 {
to: "bg";
relative: 1.0 1.0;
offset: -1 -1;
}
}
description {
state: "visible" 0.0;
inherit: "default" 0.0;
2008-11-06 19:04:00 +00:00
color: 255 255 255 0;
2008-11-05 15:20:00 +00:00
visible: 1;
}
}
}
programs {
program {
2008-09-25 17:39:40 +00:00
name: "erase_page,visible1";
signal: "ecdb,erase_page,visible";
source: "ecdb";
action: STATE_SET "before_show" 0.0;
2008-09-25 17:39:40 +00:00
target: "bg";
after: "erase_page,visible2";
}
program {
name: "erase_page,visible2";
action: STATE_SET "default" 0.0;
target: "bg";
2008-09-24 18:52:11 +00:00
transition: DECELERATE 0.5;
}
program {
name: "erase_page,hide";
signal: "ecdb,erase_page,hide";
source: "ecdb";
2008-09-25 17:39:40 +00:00
action: STATE_SET "hide" 0.0;
target: "bg";
2008-09-25 17:39:40 +00:00
transition: DECELERATE 0.5;
after: "hide,finished";
}
2008-11-05 14:54:58 +00:00
program {
name: "erase_page,controls_disable";
signal: "ecdb,erase,start";
source: "ecdb";
2008-11-05 15:20:00 +00:00
action: STATE_SET "visible" 0.0;
target: "disabled_hack";
}
program {
name: "erase_page,controls_enable";
signal: "ecdb,erase,done";
source: "ecdb";
action: STATE_SET "default" 0.0;
target: "disabled_hack";
2008-11-05 14:54:58 +00:00
}
2008-09-25 17:39:40 +00:00
program {
name: "hide,finished";
action: SIGNAL_EMIT "hide,finished" "erase_page";
}
}
}