fix tree theme to do odd/even right

SVN revision: 39501
This commit is contained in:
Carsten Haitzler 2009-03-16 07:08:56 +00:00
parent 0c6c2eefd0
commit ec065a8efd
1 changed files with 77 additions and 17 deletions

View File

@ -7573,7 +7573,6 @@ collections {
}
group { name: "elm/genlist/tree/default/default";
alias: "elm/genlist/tree_odd/default/default";
data.item: "stacking" "above";
data.item: "selectraise" "on";
data.item: "labels" "elm.text";
@ -7893,18 +7892,20 @@ collections {
}
}
}
/*
group { name: "elm/genlist/tree_odd/default/default";
data.item: "stacking" "below";
data.item: "selectraise" "on";
data.item: "labels" "elm.text";
data.item: "icons" "elm.swallow.icon elm.swallow.end";
data.item: "treesize" "20";
// data.item: "states" "";
images {
image: "bt_sm_base1.png" COMP;
image: "bt_sm_shine.png" COMP;
image: "bt_sm_hilight.png" COMP;
image: "ilist_2.png" COMP;
image: "icon_arrow_right.png" COMP;
image: "icon_arrow_down.png" COMP;
}
parts {
part {
@ -7953,13 +7954,11 @@ collections {
}
}
}
part {
name: "elm.swallow.icon";
clip_to: "disclip";
type: SWALLOW;
description { state: "default" 0.0;
part { name: "elm.swallow.pad";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
align: 0.0 0.5;
align: 0.0 0.5;
rel1 {
relative: 0.0 0.0;
offset: 4 4;
@ -7970,13 +7969,54 @@ collections {
}
}
}
part {
name: "elm.swallow.end";
part { name: "arrow";
clip_to: "disclip";
type: SWALLOW;
description { state: "default" 0.0;
ignore_flags: ON_HOLD;
description { state: "default" 0.0;
fixed: 1 0;
align: 1.0 0.5;
align: 0.0 0.5;
aspect: 1.0 1.0;
rel1 {
to_x: "elm.swallow.pad";
relative: 1.0 0.0;
offset: -1 4;
}
rel2 {
to_x: "elm.swallow.pad";
relative: 1.0 1.0;
offset: -1 -5;
}
image.normal: "icon_arrow_right.png";
}
description { state: "active" 0.0;
inherit: "default" 0.0;
image.normal: "icon_arrow_down.png";
}
}
part { name: "elm.swallow.icon";
clip_to: "disclip";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
align: 0.0 0.5;
rel1 {
to_x: "arrow";
relative: 1.0 0.0;
offset: 4 4;
}
rel2 {
to_x: "arrow";
relative: 1.0 1.0;
offset: 4 -5;
}
}
}
part { name: "elm.swallow.end";
clip_to: "disclip";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
align: 1.0 0.5;
aspect: 1.0 1.0;
aspect_preference: VERTICAL;
rel1 {
@ -7997,7 +8037,7 @@ collections {
scale: 1;
description {
state: "default" 0.0;
// min: 16 16;
// min: 16 16;
rel1 {
to_x: "elm.swallow.icon";
relative: 1.0 0.0;
@ -8074,8 +8114,9 @@ collections {
color: 255 255 255 64;
}
}
part { name: "event";
type: RECT;
part {
name: "event";
type: RECT;
repeat_events: 1;
description {
state: "default" 0.0;
@ -8124,9 +8165,28 @@ collections {
action: STATE_SET "default" 0.0;
target: "disclip";
}
program {
name: "expand";
signal: "mouse,up,1";
source: "arrow";
action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
}
program {
name: "go_expanded";
signal: "elm,state,expanded";
source: "elm";
action: STATE_SET "active" 0.0;
target: "arrow";
}
program {
name: "go_contracted";
signal: "elm,state,contracted";
source: "elm";
action: STATE_SET "default" 0.0;
target: "arrow";
}
}
}
*/
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/check/base/default";