Get rid of the theming work I did before... This is better but still needs work on allowing the theme to define custom widgets.

This commit is contained in:
Jaime Thomas
2009-01-27 03:43:17 +00:00
parent e21b89ff7e
commit d5a4dd567d
10 changed files with 379 additions and 898 deletions

View File

@ -1,6 +1,7 @@
/* vim: set sw=3 ts=3 sts=3 expandtab: */
group {
name: "ecdb/burn_image_page";
min: 640 170;
script {
public message(Msg_Type:type, id, ...) {
@ -27,6 +28,7 @@ group {
part {
name: "bg";
type: RECT;
scale: 1;
description {
state: "default" 0.0;
@ -74,9 +76,59 @@ group {
}
}
BUTTON("ecdb/burn_image/return", "ecdb/burn_image/return/text", 100, 26, 150, 26, "bg", "bg", 0, 0, "bg", "bg", 1, 1, 0, 5, -5, 1, 1, 0)
part {
name: "ecdb/burn_image/return";
type: SWALLOW;
repeat_events: 1;
scale: 1;
description {
state: "default" 0.0;
min: 100 26;
max: 150 26;
align: 1.0 0.0;
BUTTON("ecdb/burn_image/begin", "ecdb/burn_image/begin/text", 100, 26, 150, 26, "bg", "ecdb/burn_image/return", 0, 1, "bg", "ecdb/burn_image/return", 1, 1, 0, 5, -5, -1, 1, 0)
rel1 {
to: "bg";
relative: 0.0 0.0;
offset: 0 5;
}
rel2 {
to: "bg";
relative: 1.0 1.0;
offset: -5 -1;
}
}
}
part {
name: "ecdb/burn_image/begin";
type: SWALLOW;
repeat_events: 1;
scale: 1;
description {
state: "default" 0.0;
min: 100 26;
max: 150 26;
align: 1.0 0.0;
rel1 {
to_x: "bg";
to_y: "ecdb/burn_image/return";
relative: 0.0 1.0;
offset: 0 5;
}
rel2 {
to_x: "bg";
to_y: "ecdb/burn_image/return";
relative: 1.0 1.0;
offset: -5 -1;
}
}
}
part {
name: "ecdb/burn_image/file";
@ -86,19 +138,20 @@ group {
description {
state: "default" 0.0;
align: 1.0 0.0;
max: 150 26;
min: 100 26;
max: 150 26;
align: 1.0 0.0;
rel1 {
to_y: "ecdb/burn_image/begin";
to_x: "bg";
to_y: "ecdb/burn_image/begin";
relative: 0.0 1.0;
offset: 0 5;
}
rel2 {
to: "bg";
to_x: "bg";
to_y: "ecdb/burn_image/begin";
relative: 1.0 1.0;
offset: -5 -1;
}
@ -113,19 +166,20 @@ group {
description {
state: "default" 0.0;
align: 1.0 0.0;
max: 150 26;
min: 100 26;
max: 150 26;
align: 1.0 0.0;
rel1 {
to_y: "ecdb/burn_image/file";
to_x: "bg";
to_y: "ecdb/burn_image/file";
relative: 0.0 1.0;
offset: 0 5;
}
rel2 {
to: "bg";
to_x: "bg";
to_y: "ecdb/burn_image/file";
relative: 1.0 1.0;
offset: -5 -1;
}
@ -140,19 +194,20 @@ group {
description {
state: "default" 0.0;
max: 150 26;
min: 100 26;
max: 150 26;
align: 1.0 0.0;
rel1 {
to_y: "ecdb/burn_image/drive";
to_x: "bg";
to_y: "ecdb/burn_image/drive";
relative: 0.0 1.0;
offset: 0 5;
}
rel2 {
to: "bg";
to_x: "bg";
to_y: "ecdb/burn_image/drive";
relative: 1.0 1.0;
offset: -5 -1;
}
@ -175,8 +230,8 @@ group {
}
rel2 {
to_x: "ecdb/burn_image/speed";
to_y: "bg";
to_x: "ecdb/burn_image/return";
relative: 0.0 1.0;
offset: -5 -10;
}
@ -266,7 +321,6 @@ group {
name: "disabled_hack";
type: RECT;
mouse_events: 1;
scale: 1;
description {
state: "default" 0.0;
@ -296,8 +350,6 @@ group {
}
programs {
BUTTON_PROGS("ecdb/burn_image/return")
BUTTON_PROGS("ecdb/burn_image/begin")
program {
name: "burn_image_page,visible1";
signal: "ecdb,burn_image_page,visible";