Combo works now, added a label widget, and use stringshare for the constant drive info stuff.
This commit is contained in:
@ -15,4 +15,5 @@ collections {
|
||||
#include "groups/burn_image.edc"
|
||||
#include "groups/entry.edc"
|
||||
#include "groups/combo.edc"
|
||||
#include "groups/label.edc"
|
||||
}
|
||||
|
@ -234,7 +234,43 @@ group {
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
description {
|
||||
state: "deactivate" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 60 60 60 0;
|
||||
}
|
||||
}
|
||||
|
||||
part {
|
||||
name: "ecdb.header.swallow";
|
||||
type: SWALLOW;
|
||||
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
align: 0.0 0.5;
|
||||
color: 255 255 255 0;
|
||||
|
||||
rel1 {
|
||||
to: "combo_button";
|
||||
relative: 0.0 0.0;
|
||||
offset: 9 0;
|
||||
}
|
||||
|
||||
rel2 {
|
||||
to: "combo_button";
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 -1;
|
||||
}
|
||||
}
|
||||
|
||||
description {
|
||||
state: "active" 0.0;
|
||||
inherit: "default" 0.0;
|
||||
color: 255 255 255 255;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
programs {
|
||||
@ -319,6 +355,24 @@ group {
|
||||
source: "ecdb";
|
||||
target: "combo_button";
|
||||
}
|
||||
|
||||
program {
|
||||
name: "header_hide";
|
||||
signal: "ecdb,combo,header,swallow";
|
||||
source: "ecdb";
|
||||
action: STATE_SET "deactivate" 0.0;
|
||||
target: "ecdb.header";
|
||||
transition: DECELERATE 0.5;
|
||||
}
|
||||
|
||||
program {
|
||||
name: "swallow_show";
|
||||
signal: "ecdb,combo,header,swallow";
|
||||
source: "ecdb";
|
||||
action: STATE_SET "active" 0.0;
|
||||
target: "ecdb.header.swallow";
|
||||
transition: DECELERATE 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
35
experimental/ecdb/trunk/data/themes/default/groups/label.edc
Normal file
35
experimental/ecdb/trunk/data/themes/default/groups/label.edc
Normal file
@ -0,0 +1,35 @@
|
||||
/* vim: set sw=3 ts=3 sts=3 expandtab: */
|
||||
group {
|
||||
name: "ecdb/label";
|
||||
|
||||
parts {
|
||||
part {
|
||||
name: "ecdb.label";
|
||||
type: TEXT;
|
||||
|
||||
description {
|
||||
state: "default" 0.0;
|
||||
color: 60 60 60 255;
|
||||
fixed: 1 1;
|
||||
|
||||
rel1 {
|
||||
relative: 0.0 0.0;
|
||||
offset: 0 0;
|
||||
}
|
||||
|
||||
rel2 {
|
||||
relative: 1.0 1.0;
|
||||
offset: -1 -1;
|
||||
}
|
||||
|
||||
text {
|
||||
text: "";
|
||||
font: "ecdb/default";
|
||||
min: 1 1;
|
||||
size: 11;
|
||||
align: 0.0 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user