And more moving the buttons into the theme.

This commit is contained in:
Jaime Thomas
2009-01-25 06:11:02 +00:00
parent 351d3126ff
commit 1b1abb1fff
10 changed files with 75 additions and 287 deletions

View File

@ -11,7 +11,6 @@ collections {
#include "groups/window.edc"
#include "groups/welcome_page.edc"
#include "groups/button.edc"
#include "groups/icons.edc"
#include "groups/erase_disc.edc"
#include "groups/check.edc"
#include "groups/burn_image.edc"

View File

@ -6,7 +6,6 @@ EXTRA_DIST= burn_data.edc \
combo.edc \
entry.edc \
erase_disc.edc \
icons.edc \
label.edc \
welcome_page.edc \
capacity.edc \

View File

@ -1,7 +1,6 @@
/* vim: set sw=3 ts=3 sts=3 expandtab: */
group {
name: "ecdb/burn_data_page";
min: 640 170;
parts {
part {
@ -275,9 +274,10 @@ group {
visible: 0;
rel1 {
to: "bg";
relative: 1.0 0.0;
offset: -200 0;
to_x: "ecdb/burn_data/return";
to_y: "bg";
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {

View File

@ -1,7 +1,6 @@
/* 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, ...) {
@ -274,9 +273,10 @@ group {
visible: 0;
rel1 {
to: "bg";
relative: 1.0 0.0;
offset: -200 0;
to_x: "ecdb/burn_image/return";
to_y: "bg";
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {

View File

@ -1,7 +1,6 @@
/* vim: set sw=3 ts=3 sts=3 expandtab: */
group {
name: "ecdb/erase_page";
min: 640 170;
script {
public message(Msg_Type:type, id, ...) {
@ -215,8 +214,9 @@ group {
visible: 0;
rel1 {
to: "bg";
relative: 0.5 0.0;
to_x: "ecdb/erase/return";
to_y: "bg";
relative: 0.0 0.0;
offset: 0 0;
}

View File

@ -1,132 +0,0 @@
/* vim: set sw=3 ts=3 sts=3 expandtab: */
group {
name: "ecdb/burn_data";
min: 32 32;
parts {
part {
name: "image";
type: IMAGE;
scale: 1;
description {
state: "default" 0.0;
min: 32 32;
max: 32 32;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "drive_optical.png";
}
}
}
}
}
group {
name: "ecdb/burn_audio";
min: 32 32;
parts {
part {
name: "image";
type: IMAGE;
scale: 1;
description {
state: "default" 0.0;
min: 32 32;
max: 32 32;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "audio.png";
}
}
}
}
}
group {
name: "ecdb/erase";
min: 32 32;
parts {
part {
name: "image";
type: IMAGE;
scale: 1;
description {
state: "default" 0.0;
min: 32 32;
max: 32 32;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "clear.png";
}
}
}
}
}
group {
name: "ecdb/burn_image";
min: 32 32;
parts {
part {
name: "image";
type: IMAGE;
scale: 1;
description {
state: "default" 0.0;
min: 32 32;
max: 32 32;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
}
rel2 {
relative: 1.0 1.0;
offset: -1 -1;
}
image {
normal: "iso.png";
}
}
}
}
}

View File

@ -55,100 +55,20 @@ group {
}
}
part {
name: "ecdb/burn_data";
type: SWALLOW;
repeat_events: 1;
scale: 1;
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)
description {
state: "default" 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)
rel1 {
to: "bg";
relative: 0.0 0.0;
offset: 10 10;
}
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)
rel2 {
to: "bg";
relative: 0.5 0.5;
offset: -11 -11;
}
}
}
part {
name: "ecdb/burn_audio";
type: SWALLOW;
repeat_events: 1;
scale: 1;
description {
state: "default" 0.0;
rel1 {
to: "bg";
relative: 0.5 0.0;
offset: 10 10;
}
rel2 {
to: "bg";
relative: 1.0 0.5;
offset: -11 -11;
}
}
}
part {
name: "ecdb/burn_image";
type: SWALLOW;
repeat_events: 1;
scale: 1;
description {
state: "default" 0.0;
rel1 {
to: "bg";
relative: 0.0 0.5;
offset: 10 10;
}
rel2 {
to: "bg";
relative: 0.5 1.0;
offset: -11 -11;
}
}
}
part {
name: "ecdb/erase";
type: SWALLOW;
repeat_events: 1;
scale: 1;
description {
state: "default" 0.0;
rel1 {
to: "bg";
relative: 0.5 0.5;
offset: 10 10;
}
rel2 {
to: "bg";
relative: 1.0 1.0;
offset: -11 -11;
}
}
}
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";

View File

@ -184,13 +184,14 @@
state: "default" 0.0; \
align: 0.0 0.5; \
color: 60 60 60 255; \
fixed: 1 1; \
rel1 { \
to: partname"ecdb.swallow.icon"; \
offset: 40 0; \
to: partname"icon"; \
relative: 1.0 0.0; \
offset: 5 0; \
} \
rel2 { \
to: partname"ecdb.swallow.icon"; \
to: partname"icon"; \
relative: 1.0 1.0; \
} \
text { \
text: ""; \