And finish off the formatting stuff

master
Jaime Thomas 15 years ago
parent 0df8afd566
commit 1e89162f2b

@ -1,300 +1,301 @@
/* vim: set sw=3 ts=3 sts=3 expandtab: */
group {
name: "ecdb/burn_image_page";
min: 640 170;
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;
}
}
}
part {
name: "ecdb/burn_image/return";
type: SWALLOW;
repeat_events: 1;
description {
state: "default" 0.0;
rel1 {
to: "bg";
relative: 0.5 0.0;
offset: 10 5;
}
rel2 {
to: "bg";
relative: 1.0 0.0;
offset: -11 50;
}
}
}
part {
name: "ecdb/burn_image/begin";
type: SWALLOW;
repeat_events: 1;
description {
state: "default" 0.0;
rel1 {
to: "ecdb/burn_image/return";
relative: 0.0 1.0;
offset: 0 5;
}
rel2 {
to: "ecdb/burn_image/return";
relative: 1.0 1.0;
offset: 0 50;
}
}
}
part {
name: "ecdb/burn_image/file";
type: SWALLOW;
repeat_events: 1;
description {
state: "default" 0.0;
rel1 {
to: "ecdb/burn_image/begin";
relative: 0.0 1.0;
offset: 0 5;
}
rel2 {
to: "ecdb/burn_image/begin";
relative: 1.0 1.0;
offset: 0 30;
}
}
}
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;
}
}
}
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;
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;
color: 255 255 255 0;
visible: 1;
}
}
}
programs {
program {
name: "burn_image_page,visible1";
signal: "ecdb,burn_image_page,visible";
source: "ecdb";
action: STATE_SET "before_show" 0.0;
target: "bg";
after: "burn_image_page,visible2";
}
program {
name: "burn_image_page,visible2";
action: STATE_SET "default" 0.0;
target: "bg";
transition: DECELERATE 0.5;
}
program {
name: "burn_image_page,hide";
signal: "ecdb,burn_image_page,hide";
source: "ecdb";
action: STATE_SET "hide" 0.0;
target: "bg";
transition: DECELERATE 0.5;
after: "hide,finished";
}
program {
name: "burn_image_page,controls_disable";
signal: "ecdb,burn_image,start";
source: "ecdb";
action: STATE_SET "visible" 0.0;
target: "disabled_hack";
}
program {
name: "burn_image_page,controls_enable";
signal: "ecdb,burn_image,done";
source: "ecdb";
action: STATE_SET "default" 0.0;
target: "disabled_hack";
}
program {
name: "hide,finished";
action: SIGNAL_EMIT "hide,finished" "burn_image_page";
}
}
name: "ecdb/burn_image_page";
min: 640 170;
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;
}
}
}
part {
name: "ecdb/burn_image/return";
type: SWALLOW;
repeat_events: 1;
description {
state: "default" 0.0;
rel1 {
to: "bg";
relative: 0.5 0.0;
offset: 10 5;
}
rel2 {
to: "bg";
relative: 1.0 0.0;
offset: -11 50;
}
}
}
part {
name: "ecdb/burn_image/begin";
type: SWALLOW;
repeat_events: 1;
description {
state: "default" 0.0;
rel1 {
to: "ecdb/burn_image/return";
relative: 0.0 1.0;
offset: 0 5;
}
rel2 {
to: "ecdb/burn_image/return";
relative: 1.0 1.0;
offset: 0 50;
}
}
}
part {
name: "ecdb/burn_image/file";
type: SWALLOW;
repeat_events: 1;
description {
state: "default" 0.0;
rel1 {
to: "ecdb/burn_image/begin";
relative: 0.0 1.0;
offset: 0 5;
}
rel2 {
to: "ecdb/burn_image/begin";
relative: 1.0 1.0;
offset: 0 30;
}
}
}
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;
}
}
}
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;
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;
color: 255 255 255 0;
visible: 1;
}
}
}
programs {
program {
name: "burn_image_page,visible1";
signal: "ecdb,burn_image_page,visible";
source: "ecdb";
action: STATE_SET "before_show" 0.0;
target: "bg";
after: "burn_image_page,visible2";
}
program {
name: "burn_image_page,visible2";
action: STATE_SET "default" 0.0;
target: "bg";
transition: DECELERATE 0.5;
}
program {
name: "burn_image_page,hide";
signal: "ecdb,burn_image_page,hide";
source: "ecdb";
action: STATE_SET "hide" 0.0;
target: "bg";
transition: DECELERATE 0.5;
after: "hide,finished";
}
program {
name: "burn_image_page,controls_disable";
signal: "ecdb,burn_image,start";
source: "ecdb";
action: STATE_SET "visible" 0.0;
target: "disabled_hack";
}
program {
name: "burn_image_page,controls_enable";
signal: "ecdb,burn_image,done";
source: "ecdb";
action: STATE_SET "default" 0.0;
target: "disabled_hack";
}
program {
name: "hide,finished";
action: SIGNAL_EMIT "hide,finished" "burn_image_page";
}
}
}

@ -1,327 +1,328 @@
/* vim: set sw=3 ts=3 sts=3 expandtab: */
group {
name: "ecdb/button";
parts {
part {
name: "base";
type: IMAGE;
mouse_events: 1;
description {
state: "default" 0.0;
min: 0 26;
color: 255 255 255 178;
image {
normal: "button_base.png";
border: 7 7 7 7;
}
}
}
part {
name: "button_clip";
type: RECT;
mouse_events: 1;
description {
state: "default" 0.0;
color: 255 255 255 255;
rel1 {
to: "base";
relative: 0.0 0.0;
offset: 3 1;
}
rel2 {
to: "base";
relative: 1.0 1.0;
offset: -4 -2;
}
}
}
part {
name: "focus_clip";
type: RECT;
mouse_events: 1;
description {
state: "default" 0.0;
color: 255 255 255 0;
rel1 {
to: "button";
offset: -1 0;
}
rel2 {
to: "button";
offset: 0 -1;
}
}
description {
state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part {
name: "focus";
type: IMAGE;
mouse_events: 1;
clip_to: "focus_clip";
description {
state: "default" 0.0;
rel1 {
to: "focus_clip";
}
rel2 {
to: "focus_clip";
}
image {
normal: "focus.png";
border: 7 7 7 7;
}
}
}
part {
name: "button";
type: IMAGE;
mouse_events: 1;
clip_to: "button_clip";
description {
state: "default" 0.0;
min: 0 24;
rel1 {
to: "button_clip";
}
rel2 {
to: "button_clip";
}
image {
normal: "button.png";
border: 7 7 7 7;
}
}
description {
state: "disabled" 0.0;
inherit: "default" 0.0;
image {
normal: "button_disabled.png";
border: 11 11 10 10;
}
}
}
part {
name: "shadow";
type: IMAGE;
mouse_events: 1;
clip_to: "button_clip";
description {
state: "default" 0.0;
min: 0 24;
color: 255 255 255 0;
rel1 {
to: "button_clip";
}
rel2 {
to: "button_clip";
}
image {
normal: "button_shadow.png";
border: 6 6 0 6;
}
}
description {
state: "clicked" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part {
name: "shadow_overlay";
type: IMAGE;
mouse_events: 1;
clip_to: "button_clip";
description {
state: "default" 0.0;
min: 0 24;
color: 255 255 255 0;
rel1 {
to: "button_clip";
}
rel2 {
to: "button_clip";
}
image {
normal: "button_shadow_overlay.png";
border: 6 6 6 13;
}
}
description {
state: "clicked" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part {
name: "minimum.size.hack";
type: RECT;
mouse_events: 1;
clip_to: "button_clip";
description {
state: "default" 0.0;
min: 88 24;
color: 0 0 0 0;
rel1 {
to: "button_clip";
}
rel2 {
to: "button_clip";
}
}
}
part {
name: "label";
type: TEXT;
mouse_events: 1;
description {
state: "default" 0.0;
align: 0.0 0.5;
color: 60 60 60 255;
fixed: 1 1;
rel1 {
to: "icon";
offset: 40 0;
}
rel2 {
to: "icon";
}
text {
text: "Burn Audio CD";
font: "ecdb/default";
min: 1 1;
size: 11;
align: 0.5 0.5;
}
}
}
part {
name: "icon";
type: SWALLOW;
mouse_events: 1;
description {
state: "default" 0.0;
max: 32 32;
align: 0.0 0.5;
rel1 {
to: "button_clip";
offset: 15 0;
}
rel2 {
to: "button_clip";
}
}
}
}
programs {
program {
name: "clicked";
action: STATE_SET "clicked" 0.0;
signal: "mouse,down,1";
source: "*";
target: "shadow_overlay";
target: "shadow";
transition: DECELERATE 0.2;
}
program {
name: "focus_in";
signal: "ecdb,button,in";
signal: "mouse,down,1";
action: STATE_SET "visible" 0.0;
source: "*";
target: "focus_clip";
transition: DECELERATE 0.5;
}
program {
name: "unclick";
signal: "mouse,clicked,1";
signal: "mouse,up,1";
action: STATE_SET "default" 0.0;
source: "*";
target: "shadow_overlay";
target: "shadow";
transition: DECELERATE 0.2;
}
program {
name: "focus_out";
signal: "ecdb,focus,out";
action: STATE_SET "default" 0.0;
source: "ecdb";
target: "focus_clip";
transition: DECELERATE 0.5;
}
program {
name: "disable";
signal: "ecdb,disable";
action: STATE_SET "disabled" 0.0;
source: "ecdb";
target: "button";
}
program {
name: "enable";
signal: "ecdb,enable";
action: STATE_SET "default" 0.0;
source: "ecdb";
target: "button";
}
}
name: "ecdb/button";
parts {
part {
name: "base";
type: IMAGE;
mouse_events: 1;
description {
state: "default" 0.0;
min: 0 26;
color: 255 255 255 178;
image {
normal: "button_base.png";
border: 7 7 7 7;
}
}
}
part {
name: "button_clip";
type: RECT;
mouse_events: 1;
description {
state: "default" 0.0;
color: 255 255 255 255;
rel1 {
to: "base";
relative: 0.0 0.0;
offset: 3 1;
}
rel2 {
to: "base";
relative: 1.0 1.0;
offset: -4 -2;
}
}
}
part {
name: "focus_clip";
type: RECT;
mouse_events: 1;
description {
state: "default" 0.0;
color: 255 255 255 0;
rel1 {
to: "button";
offset: -1 0;
}
rel2 {
to: "button";
offset: 0 -1;
}
}
description {
state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part {
name: "focus";
type: IMAGE;
mouse_events: 1;
clip_to: "focus_clip";
description {
state: "default" 0.0;
rel1 {
to: "focus_clip";
}
rel2 {
to: "focus_clip";
}
image {
normal: "focus.png";
border: 7 7 7 7;
}
}
}
part {
name: "button";
type: IMAGE;
mouse_events: 1;
clip_to: "button_clip";
description {
state: "default" 0.0;
min: 0 24;
rel1 {
to: "button_clip";
}
rel2 {
to: "button_clip";
}
image {
normal: "button.png";
border: 7 7 7 7;
}
}
description {
state: "disabled" 0.0;
inherit: "default" 0.0;
image {
normal: "button_disabled.png";
border: 11 11 10 10;
}
}
}
part {
name: "shadow";
type: IMAGE;
mouse_events: 1;
clip_to: "button_clip";
description {
state: "default" 0.0;
min: 0 24;
color: 255 255 255 0;
rel1 {
to: "button_clip";
}
rel2 {
to: "button_clip";
}
image {
normal: "button_shadow.png";
border: 6 6 0 6;
}
}
description {
state: "clicked" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part {
name: "shadow_overlay";
type: IMAGE;
mouse_events: 1;
clip_to: "button_clip";
description {
state: "default" 0.0;
min: 0 24;
color: 255 255 255 0;
rel1 {
to: "button_clip";
}
rel2 {
to: "button_clip";
}
image {
normal: "button_shadow_overlay.png";
border: 6 6 6 13;
}
}
description {
state: "clicked" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part {
name: "minimum.size.hack";
type: RECT;
mouse_events: 1;
clip_to: "button_clip";
description {
state: "default" 0.0;
min: 88 24;
color: 0 0 0 0;
rel1 {
to: "button_clip";
}
rel2 {
to: "button_clip";
}
}
}
part {
name: "label";
type: TEXT;
mouse_events: 1;
description {
state: "default" 0.0;
align: 0.0 0.5;
color: 60 60 60 255;
fixed: 1 1;
rel1 {
to: "icon";
offset: 40 0;
}
rel2 {
to: "icon";
}
text {
text: "Burn Audio CD";
font: "ecdb/default";
min: 1 1;
size: 11;
align: 0.5 0.5;
}
}
}
part {
name: "icon";
type: SWALLOW;
mouse_events: 1;
description {
state: "default" 0.0;
max: 32 32;
align: 0.0 0.5;
rel1 {
to: "button_clip";
offset: 15 0;
}
rel2 {
to: "button_clip";
}
}
}
}
programs {
program {
name: "clicked";
action: STATE_SET "clicked" 0.0;
signal: "mouse,down,1";
source: "*";
target: "shadow_overlay";
target: "shadow";
transition: DECELERATE 0.2;
}
program {
name: "focus_in";
signal: "ecdb,button,in";
signal: "mouse,down,1";
action: STATE_SET "visible" 0.0;
source: "*";
target: "focus_clip";
transition: DECELERATE 0.5;
}
program {
name: "unclick";
signal: "mouse,clicked,1";
signal: "mouse,up,1";
action: STATE_SET "default" 0.0;
source: "*";
target: "shadow_overlay";
target: "shadow";
transition: DECELERATE 0.2;
}
program {
name: "focus_out";
signal: "ecdb,focus,out";
action: STATE_SET "default" 0.0;
source: "ecdb";
target: "focus_clip";
transition: DECELERATE 0.5;
}
program {
name: "disable";
signal: "ecdb,disable";
action: STATE_SET "disabled" 0.0;
source: "ecdb";
target: "button";
}
program {
name: "enable";
signal: "ecdb,enable";
action: STATE_SET "default" 0.0;
source: "ecdb";
target: "button";
}
}
}

@ -1,257 +1,258 @@
/* vim: set sw=3 ts=3 sts=3 expandtab: */
group {
name: "ecdb/check";
name: "ecdb/check";
script {
public s;
script {
public s;
public toggle_state() {
if (get_int(s) == 0)
{
set_state(PART:"check", "active", 0.0);
emit("ecdb,check,checked", "ecdb/check");
set_int(s, 1);
}
else
{
set_state(PART:"check", "default", 0.0);
emit("ecdb,check,unchecked", "ecdb/check");
set_int(s, 0);
}
}
}
public toggle_state() {
if (get_int(s) == 0)
{
set_state(PART:"check", "active", 0.0);
emit("ecdb,check,checked", "ecdb/check");
set_int(s, 1);
}
else
{
set_state(PART:"check", "default", 0.0);
emit("ecdb,check,unchecked", "ecdb/check");
set_int(s, 0);
}
}
}
parts {
part {
name: "check_base";
type: IMAGE;
parts {
part {
name: "check_base";
type: IMAGE;
description {
state: "default" 0.0;
min: 20 18;
max: 20 18;
fixed: 1 1;
align: 0.0 0.5;
description {
state: "default" 0.0;
min: 20 18;
max: 20 18;
fixed: 1 1;
align: 0.0 0.5;
rel1 {
relative: 0.0 0.0;
offset: 2 2;
}
rel1 {
relative: 0.0 0.0;
offset: 2 2;
}
rel2 {
relative: 0.0 1.0;
offset: 2 -3;
}
rel2 {
relative: 0.0 1.0;
offset: 2 -3;
}
image {
normal: "check_base.png";
}
}
image {
normal: "check_base.png";
}
}
description {
state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
}
}
description {
state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
}
}
part {
name: "check_shadow";
type: IMAGE;
part {
name: "check_shadow";
type: IMAGE;
description {
state: "default" 0.0;
color: 255 255 255 128;
image.normal: "check_shadow.png";
description {
state: "default" 0.0;
color: 255 255 255 128;
image.normal: "check_shadow.png";
rel1 {
to: "check";
relative: 0.0 0.0;
offset: 0 1;
}
rel1 {
to: "check";
relative: 0.0 0.0;
offset: 0 1;
}
rel2 {
to: "check";
relative: 1.0 1.0;
offset: -1 -1;
}
}
rel2 {
to: "check";
relative: 1.0 1.0;
offset: -1 -1;
}
}
description {
state: "focused" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
image.normal: "check_focus.png";
rel1 {
to: "check";
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
to: "check";
relative: 1.0 1.0;
offset: -1 -1;
}
}
description {
state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
}
}
part {
name: "check";
description {
state: "default" 0.0;
min: 20 18;
max: 20 18;
fixed: 1 1;
align: 0.0 0.5;
rel1 {
relative: 0.0 0.0;
offset: 2 2;
}
rel2 {
relative: 0.0 1.0;
offset: 2 -3;
}
image {
normal: "check0.png";
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
image {
normal: "check2.png";
}
}
description {
state: "disabled_unsel" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
}
description {
state: "focused" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
image.normal: "check_focus.png";
rel1 {
to: "check";
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
to: "check";
relative: 1.0 1.0;
offset: -1 -1;
}
}
description {
state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0;
}
}
part {
name: "check";
description {
state: "default" 0.0;
min: 20 18;
max: 20 18;
fixed: 1 1;
align: 0.0 0.5;
rel1 {
relative: 0.0 0.0;
offset: 2 2;
}
rel2 {
relative: 0.0 1.0;
offset: 2 -3;
}
image {
normal: "check0.png";
}
}
description {
state: "active" 0.0;
inherit: "default" 0.0;
image {
normal: "check2.png";
}
}
description {
state: "disabled_unsel" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
}
description {
state: "disabled_sel" 0.0;
inherit: "active" 0.0;
color: 255 255 255 128;
}
}
description {
state: "disabled_sel" 0.0;
inherit: "active" 0.0;
color: 255 255 255 128;
}
}
part {
name: "label";
type: TEXT;
description {
state: "default" 0.0;
color: 60 60 60 255;
fixed: 1 1;
part {
name: "label";
type: TEXT;
description {
state: "default" 0.0;
color: 60 60 60 255;
fixed: 1 1;
rel1 {
to: "check";
offset: 25 0;
}
rel1 {
to: "check";
offset: 25 0;
}
rel2 {
relative: 1.0 1.0;
to_y: "check";
offset: -1 0;
}
rel2 {
relative: 1.0 1.0;
to_y: "check";
offset: -1 0;
}
text {
text: "Change Burn Speed";
font: "ecdb/default";
min: 1 1;
size: 11;
align: 0.0 0.5;
}
}
}
}
text {
text: "Change Burn Speed";
font: "ecdb/default";
min: 1 1;
size: 11;
align: 0.0 0.5;
}
}
}
}
programs {
program {
name: "focus_in";
signal: "ecdb,focus,in";
signal: "mouse,down,1";
action: STATE_SET "focused" 0.0;
source: "*";
target: "check_shadow";
}
programs {
program {
name: "focus_in";
signal: "ecdb,focus,in";
signal: "mouse,down,1";
action: STATE_SET "focused" 0.0;
source: "*";
target: "check_shadow";
}
program {
name: "focus_out";
signal: "ecdb,focus,out";
action: STATE_SET "default" 0.0;
source: "ecdb";
target: "check_shadow";
}
program {
name: "focus_out";
signal: "ecdb,focus,out";
action: STATE_SET "default" 0.0;
source: "ecdb";
target: "check_shadow";
}
program {
name: "clicked";
signal: "mouse,down,1";
source: "*";
program {
name: "clicked";
signal: "mouse,down,1";
source: "*";
script {
toggle_state();
}
}
script {
toggle_state();
}
}
program {
name: "disabled";
signal: "ecdb,disable";
source: "ecdb";
action: STATE_SET "disabled" 0.0;
target: "check_base";
target: "check_shadow";
}
program {
name: "disabled";
signal: "ecdb,disable";
source: "ecdb";
action: STATE_SET "disabled" 0.0;
target: "check_base";
target: "check_shadow";
}
program {
name: "disabled_check";
signal: "ecdb,disable";
source: "ecdb";
program {
name: "disabled_check";
signal: "ecdb,disable";
source: "ecdb";
script {
if (get_int(s) == 1)
set_state(PART:"check", "disabled_sel",
0.0);
else
set_state(PART:"check",
"disabled_unsel", 0.0);
}
}
script {
if (get_int(s) == 1)
set_state(PART:"check", "disabled_sel",
0.0);
else
set_state(PART:"check",
"disabled_unsel", 0.0);
}
}
program {
name: "enabled";
signal: "ecdb,enable";
source: "ecdb";
action: STATE_SET "default" 0.0;
target: "check_base";
target: "check_shadow";
}
program {
name: "enabled";
signal: "ecdb,enable";
source: "ecdb";
action: STATE_SET "default" 0.0;
target: "check_base";
target: "check_shadow";
}
program {
name: "enabled_check";
signal: "ecdb,enable";
source: "ecdb";
script {
if (get_int(s) == 1)
set_state(PART:"check", "active", 0.0);
else
set_state(PART:"check", "default", 0.0);
}
}
}
program {
name: "enabled_check";
signal: "ecdb,enable";
source: "ecdb";
script {
if (get_int(s) == 1)
set_state(PART:"check", "active", 0.0);
else
set_state(PART:"check", "default", 0.0);
}
}
}
}

@ -1,3 +1,4 @@
/* vim: set sw=3 ts=3 sts=3 expandtab: */
group {
name: "ecdb/entry";
min: 18 18;

@ -1,300 +1,301 @@
/* vim: set sw=3 ts=3 sts=3 expandtab: */
group {
name: "ecdb/erase_page";
min: 640 170;
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;
}
}
}
part {
name: "ecdb/erase/return";
type: SWALLOW;
repeat_events: 1;