forked from enlightenment/epour
1034 lines
31 KiB
Plaintext
1034 lines
31 KiB
Plaintext
externals.external: "elm";
|
|
|
|
#define FN_COL_DEFAULT 255 255 255 255; color3: 0 0 0 128
|
|
#define FN_COL_HIGHLIGHT 51 153 255 255; color2: 51 153 255 24; color3: 51 153 255 18
|
|
#define FN_COL_DISABLE 21 21 21 255; color3: 255 255 255 25;
|
|
#define FN_COL_DISABLE_LIGHTER_SHADOW 21 21 21 255; color3: 255 255 255 15
|
|
#define FN_COL_HIGHLIGHT_CLICKED 255 255 255 255; color2: 51 153 255 64; color3: 51 153 255 32
|
|
|
|
|
|
#define ODD(_NAME, _SRC) \
|
|
group { _NAME; \
|
|
inherit: _SRC; \
|
|
parts { \
|
|
rect { "base"; \
|
|
desc { "default"; \
|
|
color: 56 56 56 255; \
|
|
color_class: "list_item_base_odd"; \
|
|
} \
|
|
} \
|
|
} \
|
|
}
|
|
#define COMPRESS_SUB(_NAME, _SRC) \
|
|
group { name: _NAME; \
|
|
inherit: _SRC; \
|
|
parts { \
|
|
text { "elm.text"; \
|
|
desc { "default"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "selected"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "disabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "flip_enabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
} \
|
|
text { "label2"; \
|
|
desc { "default"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "selected"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "disabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "flip_enabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
} \
|
|
text { "label3"; \
|
|
desc { "default"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "selected"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "disabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "flip_enabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
} \
|
|
text { "elm.text.sub"; \
|
|
desc { "default"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "selected"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "disabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "flip_enabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
} \
|
|
text { "label4"; \
|
|
desc { "default"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "selected"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "disabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "flip_enabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
} \
|
|
text { "label5"; \
|
|
desc { "default"; \
|
|
fixed: 0 1; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "selected"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "disabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "flip_enabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
} \
|
|
} \
|
|
}
|
|
#define COMPRESS_SUB_ODD(_NAME, _SRC) \
|
|
group { name: _NAME; \
|
|
inherit: _SRC; \
|
|
parts { \
|
|
text { "elm.text"; \
|
|
desc { "default"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "selected"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "disabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "flip_enabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
} \
|
|
text { "label2"; \
|
|
desc { "default"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "selected"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "disabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "flip_enabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
} \
|
|
text { "label3"; \
|
|
desc { "default"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "selected"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "disabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "flip_enabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
} \
|
|
text { "elm.text.sub"; \
|
|
desc { "default"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "selected"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "disabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "flip_enabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
} \
|
|
text { "label4"; \
|
|
desc { "default"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "selected"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "disabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "flip_enabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
} \
|
|
text { "label5"; \
|
|
desc { "default"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "selected"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "disabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
desc { "flip_enabled"; \
|
|
text.min: 0 1; \
|
|
} \
|
|
} \
|
|
rect { "base"; \
|
|
desc { "default"; \
|
|
color: 56 56 56 255; \
|
|
color_class: "list_item_base_odd"; \
|
|
} \
|
|
} \
|
|
} \
|
|
}
|
|
|
|
|
|
#define ASPECT_FILL(_ASPECT) \
|
|
aspect: _ASPECT _ASPECT; aspect_preference: NONE;
|
|
|
|
#define TILED_PATTERN(_WIDTH, _HEIGHT) \
|
|
fill { size { relative: 0.0 0.0; offset: _WIDTH _HEIGHT; } }
|
|
|
|
#define TILED_HORIZ(_WIDTH) \
|
|
fill { size { relative: 0.0 1.0; offset: _WIDTH 0; } }
|
|
|
|
#define TILED_VERT(_HEIGHT) \
|
|
fill { size { relative: 1.0 0.0; offset: 0 _HEIGHT; } }
|
|
|
|
#define FIXED_SIZE(_WIDTH, _HEIGHT) \
|
|
min: _WIDTH _HEIGHT; max: _WIDTH _HEIGHT; fixed: 1 1;
|
|
|
|
|
|
#define ICO2(Cat, Name) \
|
|
group { name: ##Cat##"/"##Name##; \
|
|
min: 16 16; \
|
|
images { \
|
|
set { name: ##Name##; \
|
|
image { \
|
|
image: ##Cat##"/16/"##Name##".png" COMP; \
|
|
size: 0 0 22 22; \
|
|
} \
|
|
image { \
|
|
image: ##Cat##"/128/"##Name##".png" COMP; \
|
|
size: 23 23 256 256; \
|
|
} \
|
|
} \
|
|
} \
|
|
parts { \
|
|
part { name: "base"; \
|
|
desc { \
|
|
image.normal: ##Name##; \
|
|
aspect: 1.0 1.0; aspect_preference: BOTH; \
|
|
} } } }
|
|
|
|
|
|
collections {
|
|
|
|
ICO2("states", "torrent-queued")
|
|
ICO2("states", "torrent-checking-files")
|
|
ICO2("states", "torrent-downloading-metadata")
|
|
ICO2("states", "torrent-downloading")
|
|
ICO2("states", "torrent-finished")
|
|
ICO2("states", "torrent-seeding")
|
|
ICO2("states", "torrent-allocating")
|
|
ICO2("states", "torrent-checking-resume-data")
|
|
|
|
ICO2("states", "torrent-paused")
|
|
ICO2("states", "torrent-active")
|
|
|
|
|
|
group { name: "elm/progressbar/horizontal/simple";
|
|
parts {
|
|
part { name: "elm.background.progressbar"; type: RECT;
|
|
mouse_events: 0;
|
|
description {
|
|
state: "default" 0.0;
|
|
rel1 {
|
|
relative: 0.0 0.0;
|
|
offset: 0 0;
|
|
}
|
|
rel2 {
|
|
relative: 1.0 1.0;
|
|
}
|
|
}
|
|
}
|
|
part { name: "elm.swallow.bar";
|
|
mouse_events: 0;
|
|
type: SWALLOW;
|
|
description {
|
|
min: 48 24;
|
|
max: 99999 100;
|
|
state: "default" 0.0;
|
|
rel1 {
|
|
to: "elm.background.progressbar";
|
|
relative: 0.0 0.0;
|
|
}
|
|
rel2 {
|
|
to: "elm.background.progressbar";
|
|
relative: 1.0 1.0;
|
|
}
|
|
}
|
|
}
|
|
part { name: "elm.swallow.content";
|
|
type: SWALLOW;
|
|
description { state: "default" 0.0;
|
|
visible: 0;
|
|
align: 0.0 0.5;
|
|
rel1 {
|
|
offset: 4 0;
|
|
to_y: "elm.background.progressbar";
|
|
}
|
|
rel2 {
|
|
offset: 3 -1;
|
|
relative: 0.0 1.0;
|
|
to_y: "elm.background.progressbar";
|
|
}
|
|
}
|
|
description { state: "visible" 0.0;
|
|
inherit: "default" 0.0;
|
|
visible: 1;
|
|
aspect: 1.0 1.0;
|
|
aspect_preference: VERTICAL;
|
|
rel2.offset: 4 -1;
|
|
}
|
|
}
|
|
// part { name: "elm.text";
|
|
// type: TEXT;
|
|
// mouse_events: 0;
|
|
// scale: 1;
|
|
// description { state: "default" 0.0;
|
|
// visible: 0;
|
|
// fixed: 1 1;
|
|
// align: 0.0 0.5;
|
|
// rel1.to_x: "elm.swallow.content";
|
|
// rel1.relative: 1.0 0.0;
|
|
// rel1.offset: -1 4;
|
|
// rel2.to_x: "elm.swallow.content";
|
|
// rel2.relative: 1.0 1.0;
|
|
// rel2.offset: -1 -5;
|
|
// 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;
|
|
// rel1.offset: 0 4;
|
|
// rel2.offset: 0 -5;
|
|
// }
|
|
// }
|
|
|
|
part { name: "background"; type: RECT;
|
|
mouse_events: 0;
|
|
clip_to: "elm.background.progressbar";
|
|
description {
|
|
state: "default" 0.0;
|
|
rel1 {
|
|
to: "elm.swallow.bar";
|
|
relative: 0.0 0.0;
|
|
}
|
|
rel2 {
|
|
to: "elm.swallow.bar";
|
|
relative: 1.0 1.0;
|
|
offset: -1 -1;
|
|
}
|
|
color: 0 0 0 0;
|
|
}
|
|
}
|
|
|
|
part { name: "elm.progress.progressbar"; type: RECT;
|
|
mouse_events: 0;
|
|
clip_to: "elm.background.progressbar";
|
|
description {
|
|
state: "default" 0.0;
|
|
rel1 {
|
|
to: "elm.swallow.bar";
|
|
relative: 0.0 0.0;
|
|
offset: 1 1;
|
|
}
|
|
rel2 {
|
|
to_y: "elm.swallow.bar";
|
|
to_x: "elm.cur.progressbar";
|
|
offset: -2 -2;
|
|
}
|
|
color: 32 32 64 160;
|
|
}
|
|
description {
|
|
state: "invert" 0.0;
|
|
inherit: "default" 0.0;
|
|
rel1 {
|
|
to_y: "elm.swallow.bar";
|
|
to_x: "elm.cur.progressbar";
|
|
relative: 1.0 0.0;
|
|
}
|
|
rel2 {
|
|
to: "elm.swallow.bar";
|
|
relative: 1.0 1.0;
|
|
}
|
|
}
|
|
description {
|
|
state: "state_begin" 0.0;
|
|
inherit: "default" 0.0;
|
|
rel1 {
|
|
to: "elm.swallow.bar";
|
|
relative: 0.0 0.0;
|
|
}
|
|
rel2 {
|
|
to: "elm.swallow.bar";
|
|
relative: 0.1 1.0;
|
|
}
|
|
}
|
|
description {
|
|
state: "state_end" 0.0;
|
|
inherit: "default" 0.0;
|
|
rel1 {
|
|
to: "elm.swallow.bar";
|
|
relative: 0.9 0.0;
|
|
}
|
|
rel2 {
|
|
to: "elm.swallow.bar";
|
|
relative: 1.0 1.0;
|
|
}
|
|
}
|
|
}
|
|
|
|
part { name: "elm.cur.progressbar";
|
|
mouse_events: 0;
|
|
dragable {
|
|
confine: "background";
|
|
x: 1 1 1;
|
|
y: 0 0 0;
|
|
}
|
|
description { state: "default" 0.0;
|
|
visible: 0;
|
|
rel1 {
|
|
to: "background";
|
|
relative: 0 0;
|
|
}
|
|
rel2.to: "background";
|
|
}
|
|
}
|
|
// part { name: "elm.text.box"; type: RECT;
|
|
// mouse_events: 0;
|
|
// description { state: "default" 0.0;
|
|
// visible: 1;
|
|
// rel1 {
|
|
// to: "elm.text.content";
|
|
// offset: -6 -4;
|
|
// }
|
|
// rel2 {
|
|
// to: "elm.text.content";
|
|
// offset: 6 4;
|
|
// }
|
|
// color: 0 0 0 0;
|
|
// // image {
|
|
// // normal: "bt_basew.png";
|
|
// // border: 8 8 8 8;
|
|
// // }
|
|
// //fill.smooth: 0;
|
|
// }
|
|
// description { state: "hidden" 0.0;
|
|
// inherit: "default" 0.0;
|
|
// visible: 0;
|
|
// }
|
|
// }
|
|
// part { name: "elm.text.content";
|
|
// type: TEXT;
|
|
// mouse_events: 0;
|
|
// description { state: "default" 0.0;
|
|
// fixed: 1 1;
|
|
// visible: 1;
|
|
// rel1 {
|
|
// to: "background";
|
|
// relative: 0.5 0.5;
|
|
// offset: -3 -1;
|
|
// }
|
|
// rel2 {
|
|
// to: "background";
|
|
// relative: 0.5 0.5;
|
|
// offset: 3 -1;
|
|
// }
|
|
// text {
|
|
// //font: "Sans,Edje-Vera";
|
|
// size: 10;
|
|
// min: 1 1;
|
|
// align: 0.5 0.0;
|
|
// }
|
|
// color: 0 0 0 255;
|
|
// }
|
|
// description { state: "hidden" 0.0;
|
|
// inherit: "default" 0.0;
|
|
// visible: 0;
|
|
// text.min: 0 0;
|
|
// }
|
|
// }
|
|
}
|
|
programs {
|
|
// program { name: "label_show";
|
|
// signal: "elm,state,text,visible";
|
|
// source: "elm";
|
|
// action: STATE_SET "visible" 0.0;
|
|
// target: "elm.text";
|
|
// }
|
|
// program { name: "label_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: "units_show";
|
|
// signal: "elm,state,units,visible";
|
|
// source: "elm";
|
|
// action: STATE_SET "default" 0.0;
|
|
// target: "elm.text.content";
|
|
// target: "elm.text.box";
|
|
// }
|
|
// program { name: "units_hide";
|
|
// signal: "elm,state,units,hidden";
|
|
// source: "elm";
|
|
// action: STATE_SET "hidden" 0.0;
|
|
// target: "elm.text.content";
|
|
// target: "elm.text.box";
|
|
// }
|
|
// program { name: "slide_to_end";
|
|
// action: STATE_SET "state_end" 0.0;
|
|
// transition: LINEAR 0.5;
|
|
// target: "elm.progress.progressbar";
|
|
// after: "slide_to_begin";
|
|
// }
|
|
// program { name: "slide_to_begin";
|
|
// signal: "elm,state,slide,begin";
|
|
// action: STATE_SET "state_begin" 0.0;
|
|
// target: "elm.progress.progressbar";
|
|
// transition: LINEAR 0.5;
|
|
// after: "slide_to_end";
|
|
// }
|
|
program { name: "start_pulse";
|
|
signal: "elm,state,pulse,start";
|
|
source: "elm";
|
|
// after: "slide_to_end";
|
|
}
|
|
program { name: "stop_pulse";
|
|
signal: "elm,state,pulse,stop";
|
|
source: "elm";
|
|
action: ACTION_STOP;
|
|
// target: "slide_to_begin";
|
|
// target: "slide_to_end";
|
|
target: "start_pulse";
|
|
after: "state_pulse";
|
|
}
|
|
program { name: "state_pulse";
|
|
signal: "elm,state,pulse";
|
|
source: "elm";
|
|
action: STATE_SET "state_begin" 0.0;
|
|
target: "elm.progress.progressbar";
|
|
// after: "units_hide";
|
|
}
|
|
program { name: "state_fraction";
|
|
signal: "elm,state,fraction";
|
|
source: "elm";
|
|
action: ACTION_STOP;
|
|
// target: "slide_to_begin";
|
|
// target: "slide_to_end";
|
|
target: "start_pulse";
|
|
action: STATE_SET "default" 0.0;
|
|
target: "elm.progress.progressbar";
|
|
}
|
|
program { name: "set_invert_on";
|
|
signal: "elm,state,inverted,on";
|
|
source: "elm";
|
|
action: STATE_SET "invert" 0.0;
|
|
target: "elm.progress.progressbar";
|
|
}
|
|
program { name: "set_invert_off";
|
|
signal: "elm,state,inverted,off";
|
|
source: "elm";
|
|
action: STATE_SET "default" 0.0;
|
|
target: "elm.progress.progressbar";
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
group { "genlist_base"; inherit_only: 1; nomouse; program_source: "elm";
|
|
images.image: "bevel_curved_horiz_out.png" COMP;
|
|
images.image: "shadow_rounded_horiz.png" COMP;
|
|
images.image: "vgrad_med_dark.png" COMP;
|
|
images.image: "bevel_horiz_out.png" COMP;
|
|
target_group: "default" "elm.text" "label2" "label3";
|
|
parts {
|
|
rect { "event"; mouse;
|
|
desc { "default";
|
|
color: 0 0 0 0;
|
|
link.base: "elm,state,enabled";
|
|
}
|
|
desc { "disabled";
|
|
inherit: "default";
|
|
hid;
|
|
link.base: "elm,state,disabled";
|
|
}
|
|
}
|
|
rect { "base";
|
|
desc { "default";
|
|
color: 64 64 64 128;
|
|
color_class: "list_item_base";
|
|
link.base: "elm,state,even";
|
|
}
|
|
desc { "odd";
|
|
color: 56 56 56 128;
|
|
color_class: "list_item_base_odd";
|
|
link.base: "elm,state,odd";
|
|
}
|
|
}
|
|
image { "bevel";
|
|
desc { "default";
|
|
image.normal: "bevel_curved_horiz_out.png";
|
|
image.border: 0 0 2 2;
|
|
image.middle: 0;
|
|
fill.smooth: 0;
|
|
}
|
|
}
|
|
image { "sel_shadow";
|
|
desc { "default";
|
|
image.normal: "shadow_rounded_horiz.png";
|
|
image.border: 0 0 9 9;
|
|
rel1.offset: 0 -4;
|
|
rel2.offset: -1 5;
|
|
fill.smooth: 0;
|
|
link.base: "elm,state,unselected";
|
|
hid;
|
|
}
|
|
desc { "selected";
|
|
inherit: "default";
|
|
link.base: "elm,state,selected";
|
|
vis;
|
|
}
|
|
}
|
|
image { "sel_base";
|
|
desc { "default";
|
|
image.normal: "vgrad_med_dark.png";
|
|
fill.smooth: 0;
|
|
hid;
|
|
TILED_HORIZ(120)
|
|
link.base: "elm,state,unselected";
|
|
}
|
|
desc { "selected";
|
|
inherit: "default";
|
|
link.base: "elm,state,selected";
|
|
vis;
|
|
}
|
|
}
|
|
image { "sel_bevel";
|
|
desc { "default";
|
|
image.normal: "bevel_horiz_out.png";
|
|
image.border: 0 0 2 2;
|
|
image.middle: 0;
|
|
fill.smooth: 0;
|
|
link.base: "elm,state,unselected";
|
|
hid;
|
|
}
|
|
desc { "selected";
|
|
inherit: "default";
|
|
link.base: "elm,state,selected";
|
|
vis;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
group { "genlist_top"; inherit_only: 1; nomouse; program_source: "elm";
|
|
images.image: "shine.png" COMP;
|
|
parts {
|
|
image { "sel_shine";
|
|
desc { "default";
|
|
image.normal: "shine.png";
|
|
rel1.offset: 0 -2;
|
|
rel1.to: "sel_base";
|
|
rel2.relative: 1.0 0.0;
|
|
rel2.offset: -1 2;
|
|
rel2.to: "sel_base";
|
|
hid;
|
|
FIXED_SIZE(69, 5)
|
|
link.base: "elm,state,unselected";
|
|
}
|
|
desc { "selected";
|
|
inherit: "default";
|
|
vis;
|
|
link.base: "elm,state,selected";
|
|
}
|
|
}
|
|
rect { "event_block"; mouse;
|
|
desc { "default";
|
|
color: 0 0 0 0;
|
|
hid;
|
|
link.base: "elm,state,enabled";
|
|
}
|
|
desc { "disabled";
|
|
inherit: "default";
|
|
vis;
|
|
link.base: "elm,state,disabled";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
#define TREEPAD 19
|
|
|
|
|
|
group { "elm/genlist/item/torrent/default"; nomouse;
|
|
data.item: "selectraise" "on";
|
|
data.item: "focusraise" "on";
|
|
data.item: "texts" "elm.text elm.text.sub";
|
|
data.item: "contents" "elm.swallow.progress elm.swallow.icon elm.swallow.end";
|
|
data.item: "treesize" TREEPAD;
|
|
data.item: "flips" "elm.text.flip";
|
|
inherit: "genlist_base";
|
|
parts {
|
|
|
|
swallow { "elm.swallow.progress"; nomouse;
|
|
desc { "default";
|
|
fixed: 1 0;
|
|
align: 0.0 0.5;
|
|
//rel1.relative: 1.0 0.0;
|
|
//rel1.offset: -1 2;
|
|
//rel2.relative: 1.0 1.0;
|
|
//rel2.offset: -1 -3;
|
|
link.base: "elm,state,flip,disabled";
|
|
}
|
|
desc { "flip_enabled";
|
|
inherit: "default";
|
|
hid;
|
|
link.base: "elm,state,flip,enabled";
|
|
}
|
|
}
|
|
|
|
//##//
|
|
text { "elm.text";
|
|
effect: SHADOW BOTTOM;
|
|
scale;
|
|
desc { "default";
|
|
rel1.offset: 2 3;
|
|
rel1.relative: 1.0 0.0;
|
|
rel1.to_x: "elm.swallow.icon";
|
|
rel2.offset: -3 -3;
|
|
rel2.relative: 0.0 0.0;
|
|
rel2.to_x: "elm.swallow.end";
|
|
rel2.to_y: "elm.text.sub";
|
|
color: FN_COL_DEFAULT;
|
|
color_class: "list_item";
|
|
align: 0.0 0.0;
|
|
text { font: FN; size: 10;
|
|
min: 1 1;
|
|
ellipsis: -1;
|
|
align: 0.0 0.0;
|
|
text_class: "list_item";
|
|
}
|
|
}
|
|
desc { "selected";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
desc { "disabled";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
desc { "flip_enabled";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
}
|
|
text { "label2";
|
|
effect: SHADOW BOTTOM;
|
|
scale;
|
|
desc { "default";
|
|
rel1.to: "elm.text";
|
|
rel2.to: "elm.text";
|
|
color: FN_COL_DISABLE;
|
|
color_class: "list_item_disabled";
|
|
text { font: FN; size: 10;
|
|
text_source: "elm.text";
|
|
align: 0.0 0.5;
|
|
text_class: "list_item";
|
|
}
|
|
hid;
|
|
}
|
|
desc { "selected";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
desc { "disabled";
|
|
inherit: "default";
|
|
vis;
|
|
}
|
|
desc { "flip_enabled";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
}
|
|
text { "label3";
|
|
effect: GLOW;
|
|
scale;
|
|
desc { "default";
|
|
rel1.offset: -2 -3;
|
|
rel1.to: "elm.text";
|
|
rel2.offset: -1 1;
|
|
rel2.to: "elm.text";
|
|
color: FN_COL_HIGHLIGHT;
|
|
color_class: "list_item_selected";
|
|
text { font: FN; size: 10;
|
|
text_source: "elm.text";
|
|
align: 0.0 0.5;
|
|
text_class: "list_item";
|
|
}
|
|
hid;
|
|
}
|
|
desc { "selected";
|
|
inherit: "default";
|
|
vis;
|
|
}
|
|
desc { "disabled";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
desc { "flip_enabled";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
}
|
|
swallow { "elm.text.flip"; mouse;
|
|
scale;
|
|
desc { "default";
|
|
hid;
|
|
rel1.to_y: "elm.text";
|
|
rel2.to_y: "elm.text";
|
|
}
|
|
desc { "flip_enabled";
|
|
inherit: "default";
|
|
vis;
|
|
}
|
|
}
|
|
text { "elm.text.sub";
|
|
effect: SHADOW BOTTOM;
|
|
scale;
|
|
desc { "default";
|
|
fixed: 0 1;
|
|
rel1.offset: 2 -3;
|
|
rel1.relative: 1.0 1.0;
|
|
rel1.to_x: "elm.swallow.icon";
|
|
rel2.offset: -3 -3;
|
|
rel2.relative: 0.0 1.0;
|
|
rel2.to_x: "elm.swallow.end";
|
|
color: FN_COL_DEFAULT;
|
|
color_class: "list_item_sub";
|
|
align: 0.0 1.0;
|
|
text { font: FN; size: 8;
|
|
min: 1 1;
|
|
ellipsis: -1;
|
|
align: 0.0 1.0;
|
|
text_class: "list_item_sub";
|
|
}
|
|
}
|
|
desc { "selected";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
desc { "disabled";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
desc { "flip_enabled";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
}
|
|
text { "label4";
|
|
effect: SHADOW BOTTOM;
|
|
scale;
|
|
desc { "default";
|
|
rel1.to: "elm.text.sub";
|
|
rel2.to: "elm.text.sub";
|
|
color: FN_COL_DISABLE;
|
|
color_class: "list_item_sub_disabled";
|
|
text { font: FN; size: 8;
|
|
text_source: "elm.text.sub";
|
|
align: 0.0 1.0;
|
|
text_class: "list_item_sub";
|
|
}
|
|
hid;
|
|
}
|
|
desc { "selected";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
desc { "disabled";
|
|
inherit: "default";
|
|
vis;
|
|
}
|
|
desc { "flip_enabled";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
}
|
|
text { "label5";
|
|
effect: GLOW;
|
|
scale;
|
|
desc { "default";
|
|
rel1.offset: -2 -4;
|
|
rel1.to: "elm.text.sub";
|
|
rel2.offset: -1 0;
|
|
rel2.to: "elm.text.sub";
|
|
color: FN_COL_HIGHLIGHT;
|
|
color_class: "list_item_sub_selected";
|
|
text { font: FN; size: 8;
|
|
text_source: "elm.text.sub";
|
|
align: 0.0 1.0;
|
|
text_class: "list_item_sub";
|
|
}
|
|
hid;
|
|
}
|
|
desc { "selected";
|
|
inherit: "default";
|
|
vis;
|
|
}
|
|
desc { "disabled";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
desc { "flip_enabled";
|
|
inherit: "default";
|
|
hid;
|
|
}
|
|
}
|
|
target_group: "subgroup" "elm.text.sub" "label4" "label5";
|
|
program {
|
|
signal: "elm,state,selected";
|
|
action: STATE_SET "selected";
|
|
groups: "default" "subgroup";
|
|
}
|
|
program {
|
|
signal: "elm,state,unselected";
|
|
action: STATE_SET "default";
|
|
groups: "default" "subgroup";
|
|
}
|
|
program {
|
|
signal: "elm,state,disabled";
|
|
action: STATE_SET "disabled";
|
|
groups: "default" "subgroup";
|
|
}
|
|
program {
|
|
signal: "elm,state,enabled";
|
|
action: STATE_SET "default";
|
|
groups: "default" "subgroup";
|
|
}
|
|
program {
|
|
signal: "elm,state,flip,enabled";
|
|
action: STATE_SET "flip_enabled";
|
|
groups: "default" "subgroup";
|
|
target: "elm.text.flip";
|
|
}
|
|
program {
|
|
signal: "elm,state,flip,disabled";
|
|
action: STATE_SET "default";
|
|
groups: "default" "subgroup";
|
|
target: "elm.text.flip";
|
|
}
|
|
//##//
|
|
swallow { "elm.swallow.pad"; mouse;
|
|
desc { "default";
|
|
fixed: 1 0;
|
|
align: 0.0 0.5;
|
|
rel1.offset: 2 2;
|
|
rel2.relative: 0.0 1.0;
|
|
rel2.offset: 2 -3;
|
|
}
|
|
}
|
|
swallow { "elm.swallow.icon"; mouse;
|
|
desc { "default";
|
|
fixed: 1 0;
|
|
align: 0.0 0.5;
|
|
aspect: 1.0 1.0;
|
|
rel1.to_x: "elm.swallow.pad";
|
|
rel1.relative: 1.0 0.0;
|
|
rel1.offset: -1 2;
|
|
rel2.to_x: "elm.swallow.pad";
|
|
rel2.relative: 1.0 1.0;
|
|
rel2.offset: -1 -3;
|
|
link.base: "elm,state,flip,disabled";
|
|
}
|
|
desc { "flip_enabled";
|
|
inherit: "default";
|
|
hid;
|
|
link.base: "elm,state,flip,enabled";
|
|
}
|
|
}
|
|
swallow { "elm.swallow.end"; mouse;
|
|
desc { "default";
|
|
fixed: 1 0;
|
|
align: 1.0 0.5;
|
|
aspect: 1.0 1.0;
|
|
rel1.offset: -3 2;
|
|
rel1.relative: 1.0 0.0;
|
|
rel2.offset: -3 -3;
|
|
link.base: "elm,state,flip,disabled";
|
|
}
|
|
desc { "flip_enabled";
|
|
inherit: "default";
|
|
hid;
|
|
link.base: "elm,state,flip,enabled";
|
|
}
|
|
}
|
|
//##//
|
|
|
|
}
|
|
inherit: "genlist_top";
|
|
}
|
|
ODD("elm/genlist/item_odd/torrent/default", "elm/genlist/item/torrent/default")
|
|
COMPRESS_SUB("elm/genlist/item_compress/torrent/default", "elm/genlist/item/torrent/default")
|
|
COMPRESS_SUB_ODD("elm/genlist/item_compress_odd/torrent/default", "elm/genlist/item/torrent/default")
|
|
|
|
}
|
|
|