data.item: "max_font_size" "60";
styles {
style { name: "textblock_style";
- base: "font=Sans font_size=10 color=#000 wrap=word text_class=label";
+ base: "font=Sans font_size=10 color=#000 text_class=label";
tag: "br" "\n";
tag: "ps" "ps";
tag: "hilight" "+ font=Sans:style=Bold";
rel2.relative: 1.0 1.0;
text {
style: "textblock_style";
- min: 1 1;
- }
- }
- }
- }
- }
-
- group { name: "elm/label/base_wrap/default";
- data.item: "default_font_size" "10";
- data.item: "min_font_size" "6";
- data.item: "max_font_size" "60";
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- text {
- style: "textblock_style";
- min: 0 1;
- }
- }
- }
- }
- }
-
- group { name: "elm/label/base_wrap_ellipsis/default";
- data.item: "default_font_size" "10";
- data.item: "min_font_size" "6";
- data.item: "max_font_size" "60";
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- multiline: 1;
- description { state: "default" 0.0;
- fixed: 0 1;
- text {
- style: "textblock_style";
min: 0 1;
}
}
}
}
- group { name: "elm/label/base_wrap/marker";
- data.item: "default_font_size" "10";
- data.item: "min_font_size" "6";
- data.item: "max_font_size" "60";
- parts {
- part { name: "label.swallow.background";
- type: SWALLOW;
- description { state: "default" 0.0;
- visible: 1;
- rel1 { relative: 0 0; to: "elm.text"; }
- rel2 { relative: 1 1; to: "elm.text"; }
- }
- }
- part { name: "elm.text";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description { state: "default" 0.0;
- text {
- style: "textblock_style2";
- min: 0 1;
- }
- }
- }
- }
- }
-
group { name: "elm/label/base/slide_long";
data.item: "default_font_size" "10";
data.item: "min_font_size" "6";
data.item: "max_font_size" "60";
-
+
script {
public g_duration, g_stopslide, g_timer_id, g_anim_id;
-
+
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
- duration = getarg(2);
+ duration = getfarg(2);
set_float(g_duration, duration);
}
}
set_state(PART:"elm.text", "default", 0.0);
}
}
-
+
parts {
part { name: "label.swallow.background";
type: SWALLOW;
}
}
}
-
+
group { name: "elm/label/base/slide_short";
data.item: "default_font_size" "10";
script {
public g_duration, g_stopslide, g_timer_id, g_anim_id;
-
+
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
- duration = getarg(2);
+ duration = getfarg(2);
set_float(g_duration, duration);
}
}
data.item: "default_font_size" "10";
data.item: "min_font_size" "6";
data.item: "max_font_size" "60";
-
+
script {
public g_duration, g_stopslide, g_timer_id, g_anim_id;
-
+
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT_SET) && (id == 0)) {
new Float:duration;
- duration = getarg(2);
+ duration = getfarg(2);
set_float(g_duration, duration);
}
}
part { name: "button_image";
mouse_events: 1;
description { state: "default" 0.0;
- min: 15 15;
+ min: 15 15;
image {
normal: "bt_base2.png";
border: 7 7 7 7;
description { state: "clicked" 0.0;
inherit: "default" 0.0;
image.normal: "bt_base1.png";
- image.middle: SOLID;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
else {
emit("elm,action,toggle,off", "");
}
-
+
}
}
program { name: "toggle_on";
name: "item_mouse_out";
signal: "mouse,out";
source: "over2";
+ action: SIGNAL_EMIT "elm,action,inactivate" "";
after: "item_mouse_out_2";
after: "item_mouse_out_3";
}
set_int(menu_disable, 1);
}
}
+ program { name: "item_select";
+ signal: "elm,state,selected";
+ source: "elm";
+ after: "item_mouse_in_2";
+ after: "item_mouse_in_3";
+ }
+ program { name: "item_unselect";
+ signal: "elm,state,unselected";
+ source: "elm";
+ after: "item_mouse_out_2";
+ after: "item_mouse_out_3";
+ }
program { name: "enable";
signal: "elm,state,enabled";
source: "elm";
visible: 0;
color: 255 255 255 0;
}
- }
+ }
part { name: "sb_vbar_clip";
clip_to:"sb_vbar_clip_master";
type: RECT;
}
part { name: "elm.dragable.vbar";
clip_to: "sb_vbar_clip";
- mouse_events: 0;
+ mouse_events: 0;
scale: 1;
dragable {
x: 0 0 0;
visible: 0;
color: 255 255 255 0;
}
- }
+ }
part { name: "sb_hbar_clip";
clip_to: "sb_hbar_clip_master";
type: RECT;
type: RECT;
mouse_events: 0;
scale: 1;
- description { state: "default" 0.0;
+ description { state: "default" 0.0;
fixed: 1 1;
visible: 0;
align: 0.0 1.0;
rel1 { to:"clipper"; relative: 0.0 1.0; }
- rel2 { to:"clipper"; relative: 1.0 1.0; }
+ rel2 { to:"clipper"; relative: 1.0 1.0; }
}
}
part { name: "elm.dragable.hbar";
clip_to: "sb_hbar_clip";
- mouse_events: 0;
+ mouse_events: 0;
scale: 1;
dragable {
x: 1 1 0;
}
}
}
- }
+ }
programs {
program { name: "load";
signal: "load";
set_int(sbalways_h, 0);
set_int(sbvis_timer, 0);
}
- }
+ }
program { name: "vbar_show";
signal: "elm,action,show,vbar";
source: "elm";
source: "elm";
action: STATE_SET "hidden" 0.0;
target: "sb_vbar_clip_master";
- }
+ }
program { name: "vbar_show_always";
signal: "elm,action,show_always,vbar";
source: "elm";
}
}
}
- }
+ }
program { name: "sb_vbar_show";
signal: "do-show-vbar";
source: "";
action: STATE_SET "hidden" 0.0;
transition: LINEAR 1.0;
target: "sb_hbar_clip";
- }
+ }
program { name: "scroll";
signal: "elm,action,scroll";
source: "elm";
transition: DECELERATE 0.3;
target: "focus_highlight";
}
- }
- }
+ }
+ }
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/ctxpopup/bg/default";
parts {
source: "elm";
action: STATE_SET "default" 0.0;
target: "ctxpopup_bg";
- }
+ }
}
}
///////////////////////////////////////////////////////////////////////////////
image: "bt_shine.png" COMP;
}
parts {
+ part { name: "arrow_area_left";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 40 0;
+ fixed: 1 1;
+ align: 1 0.5;
+ rel1 {
+ to_y: "base";
+ }
+ rel2 {
+ relative:0 1;
+ to:"base";
+ }
+ }
+ }
+ part { name: "arrow_area_right";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 40 0;
+ fixed: 1 1;
+ align: 0 0.5;
+ rel1 {
+ relative: 1 0;
+ to:"base";
+ }
+ rel2 {
+ to_y: "base";
+ }
+ }
+ }
+ part { name: "arrow_area_up";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 40;
+ fixed: 1 1;
+ align: 0.5 1;
+ rel1 {
+ to_x: "base";
+ }
+ rel2 {
+ relative: 1 0;
+ to:"base";
+ }
+ }
+ }
+ part { name: "arrow_area_down";
+ type: RECT;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ min: 0 40;
+ fixed: 1 1;
+ align: 0.5 0;
+ rel1 {
+ relative: 0 1;
+ to:"base";
+ }
+ rel2 {
+ to_x: "base";
+ }
+ }
+ }
+ part { name: "elm.swallow.arrow_up";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_up";
+ }
+ description {
+ state: "default" 0.0;
+ min: 40 40;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_down";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_down";
+ }
+ description {
+ state: "default" 0.0;
+ min: 40 40;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_left";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_left";
+ }
+ description {
+ state: "default" 0.0;
+ min: 40 40;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
+ part { name: "elm.swallow.arrow_right";
+ type: SWALLOW;
+ mouse_events: 0;
+ scale: 1;
+ dragable {
+ x: 1 1 0;
+ y: 1 1 0;
+ confine: "arrow_area_right";
+ }
+ description {
+ state: "default" 0.0;
+ min: 40 40;
+ fixed: 1 1;
+ visible: 1;
+ }
+ }
part { name: "base";
scale: 1;
description { state: "default" 0.0;
rel1 { to:"base"; offset: 4 4; };
rel2 { to:"base"; offset: -5 -5; };
}
- }
- }
- }
+ }
+ }
+ }
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/ctxpopup/arrow/default";
images {
image: "icon_arrow_up.png" COMP;
image: "icon_arrow_down.png" COMP;
}
- parts {
- part { name: "ctxpopup_arrow";
+ parts {
+ part { name: "ctxpopup_arrow";
type: IMAGE;
scale: 1;
description {
min: 40 40;
fixed: 1 1;
align: 0.0 0.5;
- image { normal: "icon_arrow_left.png";
- }
+ rel1 { offset: 7 0; }
+ rel2 { offset: 6 -1; }
+ image { normal: "icon_arrow_left.png"; }
}
description { state: "right" 0.0;
min: 40 40;
fixed: 1 1;
align: 1.0 0.5;
- image { normal: "icon_arrow_right.png";
- }
+ rel1 { offset: -7 0; }
+ rel2 { offset: -8 -1; }
+ image { normal: "icon_arrow_right.png"; }
}
description { state: "top" 0.0;
min: 40 40;
fixed: 1 1;
align: 0.5 0.0;
- image { normal: "icon_arrow_up.png";
- }
+ rel1 { offset: 0 7; }
+ rel2 { offset: -1 6; }
+ image { normal: "icon_arrow_up.png"; }
}
description { state: "bottom" 0.0;
min: 40 40;
fixed: 1 1;
align: 0.5 1.0;
- image { normal: "icon_arrow_down.png";
- }
+ rel1 { offset: 0 -7; }
+ rel2 { offset: -1 -8; }
+ image { normal: "icon_arrow_down.png"; }
}
}
}
}
}
///////////////////////////////////////////////////////////////////////////////
- group {
+ group {
name: "elm/ctxpopup/icon_text_style_item/default";
alias: "elm/ctxpopup/text_style_item/default";
alias: "elm/ctxpopup/icon_style_item/default";
color: 255 255 255 0;
}
description { state: "clicked" 0.0;
- inherit: "default" 0.0;
+ inherit: "default" 0.0;
color: 255 255 255 255;
}
}
scale: 1;
description { state: "default" 0.0;
min: 25 25;
- max: 25 25;
- align: 0 0.5;
+ max: 25 25;
+ align: 0 0.5;
aspect: 1.0 1.0;
- rel1 { offset: 10 10; }
+ rel1 { offset: 10 10; }
rel2 { offset: 0 -10; }
}
- }
+ }
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
inherit: "default" 0.0;
color: 0 0 0 255;
}
- }
- part { name: "over1";
+ }
+ part { name: "over1";
mouse_events: 1;
repeat_events: 1;
ignore_flags: ON_HOLD;
color: 255 255 255 0;
}
description { state: "clicked" 0.0;
- inherit: "default" 0.0;
+ inherit: "default" 0.0;
color: 255 255 255 255;
}
}
color: 255 255 255 0;
}
description { state: "clicked" 0.0;
- inherit: "default" 0.0;
+ inherit: "default" 0.0;
color: 255 255 255 255;
}
}
color: 0 0 0 0;
}
}
- }
+ }
programs {
program {
name: "item_unclick";
signal: "mouse,up,1";
source: "over1";
action: SIGNAL_EMIT "elm,action,click" "";
- }
+ }
program { name: "disable";
signal: "elm,state,disabled";
source: "elm";
set_state(PART:"elm.text", "clicked", 0.0);
set_state(PART:"bg", "clicked", 0.0);
}
- }
+ }
program { name: "item_unclick2";
signal: "mouse,up,1";
source: "over2";
- script {
+ script {
set_state(PART:"elm.text", "default", 0.0);
set_state(PART:"bg", "default", 0.0);
- }
+ }
}
- }
- }
+ }
+ }
///////////////////////////////////////////////////////////////////////////////
// emoticon images from:
// Tanya - Latvia
text {
style: "entry_textblock_style";
min: 0 1;
+ align: 0.0 0.0;
}
}
description { state: "disabled" 0.0;
}
}
+ group { name: "elm/entry/base-mixedwrap/default";
+ styles
+ {
+ style { name: "entry_textblock_style_mixedwrap";
+ base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Sans:style=Oblique";
+ tag: "b" "+ font=Sans:style=Bold";
+ tag: "link" "+ color=#800 underline=on underline_color=#8008";
+ tag: "hilight" "+ font=Sans:style=Bold";
+ }
+ style { name: "entry_textblock_disabled_style_mixedwrap";
+ base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
+ tag: "br" "\n";
+ tag: "ps" "ps";
+ tag: "tab" "\t";
+ tag: "em" "+ font=Sans:style=Oblique";
+ tag: "b" "+ font=Sans:style=Bold";
+ tag: "link" "+ color=#00000080 underline=on underline_color=#00000080";
+ tag: "hilight" "+ font=Sans:style=Bold";
+ }
+ }
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: EDITABLE;
+ select_mode: EXPLICIT;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+// source2: "X"; // selection over
+// source3: "X"; // cursor under
+ source4: "elm/entry/cursor/default"; // cursorover
+ source5: "elm/entry/anchor/default"; // anchor under
+// source6: "X"; // anchor over
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text {
+ style: "entry_textblock_style_mixedwrap";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style_mixedwrap";
+ min: 0 1;
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
group { name: "elm/entry/base-charwrap/default";
styles
{
text {
style: "entry_textblock_style_charwrap";
min: 0 1;
+ align: 0.0 0.0;
}
}
description { state: "disabled" 0.0;
text {
style: "entry_textblock_style";
min: 1 1;
+ align: 0.0 0.0;
}
}
description { state: "disabled" 0.0;
text {
style: "entry_single_textblock_style";
min: 1 1;
- max: 0 1;
+ max: 0 0;
+ align: 0.0 0.5;
}
}
description { state: "disabled" 0.0;
text {
style: "entry_single_textblock_style";
min: 1 1;
- max: 0 1;
+ max: 0 0;
+ align: 0.0 0.5;
}
}
description { state: "disabled" 0.0;
text {
style: "entry_textblock_style";
min: 0 1;
+ align: 0.0 0.0;
}
}
description { state: "disabled" 0.0;
}
}
+ group { name: "elm/entry/base-noedit-mixedwrap/default";
+ parts {
+ part { name: "elm.text";
+ type: TEXTBLOCK;
+ mouse_events: 1;
+ scale: 1;
+ entry_mode: PLAIN;
+ select_mode: EXPLICIT;
+ multiline: 1;
+ source: "elm/entry/selection/default"; // selection under
+ source5: "elm/entry/anchor/default"; // anchor under
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ text {
+ style: "entry_textblock_style_mixedwrap";
+ min: 0 1;
+ align: 0.0 0.0;
+ }
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ text {
+ style: "entry_textblock_disabled_style_mixedwrap";
+ }
+ }
+ }
+ }
+ programs {
+ program { name: "focus";
+ signal: "load";
+ source: "";
+ action: FOCUS_SET;
+ target: "elm.text";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ }
+ }
+
group { name: "elm/entry/base-noedit-charwrap/default";
parts {
part { name: "elm.text";
text {
style: "entry_textblock_style_charwrap";
min: 0 1;
+ align: 0.0 0.0;
}
}
description { state: "disabled" 0.0;
text {
style: "entry_textblock_style";
min: 1 1;
+ align: 0.0 0.0;
}
}
description { state: "disabled" 0.0;
style: "entry_single_textblock_style";
repch: "*";
min: 1 1;
- max: 0 1;
+ max: 0 0;
+ align: 0.0 0.5;
}
}
description { state: "disabled" 0.0;
description { state: "default" 0.0;
align: 0.0 0.0;
fixed: 0 1;
- visible: 0;
rel1 {
to_x: "elm.swallow.icon";
relative: 1.0 0.0;
relative: 0.0 0.0;
offset: -5 4;
}
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
color: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
max: 0 1;
align: 0.0 0.0;
}
- }
+ }
}
part { name: "elm.info";
type: TEXT;
description { state: "default" 0.0;
align: 1.0 0.0;
fixed: 1 1;
- visible: 0;
rel1 {
relative: 1.0 0.0;
offset: -5 4;
relative: 1.0 0.0;
offset: -5 4;
}
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
color: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
max: 1 1;
align: 1.0 0.0;
}
- }
+ }
}
part { name: "base0";
mouse_events: 0;
image.middle: SOLID;
fill.smooth: 0;
}
- description { state: "infobase" 0.0;
- inherit: "default" 0.0;
- rel1.to_y: "elm.info";
+ description { state: "rtl" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "bubble_4.png";
+ border: 11 36 18 9;
+ }
}
}
part { name: "elm.swallow.content";
name: "icon_show";
signal: "elm,state,icon,visible";
source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"base0", st, 30, vl);
- if (!strcmp(st, "infobase"))
- set_state(PART:"base0", "default", 0.0);
- set_state(PART:"elm.swallow.icon", "visible", 0.0);
- }
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
}
program {
name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.info", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"base0", "infobase", 0.0);
- set_state(PART:"elm.swallow.icon", "default", 0.0);
- }
- }
- program {
- name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program {
- name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program {
- name: "info_show";
- signal: "elm,state,info,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"base0", "infobase", 0.0);
- set_state(PART:"elm.info", "visible", 0.0);
- }
- }
- program {
- name: "info_hide";
- signal: "elm,state,info,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.info";
- target: "base0";
+ target: "elm.swallow.icon";
+ }
+ program { name: "to_rtl";
+ signal: "edje,state,rtl";
+ source: "edje";
+ action: STATE_SET "rtl" 0.0;
+ target: "base0";
+ target: "shine";
+ }
+ program { name: "to_ltr";
+ signal: "edje,state,ltr";
+ source: "edje";
+ action: STATE_SET "default" 0.0;
+ target: "base0";
+ target: "shine";
}
}
}
group { name: "elm/bubble/top_right/default";
images {
+ image: "bubble_3.png" COMP;
image: "bubble_4.png" COMP;
+ image: "bubble_shine3.png" COMP;
image: "bubble_shine4.png" COMP;
}
parts {
description { state: "default" 0.0;
align: 0.0 0.0;
fixed: 0 1;
- visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 4 4;
relative: 0.0 0.0;
offset: -5 4;
}
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
color: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
description { state: "default" 0.0;
align: 1.0 0.0;
fixed: 1 1;
- visible: 0;
rel1 {
relative: 1.0 0.0;
offset: -5 4;
relative: 0.0 0.0;
offset: -5 4;
}
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
color: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
image.middle: SOLID;
fill.smooth: 0;
}
- description { state: "infobase" 0.0;
- inherit: "default" 0.0;
- rel1.to_y: "elm.info";
+ description { state: "rtl" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "bubble_3.png";
+ border: 36 11 18 9;
+ }
}
}
part { name: "elm.swallow.content";
name: "icon_show";
signal: "elm,state,icon,visible";
source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"base0", st, 30, vl);
- if (!strcmp(st, "infobase"))
- set_state(PART:"base0", "default", 0.0);
- set_state(PART:"elm.swallow.icon", "visible", 0.0);
- }
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
}
program {
name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.info", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"base0", "infobase", 0.0);
- set_state(PART:"elm.swallow.icon", "default", 0.0);
- }
- }
- program {
- name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program {
- name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.text";
- }
- program {
- name: "info_show";
- signal: "elm,state,info,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"base0", "infobase", 0.0);
- set_state(PART:"elm.info", "visible", 0.0);
- }
- }
- program {
- name: "info_hide";
- signal: "elm,state,info,hidden";
- source: "elm";
action: STATE_SET "default" 0.0;
- target: "elm.info";
- target: "base0";
+ target: "elm.swallow.icon";
+ }
+ program { name: "to_rtl";
+ signal: "edje,state,rtl";
+ source: "edje";
+ action: STATE_SET "rtl" 0.0;
+ target: "base0";
+ target: "shine";
+ }
+ program { name: "to_ltr";
+ signal: "edje,state,ltr";
+ source: "edje";
+ action: STATE_SET "default" 0.0;
+ target: "base0";
+ target: "shine";
}
}
}
group { name: "elm/bubble/bottom_left/default";
images {
image: "bubble_1.png" COMP;
+ image: "bubble_2.png" COMP;
image: "bubble_shine.png" COMP;
}
parts {
description { state: "default" 0.0;
align: 0.0 1.0;
fixed: 0 1;
- visible: 0;
rel1 {
to_x: "elm.swallow.icon";
relative: 1.0 1.0;
relative: 0.0 1.0;
offset: -5 -5;
}
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
color: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
description { state: "default" 0.0;
align: 1.0 1.0;
fixed: 1 1;
- visible: 0;
rel1 {
relative: 1.0 1.0;
offset: -5 -5;
relative: 1.0 1.0;
offset: -5 -5;
}
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
color: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
image.middle: SOLID;
fill.smooth: 0;
}
- description { state: "infobase" 0.0;
- inherit: "default" 0.0;
- rel2.to_y: "elm.info";
+ description { state: "rtl" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "bubble_2.png";
+ border: 11 36 10 19;
+ }
}
}
part { name: "elm.swallow.content";
}
fill.smooth: 0;
}
+ description { state: "rtl" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "bubble_shine4.png";
+ border: 5 36 14 0;
+ }
+ }
}
}
programs {
name: "icon_show";
signal: "elm,state,icon,visible";
source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"base0", st, 30, vl);
- if (!strcmp(st, "infobase"))
- set_state(PART:"base0", "default", 0.0);
- set_state(PART:"elm.swallow.icon", "visible", 0.0);
- }
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
}
program {
name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.info", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"base0", "infobase", 0.0);
- set_state(PART:"elm.swallow.icon", "default", 0.0);
- }
- }
- program {
- name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program {
- name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
action: STATE_SET "default" 0.0;
- target: "elm.text";
+ target: "elm.swallow.icon";
}
- program {
- name: "info_show";
- signal: "elm,state,info,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"base0", "infobase", 0.0);
- set_state(PART:"elm.info", "visible", 0.0);
- }
+ program { name: "to_rtl";
+ signal: "edje,state,rtl";
+ source: "edje";
+ action: STATE_SET "rtl" 0.0;
+ target: "base0";
}
- program {
- name: "info_hide";
- signal: "elm,state,info,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.info";
- target: "base0";
+ program { name: "to_ltr";
+ signal: "edje,state,ltr";
+ source: "edje";
+ action: STATE_SET "default" 0.0;
+ target: "base0";
}
}
}
group { name: "elm/bubble/bottom_right/default";
images {
+ image: "bubble_1.png" COMP;
image: "bubble_2.png" COMP;
image: "bubble_shine.png" COMP;
}
description { state: "default" 0.0;
align: 0.0 1.0;
fixed: 0 1;
- visible: 0;
rel1 {
relative: 0.0 1.0;
offset: 4 -5;
relative: 0.0 1.0;
offset: -5 -5;
}
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
color: 0 0 0 255;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
description { state: "default" 0.0;
align: 1.0 1.0;
fixed: 1 1;
- visible: 0;
rel1 {
relative: 1.0 1.0;
offset: -5 -5;
relative: 0.0 1.0;
offset: -5 -5;
}
- }
- description { state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
color: 0 0 0 64;
text {
font: "Sans:style=Bold,Edje-Vera-Bold";
image.middle: SOLID;
fill.smooth: 0;
}
- description { state: "infobase" 0.0;
- inherit: "default" 0.0;
- rel2.to_y: "elm.info";
+ description { state: "rtl" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "bubble_1.png";
+ border: 36 11 10 19;
+ }
}
}
part { name: "elm.swallow.content";
}
fill.smooth: 0;
}
+ description { state: "rtl" 0.0;
+ inherit: "default" 0.0;
+ image {
+ normal: "bubble_shine3.png";
+ border: 36 5 14 0;
+ }
+ }
}
}
programs {
name: "icon_show";
signal: "elm,state,icon,visible";
source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"base0", st, 30, vl);
- if (!strcmp(st, "infobase"))
- set_state(PART:"base0", "default", 0.0);
- set_state(PART:"elm.swallow.icon", "visible", 0.0);
- }
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.icon";
}
program {
name: "icon_hide";
signal: "elm,state,icon,hidden";
source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.info", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"base0", "infobase", 0.0);
- set_state(PART:"elm.swallow.icon", "default", 0.0);
- }
- }
- program {
- name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
- }
- program {
- name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
action: STATE_SET "default" 0.0;
- target: "elm.text";
+ target: "elm.swallow.icon";
}
- program {
- name: "info_show";
- signal: "elm,state,info,visible";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.swallow.icon", st, 30, vl);
- if (!strcmp(st, "default"))
- set_state(PART:"base0", "infobase", 0.0);
- set_state(PART:"elm.info", "visible", 0.0);
- }
+ program { name: "to_rtl";
+ signal: "edje,state,rtl";
+ source: "edje";
+ action: STATE_SET "rtl" 0.0;
+ target: "base0";
}
- program {
- name: "info_hide";
- signal: "elm,state,info,hidden";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "elm.info";
- target: "base0";
+ program { name: "to_ltr";
+ signal: "edje,state,ltr";
+ source: "edje";
+ action: STATE_SET "default" 0.0;
+ target: "base0";
}
}
}
}
}
}
-
+
group { name: "elm/photo/base/shadow";
images {
image: "shadow.png" COMP;
{
new w;
new h;
-
+
custom_state(PART:"size", "default", 0.0);
w = getarg(2);
image.normal: "shadow.png";
}
}
-
-
+
+
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 1;
}
}
-
+
part {
name: "border";
type: IMAGE;
}
}
part { name: "image_1_whole";
+ type: RECT;
description {
state: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "image_2_whole";
+ type: RECT;
description {
state: "default" 0.0;
visible: 1;
target: "elm.swallow.1";
target: "elm.swallow.2";
transition: SINUSOIDAL 1.0;
- }
+ }
//
program { name: "fade_next";
signal: "fade,next";
// target: "button0";
target: "disabler";
after: "disable_text";
+ after: "disable_ind";
+ }
+
+ program { name: "disable_ind";
+ action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
}
program { name: "disable_text";
script {
set_state(PART:"elm.text", "disabled", 0.0);
get_state(PART:"elm.units", st, 30, vl);
- if (!strcmp(st, "visible"))
+ if (!strcmp(st, "visible"))
set_state(PART:"elm.units", "disabled_visible", 0.0);
- else
+ else
set_state(PART:"elm.units", "disabled", 0.0);
get_state(PART:"level2", st, 30, vl);
- if (!strcmp(st, "inverted"))
+ if (!strcmp(st, "inverted"))
{
set_state(PART:"level", "disabled_inverted", 0.0);
set_state(PART:"level2", "disabled_inverted", 0.0);
}
- else
+ else
{
set_state(PART:"level", "disabled", 0.0);
set_state(PART:"level2", "disabled", 0.0);
// target: "button0";
target: "disabler";
after: "enable_text";
+ after: "enable_ind";
+ }
+
+ program { name: "enable_ind";
+ action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
}
+
program { name: "enable_text";
script {
new st[31];
set_state(PART:"elm.units", "visible", 0.0);
else
set_state(PART:"elm.units", "default", 0.0);
-
+
get_state(PART:"level2", st, 30, vl);
if (!strcmp(st, "disabled_inverted"))
{
// target: "button0";
target: "disabler";
after: "disable_text";
+ after: "disable_ind";
+ }
+
+ program { name: "disable_ind";
+ action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
}
+
program { name: "disable_text";
script {
new st[31];
set_state(PART:"elm.text", "disabled", 0.0);
get_state(PART:"elm.units", st, 30, vl);
- if (!strcmp(st, "visible"))
+ if (!strcmp(st, "visible"))
set_state(PART:"elm.units", "disabled_visible", 0.0);
- else
+ else
set_state(PART:"elm.units", "disabled", 0.0);
get_state(PART:"level2", st, 30, vl);
- if (!strcmp(st, "inverted"))
+ if (!strcmp(st, "inverted"))
{
set_state(PART:"level", "disabled_inverted", 0.0);
set_state(PART:"level2", "disabled_inverted", 0.0);
}
- else
+ else
{
set_state(PART:"level", "disabled", 0.0);
set_state(PART:"level2", "disabled", 0.0);
// target: "button0";
target: "disabler";
after: "enable_text";
+ after: "enable_ind";
+ }
+
+ program { name: "enable_ind";
+ action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
}
program { name: "enable_text";
script {
set_state(PART:"elm.units", "visible", 0.0);
else
set_state(PART:"elm.units", "default", 0.0);
-
+
get_state(PART:"level2", st, 30, vl);
if (!strcmp(st, "disabled_inverted"))
{
thumb_up();
}
}
+ program {
+ name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "button0";
+ }
+ program {
+ name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "button0";
+ }
}
}
///////////////////////////////////////////////////////////////////////////////
group { name: "elm/genlist/item/default/default";
- data.item: "stacking" "above";
data.item: "selectraise" "on";
data.item: "labels" "elm.text";
data.item: "icons" "elm.swallow.icon elm.swallow.end";
image: "bt_sm_shine.png" COMP;
image: "bt_sm_hilight.png" COMP;
image: "ilist_1.png" COMP;
+ image: "ilist_2.png" COMP;
image: "ilist_item_shadow.png" COMP;
}
parts {
color: 0 0 0 0;
}
}
+ part { name: "reorder_bg";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: -7 -7;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 9 9;
+ }
+ image {
+ normal: "bt_bases.png";
+ border: 6 6 6 6;
+ }
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
part {
name: "base_sh";
mouse_events: 0;
}
fill.smooth: 0;
}
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
part {
name: "base";
}
fill.smooth: 0;
}
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ image.normal: "ilist_2.png";
+ }
}
part { name: "bg";
clip_to: "disclip";
}
image.middle: SOLID;
}
+ description { state: "default" 0.1;
+ inherit: "default" 0.0;
+ }
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
offset: 1 1;
}
}
+ description {
+ state: "selected" 1.0;
+ inherit: "selected" 0.0;
+ }
}
part { name: "elm.swallow.pad";
type: SWALLOW;
size: 10;
min: 1 1;
// min: 0 1;
- align: 0.0 0.5;
+ align: -1.0 0.5;
text_class: "list_item";
}
}
visible: 1;
color: 255 255 255 255;
}
+ description {
+ state: "selected" 1.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
}
part { name: "fg2";
clip_to: "disclip";
visible: 1;
color: 255 255 255 255;
}
+ description {
+ state: "selected" 1.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
}
part { name: "disclip";
type: RECT;
// a "check" item named %s went passive
// default is passive
program {
+ name: "odd";
+ signal: "elm,state,odd";
+ source: "elm";
+ action: STATE_SET "default" 1.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
+ name: "even";
+ signal: "elm,state,even";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
name: "go_active";
signal: "elm,state,selected";
source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"base", st, 30, vl);
+ set_state(PART:"bg", "selected", vl);
+ set_state(PART:"fg1", "selected", vl);
+ set_state(PART:"fg2", "selected", vl);
+ set_state(PART:"elm.text", "selected", vl);
+ }
}
program {
name: "go_passive";
signal: "elm,state,unselected";
source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text";
- transition: LINEAR 0.1;
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"base", st, 30, vl);
+ set_state(PART:"bg", "default", vl);
+ set_state(PART:"fg1", "default", vl);
+ set_state(PART:"fg2", "default", vl);
+ set_state(PART:"elm.text", "default", vl);
+ }
}
program {
name: "go_disabled";
action: STATE_SET "default" 0.0;
target: "disclip";
}
+ program {
+ name: "go_reorder_disabled";
+ signal: "elm,state,reorder,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "reorder_bg";
+ transition: DECELERATE 0.5;
+ }
+ program {
+ name: "go_reorder_enabled";
+ signal: "elm,state,reorder,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "reorder_bg";
+ transition: DECELERATE 0.5;
+ }
}
}
group { name: "elm/genlist/item/group_index/default";
- alias: "elm/genlist/item_odd/group_index/default";
- data.item: "stacking" "above";
+ alias: "elm/genlist/item_compress/group_index/default";
data.item: "selectraise" "on";
data.item: "labels" "elm.text";
data.item: "icons" "elm.swallow.icon elm.swallow.end";
}
}
group { name: "elm/genlist/item_compress/message/default";
- data.item: "stacking" "above";
data.item: "selectraise" "on";
data.item: "labels" "elm.title.1 elm.title.2 elm.text";
// data.item: "icons" "elm.swallow.icon elm.swallow.end";
image: "bt_sm_shine.png" COMP;
image: "bt_sm_hilight.png" COMP;
image: "ilist_1.png" COMP;
+ image: "ilist_2.png" COMP;
image: "ilist_item_shadow.png" COMP;
}
styles {
}
fill.smooth: 0;
}
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
part {
name: "base";
}
fill.smooth: 0;
}
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ image.normal: "ilist_2.png";
+ }
}
part { name: "bg";
clip_to: "disclip";
// a "check" item named %s went passive
// default is passive
program {
+ name: "odd";
+ signal: "elm,state,odd";
+ source: "elm";
+ action: STATE_SET "default" 1.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
+ name: "even";
+ signal: "elm,state,even";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
name: "go_active";
signal: "elm,state,selected";
source: "elm";
}
}
}
- group { name: "elm/genlist/item_compress_odd/message/default";
- data.item: "stacking" "below";
+
+ group { name: "elm/genlist/item_compress/default/default";
data.item: "selectraise" "on";
- data.item: "labels" "elm.title.1 elm.title.2 elm.text";
-// data.item: "icons" "elm.swallow.icon elm.swallow.end";
+ 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_1.png" COMP;
image: "ilist_2.png" COMP;
+ image: "ilist_item_shadow.png" COMP;
}
parts {
- part { name: "event";
- type: RECT;
+ part {
+ name: "event";
+ type: RECT;
repeat_events: 1;
description {
state: "default" 0.0;
}
}
part {
+ name: "base_sh";
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 0 10;
+ fixed: 1 1;
+ rel1 {
+ to: "base";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ rel2 {
+ to: "base";
+ relative: 1.0 1.0;
+ offset: -1 0;
+ }
+ image {
+ normal: "ilist_item_shadow.png";
+ }
+ fill.smooth: 0;
+ }
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
name: "base";
mouse_events: 0;
description {
state: "default" 0.0;
image {
- normal: "ilist_2.png";
+ normal: "ilist_1.png";
border: 2 2 2 2;
}
fill.smooth: 0;
}
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ image.normal: "ilist_2.png";
+ }
}
part { name: "bg";
clip_to: "disclip";
}
}
}
- part { name: "elm.title.1";
- clip_to: "disclip";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- fixed: 0 1;
-// min: 16 16;
+ part { name: "elm.swallow.pad";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
rel1 {
relative: 0.0 0.0;
- offset: 4 4;
+ offset: 4 4;
}
rel2 {
+ relative: 0.0 1.0;
+ offset: 4 -5;
+ }
+ }
+ }
+ 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: "elm.swallow.pad";
relative: 1.0 0.0;
- offset: -5 4;
+ offset: -1 4;
}
- color: 0 0 0 255;
- color3: 0 0 0 0;
- align: 0.0 0.0;
- text {
- font: "Sans";
- size: 10;
- min: 0 1;
-// min: 1 1;
- align: 0.0 0.0;
- text_class: "list_item";
+ rel2 {
+ to_x: "elm.swallow.pad";
+ relative: 1.0 1.0;
+ offset: -1 -5;
}
}
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 224 224 224 255;
- color3: 0 0 0 64;
+ }
+ 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 {
+ relative: 1.0 0.0;
+ offset: -5 4;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -5 -5;
+ }
}
}
- part { name: "elm.title.2";
+ part { name: "elm.text";
clip_to: "disclip";
type: TEXT;
effect: SOFT_SHADOW;
scale: 1;
description {
state: "default" 0.0;
- fixed: 0 1;
// min: 16 16;
rel1 {
- to_y: "elm.title.1";
- relative: 0.0 1.0;
- offset: 4 0;
+ to_x: "elm.swallow.icon";
+ relative: 1.0 0.0;
+ offset: 0 4;
}
rel2 {
- to_y: "elm.title.1";
- relative: 1.0 1.0;
- offset: -5 0;
+ to_x: "elm.swallow.end";
+ relative: 0.0 1.0;
+ offset: -1 -5;
}
color: 0 0 0 255;
color3: 0 0 0 0;
- align: 0.0 0.0;
text {
font: "Sans";
size: 10;
min: 0 1;
// min: 1 1;
- align: 0.0 0.0;
+ align: 0.0 0.5;
text_class: "list_item";
}
}
color3: 0 0 0 64;
}
}
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXTBLOCK;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
-// fixed: 0 1;
-// min: 16 16;
- rel1 {
- to_y: "elm.title.2";
- relative: 0.0 1.0;
- offset: 4 0;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -5 -5;
- }
- align: 0.0 0.0;
- text {
- style: "genlist_textblock_style";
- min: 0 1;
-// min: 1 1;
- align: 0.0 0.0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- text {
- style: "genlist_textblock_style2";
- }
- }
- }
part { name: "fg1";
clip_to: "disclip";
mouse_events: 0;
// a "check" item named %s went passive
// default is passive
program {
+ name: "odd";
+ signal: "elm,state,odd";
+ source: "elm";
+ action: STATE_SET "default" 1.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
+ name: "even";
+ signal: "elm,state,even";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
name: "go_active";
signal: "elm,state,selected";
source: "elm";
target: "bg";
target: "fg1";
target: "fg2";
- target: "elm.title.1";
- target: "elm.title.2";
target: "elm.text";
}
program {
target: "bg";
target: "fg1";
target: "fg2";
- target: "elm.title.1";
- target: "elm.title.2";
target: "elm.text";
transition: LINEAR 0.1;
}
}
}
}
- group { name: "elm/genlist/item_compress/default/default";
- data.item: "stacking" "above";
+
+ group { name: "elm/genlist/tree/default/default";
data.item: "selectraise" "on";
data.item: "labels" "elm.text";
data.item: "icons" "elm.swallow.icon elm.swallow.end";
image: "bt_sm_shine.png" COMP;
image: "bt_sm_hilight.png" COMP;
image: "ilist_1.png" COMP;
+ image: "ilist_2.png" COMP;
image: "ilist_item_shadow.png" COMP;
+ image: "icon_arrow_left.png" COMP;
+ image: "icon_arrow_right.png" COMP;
+ image: "icon_arrow_down.png" COMP;
}
parts {
part {
}
fill.smooth: 0;
}
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
part {
name: "base";
}
fill.smooth: 0;
}
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ image.normal: "ilist_2.png";
+ }
}
part { name: "bg";
clip_to: "disclip";
}
}
}
- part { name: "elm.swallow.icon";
+ part { name: "arrow";
clip_to: "disclip";
- type: SWALLOW;
+ ignore_flags: ON_HOLD;
description { state: "default" 0.0;
fixed: 1 0;
align: 0.0 0.5;
+ aspect: 1.0 1.0;
rel1 {
to_x: "elm.swallow.pad";
relative: 1.0 0.0;
relative: 1.0 1.0;
offset: -1 -5;
}
+ image.normal: "icon_arrow_right.png";
+ }
+ description { state: "default" 0.1;
+ inherit: "default" 0.0;
+ image.normal: "icon_arrow_left.png";
+ }
+ description { state: "active" 0.0;
+ inherit: "default" 0.0;
+ image.normal: "icon_arrow_down.png";
+ }
+ description { state: "active" 0.1;
+ 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";
text {
font: "Sans";
size: 10;
- min: 0 1;
-// min: 1 1;
- align: 0.0 0.5;
+ min: 1 1;
+// min: 0 1;
+ align: -1.0 0.5;
text_class: "list_item";
}
}
// a "check" item named %s went passive
// default is passive
program {
+ name: "odd";
+ signal: "elm,state,odd";
+ source: "elm";
+ action: STATE_SET "default" 1.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
+ name: "even";
+ signal: "elm,state,even";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
name: "go_active";
signal: "elm,state,selected";
source: "elm";
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";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"arrow", st, 30, vl);
+ set_state(PART:"arrow", "active", vl);
+ }
+ }
+ program {
+ name: "go_contracted";
+ signal: "elm,state,contracted";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"arrow", st, 30, vl);
+ set_state(PART:"arrow", "default", vl);
+ }
+ }
+ program { name: "to_rtl";
+ signal: "edje,state,rtl";
+ source: "edje";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"arrow", st, 30, vl);
+ if (vl == 0.0) {
+ set_state(PART:"arrow", st, 0.1);
+ }
+ }
+ }
+ program { name: "to_ltr";
+ signal: "edje,state,ltr";
+ source: "edje";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"arrow", st, 30, vl);
+ if (vl == 0.1) {
+ set_state(PART:"arrow", st, 0.0);
+ }
+ }
+ }
}
}
- group { name: "elm/genlist/item_odd/default/default";
- data.item: "stacking" "below";
+ group { name: "elm/genlist/tree_compress/default/default";
+ data.item: "stacking" "above";
data.item: "selectraise" "on";
data.item: "labels" "elm.text";
data.item: "icons" "elm.swallow.icon elm.swallow.end";
image: "bt_sm_base1.png" COMP;
image: "bt_sm_shine.png" COMP;
image: "bt_sm_hilight.png" COMP;
- image: "ilist_2.png" COMP;
+ image: "ilist_1.png" COMP;
+ image: "ilist_item_shadow.png" COMP;
+ image: "icon_arrow_left.png" COMP;
+ image: "icon_arrow_right.png" COMP;
+ image: "icon_arrow_down.png" COMP;
}
parts {
- part { name: "event";
- type: RECT;
+ part {
+ name: "event";
+ type: RECT;
repeat_events: 1;
description {
state: "default" 0.0;
}
}
part {
+ name: "base_sh";
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 0 10;
+ fixed: 1 1;
+ rel1 {
+ to: "base";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ rel2 {
+ to: "base";
+ relative: 1.0 1.0;
+ offset: -1 0;
+ }
+ image {
+ normal: "ilist_item_shadow.png";
+ }
+ fill.smooth: 0;
+ }
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part {
name: "base";
mouse_events: 0;
description {
state: "default" 0.0;
image {
- normal: "ilist_2.png";
+ normal: "ilist_1.png";
border: 2 2 2 2;
}
fill.smooth: 0;
}
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ image.normal: "ilist_2.png";
+ }
}
part { name: "bg";
clip_to: "disclip";
}
}
}
- part { name: "elm.swallow.icon";
+ part { name: "arrow";
clip_to: "disclip";
- type: SWALLOW;
+ ignore_flags: ON_HOLD;
description { state: "default" 0.0;
fixed: 1 0;
align: 0.0 0.5;
+ aspect: 1.0 1.0;
rel1 {
to_x: "elm.swallow.pad";
relative: 1.0 0.0;
relative: 1.0 1.0;
offset: -1 -5;
}
+ image.normal: "icon_arrow_right.png";
}
- }
- 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 {
- relative: 1.0 0.0;
- offset: -5 4;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -5 -5;
- }
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
-// min: 16 16;
- rel1 {
- to_x: "elm.swallow.icon";
- relative: 1.0 0.0;
- offset: 0 4;
- }
- rel2 {
- to_x: "elm.swallow.end";
- relative: 0.0 1.0;
- offset: -1 -5;
- }
- color: 0 0 0 255;
- color3: 0 0 0 0;
- text {
- font: "Sans";
- size: 10;
- min: 1 1;
-// min: 0 1;
- align: -1.0 0.5;
- text_class: "list_item";
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- }
- part { name: "fg1";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.relative: 1.0 0.5;
- rel2.to: "bg";
- image {
- normal: "bt_sm_hilight.png";
- border: 6 6 6 0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "fg2";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- image {
- normal: "bt_sm_shine.png";
- border: 6 6 6 0;
- }
- }
- description { state: "selected" 0.0;
+ description { state: "default" 0.1;
inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "disclip";
- type: RECT;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
+ image.normal: "icon_arrow_left.png";
}
- description { state: "disabled" 0.0;
+ description { state: "active" 0.0;
inherit: "default" 0.0;
- color: 255 255 255 64;
- }
- }
- }
- programs {
- // signal: elm,state,%s,active
- // a "check" item named %s went active
- // signal: elm,state,%s,passive
- // a "check" item named %s went passive
- // default is passive
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text";
- transition: LINEAR 0.1;
- }
- program {
- name: "go_disabled";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disclip";
- }
- program {
- name: "go_enabled";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disclip";
- }
- }
- }
- group { name: "elm/genlist/item_compress_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;
- }
- parts {
- part { name: "event";
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image {
- normal: "ilist_2.png";
- border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part { name: "bg";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1 {
- relative: 0.0 0.0;
- offset: -5 -5;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 4 4;
- }
- image {
- normal: "bt_sm_base1.png";
- border: 6 6 6 6;
- }
- image.middle: SOLID;
+ image.normal: "icon_arrow_down.png";
}
- description { state: "selected" 0.0;
+ description { state: "active" 0.1;
inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 {
- relative: 0.0 0.0;
- offset: -2 -2;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 1 1;
- }
- }
- }
- part { name: "elm.swallow.pad";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {
- relative: 0.0 0.0;
- offset: 4 4;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 4 -5;
- }
+ image.normal: "icon_arrow_down.png";
}
}
part { name: "elm.swallow.icon";
fixed: 1 0;
align: 0.0 0.5;
rel1 {
- to_x: "elm.swallow.pad";
+ to_x: "arrow";
relative: 1.0 0.0;
- offset: -1 4;
+ offset: 4 4;
}
rel2 {
- to_x: "elm.swallow.pad";
+ to_x: "arrow";
relative: 1.0 1.0;
- offset: -1 -5;
+ offset: 4 -5;
}
}
}
part { name: "elm.swallow.end";
clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
+ type: SWALLOW;
+ description { state: "default" 0.0;
fixed: 1 0;
- align: 1.0 0.5;
+ 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;
text {
font: "Sans";
size: 10;
- min: 0 1;
// min: 1 1;
+ min: 0 1;
align: 0.0 0.5;
text_class: "list_item";
}
// a "check" item named %s went passive
// default is passive
program {
+ name: "odd";
+ signal: "elm,state,odd";
+ source: "elm";
+ action: STATE_SET "default" 1.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
+ name: "even";
+ signal: "elm,state,even";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
name: "go_active";
signal: "elm,state,selected";
source: "elm";
action: STATE_SET "default" 0.0;
target: "disclip";
}
- }
- }
-
- group { name: "elm/genlist/tree/default/default";
- data.item: "stacking" "above";
- 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_1.png" COMP;
- image: "ilist_item_shadow.png" COMP;
- image: "icon_arrow_left.png" COMP;
- image: "icon_arrow_right.png" COMP;
- image: "icon_arrow_down.png" COMP;
- }
- parts {
- part {
- name: "event";
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
+ 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";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"arrow", st, 30, vl);
+ set_state(PART:"arrow", "active", vl);
}
}
- part {
- name: "base_sh";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- min: 0 10;
- fixed: 1 1;
- rel1 {
- to: "base";
- relative: 0.0 1.0;
- offset: 0 0;
- }
- rel2 {
- to: "base";
- relative: 1.0 1.0;
- offset: -1 0;
- }
- image {
- normal: "ilist_item_shadow.png";
- }
- fill.smooth: 0;
+ program {
+ name: "go_contracted";
+ signal: "elm,state,contracted";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"arrow", st, 30, vl);
+ set_state(PART:"arrow", "default", vl);
}
}
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image {
- normal: "ilist_1.png";
- border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part { name: "bg";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1 {
- relative: 0.0 0.0;
- offset: -5 -5;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 4 4;
- }
- image {
- normal: "bt_sm_base1.png";
- border: 6 6 6 6;
- }
- image.middle: SOLID;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 {
- relative: 0.0 0.0;
- offset: -2 -2;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 1 1;
- }
- }
- }
- part { name: "elm.swallow.pad";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {
- relative: 0.0 0.0;
- offset: 4 4;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 4 -5;
- }
- }
- }
- part { name: "arrow";
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- fixed: 1 0;
- 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: "default" 0.1;
- inherit: "default" 0.0;
- image.normal: "icon_arrow_left.png";
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- image.normal: "icon_arrow_down.png";
- }
- description { state: "active" 0.1;
- 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 {
- relative: 1.0 0.0;
- offset: -5 4;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -5 -5;
- }
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
-// min: 16 16;
- rel1 {
- to_x: "elm.swallow.icon";
- relative: 1.0 0.0;
- offset: 0 4;
- }
- rel2 {
- to_x: "elm.swallow.end";
- relative: 0.0 1.0;
- offset: -1 -5;
- }
- color: 0 0 0 255;
- color3: 0 0 0 0;
- text {
- font: "Sans";
- size: 10;
- min: 1 1;
-// min: 0 1;
- align: -1.0 0.5;
- text_class: "list_item";
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- }
- part { name: "fg1";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.relative: 1.0 0.5;
- rel2.to: "bg";
- image {
- normal: "bt_sm_hilight.png";
- border: 6 6 6 0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "fg2";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- image {
- normal: "bt_sm_shine.png";
- border: 6 6 6 0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "disclip";
- type: RECT;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 64;
- }
- }
- }
- programs {
- // signal: elm,state,%s,active
- // a "check" item named %s went active
- // signal: elm,state,%s,passive
- // a "check" item named %s went passive
- // default is passive
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text";
- transition: LINEAR 0.1;
- }
- program {
- name: "go_disabled";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disclip";
- }
- program {
- name: "go_enabled";
- signal: "elm,state,enabled";
- source: "elm";
- 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";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- set_state(PART:"arrow", "active", vl);
- }
- }
- program {
- name: "go_contracted";
- signal: "elm,state,contracted";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- set_state(PART:"arrow", "default", vl);
- }
- }
- program { name: "to_rtl";
- signal: "edje,state,rtl";
- source: "edje";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- if (vl == 0.0) {
- set_state(PART:"arrow", st, 0.1);
- }
- }
- }
- program { name: "to_ltr";
- signal: "edje,state,ltr";
- source: "edje";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- if (vl == 0.1) {
- set_state(PART:"arrow", st, 0.0);
- }
- }
- }
- }
- }
- group { name: "elm/genlist/tree_compress/default/default";
- data.item: "stacking" "above";
- 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_1.png" COMP;
- image: "ilist_item_shadow.png" COMP;
- image: "icon_arrow_left.png" COMP;
- image: "icon_arrow_right.png" COMP;
- image: "icon_arrow_down.png" COMP;
- }
- parts {
- part {
- name: "event";
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "base_sh";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- align: 0.0 0.0;
- min: 0 10;
- fixed: 1 1;
- rel1 {
- to: "base";
- relative: 0.0 1.0;
- offset: 0 0;
- }
- rel2 {
- to: "base";
- relative: 1.0 1.0;
- offset: -1 0;
- }
- image {
- normal: "ilist_item_shadow.png";
- }
- fill.smooth: 0;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image {
- normal: "ilist_1.png";
- border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part { name: "bg";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1 {
- relative: 0.0 0.0;
- offset: -5 -5;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 4 4;
- }
- image {
- normal: "bt_sm_base1.png";
- border: 6 6 6 6;
- }
- image.middle: SOLID;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 {
- relative: 0.0 0.0;
- offset: -2 -2;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 1 1;
- }
- }
- }
- part { name: "elm.swallow.pad";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {
- relative: 0.0 0.0;
- offset: 4 4;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 4 -5;
- }
- }
- }
- part { name: "arrow";
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- fixed: 1 0;
- 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: "default" 0.1;
- inherit: "default" 0.0;
- image.normal: "icon_arrow_left.png";
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- image.normal: "icon_arrow_down.png";
- }
- description { state: "active" 0.1;
- 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 {
- relative: 1.0 0.0;
- offset: -5 4;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -5 -5;
- }
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
-// min: 16 16;
- rel1 {
- to_x: "elm.swallow.icon";
- relative: 1.0 0.0;
- offset: 0 4;
- }
- rel2 {
- to_x: "elm.swallow.end";
- relative: 0.0 1.0;
- offset: -1 -5;
- }
- color: 0 0 0 255;
- color3: 0 0 0 0;
- text {
- font: "Sans";
- size: 10;
-// min: 1 1;
- min: 0 1;
- align: 0.0 0.5;
- text_class: "list_item";
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- }
- part { name: "fg1";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.relative: 1.0 0.5;
- rel2.to: "bg";
- image {
- normal: "bt_sm_hilight.png";
- border: 6 6 6 0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "fg2";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- image {
- normal: "bt_sm_shine.png";
- border: 6 6 6 0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "disclip";
- type: RECT;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 64;
- }
- }
- }
- programs {
- // signal: elm,state,%s,active
- // a "check" item named %s went active
- // signal: elm,state,%s,passive
- // a "check" item named %s went passive
- // default is passive
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text";
- transition: LINEAR 0.1;
- }
- program {
- name: "go_disabled";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disclip";
- }
- program {
- name: "go_enabled";
- signal: "elm,state,enabled";
- source: "elm";
- 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";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- set_state(PART:"arrow", "active", vl);
- }
- }
- program {
- name: "go_contracted";
- signal: "elm,state,contracted";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- set_state(PART:"arrow", "default", vl);
- }
- }
- program { name: "to_rtl";
- signal: "edje,state,rtl";
- source: "edje";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- if (vl == 0.0) {
- set_state(PART:"arrow", st, 0.1);
- }
- }
- }
- program { name: "to_ltr";
- signal: "edje,state,ltr";
- source: "edje";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- if (vl == 0.1) {
- set_state(PART:"arrow", st, 0.0);
- }
- }
- }
- }
- }
- 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_left.png" COMP;
- image: "icon_arrow_right.png" COMP;
- image: "icon_arrow_down.png" COMP;
- }
- parts {
- part {
- name: "event";
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image {
- normal: "ilist_2.png";
- border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part { name: "bg";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1 {
- relative: 0.0 0.0;
- offset: -5 -5;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 4 4;
- }
- image {
- normal: "bt_sm_base1.png";
- border: 6 6 6 6;
- }
- image.middle: SOLID;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 {
- relative: 0.0 0.0;
- offset: -2 -2;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 1 1;
- }
- }
- }
- part { name: "elm.swallow.pad";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {
- relative: 0.0 0.0;
- offset: 4 4;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 4 -5;
- }
- }
- }
- part { name: "arrow";
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- fixed: 1 0;
- 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: "default" 0.1;
- inherit: "default" 0.0;
- image.normal: "icon_arrow_left.png";
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- image.normal: "icon_arrow_down.png";
- }
- description { state: "active" 0.1;
- 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 {
- relative: 1.0 0.0;
- offset: -5 4;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -5 -5;
- }
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
-// min: 16 16;
- rel1 {
- to_x: "elm.swallow.icon";
- relative: 1.0 0.0;
- offset: 0 4;
- }
- rel2 {
- to_x: "elm.swallow.end";
- relative: 0.0 1.0;
- offset: -1 -5;
- }
- color: 0 0 0 255;
- color3: 0 0 0 0;
- text {
- font: "Sans";
- size: 10;
- min: 1 1;
-// min: 0 1;
- align: -1.0 0.5;
- text_class: "list_item";
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- }
- part { name: "fg1";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.relative: 1.0 0.5;
- rel2.to: "bg";
- image {
- normal: "bt_sm_hilight.png";
- border: 6 6 6 0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "fg2";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- image {
- normal: "bt_sm_shine.png";
- border: 6 6 6 0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "disclip";
- type: RECT;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 64;
- }
- }
- }
- programs {
- // signal: elm,state,%s,active
- // a "check" item named %s went active
- // signal: elm,state,%s,passive
- // a "check" item named %s went passive
- // default is passive
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text";
- transition: LINEAR 0.1;
- }
- program {
- name: "go_disabled";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disclip";
- }
- program {
- name: "go_enabled";
- signal: "elm,state,enabled";
- source: "elm";
- 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";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- set_state(PART:"arrow", "active", vl);
- }
- }
- program {
- name: "go_contracted";
- signal: "elm,state,contracted";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- set_state(PART:"arrow", "default", vl);
- }
- }
- program { name: "to_rtl";
- signal: "edje,state,rtl";
- source: "edje";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- if (vl == 0.0) {
- set_state(PART:"arrow", st, 0.1);
- }
- }
- }
- program { name: "to_ltr";
- signal: "edje,state,ltr";
- source: "edje";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- if (vl == 0.1) {
- set_state(PART:"arrow", st, 0.0);
- }
- }
- }
- }
- }
- group { name: "elm/genlist/tree_compress_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_left.png" COMP;
- image: "icon_arrow_right.png" COMP;
- image: "icon_arrow_down.png" COMP;
- }
- parts {
- part {
- name: "event";
- type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image {
- normal: "ilist_2.png";
- border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part { name: "bg";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1 {
- relative: 0.0 0.0;
- offset: -5 -5;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 4 4;
- }
- image {
- normal: "bt_sm_base1.png";
- border: 6 6 6 6;
- }
- image.middle: SOLID;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 {
- relative: 0.0 0.0;
- offset: -2 -2;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 1 1;
- }
- }
- }
- part { name: "elm.swallow.pad";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {
- relative: 0.0 0.0;
- offset: 4 4;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 4 -5;
- }
- }
- }
- part { name: "arrow";
- clip_to: "disclip";
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- fixed: 1 0;
- 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: "default" 0.1;
- inherit: "default" 0.0;
- image.normal: "icon_arrow_left.png";
- }
- description { state: "active" 0.0;
- inherit: "default" 0.0;
- image.normal: "icon_arrow_down.png";
- }
- description { state: "active" 0.1;
- 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 {
- relative: 1.0 0.0;
- offset: -5 4;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -5 -5;
- }
- }
- }
- part { name: "elm.text";
- clip_to: "disclip";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
-// min: 16 16;
- rel1 {
- to_x: "elm.swallow.icon";
- relative: 1.0 0.0;
- offset: 0 4;
- }
- rel2 {
- to_x: "elm.swallow.end";
- relative: 0.0 1.0;
- offset: -1 -5;
- }
- color: 0 0 0 255;
- color3: 0 0 0 0;
- text {
- font: "Sans";
- size: 10;
-// min: 1 1;
- min: 0 1;
- align: 0.0 0.5;
- text_class: "list_item";
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- }
- part { name: "fg1";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.relative: 1.0 0.5;
- rel2.to: "bg";
- image {
- normal: "bt_sm_hilight.png";
- border: 6 6 6 0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "fg2";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- image {
- normal: "bt_sm_shine.png";
- border: 6 6 6 0;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "disclip";
- type: RECT;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 64;
- }
- }
- }
- programs {
- // signal: elm,state,%s,active
- // a "check" item named %s went active
- // signal: elm,state,%s,passive
- // a "check" item named %s went passive
- // default is passive
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text";
- transition: LINEAR 0.1;
- }
- program {
- name: "go_disabled";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disclip";
- }
- program {
- name: "go_enabled";
- signal: "elm,state,enabled";
- source: "elm";
- 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";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- set_state(PART:"arrow", "active", vl);
- }
- }
- program {
- name: "go_contracted";
- signal: "elm,state,contracted";
- source: "elm";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- set_state(PART:"arrow", "default", vl);
- }
- }
- program { name: "to_rtl";
- signal: "edje,state,rtl";
- source: "edje";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"arrow", st, 30, vl);
- if (vl == 0.0) {
- set_state(PART:"arrow", st, 0.1);
+ program { name: "to_rtl";
+ signal: "edje,state,rtl";
+ source: "edje";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"arrow", st, 30, vl);
+ if (vl == 0.0) {
+ set_state(PART:"arrow", st, 0.1);
}
}
}
}
}
}
-
group { name: "elm/genlist/item/default_style/default";
styles
{
aspect: 1.0 1.0;
}
}
- part { name: "elm.text";
- type: TEXT;
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ rel1.to_x: "elm.swallow.content";
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 1 1;
+ rel2.relative: 1.0 1.0;
+ rel2.offset: -2 -2;
+ color: 0 0 0 255;
+ text {
+ font: "Sans,Edje-Vera";
+ size: 10;
+ min: 0 0;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 128;
+ color3: 0 0 0 0;
+ }
+ description { state: "disabled_visible" 0.0;
+ inherit: "default" 0.0;
+ color: 0 0 0 128;
+ color3: 0 0 0 0;
+ visible: 1;
+ text.min: 1 1;
+ }
+ }
+ part { name: "events";
+ type: RECT;
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "disabler";
+ type: RECT;
+ description { state: "default" 0.0;
+ color: 0 0 0 0;
+ visible: 0;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ }
+ }
+ programs {
+ program { name: "click";
+ signal: "mouse,up,1";
+ source: "events";
+ action: SIGNAL_EMIT "elm,action,radio,toggle" "";
+ }
+ program { name: "radio_on";
+ signal: "elm,state,radio,on";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "radio";
+ }
+ program { name: "radio_off";
+ signal: "elm,state,radio,off";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "radio";
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.text";
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ action: STATE_SET "visible" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.content";
+ }
+ program { name: "disable";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disabler";
+ after: "disable_text";
+ }
+ program { name: "disable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.text", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.text", "disabled", 0.0);
+
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "disabled", 0.0);
+ }
+ }
+ program { name: "enable";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disabler";
+ after: "enable_text";
+ }
+ program { name: "enable_text";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "disabled_visible"))
+ set_state(PART:"elm.text", "visible", 0.0);
+ else
+ set_state(PART:"elm.text", "default", 0.0);
+
+ get_state(PART:"elm.swallow.content", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ set_state(PART:"elm.swallow.content", "visible", 0.0);
+ else
+ set_state(PART:"elm.swallow.content", "default", 0.0);
+ }
+ }
+ }
+ }
+ group { name: "elm/genlist/tree_compress_odd/double_label/default";
+ data.item: "stacking" "below";
+ data.item: "selectraise" "on";
+ data.item: "labels" "elm.text elm.text.sub";
+ 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 {
+ name: "event";
+ type: RECT;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "base";
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ image {
+ normal: "ilist_2.png";
+ border: 2 2 2 2;
+ }
+ fill.smooth: 0;
+ }
+ }
+ part { name: "bg";
+ clip_to: "disclip";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: -5 -5;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 4 4;
+ }
+ image {
+ normal: "bt_sm_base1.png";
+ border: 6 6 6 6;
+ }
+ image.middle: SOLID;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: -2 -2;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 1 1;
+ }
+ }
+ }
+ part { name: "elm.swallow.pad";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ align: 0.0 0.5;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: 4 4;
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ offset: 4 -5;
+ }
+ }
+ }
+ part { name: "arrow";
+ clip_to: "disclip";
+ ignore_flags: ON_HOLD;
+ description { state: "default" 0.0;
+ fixed: 1 0;
+ 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 {
+ relative: 1.0 0.0;
+ offset: -5 4;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: -5 -5;
+ }
+ }
+ }
+ part { name: "elm.text";
+ clip_to: "disclip";
+ type: TEXT;
+ effect: SOFT_SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+// min: 16 16;
+ rel1 {
+ to_x: "elm.swallow.icon";
+ relative: 1.0 0.0;
+ offset: 0 4;
+ }
+ rel2 {
+ to_x: "elm.swallow.end";
+ relative: 0.0 0.5;
+ offset: -1 -5;
+ }
+ color: 0 0 0 255;
+ color3: 0 0 0 0;
+ text {
+ font: "Sans";
+ size: 10;
+// min: 1 1;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: 224 224 224 255;
+ color3: 0 0 0 64;
+ }
+ }
+ part { name: "elm.text.sub";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+// min: 16 16;
+ rel1 {
+ to_x: "elm.swallow.icon";
+ relative: 1.0 0.5;
+ offset: 0 4;
+ }
+ rel2 {
+ to_x: "elm.swallow.end";
+ relative: 0.0 1.0;
+ offset: -1 -5;
+ }
+ color: 0 0 0 128;
+ color3: 0 0 0 0;
+ text {
+ font: "Sans";
+ size: 8;
+// min: 1 1;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 255;
+ color3: 0 0 0 32;
+ }
+ }
+ part { name: "fg1";
+ clip_to: "disclip";
mouse_events: 0;
- scale: 1;
description { state: "default" 0.0;
visible: 0;
- rel1.to_x: "elm.swallow.content";
- rel1.relative: 1.0 0.0;
- rel1.offset: 1 1;
- rel2.relative: 1.0 1.0;
- rel2.offset: -2 -2;
- color: 0 0 0 255;
- text {
- font: "Sans,Edje-Vera";
- size: 10;
- min: 0 0;
- align: 0.0 0.5;
+ color: 255 255 255 0;
+ rel1.to: "bg";
+ rel2.relative: 1.0 0.5;
+ rel2.to: "bg";
+ image {
+ normal: "bt_sm_hilight.png";
+ border: 6 6 6 0;
}
}
- description { state: "visible" 0.0;
+ description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
- text.min: 1 1;
+ color: 255 255 255 255;
}
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 0 0 0 128;
- color3: 0 0 0 0;
+ }
+ part { name: "fg2";
+ clip_to: "disclip";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ image {
+ normal: "bt_sm_shine.png";
+ border: 6 6 6 0;
+ }
}
- description { state: "disabled_visible" 0.0;
+ description { state: "selected" 0.0;
inherit: "default" 0.0;
- color: 0 0 0 128;
- color3: 0 0 0 0;
visible: 1;
- text.min: 1 1;
- }
- }
- part { name: "events";
- type: RECT;
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- color: 0 0 0 0;
+ color: 255 255 255 255;
}
}
- part { name: "disabler";
+ part { name: "disclip";
type: RECT;
description { state: "default" 0.0;
- color: 0 0 0 0;
- visible: 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
- visible: 1;
+ color: 255 255 255 64;
}
}
}
programs {
- program { name: "click";
- signal: "mouse,up,1";
- source: "events";
- action: SIGNAL_EMIT "elm,action,radio,toggle" "";
- }
- program { name: "radio_on";
- signal: "elm,state,radio,on";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "radio";
- }
- program { name: "radio_off";
- signal: "elm,state,radio,off";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "radio";
- }
- program { name: "text_show";
- signal: "elm,state,text,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.text";
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program {
+ name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg";
+ target: "fg1";
+ target: "fg2";
+ target: "elm.text";
+ target: "elm.text.sub";
}
- program { name: "text_hide";
- signal: "elm,state,text,hidden";
- source: "elm";
+ program {
+ name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
action: STATE_SET "default" 0.0;
- target: "elm.text";
+ target: "bg";
+ target: "fg1";
+ target: "fg2";
+ target: "elm.text";
+ target: "elm.text.sub";
+ transition: LINEAR 0.1;
}
- program { name: "icon_show";
- signal: "elm,state,icon,visible";
- source: "elm";
- action: STATE_SET "visible" 0.0;
- target: "elm.swallow.content";
+ program {
+ name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
}
- program { name: "icon_hide";
- signal: "elm,state,icon,hidden";
- source: "elm";
+ program {
+ name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
action: STATE_SET "default" 0.0;
- target: "elm.swallow.content";
- }
- program { name: "disable";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disabler";
- after: "disable_text";
+ target: "disclip";
}
- program { name: "disable_text";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"elm.text", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.text", "disabled", 0.0);
-
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
- else
- set_state(PART:"elm.swallow.content", "disabled", 0.0);
- }
+ program {
+ name: "expand";
+ signal: "mouse,up,1";
+ source: "arrow";
+ action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
}
- program { name: "enable";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disabler";
- after: "enable_text";
+ program {
+ name: "go_expanded";
+ signal: "elm,state,expanded";
+ source: "elm";
+ action: STATE_SET "active" 0.0;
+ target: "arrow";
}
- program { name: "enable_text";
- script {
- new st[31];
- new Float:vl;
- get_state(PART:"elm.text", st, 30, vl);
- if (!strcmp(st, "disabled_visible"))
- set_state(PART:"elm.text", "visible", 0.0);
- else
- set_state(PART:"elm.text", "default", 0.0);
-
- get_state(PART:"elm.swallow.content", st, 30, vl);
- if (!strcmp(st, "visible"))
- set_state(PART:"elm.swallow.content", "visible", 0.0);
- else
- set_state(PART:"elm.swallow.content", "default", 0.0);
- }
+ program {
+ name: "go_contracted";
+ signal: "elm,state,contracted";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "arrow";
}
}
}
- group { name: "elm/genlist/tree_compress_odd/double_label/default";
- data.item: "stacking" "below";
+
+ group { name: "elm/genlist/item_compress/media/default";
+ data.item: "stacking" "above";
data.item: "selectraise" "on";
- data.item: "labels" "elm.text elm.text.sub";
- data.item: "icons" "elm.swallow.icon elm.swallow.end";
+ data.item: "labels" "elm.text.title elm.text.album-artist";
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;
+ image: "ilist_1.png" COMP;
+ image: "ilist_item_shadow.png" COMP;
}
parts {
part {
}
}
part {
+ name: "base_sh";
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ align: 0.0 0.0;
+ min: 0 10;
+ fixed: 1 1;
+ rel1 {
+ to: "base";
+ relative: 0.0 1.0;
+ offset: 0 0;
+ }
+ rel2 {
+ to: "base";
+ relative: 1.0 1.0;
+ offset: -1 0;
+ }
+ image {
+ normal: "ilist_item_shadow.png";
+ }
+ fill.smooth: 0;
+ }
+ }
+ part {
name: "base";
mouse_events: 0;
description {
state: "default" 0.0;
image {
- normal: "ilist_2.png";
+ normal: "ilist_1.png";
border: 2 2 2 2;
}
fill.smooth: 0;
}
}
}
- part { name: "arrow";
+ part { name: "elm.text.title";
clip_to: "disclip";
- ignore_flags: ON_HOLD;
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
- aspect: 1.0 1.0;
+ type: TEXT;
+ effect: SOFT_SHADOW;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
rel1 {
- to_x: "elm.swallow.pad";
- relative: 1.0 0.0;
- offset: -1 4;
+ relative: 0.0 0.0;
+ offset: 4 4;
}
rel2 {
- to_x: "elm.swallow.pad";
- relative: 1.0 1.0;
- offset: -1 -5;
+ relative: 1.0 0.5;
+ offset: -1 -5;
+ }
+ color: 0 0 0 255;
+ color3: 0 0 0 0;
+ text {
+ font: "Sans";
+ size: 10;
+ min: 0 1;
+ align: 0.0 0.5;
}
- image.normal: "icon_arrow_right.png";
}
- description { state: "active" 0.0;
+ description { state: "selected" 0.0;
inherit: "default" 0.0;
- image.normal: "icon_arrow_down.png";
+ color: 224 224 224 255;
+ color3: 0 0 0 64;
}
}
- part { name: "elm.swallow.icon";
+ part { name: "elm.text.album-artist";
clip_to: "disclip";
- type: SWALLOW;
- description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
rel1 {
- to_x: "arrow";
- relative: 1.0 0.0;
- offset: 4 4;
+ relative: 0.0 0.5;
+ offset: 4 4;
}
rel2 {
- to_x: "arrow";
relative: 1.0 1.0;
- offset: 4 -5;
+ offset: -1 -5;
+ }
+ color: 0 0 0 128;
+ color3: 0 0 0 0;
+ text {
+ font: "Sans";
+ size: 8;
+ min: 0 1;
+ align: 0.0 0.5;
}
}
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: 128 128 128 255;
+ color3: 0 0 0 32;
+ }
}
- part { name: "elm.swallow.end";
+ part { name: "fg1";
+ clip_to: "disclip";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ rel1.to: "bg";
+ rel2.relative: 1.0 0.5;
+ rel2.to: "bg";
+ image {
+ normal: "bt_sm_hilight.png";
+ border: 6 6 6 0;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "fg2";
+ clip_to: "disclip";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ image {
+ normal: "bt_sm_shine.png";
+ border: 6 6 6 0;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program {
+ name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg";
+ target: "fg1";
+ target: "fg2";
+ target: "elm.text.title";
+ target: "elm.text.album-artist";
+ }
+ program {
+ name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg";
+ target: "fg1";
+ target: "fg2";
+ target: "elm.text.title";
+ target: "elm.text.album-artist";
+ transition: LINEAR 0.1;
+ }
+ program {
+ name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+ group { name: "elm/genlist/item_compress_odd/media/default";
+ data.item: "stacking" "below";
+ data.item: "selectraise" "on";
+ data.item: "labels" "elm.text.title elm.text.album-artist";
+ data.item: "treesize" "20";
+ images {
+ image: "bt_sm_base1.png" COMP;
+ image: "bt_sm_shine.png" COMP;
+ image: "bt_sm_hilight.png" COMP;
+ image: "ilist_2.png" COMP;
+ }
+ parts {
+ part { name: "event";
+ type: RECT;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "base";
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ image {
+ normal: "ilist_2.png";
+ border: 2 2 2 2;
+ }
+ fill.smooth: 0;
+ }
+ }
+ part { name: "bg";
clip_to: "disclip";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: -5 -5;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 4 4;
+ }
+ image {
+ normal: "bt_sm_base1.png";
+ border: 6 6 6 6;
+ }
+ image.middle: SOLID;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: -2 -2;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 1 1;
+ }
+ }
+ }
+ part { name: "elm.swallow.pad";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
- align: 1.0 0.5;
- aspect: 1.0 1.0;
- aspect_preference: VERTICAL;
+ align: 0.0 0.5;
rel1 {
- relative: 1.0 0.0;
- offset: -5 4;
+ relative: 0.0 0.0;
+ offset: 4 4;
}
rel2 {
- relative: 1.0 1.0;
- offset: -5 -5;
+ relative: 0.0 1.0;
+ offset: 4 -5;
}
}
}
- part { name: "elm.text";
+ part { name: "elm.text.title";
clip_to: "disclip";
type: TEXT;
effect: SOFT_SHADOW;
scale: 1;
description {
state: "default" 0.0;
-// min: 16 16;
rel1 {
- to_x: "elm.swallow.icon";
- relative: 1.0 0.0;
- offset: 0 4;
+ relative: 0.0 0.0;
+ offset: 4 4;
}
rel2 {
- to_x: "elm.swallow.end";
- relative: 0.0 0.5;
+ relative: 1.0 0.5;
offset: -1 -5;
}
color: 0 0 0 255;
text {
font: "Sans";
size: 10;
-// min: 1 1;
min: 0 1;
align: 0.0 0.5;
- text_class: "list_item";
}
}
description { state: "selected" 0.0;
color3: 0 0 0 64;
}
}
- part { name: "elm.text.sub";
+ part { name: "elm.text.album-artist";
clip_to: "disclip";
type: TEXT;
mouse_events: 0;
scale: 1;
description {
state: "default" 0.0;
-// min: 16 16;
rel1 {
- to_x: "elm.swallow.icon";
- relative: 1.0 0.5;
- offset: 0 4;
+ relative: 0.0 0.5;
+ offset: 4 4;
}
rel2 {
- to_x: "elm.swallow.end";
- relative: 0.0 1.0;
+ relative: 1.0 1.0;
offset: -1 -5;
}
color: 0 0 0 128;
text {
font: "Sans";
size: 8;
-// min: 1 1;
min: 0 1;
align: 0.0 0.5;
- text_class: "list_item";
}
}
description { state: "selected" 0.0;
target: "bg";
target: "fg1";
target: "fg2";
- target: "elm.text";
- target: "elm.text.sub";
+ target: "elm.text.title";
+ target: "elm.text.album-artist";
}
program {
name: "go_passive";
target: "bg";
target: "fg1";
target: "fg2";
- target: "elm.text";
- target: "elm.text.sub";
+ target: "elm.text.title";
+ target: "elm.text.album-artist";
transition: LINEAR 0.1;
}
program {
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/genlist/item_compress/media/default";
+ group { name: "elm/genlist/item_compress/media-album/default";
data.item: "stacking" "above";
data.item: "selectraise" "on";
- data.item: "labels" "elm.text.title elm.text.album-artist";
+ data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
+ data.item: "states" "elm.state.trackno";
data.item: "treesize" "20";
images {
image: "bt_sm_base1.png" COMP;
image: "ilist_1.png" COMP;
image: "ilist_item_shadow.png" COMP;
}
+ script {
+ public dot_visible;
+ }
parts {
part {
- name: "event";
- type: RECT;
+ name: "event";
+ type: RECT;
repeat_events: 1;
description {
state: "default" 0.0;
}
}
}
+ part {
+ name: "elm.text.trackno";
+ type: TEXT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 255;
+ align: 0.0 0.0;
+ fixed: 1 0;
+ rel1 {
+ to_y: "elm.text.title";
+ relative: 0.0 0.0;
+ offset: 5 0;
+ }
+ rel2 {
+ to_y: "elm.text.title";
+ relative: 0.0 1.0;
+ offset: 20 0;
+ }
+ color: 0 0 0 255;
+ color3: 0 0 0 0;
+ text {
+ font: "Sans";
+ size: 10;
+ min: 1 1;
+ align: 1.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: 224 224 224 255;
+ color3: 0 0 0 64;
+ }
+ }
+ part {
+ name: "dot";
+ type: TEXT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 {
+ to_x: "elm.text.trackno";
+ to_y: "elm.text.title";
+ relative: 1.0 0.0;
+ offset: 1 0;
+ }
+ rel2 {
+ to_x: "elm.text.trackno";
+ to_y: "elm.text.title";
+ relative: 1.0 1.0;
+ offset: 1 0;
+
+ }
+ color: 0 0 0 255;
+ color3: 0 0 0 0;
+ text {
+ font: "Sans";
+ size: 10;
+ min: 1 1;
+ align: 0.0 0.5;
+ text: ".";
+ }
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: 224 224 224 255;
+ color3: 0 0 0 64;
+ visible: 1;
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,elm.state.trackno,active";
+ source: "elm";
+ script {
+ set_state(PART:"dot", "visible", 0.0);
+ set_int(dot_visible, 1);
+ }
+ }
+ }
part { name: "elm.text.title";
clip_to: "disclip";
type: TEXT;
description {
state: "default" 0.0;
rel1 {
+ to_x: "dot";
relative: 0.0 0.0;
offset: 4 4;
}
color3: 0 0 0 64;
}
}
- part { name: "elm.text.album-artist";
+ part { name: "elm.text.length";
clip_to: "disclip";
type: TEXT;
mouse_events: 0;
target: "fg1";
target: "fg2";
target: "elm.text.title";
- target: "elm.text.album-artist";
+ target: "elm.text.trackno";
+ target: "elm.text.length";
+ after: "dot_active";
+ }
+ program {
+ name: "dot_active";
+ script {
+ if (get_int(dot_visible) == 1)
+ set_state(PART:"dot", "selected", 0.0);
+ }
}
program {
name: "go_passive";
target: "fg1";
target: "fg2";
target: "elm.text.title";
- target: "elm.text.album-artist";
+ target: "elm.text.length";
+ target: "elm.text.trackno";
transition: LINEAR 0.1;
+ after: "dot_passive";
+ }
+ program {
+ name: "dot_passive";
+ script {
+ if (get_int(dot_visible) == 1)
+ set_state(PART:"dot", "visible", 0.0);
+ }
}
program {
name: "go_disabled";
}
}
}
- group { name: "elm/genlist/item_compress_odd/media/default";
+ group { name: "elm/genlist/item_compress_odd/media-album/default";
data.item: "stacking" "below";
data.item: "selectraise" "on";
- data.item: "labels" "elm.text.title elm.text.album-artist";
+ data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
+ data.item: "states" "elm.state.trackno";
data.item: "treesize" "20";
images {
image: "bt_sm_base1.png" COMP;
image: "bt_sm_hilight.png" COMP;
image: "ilist_2.png" COMP;
}
+ script {
+ public dot_visible;
+ }
parts {
part { name: "event";
type: RECT;
}
}
}
+ part {
+ name: "elm.text.trackno";
+ type: TEXT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 255;
+ align: 0.0 0.0;
+ fixed: 1 0;
+ rel1 {
+ to_y: "elm.text.title";
+ relative: 0.0 0.0;
+ offset: 5 0;
+ }
+ rel2 {
+ to_y: "elm.text.title";
+ relative: 0.0 1.0;
+ offset: 20 0;
+ }
+ color: 0 0 0 255;
+ color3: 0 0 0 0;
+ text {
+ font: "Sans";
+ size: 10;
+ min: 1 1;
+ align: 1.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: 224 224 224 255;
+ color3: 0 0 0 64;
+ }
+ }
+ part {
+ name: "dot";
+ type: TEXT;
+ scale: 1;
+ mouse_events: 0;
+ description {
+ state: "default" 0.0;
+ color: 255 255 255 255;
+ visible: 0;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 {
+ to_x: "elm.text.trackno";
+ to_y: "elm.text.title";
+ relative: 1.0 0.0;
+ offset: 1 0;
+ }
+ rel2 {
+ to_x: "elm.text.trackno";
+ to_y: "elm.text.title";
+ relative: 1.0 1.0;
+ offset: 1 0;
+
+ }
+ color: 0 0 0 255;
+ color3: 0 0 0 0;
+ text {
+ font: "Sans";
+ size: 10;
+ min: 1 1;
+ align: 0.0 0.5;
+ text: ".";
+ }
+ }
+ description {
+ state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: 224 224 224 255;
+ color3: 0 0 0 64;
+ visible: 1;
+ }
+ }
+ programs {
+ program {
+ signal: "elm,state,elm.state.trackno,active";
+ source: "elm";
+ script {
+ set_state(PART:"dot", "visible", 0.0);
+ set_int(dot_visible, 1);
+ }
+ }
+ }
part { name: "elm.text.title";
clip_to: "disclip";
type: TEXT;
description {
state: "default" 0.0;
rel1 {
- relative: 0.0 0.0;
+ to_x: "dot";
+ relative: 1.0 0.0;
offset: 4 4;
}
rel2 {
color3: 0 0 0 64;
}
}
- part { name: "elm.text.album-artist";
+ part { name: "elm.text.length";
clip_to: "disclip";
type: TEXT;
mouse_events: 0;
target: "fg1";
target: "fg2";
target: "elm.text.title";
- target: "elm.text.album-artist";
+ target: "elm.text.length";
+ target: "elm.text.trackno";
+ after: "dot_active";
+ }
+ program {
+ name: "dot_active";
+ script {
+ if (get_int(dot_visible) == 1)
+ set_state(PART:"dot", "selected", 0.0);
+ }
}
program {
name: "go_passive";
target: "fg1";
target: "fg2";
target: "elm.text.title";
- target: "elm.text.album-artist";
+ target: "elm.text.length";
+ target: "elm.text.trackno";
transition: LINEAR 0.1;
+ after: "dot_passive";
+ }
+ program {
+ name: "dot_passive";
+ script {
+ if (get_int(dot_visible) == 1)
+ set_state(PART:"dot", "visible", 0.0);
+ }
}
program {
name: "go_disabled";
}
}
- group { name: "elm/genlist/item_compress/media-album/default";
+ group { name: "elm/genlist/item_compress/media-preview/default";
data.item: "stacking" "above";
data.item: "selectraise" "on";
- data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
- data.item: "states" "elm.state.trackno";
+ data.item: "labels" "elm.text.title elm.text.artist";
+ data.item: "icons" "elm.swallow.preview";
data.item: "treesize" "20";
images {
image: "bt_sm_base1.png" COMP;
image: "ilist_1.png" COMP;
image: "ilist_item_shadow.png" COMP;
}
- script {
- public dot_visible;
- }
parts {
part {
name: "event";
}
}
}
- part {
- name: "elm.text.trackno";
- type: TEXT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- align: 0.0 0.0;
+ part { name: "elm.swallow.preview";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
fixed: 1 0;
- rel1 {
- to_y: "elm.text.title";
- relative: 0.0 0.0;
- offset: 5 0;
- }
- rel2 {
- to_y: "elm.text.title";
- relative: 0.0 1.0;
- offset: 20 0;
- }
- color: 0 0 0 255;
- color3: 0 0 0 0;
- text {
- font: "Sans";
- size: 10;
- min: 1 1;
- align: 1.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- }
- part {
- name: "dot";
- type: TEXT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- to_x: "elm.text.trackno";
- to_y: "elm.text.title";
- relative: 1.0 0.0;
- offset: 1 0;
- }
- rel2 {
- to_x: "elm.text.trackno";
- to_y: "elm.text.title";
- relative: 1.0 1.0;
- offset: 1 0;
-
- }
- color: 0 0 0 255;
- color3: 0 0 0 0;
- text {
- font: "Sans";
- size: 10;
- min: 1 1;
- align: 0.0 0.5;
- text: ".";
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 224 224 224 255;
- color3: 0 0 0 64;
- visible: 1;
- }
- }
- programs {
- program {
- signal: "elm,state,elm.state.trackno,active";
- source: "elm";
- script {
- set_state(PART:"dot", "visible", 0.0);
- set_int(dot_visible, 1);
+ align: 0.0 0.5;
+ min: 68 68;
+ max: 68 68;
+ 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;
}
}
}
description {
state: "default" 0.0;
rel1 {
- to_x: "dot";
- relative: 0.0 0.0;
+ to_x: "elm.swallow.preview";
+ relative: 1.0 0.0;
offset: 4 4;
}
rel2 {
color3: 0 0 0 64;
}
}
- part { name: "elm.text.length";
+ part { name: "elm.text.artist";
clip_to: "disclip";
type: TEXT;
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
- relative: 0.0 0.5;
+ to_x: "elm.swallow.preview";
+ relative: 1.0 0.5;
offset: 4 4;
}
rel2 {
target: "fg1";
target: "fg2";
target: "elm.text.title";
- target: "elm.text.trackno";
- target: "elm.text.length";
- after: "dot_active";
- }
- program {
- name: "dot_active";
- script {
- if (get_int(dot_visible) == 1)
- set_state(PART:"dot", "selected", 0.0);
- }
+ target: "elm.text.artist";
}
program {
name: "go_passive";
target: "fg1";
target: "fg2";
target: "elm.text.title";
- target: "elm.text.length";
- target: "elm.text.trackno";
+ target: "elm.text.artist";
transition: LINEAR 0.1;
- after: "dot_passive";
- }
- program {
- name: "dot_passive";
- script {
- if (get_int(dot_visible) == 1)
- set_state(PART:"dot", "visible", 0.0);
- }
}
program {
name: "go_disabled";
}
}
}
- group { name: "elm/genlist/item_compress_odd/media-album/default";
+ group { name: "elm/genlist/item_compress_odd/media-preview/default";
data.item: "stacking" "below";
data.item: "selectraise" "on";
- data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
- data.item: "states" "elm.state.trackno";
+ data.item: "labels" "elm.text.title elm.text.artist";
+ data.item: "icons" "elm.swallow.preview";
data.item: "treesize" "20";
images {
image: "bt_sm_base1.png" COMP;
image: "bt_sm_hilight.png" COMP;
image: "ilist_2.png" COMP;
}
- script {
- public dot_visible;
- }
parts {
part { name: "event";
type: RECT;
}
}
}
- part {
- name: "elm.text.trackno";
- type: TEXT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- align: 0.0 0.0;
+ part { name: "elm.swallow.preview";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
fixed: 1 0;
+ align: 0.0 0.5;
+ min: 68 68;
+ max: 68 68;
rel1 {
- to_y: "elm.text.title";
- relative: 0.0 0.0;
- offset: 5 0;
- }
- rel2 {
- to_y: "elm.text.title";
- relative: 0.0 1.0;
- offset: 20 0;
- }
- color: 0 0 0 255;
- color3: 0 0 0 0;
- text {
- font: "Sans";
- size: 10;
- min: 1 1;
- align: 1.0 0.5;
- }
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- }
- part {
- name: "dot";
- type: TEXT;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- color: 255 255 255 255;
- visible: 0;
- fixed: 1 1;
- align: 0.0 0.0;
- rel1 {
- to_x: "elm.text.trackno";
- to_y: "elm.text.title";
- relative: 1.0 0.0;
- offset: 1 0;
+ to_x: "elm.swallow.pad";
+ relative: 1.0 0.0;
+ offset: -1 4;
}
rel2 {
- to_x: "elm.text.trackno";
- to_y: "elm.text.title";
- relative: 1.0 1.0;
- offset: 1 0;
-
- }
- color: 0 0 0 255;
- color3: 0 0 0 0;
- text {
- font: "Sans";
- size: 10;
- min: 1 1;
- align: 0.0 0.5;
- text: ".";
- }
- }
- description {
- state: "visible" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 224 224 224 255;
- color3: 0 0 0 64;
- visible: 1;
- }
- }
- programs {
- program {
- signal: "elm,state,elm.state.trackno,active";
- source: "elm";
- script {
- set_state(PART:"dot", "visible", 0.0);
- set_int(dot_visible, 1);
+ to_x: "elm.swallow.pad";
+ relative: 1.0 1.0;
+ offset: -1 -5;
}
}
}
description {
state: "default" 0.0;
rel1 {
- to_x: "dot";
+ to_x: "elm.swallow.preview";
relative: 1.0 0.0;
offset: 4 4;
}
color3: 0 0 0 64;
}
}
- part { name: "elm.text.length";
+ part { name: "elm.text.artist";
clip_to: "disclip";
type: TEXT;
mouse_events: 0;
description {
state: "default" 0.0;
rel1 {
- relative: 0.0 0.5;
+ to_x: "elm.swallow.preview";
+ relative: 1.0 0.5;
offset: 4 4;
}
rel2 {
target: "fg1";
target: "fg2";
target: "elm.text.title";
- target: "elm.text.length";
- target: "elm.text.trackno";
- after: "dot_active";
- }
- program {
- name: "dot_active";
- script {
- if (get_int(dot_visible) == 1)
- set_state(PART:"dot", "selected", 0.0);
- }
+ target: "elm.text.artist";
}
program {
name: "go_passive";
target: "fg1";
target: "fg2";
target: "elm.text.title";
- target: "elm.text.length";
- target: "elm.text.trackno";
+ target: "elm.text.artist";
transition: LINEAR 0.1;
- after: "dot_passive";
- }
- program {
- name: "dot_passive";
- script {
- if (get_int(dot_visible) == 1)
- set_state(PART:"dot", "visible", 0.0);
- }
}
program {
name: "go_disabled";
}
}
- group { name: "elm/genlist/item_compress/media-preview/default";
- data.item: "stacking" "above";
+ group { name: "elm/genlist/item/mode/default";
data.item: "selectraise" "on";
- data.item: "labels" "elm.text.title elm.text.artist";
- data.item: "icons" "elm.swallow.preview";
+ data.item: "labels" "elm.text.mode";
+ data.item: "icons" "elm.swallow.mode";
+ data.item: "mode_part" "elm.swallow.origin";
data.item: "treesize" "20";
images {
image: "bt_sm_base1.png" COMP;
image: "bt_sm_shine.png" COMP;
image: "bt_sm_hilight.png" COMP;
image: "ilist_1.png" COMP;
+ image: "ilist_2.png" COMP;
image: "ilist_item_shadow.png" COMP;
}
+
parts {
part {
name: "event";
}
fill.smooth: 0;
}
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
}
part {
name: "base";
}
fill.smooth: 0;
}
+ description {
+ state: "default" 1.0;
+ inherit: "default" 0.0;
+ image.normal: "ilist_2.png";
+ }
}
part { name: "bg";
clip_to: "disclip";
}
image.middle: SOLID;
}
+ description { state: "default" 0.1;
+ inherit: "default" 0.0;
+ }
description { state: "selected" 0.0;
inherit: "default" 0.0;
visible: 1;
offset: 1 1;
}
}
+ description {
+ state: "selected" 1.0;
+ inherit: "selected" 0.0;
+ }
+ }
+ part { name: "elm.text.mode";
+ clip_to: "disclip";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel2.relative: 0.5 1.0;
+ color: 0 0 0 255;
+ text {
+ font: "Sans";
+ size: 10;
+ min: 1 1;
+ align: -1.0 0.5;
+ text_class: "list_item";
+ }
+ }
}
- part { name: "elm.swallow.pad";
+ part { name: "elm.swallow.mode";
+ clip_to: "disclip";
type: SWALLOW;
description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {
- relative: 0.0 0.0;
- offset: 4 4;
+ rel1.relative: 0.5 0.0;
+ }
+ }
+ part { name: "fg1";
+ clip_to: "disclip";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ rel1.to: "bg";
+ rel2.relative: 1.0 0.5;
+ rel2.to: "bg";
+ image {
+ normal: "bt_sm_hilight.png";
+ border: 6 6 6 0;
}
- rel2 {
- relative: 0.0 1.0;
- offset: 4 -5;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ description {
+ state: "selected" 1.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ part { name: "fg2";
+ clip_to: "disclip";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ image {
+ normal: "bt_sm_shine.png";
+ border: 6 6 6 0;
}
}
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ description {
+ state: "selected" 1.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
}
- part { name: "elm.swallow.preview";
+ // Transparent part between base parts and slidable parts
+ part { name: "event_block_layer";
+ type: RECT;
+ clip_to: "disclip";
+ mouse_events: 1;
+ description { state: "default" 0.0;
+ rel1.to: "base";
+ rel2.to: "base";
+ color: 0 0 0 0;
+ }
+ description { state: "repeat_events" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "pers";
+ clip_to: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ }
+ }
+ part { name: "elm.swallow.origin";
clip_to: "disclip";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
align: 0.0 0.5;
- min: 68 68;
- max: 68 68;
- rel1 {
- to_x: "elm.swallow.pad";
- relative: 1.0 0.0;
- offset: -1 4;
+ }
+ description { state: "slide" 0.0;
+ inherit: "default" 0.0;
+ rel1.relative: 1 0;
+ rel2.relative: 2 1;
+ }
+ description { state: "rotate" 0.0;
+ inherit: "default" 0.0;
+ map {
+ perspective: "pers";
+ on: 1;
+ smooth: 1;
+ perspective_on: 1;
+ backface_cull: 1;
+ rotation {
+ center: "pers";
+ x: 0.0;
+ y: 0.0;
+ z: 0.0;
+ }
}
- rel2 {
- to_x: "elm.swallow.pad";
- relative: 1.0 1.0;
- offset: -1 -5;
+ }
+ description { state: "rotate" 1.0;
+ inherit: "default" 0.0;
+ map {
+ perspective: "pers";
+ on: 1;
+ smooth: 1;
+ perspective_on: 1;
+ backface_cull: 1;
+ rotation {
+ center: "pers";
+ x: 90.0;
+ y: 0.0;
+ z: 0.0;
+ }
}
}
}
- part { name: "elm.text.title";
- clip_to: "disclip";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
+ part { name: "disclip";
+ type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: 255 255 255 64;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "odd";
+ signal: "elm,state,odd";
+ source: "elm";
+ action: STATE_SET "default" 1.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
+ name: "even";
+ signal: "elm,state,even";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "base_sh";
+ target: "base";
+ }
+ program {
+ name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"base", st, 30, vl);
+ set_state(PART:"bg", "selected", vl);
+ set_state(PART:"fg1", "selected", vl);
+ set_state(PART:"fg2", "selected", vl);
+ }
+ }
+ program {
+ name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"base", st, 30, vl);
+ set_state(PART:"bg", "default", vl);
+ set_state(PART:"fg1", "default", vl);
+ set_state(PART:"fg2", "default", vl);
+ }
+ }
+ program {
+ name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ program {
+ name: "slide_right";
+ signal: "elm,state,slide,active";
+ source: "elm";
+ action: STATE_SET "slide" 0.0;
+ target: "elm.swallow.origin";
+ transition: ACCELERATE 0.5;
+ after: "unblock_event";
+ }
+ program {
+ name: "unblock_event";
+ action: STATE_SET "repeat_events" 0.0;
+ target: "event_block_layer";
+ }
+ program {
+ name: "slide_left";
+ signal: "elm,state,slide,passive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event_block_layer";
+ after: "slide_left2";
+ }
+ program {
+ name: "slide_left2";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.origin";
+ transition: DECELERATE 0.5;
+ after: "slide_left_finished";
+ }
+ program {
+ name: "slide_left_finished";
+ action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
+ }
+ program {
+ name: "rotate_on";
+ signal: "elm,state,rotate,active";
+ source: "elm";
+ action: STATE_SET "rotate" 0.0;
+ target: "elm.swallow.origin";
+ after: "rotate_on2";
+ }
+ program {
+ name: "rotate_on2";
+ action: STATE_SET "rotate" 1.0;
+ target: "elm.swallow.origin";
+ transition: LINEAR 0.5;
+ after: "unblock_event";
+ }
+ program {
+ name: "rotate_off";
+ signal: "elm,state,rotate,passive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event_block_layer";
+ after: "rotate_off2";
+ }
+ program {
+ name: "rotate_off2";
+ action: STATE_SET "rotate" 0.0;
+ transition: LINEAR 0.5;
+ target: "elm.swallow.origin";
+ after: "rotate_off3";
+ }
+ program {
+ name: "rotate_off3";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.origin";
+ after: "rotate_off_finished";
+ }
+ program {
+ name: "rotate_off_finished";
+ action: SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
+ }
+ }
+ }
+
+ group { name: "elm/genlist/item_odd/mode/default";
+ data.item: "stacking" "below";
+ data.item: "selectraise" "on";
+ data.item: "labels" "elm.text.mode";
+ data.item: "icons" "elm.swallow.mode";
+ data.item: "mode_part" "elm.swallow.origin";
+ data.item: "treesize" "20";
+ images {
+ image: "bt_sm_base1.png" COMP;
+ image: "bt_sm_shine.png" COMP;
+ image: "bt_sm_hilight.png" COMP;
+ image: "ilist_2.png" COMP;
+ }
+
+ parts {
+ part {
+ name: "event";
+ type: RECT;
+ repeat_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ part {
+ name: "base";
+ mouse_events: 0;
description {
state: "default" 0.0;
+ image {
+ normal: "ilist_2.png";
+ border: 2 2 2 2;
+ }
+ fill.smooth: 0;
+ }
+ }
+ part { name: "bg";
+ clip_to: "disclip";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
rel1 {
- to_x: "elm.swallow.preview";
- relative: 1.0 0.0;
- offset: 4 4;
+ relative: 0.0 0.0;
+ offset: -5 -5;
}
rel2 {
- relative: 1.0 0.5;
- offset: -1 -5;
+ relative: 1.0 1.0;
+ offset: 4 4;
}
- color: 0 0 0 255;
- color3: 0 0 0 0;
- text {
- font: "Sans";
- size: 10;
- min: 0 1;
- align: 0.0 0.5;
+ image {
+ normal: "bt_sm_base1.png";
+ border: 6 6 6 6;
}
+ image.middle: SOLID;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- }
- part { name: "elm.text.artist";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
rel1 {
- to_x: "elm.swallow.preview";
- relative: 1.0 0.5;
- offset: 4 4;
+ relative: 0.0 0.0;
+ offset: -2 -2;
}
rel2 {
- relative: 1.0 1.0;
- offset: -1 -5;
+ relative: 1.0 1.0;
+ offset: 1 1;
}
- color: 0 0 0 128;
- color3: 0 0 0 0;
+ }
+ }
+ part { name: "elm.text.mode";
+ clip_to: "disclip";
+ type: TEXT;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel2.relative: 0.5 1.0;
+ color: 0 0 0 255;
text {
font: "Sans";
- size: 8;
- min: 0 1;
- align: 0.0 0.5;
+ size: 10;
+ min: 1 1;
+ align: 0.5 0.5;
+ text_class: "list_item";
}
}
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- color: 128 128 128 255;
- color3: 0 0 0 32;
+ }
+ part { name: "elm.swallow.mode";
+ clip_to: "disclip";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ rel1.relative: 0.5 0.0;
}
}
part { name: "fg1";
color: 255 255 255 255;
}
}
- part { name: "disclip";
- type: RECT;
- description { state: "default" 0.0;
- rel1.to: "bg";
- rel2.to: "bg";
- }
- description { state: "disabled" 0.0;
- inherit: "default" 0.0;
- color: 255 255 255 64;
- }
- }
- }
- programs {
- // signal: elm,state,%s,active
- // a "check" item named %s went active
- // signal: elm,state,%s,passive
- // a "check" item named %s went passive
- // default is passive
- program {
- name: "go_active";
- signal: "elm,state,selected";
- source: "elm";
- action: STATE_SET "selected" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text.title";
- target: "elm.text.artist";
- }
- program {
- name: "go_passive";
- signal: "elm,state,unselected";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "bg";
- target: "fg1";
- target: "fg2";
- target: "elm.text.title";
- target: "elm.text.artist";
- transition: LINEAR 0.1;
- }
- program {
- name: "go_disabled";
- signal: "elm,state,disabled";
- source: "elm";
- action: STATE_SET "disabled" 0.0;
- target: "disclip";
- }
- program {
- name: "go_enabled";
- signal: "elm,state,enabled";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "disclip";
- }
- }
- }
- group { name: "elm/genlist/item_compress_odd/media-preview/default";
- data.item: "stacking" "below";
- data.item: "selectraise" "on";
- data.item: "labels" "elm.text.title elm.text.artist";
- data.item: "icons" "elm.swallow.preview";
- data.item: "treesize" "20";
- images {
- image: "bt_sm_base1.png" COMP;
- image: "bt_sm_shine.png" COMP;
- image: "bt_sm_hilight.png" COMP;
- image: "ilist_2.png" COMP;
- }
- parts {
- part { name: "event";
+ // Transparent part between base parts and slidable parts
+ part { name: "event_block_layer";
type: RECT;
- repeat_events: 1;
- description {
- state: "default" 0.0;
- color: 0 0 0 0;
- }
- }
- part {
- name: "base";
- mouse_events: 0;
- description {
- state: "default" 0.0;
- image {
- normal: "ilist_2.png";
- border: 2 2 2 2;
- }
- fill.smooth: 0;
- }
- }
- part { name: "bg";
clip_to: "disclip";
- mouse_events: 0;
+ mouse_events: 1;
description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1 {
- relative: 0.0 0.0;
- offset: -5 -5;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 4 4;
- }
- image {
- normal: "bt_sm_base1.png";
- border: 6 6 6 6;
- }
- image.middle: SOLID;
+ rel1.to: "base";
+ rel2.to: "base";
+ color: 0 0 0 0;
}
- description { state: "selected" 0.0;
+ description { state: "repeat_events" 0.0;
inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- rel1 {
- relative: 0.0 0.0;
- offset: -2 -2;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: 1 1;
- }
+ visible: 0;
}
}
- part { name: "elm.swallow.pad";
- type: SWALLOW;
+ part { name: "pers";
+ clip_to: "disclip";
+ type: RECT;
description { state: "default" 0.0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 {
- relative: 0.0 0.0;
- offset: 4 4;
- }
- rel2 {
- relative: 0.0 1.0;
- offset: 4 -5;
- }
+ rel1.relative: 0.0 1.0;
}
}
- part { name: "elm.swallow.preview";
+ part { name: "elm.swallow.origin";
clip_to: "disclip";
type: SWALLOW;
description { state: "default" 0.0;
fixed: 1 0;
align: 0.0 0.5;
- min: 68 68;
- max: 68 68;
- 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;
- }
- }
- }
- part { name: "elm.text.title";
- clip_to: "disclip";
- type: TEXT;
- effect: SOFT_SHADOW;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "elm.swallow.preview";
- relative: 1.0 0.0;
- offset: 4 4;
- }
- rel2 {
- relative: 1.0 0.5;
- offset: -1 -5;
- }
- color: 0 0 0 255;
- color3: 0 0 0 0;
- text {
- font: "Sans";
- size: 10;
- min: 0 1;
- align: 0.0 0.5;
- }
}
- description { state: "selected" 0.0;
+ description { state: "slide" 0.0;
inherit: "default" 0.0;
- color: 224 224 224 255;
- color3: 0 0 0 64;
- }
- }
- part { name: "elm.text.artist";
- clip_to: "disclip";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 {
- to_x: "elm.swallow.preview";
- relative: 1.0 0.5;
- offset: 4 4;
- }
- rel2 {
- relative: 1.0 1.0;
- offset: -1 -5;
- }
- color: 0 0 0 128;
- color3: 0 0 0 0;
- text {
- font: "Sans";
- size: 8;
- min: 0 1;
- align: 0.0 0.5;
- }
+ rel1.relative: 1 0;
+ rel2.relative: 2 1;
}
- description { state: "selected" 0.0;
+ description { state: "rotate" 0.0;
inherit: "default" 0.0;
- color: 128 128 128 255;
- color3: 0 0 0 32;
- }
- }
- part { name: "fg1";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.relative: 1.0 0.5;
- rel2.to: "bg";
- image {
- normal: "bt_sm_hilight.png";
- border: 6 6 6 0;
+ map {
+ perspective: "pers";
+ on: 1;
+ smooth: 1;
+ perspective_on: 1;
+ backface_cull: 1;
+ rotation {
+ center: "pers";
+ x: 0.0;
+ y: 0.0;
+ z: 0.0;
+ }
}
}
- description { state: "selected" 0.0;
+ description { state: "rotate" 1.0;
inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
- }
- part { name: "fg2";
- clip_to: "disclip";
- mouse_events: 0;
- description { state: "default" 0.0;
- visible: 0;
- color: 255 255 255 0;
- rel1.to: "bg";
- rel2.to: "bg";
- image {
- normal: "bt_sm_shine.png";
- border: 6 6 6 0;
+ map {
+ perspective: "pers";
+ on: 1;
+ smooth: 1;
+ perspective_on: 1;
+ backface_cull: 1;
+ rotation {
+ center: "pers";
+ x: 90.0;
+ y: 0.0;
+ z: 0.0;
+ }
}
}
- description { state: "selected" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- color: 255 255 255 255;
- }
}
part { name: "disclip";
type: RECT;
}
}
programs {
- // signal: elm,state,%s,active
- // a "check" item named %s went active
- // signal: elm,state,%s,passive
- // a "check" item named %s went passive
- // default is passive
program {
name: "go_active";
signal: "elm,state,selected";
target: "bg";
target: "fg1";
target: "fg2";
- target: "elm.text.title";
- target: "elm.text.artist";
}
program {
name: "go_passive";
target: "bg";
target: "fg1";
target: "fg2";
- target: "elm.text.title";
- target: "elm.text.artist";
transition: LINEAR 0.1;
}
program {
action: STATE_SET "default" 0.0;
target: "disclip";
}
+ program {
+ name: "slide_right";
+ signal: "elm,state,slide,active";
+ source: "elm";
+ action: STATE_SET "slide" 0.0;
+ target: "elm.swallow.origin";
+ transition: ACCELERATE 0.5;
+ after: "unblock_event";
+ }
+ program {
+ name: "unblock_event";
+ action: STATE_SET "repeat_events" 0.0;
+ target: "event_block_layer";
+ }
+ program {
+ name: "slide_left";
+ signal: "elm,state,slide,passive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event_block_layer";
+ after: "slide_left2";
+ }
+ program {
+ name: "slide_left2";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.origin";
+ transition: DECELERATE 0.5;
+ after: "slide_left_finished";
+ }
+ program {
+ name: "slide_left_finished";
+ action: SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
+ }
+ program {
+ name: "rotate_on";
+ signal: "elm,state,rotate,active";
+ source: "elm";
+ action: STATE_SET "rotate" 0.0;
+ target: "elm.swallow.origin";
+ after: "rotate_on2";
+ }
+ program {
+ name: "rotate_on2";
+ action: STATE_SET "rotate" 1.0;
+ target: "elm.swallow.origin";
+ transition: LINEAR 0.5;
+ after: "unblock_event";
+ }
+ program {
+ name: "rotate_off";
+ signal: "elm,state,rotate,passive";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "event_block_layer";
+ after: "rotate_off2";
+ }
+ program {
+ name: "rotate_off2";
+ action: STATE_SET "rotate" 0.0;
+ transition: LINEAR 0.5;
+ target: "elm.swallow.origin";
+ after: "rotate_off3";
+ }
+ program {
+ name: "rotate_off3";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.origin";
+ after: "rotate_off_finished";
+ }
+ program {
+ name: "rotate_off_finished";
+ action: SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
+ }
}
}
}
parts {
part { name: "elm.background.progressbar";
+ type: RECT;
mouse_events: 0;
description {
state: "default" 0.0;
}
}
part { name: "progress-rect";
+ type: RECT;
mouse_events: 0;
description {
state: "default" 0.0;
fixed: 1 1;
min: 8 8;
max: 8 8;
+ visible: 0;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
relative: 0.0 0.0;
offset: 0 0;
}
- color: 0 0 255 128;
}
}
part { name: "elm.swallow.event.0";
color: 0 0 0 0;
}
}
+ part { name: "reorder_bg";
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ rel1 {
+ relative: 0.0 0.0;
+ offset: -10 -10;
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ offset: 12 12;
+ }
+ image {
+ normal: "bt_bases.png";
+ border: 6 6 6 6;
+ }
+ }
+ description { state: "enabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
part { name: "base_sh";
mouse_events: 0;
description { state: "default" 0.0;
action: STATE_SET "default" 0.0;
target: "disclip";
}
+ program { name: "go_reorder_disabled";
+ signal: "elm,state,reorder,disabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "reorder_bg";
+ transition: DECELERATE 0.5;
+ }
+ program { name: "go_reorder_enabled";
+ signal: "elm,state,reorder,enabled";
+ source: "elm";
+ action: STATE_SET "enabled" 0.0;
+ target: "reorder_bg";
+ transition: DECELERATE 0.5;
+ }
}
}
group { name: "elm/gengrid/item/default_style/default";
part { name: "elm.swallow.shelf";
type: SWALLOW;
description { state: "default" 0.0;
- fixed: 1 1;
+ fixed: 0 1;
align: 0.0 0.0;
rel2.relative: 1.0 0.0;
}
part { name: "elm.swallow.content";
type: SWALLOW;
description { state: "default" 0.0;
+ fixed: 0 1;
align: 0.5 0.5;
rel1.relative: 0.0 1.0;
rel1.to_y: "elm.swallow.shelf";
rel2.relative: 1.0 0.0;
+ rel2.to_y: "elm.swallow.virtualkeypad";
+ }
+ }
+ part { name: "elm.swallow.virtualkeypad";
+ type: SWALLOW;
+ description { state: "default" 0.0;
+ fixed: 0 1;
+ align: 0.0 1.0;
+ rel2.relative: 1.0 0.0;
rel2.to_y: "elm.swallow.panel";
}
}
part { name: "elm.swallow.panel";
type: SWALLOW;
description { state: "default" 0.0;
- fixed: 1 1;
+ fixed: 0 1;
align: 0.0 1.0;
rel1.relative: 0.0 1.0;
}
data {
item: "len_threshold" "14";
+ item: "display_item_num" "3";
+ item: "min_height" "-1";
+ item: "min_width" "-1";
}
parts {
part { name: "elm.text.title";
type: TEXT;
effect: SOFT_SHADOW;
- scale: 1;
+ scale: 1;
description { state: "default" 0.0;
rel1 {
to_x: "back";
}
}
+///////////////////////////////////////////////////////////////////////////////
+ group { name: "elm/segment_control/base/default";
+#define SEGMENT_TYPE_SINGLE 1
+#define SEGMENT_TYPE_LEFT 2
+#define SEGMENT_TYPE_MIDDLE 3
+#define SEGMENT_TYPE_RIGHT 4
+#define SEGMENT_STATE_NORMAL 1
+#define SEGMENT_STATE_PRESSED 2
+#define SEGMENT_STATE_SELECTED 3
+#define SEGMENT_STATUS_ENABLED 0
+#define SEGMENT_STATUS_DISABLED 1
+ parts {
+ part { name: "bg";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ min: 100 40;
+ }
+ }
+ }
+ }
+ group { name: "elm/segment_control/item/default";
+ data.item: "label.wrap.part" "label.bg";
+ styles {
+ style { name: "seg_text_style_normal";
+ base: "font=Sans font_size=16 style=shadow \
+ shadow_color=#2924224d \
+ align=center \
+ color=#ffffffff wrap=char text_class=label";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=Sans:style=Bold";
+ tag: "tab" "\t";
+ }
+ style { name: "seg_text_style_selected";
+ base: "font=Sans:style=Bold font_size=16 style=shadow \
+ shadow_color=#aaaaaa4d \
+ align=center \
+ color=#111111ff wrap=char text_class=label";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=Sans:style=Bold";
+ tag: "b" "+ font=Sans:style=Bold";
+ tag: "tab" "\t";
+ }
+ style { name: "seg_text_style_disabled";
+ base: "font=Sans:style=Medium font_size=16 style=shadow \
+ shadow_color=#2924224d \
+ align=center color=#2924224d \
+ wrap=char text_class=label";
+ tag: "br" "\n";
+ tag: "hilight" "+ font=Sans:style=Bold";
+ tag: "b" "+ font=Sans:style=Bold";
+ tag: "tab" "\t";
+ }
+ }
+ images {
+ image: "seg_single_pressed.png" COMP;
+ image: "seg_single_selected.png" COMP;
+ image: "seg_single_normal.png" COMP;
+
+ image: "seg_left_pressed.png" COMP;
+ image: "seg_left_selected.png" COMP;
+ image: "seg_left_normal.png" COMP;
+
+ image: "seg_middle_pressed.png" COMP;
+ image: "seg_middle_selected.png" COMP;
+ image: "seg_middle_normal.png" COMP;
+
+ image: "seg_right_pressed.png" COMP;
+ image: "seg_right_selected.png" COMP;
+ image: "seg_right_normal.png" COMP;
+ }
+ parts {
+ part { name: "segment";
+ mouse_events: 1;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 1 1;
+ visible: 0;
+ image {
+ normal: "seg_single_normal.png";
+ border: 7 7 7 7;
+ border_scale: 1;
+ middle: 1;
+ }
+ }
+ description { state: "default_single" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_single_normal.png";
+ border: 7 7 7 7;
+ }
+ }
+ description { state: "default_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_left_normal.png";
+ border: 6 1 7 7;
+ }
+ }
+ description { state: "default_right" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_right_normal.png";
+ border: 1 6 7 7;
+ }
+ }
+ description { state: "default_middle" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_middle_normal.png";
+ border: 2 2 2 2;
+ }
+ }
+ description { state: "pressed_single" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_single_pressed.png";
+ border: 7 7 7 7;
+ }
+ }
+ description { state: "pressed_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_left_pressed.png";
+ border: 6 1 7 7;
+ }
+ }
+ description { state: "pressed_right" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_right_pressed.png";
+ border: 1 6 7 7;
+ }
+ }
+ description { state: "pressed_middle" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_middle_pressed.png";
+ border: 1 1 2 2;
+ }
+ }
+ description { state: "selected_single" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_single_selected.png";
+ border: 7 7 7 7;
+ }
+ }
+ description { state: "selected_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_left_selected.png";
+ border: 6 3 7 7;
+ }
+ }
+ description { state: "selected_right" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_right_selected.png";
+ border: 3 6 7 7;
+ }
+ }
+ description { state: "selected_middle" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_middle_selected.png";
+ border: 3 3 3 3;
+ }
+ }
+ }
+ part { name: "padding_left";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 1.0;
+ min: 2 2;
+ max: 2 2;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_right";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 0.0;
+ rel1.relative: 1.0 0.0;
+ rel2.relative: 1.0 1.0;
+ min: 2 2;
+ max: 2 2;
+ fixed: 1 0;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_top";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 0.0 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 0.0;
+ min: 2 2;
+ max: 2 2;
+ fixed: 0 1;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_bottom";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ align: 1.0 1.0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 1.0 1.0;
+ min: 2 2;
+ max: 2 2;
+ fixed: 0 1;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "icon.bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0;
+ visible: 1;
+ fixed: 1 0;
+ rel1 {
+ to_x: "padding_left";
+ to_y: "padding_top";
+ relative: 1.0 1.0;
+ }
+ rel2 {
+ to: "elm.swallow.icon";
+ relative: 1.0 1.0;
+ }
+ align: 0.0 0.5;
+ color: 0 0 0 0;
+ }
+ }
+ part { name: "padding_icon_text";
+ type: RECT;
+ scale: 1;
+ mouse_events: 0;
+ description { state: "default" 0.0; //when only icon or no icon is there
+ align: 0.0 0.0;
+ rel1 {
+ to: "icon.bg";
+ relative: 1.0 0.0;
+ }
+ rel2 {
+ to: "icon.bg";
+ relative: 1.0 1.0;
+ }
+ fixed: 1 0;
+ min: 0 0;
+ color: 0 0 0 0;
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ }
+ description { state: "visible" 0.0; //when icon is visible
+ inherit: "default" 0.0;
+ min: 2 0;
+ }
+ }
+ part { name: "elm.swallow.icon";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ align: 0.0 0.5;
+ rel1 {
+ to_x: "padding_left";
+ to_y: "padding_top";
+ relative: 1.0 1.0;
+ }
+ rel2 {
+ to_y: "padding_bottom";
+ relative: 0.0 0.0;
+ }
+ fixed: 1 0;
+ aspect: 1.0 1.0;
+ aspect_preference: BOTH;
+ }
+ description { state: "visible" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ rel2 {
+ to_y: "padding_bottom";
+ relative: 0.3 0.0;
+ }
+ }
+ description { state: "icononly" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ rel2 {
+ to_x: "padding_right";
+ to_y: "padding_bottom";
+ relative: 0.0 0.0;
+ }
+ align: 0.5 0.5;
+ }
+ }
+ part { name: "elm.text";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 1 1;
+ rel1 {
+ to_x: "padding_icon_text";
+ relative: 1.0 1.0;
+ }
+ rel2 {
+ to_x: "padding_right";
+ relative: 0.0 0.0;
+ }
+ color: 224 224 224 255;
+ color3: 0 0 0 64;
+ text {
+ font: "Sans";
+ ellipsis: 0.0;
+ fit: 1 1;
+ size: 24;
+ size_range: 8 36;
+ min: 0 1;
+ }
+ }
+ description { state: "normal" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ }
+ description { state: "pressed" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 0 0 0 255;
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 50 50 50 255;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: 200 200 200 255;
+ }
+ }
+ part { name: "disabler";
+ repeat_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ visible: 0;
+ fixed: 1 1;
+ min: 1 1;
+ align: 0.0 0.5;
+ rel1 { relative: 0.0 0.0; to: "segment";}
+ rel2 { relative: 1.0 1.0; to: "segment";}
+ color: 255 255 255 150;
+ }
+ description { state: "disabled_single" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_single_normal.png";
+ border: 7 7 7 7;
+ }
+ }
+ description { state: "disabled_left" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_left_normal.png";
+ border: 6 1 7 7;
+ }
+ }
+ description { state: "disabled_right" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_right_normal.png";
+ border: 1 6 7 7;
+ }
+ }
+ description { state: "disabled_middle" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ image {
+ normal: "seg_middle_normal.png";
+ border: 2 2 2 2;
+ }
+ }
+ }
+ }
+ programs {
+ script {
+ public seg_type; // Single, Left, Middle, Right.
+ public seg_state; // Normal/Default, Pressed, Selected.
+ public seg_status;// Enabled/Default, Disabled
+
+ public update_state() {
+ new type, state, disabled;
+ type = get_int(seg_type);
+ state = get_int(seg_state);
+ disabled = get_int(seg_status);
+
+ if(state == SEGMENT_STATE_NORMAL)
+ {
+ if(type == SEGMENT_TYPE_SINGLE)
+ set_state(PART:"segment", "default_single", 0.0);
+ else if(type == SEGMENT_TYPE_LEFT)
+ set_state(PART:"segment", "default_left", 0.0);
+ else if(type == SEGMENT_TYPE_MIDDLE)
+ set_state(PART:"segment", "default_middle", 0.0);
+ else if(type == SEGMENT_TYPE_RIGHT)
+ set_state(PART:"segment", "default_right", 0.0);
+ set_state(PART:"elm.text", "normal", 0.0);
+ }
+ else if(state == SEGMENT_STATE_PRESSED)
+ {
+ if(type == SEGMENT_TYPE_SINGLE)
+ set_state(PART:"segment", "pressed_single", 0.0);
+ else if(type == SEGMENT_TYPE_LEFT)
+ set_state(PART:"segment", "pressed_left", 0.0);
+ else if(type == SEGMENT_TYPE_MIDDLE)
+ set_state(PART:"segment", "pressed_middle", 0.0);
+ else if(type == SEGMENT_TYPE_RIGHT)
+ set_state(PART:"segment", "pressed_right", 0.0);
+ set_state(PART:"elm.text", "pressed", 0.0);
+ }
+ else if(state == SEGMENT_STATE_SELECTED)
+ {
+ if(type == SEGMENT_TYPE_SINGLE)
+ set_state(PART:"segment", "selected_single", 0.0);
+ else if(type == SEGMENT_TYPE_LEFT)
+ set_state(PART:"segment", "selected_left", 0.0);
+ else if(type == SEGMENT_TYPE_MIDDLE)
+ set_state(PART:"segment", "selected_middle", 0.0);
+ else if(type == SEGMENT_TYPE_RIGHT)
+ set_state(PART:"segment", "selected_right", 0.0);
+ set_state(PART:"elm.text", "selected", 0.0);
+ }
+ if(disabled == SEGMENT_STATUS_DISABLED)
+ {
+ if(type == SEGMENT_TYPE_SINGLE)
+ set_state(PART:"disabler", "disabled_single", 0.0);
+ else if(type == SEGMENT_TYPE_LEFT)
+ set_state(PART:"disabler", "disabled_left", 0.0);
+ else if(type == SEGMENT_TYPE_MIDDLE)
+ set_state(PART:"disabler", "disabled_middle", 0.0);
+ else if(type == SEGMENT_TYPE_RIGHT)
+ set_state(PART:"disabler", "disabled_right", 0.0);
+ set_state(PART:"elm.text", "disabled", 0.0);
+ }
+ }
+ }
+ program {
+ name: "segment_type_s";
+ signal: "elm,type,segment,single";
+ source: "elm";
+ script {
+ set_int(seg_type, SEGMENT_TYPE_SINGLE);
+ update_state();
+ }
+ }
+ program {
+ name: "segment_type_l";
+ signal: "elm,type,segment,left";
+ source: "elm";
+ script {
+ set_int(seg_type, SEGMENT_TYPE_LEFT);
+ update_state();
+ }
+ }
+ program {
+ name: "segment_type_m";
+ signal: "elm,type,segment,middle";
+ source: "elm";
+ script {
+ set_int(seg_type, SEGMENT_TYPE_MIDDLE);
+ update_state();
+ }
+ }
+ program {
+ name: "segment_type_r";
+ signal: "elm,type,segment,right";
+ source: "elm";
+ script {
+ set_int(seg_type, SEGMENT_TYPE_RIGHT);
+ update_state();
+ }
+ }
+ program {
+ name: "normal_segment";
+ signal: "elm,state,segment,normal";
+ source: "elm";
+ script {
+ set_int(seg_state, SEGMENT_STATE_NORMAL);
+ update_state();
+ }
+ }
+ program {
+ name: "pressed_segment";
+ signal: "elm,state,segment,pressed";
+ source: "elm";
+ script {
+ set_int(seg_state, SEGMENT_STATE_PRESSED);
+ update_state();
+ }
+ }
+ program {
+ name: "selected_segment";
+ signal: "elm,state,segment,selected";
+ source: "elm";
+ script {
+ set_int(seg_state, SEGMENT_STATE_SELECTED);
+ update_state();
+ }
+ }
+ program { name: "disable_segment";
+ signal: "elm,state,disabled";
+ source: "elm";
+ script {
+ set_int(seg_status, SEGMENT_STATUS_DISABLED);
+ update_state();
+ }
+ }
+ program { name: "enable_segment";
+ signal: "elm,state,enabled";
+ source: "elm";
+ script {
+ set_int(seg_status, SEGMENT_STATUS_ENABLED);
+ update_state();
+ }
+ }
+ program { name: "text_show";
+ signal: "elm,state,text,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (!strcmp(st, "icononly"))
+ {
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ get_state(PART:"elm.text", st, 30, vl);
+ if (!strcmp(st, "selected"))
+ set_state(PART:"elm.text", "selected", 0.0);
+ else
+ set_state(PART:"elm.text", "normal", 0.0);
+ }
+ }
+ program { name: "text_hide";
+ signal: "elm,state,text,hidden";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.swallow.icon", st, 30, vl);
+ if (!strcmp(st, "visible"))
+ {
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ set_state(PART:"elm.text", "default", 0.0);
+ }
+ }
+ program { name: "icon_show";
+ signal: "elm,state,icon,visible";
+ source: "elm";
+ script {
+ new st[31];
+ new Float:vl;
+ get_state(PART:"elm.text", st, 30, vl);
+ if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
+ {
+ set_state(PART:"elm.swallow.icon", "visible", 0.0);
+ set_state(PART:"padding_icon_text", "visible", 0.0);
+ }
+ else
+ {
+ set_state(PART:"elm.swallow.icon", "icononly", 0.0);
+ set_state(PART:"padding_icon_text", "icononly", 0.0);
+ }
+ }
+ }
+ program { name: "icon_hide";
+ signal: "elm,state,icon,hidden";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "elm.swallow.icon";
+ }
+ }
+#undef SEGMENT_TYPE_SINGLE
+#undef SEGMENT_TYPE_LEFT
+#undef SEGMENT_TYPE_MIDDLE
+#undef SEGMENT_TYPE_RIGHT
+#undef SEGMENT_STATE_NORMAL
+#undef SEGMENT_STATE_PRESSED
+#undef SEGMENT_STATE_SELECTED
+#undef SEGMENT_STATUS_ENABLED
+#undef SEGMENT_STATUS_DISABLED
+ }
+
/* a simple title layout, with a label and two icons */
group { name: "elm/layout/application/titlebar";
images {
}
}
}
-
-
-
-