More work on config_inwin
This commit is contained in:
@ -18,4 +18,5 @@ collections {
|
||||
#include "groups/label.edc"
|
||||
#include "groups/burn_data.edc"
|
||||
#include "groups/capacity.edc"
|
||||
#include "groups/config_inwin.edc"
|
||||
}
|
||||
|
@ -10,4 +10,5 @@ EXTRA_DIST= burn_data.edc \
|
||||
label.edc \
|
||||
welcome_page.edc \
|
||||
capacity.edc \
|
||||
window.edc
|
||||
window.edc \
|
||||
config_inwin.edc
|
||||
|
@ -0,0 +1,139 @@
|
||||
/* vim: set sw=3 ts=3 sts=3 expandtab: */
|
||||
group {
|
||||
name: "ecdb/config_inwin/background";
|
||||
|
||||
parts {
|
||||
part {
|
||||
name: "base";
|
||||
type: RECT;
|
||||
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
min: 20 20;
|
||||
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 0 0;
|
||||
}
|
||||
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 -1;
|
||||
}
|
||||
}
|
||||
|
||||
description {
|
||||
state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 0 0 0 90;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
programs {
|
||||
program {
|
||||
name: "set_active";
|
||||
signal: "ecdb,config_inwin,back,show";
|
||||
source: "ecdb";
|
||||
action: STATE_SET "active" 0.0;
|
||||
target: "base";
|
||||
transition: DECELERATE 0.2;
|
||||
}
|
||||
|
||||
program {
|
||||
name: "set_default";
|
||||
signal: "ecdb,config_inwin,back,hide";
|
||||
source: "ecdb";
|
||||
action: STATE_SET "default" 0.0;
|
||||
target: "base";
|
||||
transition: DECELERATE 0.2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
group {
|
||||
name: "ecdb/config_inwin/popup";
|
||||
max: 400 300;
|
||||
|
||||
parts {
|
||||
part {
|
||||
name: "back";
|
||||
type: IMAGE;
|
||||
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 0 0;
|
||||
}
|
||||
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 -1;
|
||||
}
|
||||
|
||||
image {
|
||||
normal: "background.png";
|
||||
}
|
||||
}
|
||||
|
||||
description {
|
||||
inherit: "default" 0.0;
|
||||
state: "active" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
|
||||
part {
|
||||
name: "ecdb.table";
|
||||
type: TABLE;
|
||||
clip_to: "back";
|
||||
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 255 255 255 0;
|
||||
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 0 0;
|
||||
}
|
||||
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 -1;
|
||||
}
|
||||
|
||||
table {
|
||||
homogenous: TABLE;
|
||||
padding: 2 2;
|
||||
align: 0.5 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
programs {
|
||||
program {
|
||||
name: "expand";
|
||||
signal: "ecdb,config_inwin,popup,show";
|
||||
source: "ecdb";
|
||||
action: STATE_SET "active" 0.0;
|
||||
target: "ecdb.table";
|
||||
target: "active";
|
||||
transition: DECELERATE 0.2;
|
||||
}
|
||||
|
||||
program {
|
||||
name: "collapse";
|
||||
signal: "ecdb,config_inwin,popup,hide";
|
||||
source: "ecdb";
|
||||
action: STATE_SET "active" 0.0;
|
||||
target: "ecdb.table";
|
||||
target: "active";
|
||||
transition: DECELERATE 0.2;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user