}
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";
}
}
}
-/*
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 {
}
}
}
- 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;
}
}
}
- 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 {
scale: 1;
description {
state: "default" 0.0;
-// min: 16 16;
+// min: 16 16;
rel1 {
to_x: "elm.swallow.icon";
relative: 1.0 0.0;
color: 255 255 255 64;
}
}
- part { name: "event";
- type: RECT;
+ part {
+ name: "event";
+ type: RECT;
repeat_events: 1;
description {
state: "default" 0.0;
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";