2008-12-22 01:12:16 +00:00
|
|
|
/* vim: set sw=3 ts=3 sts=3 expandtab: */
|
|
|
|
group {
|
|
|
|
name: "ecdb/burn_data_page";
|
|
|
|
|
|
|
|
parts {
|
|
|
|
part {
|
|
|
|
name: "bg";
|
|
|
|
type: RECT;
|
|
|
|
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
|
|
|
|
rel1 {
|
|
|
|
relative: 0.0 0.0;
|
|
|
|
offset: 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
rel2 {
|
|
|
|
relative: 1.0 1.0;
|
|
|
|
offset: -1 -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
description {
|
|
|
|
state: "before_show" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
|
|
|
|
rel1 {
|
|
|
|
relative: 0.0 0.0;
|
|
|
|
offset: -33 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
rel2 {
|
|
|
|
relative: 0.0 0.0;
|
|
|
|
offset: -1 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
description {
|
|
|
|
state: "hide" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
|
|
|
|
rel1 {
|
|
|
|
relative: 1.0 1.0;
|
|
|
|
offset: -1 -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
rel2 {
|
|
|
|
relative: 1.0 1.0;
|
|
|
|
offset: 33 33;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-01-24 22:47:17 +00:00
|
|
|
BUTTON("ecdb/burn_data/return", "ecdb/burn_data/return/text", 100, 26, 150, 26, "bg", "bg", 0, 0, "bg", "bg", 1, 1, 0, 5, -5, 1, 1, 0)
|
2008-12-22 01:12:16 +00:00
|
|
|
|
2009-01-24 22:47:17 +00:00
|
|
|
BUTTON("ecdb/burn_data/begin", "ecdb/burn_data/begin/text", 100, 26, 150, 26, "bg", "ecdb/burn_data/return", 0, 1, "bg", "ecdb/burn_data/return", 1, 1, 0, 5, -5, -1, 1, 0)
|
2008-12-22 01:12:16 +00:00
|
|
|
|
|
|
|
part {
|
|
|
|
name: "ecdb/burn_data/drive";
|
|
|
|
type: SWALLOW;
|
|
|
|
repeat_events: 1;
|
2009-01-16 04:07:47 +00:00
|
|
|
scale: 1;
|
2008-12-22 01:12:16 +00:00
|
|
|
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
2009-01-24 22:47:17 +00:00
|
|
|
align: 1.0 0.0;
|
|
|
|
max: 150 26;
|
|
|
|
min: 100 26;
|
2008-12-22 01:12:16 +00:00
|
|
|
|
|
|
|
rel1 {
|
2009-01-24 22:47:17 +00:00
|
|
|
to_y: "ecdb/burn_data/begin";
|
|
|
|
to_x: "bg";
|
2008-12-22 01:12:16 +00:00
|
|
|
relative: 0.0 1.0;
|
|
|
|
offset: 0 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
rel2 {
|
2009-01-24 22:47:17 +00:00
|
|
|
to: "bg";
|
2008-12-22 01:12:16 +00:00
|
|
|
relative: 1.0 1.0;
|
2009-01-24 22:47:17 +00:00
|
|
|
offset: -5 -1;
|
2008-12-22 01:12:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
part {
|
|
|
|
name: "ecdb/burn_data/speed";
|
|
|
|
type: SWALLOW;
|
|
|
|
repeat_events: 1;
|
2009-01-16 04:07:47 +00:00
|
|
|
scale: 1;
|
2008-12-22 01:12:16 +00:00
|
|
|
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
2009-01-24 22:47:17 +00:00
|
|
|
align: 1.0 0.0;
|
|
|
|
max: 150 26;
|
|
|
|
min: 100 26;
|
2008-12-22 01:12:16 +00:00
|
|
|
|
|
|
|
rel1 {
|
2009-01-24 22:47:17 +00:00
|
|
|
to_y: "ecdb/burn_data/drive";
|
|
|
|
to_x: "bg";
|
2008-12-22 01:12:16 +00:00
|
|
|
relative: 0.0 1.0;
|
|
|
|
offset: 0 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
rel2 {
|
2009-01-24 22:47:17 +00:00
|
|
|
to: "bg";
|
2008-12-22 01:12:16 +00:00
|
|
|
relative: 1.0 1.0;
|
2009-01-24 22:47:17 +00:00
|
|
|
offset: -5 -1;
|
2008-12-22 01:12:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2009-01-24 22:47:17 +00:00
|
|
|
BUTTON("ecdb/burn_data/settings", "ecdb/burn_data/settings/text", 100, 26, 150, 26, "bg", "ecdb/burn_data/speed", 0, 1, "bg", "ecdb/burn_data/speed", 1, 1, 0, 5, -5, -1, 1, 0)
|
2008-12-24 22:59:59 +00:00
|
|
|
|
2008-12-22 01:12:16 +00:00
|
|
|
/* Missing a description later */
|
|
|
|
part {
|
|
|
|
name: "ecdb/burn_data/filelist";
|
|
|
|
type: SWALLOW;
|
|
|
|
repeat_events: 1;
|
2009-01-16 04:07:47 +00:00
|
|
|
scale: 1;
|
2008-12-22 01:12:16 +00:00
|
|
|
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
|
|
|
|
rel1 {
|
|
|
|
to: "bg";
|
|
|
|
relative: 0.0 0.0;
|
|
|
|
offset: 10 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
rel2 {
|
2009-01-24 22:47:17 +00:00
|
|
|
to_x: "ecdb/burn_data/return";
|
|
|
|
to_y: "ecdb/burn_data/capacity";
|
|
|
|
relative: 0.0 0.0;
|
|
|
|
offset: -5 -10;
|
2008-12-24 22:59:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
part {
|
|
|
|
name: "ecdb/burn_data/capacity";
|
|
|
|
type: SWALLOW;
|
|
|
|
repeat_events: 0;
|
2009-01-16 04:07:47 +00:00
|
|
|
scale: 1;
|
2008-12-24 22:59:59 +00:00
|
|
|
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
max: 99999 20;
|
2009-01-25 01:17:06 +00:00
|
|
|
min: 50 20;
|
|
|
|
align: 0.0 1.0;
|
2008-12-24 22:59:59 +00:00
|
|
|
|
|
|
|
rel1 {
|
|
|
|
relative: 0.0 1.0;
|
2009-01-25 01:17:06 +00:00
|
|
|
offset: 10 5;
|
2008-12-24 22:59:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
rel2 {
|
|
|
|
to: "bg";
|
|
|
|
relative: 1.0 1.0;
|
2009-01-25 01:17:06 +00:00
|
|
|
offset: -11 -5;
|
2008-12-22 01:12:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Needed later
|
|
|
|
part {
|
|
|
|
name: "progress_outline";
|
|
|
|
type: IMAGE;
|
|
|
|
mouse_events: 0;
|
|
|
|
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
|
|
|
|
rel1 {
|
|
|
|
to: "bg";
|
|
|
|
relative: 0.0 0.0;
|
|
|
|
offset: 10 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
rel2 {
|
|
|
|
to: "bg";
|
|
|
|
relative: 0.5 1.0;
|
|
|
|
offset: -1 -10;
|
|
|
|
}
|
|
|
|
|
|
|
|
image {
|
|
|
|
normal: "frame_outline.png";
|
|
|
|
border: 9 9 9 9;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
offset: 5 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
rel2 {
|
|
|
|
to: "progress_outline";
|
|
|
|
relative: 1.0 1.0;
|
|
|
|
offset: -6 -6;
|
|
|
|
}
|
|
|
|
|
|
|
|
text {
|
|
|
|
text: "Begin Burn";
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
part {
|
|
|
|
name: "disabled_hack";
|
|
|
|
type: RECT;
|
|
|
|
mouse_events: 1;
|
2009-01-16 04:07:47 +00:00
|
|
|
scale: 1;
|
2008-12-22 01:12:16 +00:00
|
|
|
|
|
|
|
description {
|
|
|
|
state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
|
|
|
|
rel1 {
|
2009-01-25 06:11:02 +00:00
|
|
|
to_x: "ecdb/burn_data/return";
|
|
|
|
to_y: "bg";
|
|
|
|
relative: 0.0 0.0;
|
|
|
|
offset: 0 0;
|
2008-12-22 01:12:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
rel2 {
|
|
|
|
to: "bg";
|
|
|
|
relative: 1.0 1.0;
|
|
|
|
offset: -1 -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
description {
|
|
|
|
state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
programs {
|
2009-01-24 22:47:17 +00:00
|
|
|
BUTTON_PROGS("ecdb/burn_data/return")
|
|
|
|
BUTTON_PROGS("ecdb/burn_data/begin")
|
|
|
|
BUTTON_PROGS("ecdb/burn_data/settings")
|
2008-12-22 01:12:16 +00:00
|
|
|
program {
|
|
|
|
name: "burn_data_page,visible1";
|
|
|
|
signal: "ecdb,burn_data_page,visible";
|
|
|
|
source: "ecdb";
|
|
|
|
action: STATE_SET "before_show" 0.0;
|
|
|
|
target: "bg";
|
|
|
|
after: "burn_data_page,visible2";
|
|
|
|
}
|
|
|
|
|
|
|
|
program {
|
|
|
|
name: "burn_data_page,visible2";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "bg";
|
|
|
|
transition: DECELERATE 0.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
program {
|
|
|
|
name: "burn_data_page,hide";
|
|
|
|
signal: "ecdb,burn_data_page,hide";
|
|
|
|
source: "ecdb";
|
|
|
|
action: STATE_SET "hide" 0.0;
|
|
|
|
target: "bg";
|
|
|
|
transition: DECELERATE 0.5;
|
|
|
|
after: "hide,finished";
|
|
|
|
}
|
|
|
|
|
|
|
|
program {
|
|
|
|
name: "burn_data_page,controls_disable";
|
|
|
|
signal: "ecdb,burn_data,start";
|
|
|
|
source: "ecdb";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
target: "disabled_hack";
|
|
|
|
}
|
|
|
|
|
|
|
|
program {
|
|
|
|
name: "burn_data_page,controls_enable";
|
|
|
|
signal: "ecdb,burn_data,done";
|
|
|
|
source: "ecdb";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "disabled_hack";
|
|
|
|
}
|
|
|
|
|
|
|
|
program {
|
|
|
|
name: "hide,finished";
|
|
|
|
action: SIGNAL_EMIT "hide,finished" "burn_data_page";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|