experimental-legacy/ecdb/trunk/data/themes/default/groups/welcome_page.edc
2009-01-25 06:11:02 +00:00

105 lines
2.6 KiB
Plaintext

/* vim: set sw=3 ts=3 sts=3 expandtab: */
group {
name: "ecdb/welcome_page";
parts {
part {
name: "bg";
type: RECT;
scale: 1;
description {
state: "default" 0.0;
color: 0 0 0 0;
min: 640 170;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: 0 0;
}
}
description {
state: "hidden" 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;
}
}
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;
}
}
}
BUTTON_ICON("ecdb/burn_data", "ecdb/burn_data/text", "drive_optical.png", 100, 26, 99999, 99999, "bg", "bg", 0, 0, "bg", "bg", 0.5, 0.5, 5, 5, -6, -6, 0, 0)
BUTTON_ICON("ecdb/burn_audio", "ecdb/burn_audio/text", "audio.png", 100, 26, 99999, 99999, "bg", "bg", 0.5, 0, "bg", "bg", 1, 0.5, 5, 5, -6, -6, 0, 0)
BUTTON_ICON("ecdb/burn_image", "ecdb/burn_image/text", "iso.png", 100, 26, 99999, 99999, "bg", "bg", 0, 0.5, "bg", "bg", 0.5, 1, 5, 5, -6, -6, 0, 0)
BUTTON_ICON("ecdb/erase", "ecdb/erase/text", "clear.png", 100, 26, 99999, 99999, "bg", "bg", 0.5, 0.5, "bg", "bg", 1, 1, 5, 5, -6, -6, 0, 0)
}
programs {
BUTTON_PROGS("ecdb/burn_data")
BUTTON_PROGS("ecdb/burn_audio")
BUTTON_PROGS("ecdb/burn_image")
BUTTON_PROGS("ecdb/erase")
program {
name: "welcome_page,hide";
signal: "ecdb,welcome_page,hide";
source: "ecdb";
action: STATE_SET "hidden" 0.0;
transition: DECELERATE 0.5;
target: "bg";
after: "hide,finished";
}
program {
name: "hide,finished";
action: SIGNAL_EMIT "hide,finished" "welcome_page";
}
program {
name: "welcome_page,show1";
signal: "ecdb,welcome_page,show";
source: "ecdb";
after: "welcome_page,show2";
action: STATE_SET "before_show" 0.0;
target: "bg";
}
program {
name: "welcome_page,show2";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5;
target: "bg";
}
}
}