2013-10-17 00:34:36 -07:00
|
|
|
group { name: "e/widgets/winlist/main";
|
|
|
|
parts {
|
|
|
|
part { name: "base"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 64 64 64 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.text.title"; type: TEXT; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 0.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 8 8;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -9 8;
|
2013-10-17 00:34:36 -07:00
|
|
|
align: 0.5 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 255 255 255 255;
|
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
text { font: FNBD; size: 10;
|
2014-03-05 02:19:44 -08:00
|
|
|
text_class: "winlist_title";
|
2013-10-17 00:34:36 -07:00
|
|
|
align: 0.5 0.0;
|
|
|
|
min: 0 1;
|
|
|
|
}
|
|
|
|
fixed: 0 1;
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.swallow.icon"; type: SWALLOW;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 0.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
FIXED_SIZE(80, 80)
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.relative: 0.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 8 8;
|
|
|
|
rel1.to_y: "e.text.title";
|
2013-10-17 00:34:36 -07:00
|
|
|
rel2.relative: 1.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -9 8;
|
|
|
|
rel2.to_y: "e.text.title";
|
|
|
|
offscale;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "win"; type: SPACER;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
|
|
|
rel.to: "e.swallow.icon";
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.offset: 8 0;
|
|
|
|
rel2.relative: 2.0 1.0;
|
|
|
|
FIXED_SIZE(80, 80)
|
|
|
|
offscale;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.swallow.win"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "win";
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
part { name: "e.text.label"; type: TEXT;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.relative: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 8 0;
|
|
|
|
rel1.to: "win";
|
|
|
|
rel2.offset: -9 -9;
|
|
|
|
rel2.to_y: "win";
|
2013-10-17 00:34:36 -07:00
|
|
|
align: 0.0 0.5;
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 160 160 160 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
text { font: FNBD; size: 10;
|
|
|
|
text_class: "winlist_label";
|
|
|
|
align: 0.0 0.5;
|
|
|
|
min: 0 1;
|
|
|
|
}
|
|
|
|
fixed: 0 1;
|
2021-03-27 08:02:13 -07:00
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "list_clip"; type: RECT;
|
2021-03-27 08:02:13 -07:00
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
rel1.relative: 0.0 1.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 0 8;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.to_y: "e.swallow.icon";
|
2021-03-27 08:02:13 -07:00
|
|
|
rel2.offset: -1 -9;
|
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.swallow.list"; type: SWALLOW;
|
|
|
|
clip_to: "list_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to_y: "list_clip";
|
|
|
|
rel2.to_y: "list_clip";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "e/widgets/winlist/item";
|
|
|
|
parts {
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "sel_base"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 40 40 40 255;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.offset: 8 8;
|
2013-10-17 00:34:36 -07:00
|
|
|
rel1.relative: 1.0 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.to_x: "win";
|
|
|
|
rel2.offset: -9 -9;
|
|
|
|
color: 160 160 160 255;
|
|
|
|
offscale;
|
|
|
|
min: 0 40;
|
2013-10-17 00:34:36 -07:00
|
|
|
text { font: FN; size: 10;
|
|
|
|
min: 0 1;
|
|
|
|
align: 0.0 0.5;
|
2014-03-05 02:19:44 -08:00
|
|
|
text_class: "winlist_item";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
description { state: "iconified" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 96 96 96 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "icon"; type: SPACER;
|
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
align: 0.0 0.5;
|
|
|
|
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
|
|
|
rel1.offset: 8 8;
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
rel2.offset: 8 -9;
|
|
|
|
FIXED_SIZE(40, 40)
|
|
|
|
offscale;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "win"; type: SPACER;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
aspect: 1.0 1.0; aspect_preference: VERTICAL;
|
|
|
|
rel.to: "icon";
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.offset: 8 0;
|
|
|
|
rel2.relative: 2.0 1.0;
|
|
|
|
FIXED_SIZE(40, 40)
|
|
|
|
offscale;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "icon";
|
|
|
|
}
|
|
|
|
description { state: "iconified" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel1.relative: 0.25 0.25;
|
|
|
|
rel2.relative: 0.75 0.75;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.swallow.win"; type: SWALLOW; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "win";
|
|
|
|
}
|
|
|
|
description { state: "iconified" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel1.relative: 0.25 0.25;
|
|
|
|
rel2.relative: 0.75 0.75;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "label"; type: TEXT; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "e.text.label";
|
|
|
|
color: 255 255 255 255;
|
|
|
|
text { font: FN; size: 10;
|
|
|
|
text_source: "e.text.label";
|
|
|
|
align: 0.0 0.5;
|
|
|
|
text_class: "winlist_item_active";
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "event"; type: RECT;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
description { state: "iconified" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program { signal: "e,state,selected"; source: "e";
|
|
|
|
action: STATE_SET "selected" 0.0;
|
|
|
|
target: "sel_base";
|
|
|
|
target: "label";
|
|
|
|
}
|
|
|
|
program { signal: "e,state,unselected"; source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "sel_base";
|
|
|
|
target: "label";
|
|
|
|
}
|
|
|
|
program { signal: "e,state,iconified"; source: "e";
|
|
|
|
action: STATE_SET "iconified" 0.0;
|
|
|
|
target: "e.swallow.icon";
|
|
|
|
target: "e.text.label";
|
|
|
|
}
|
|
|
|
program { signal: "e,state,invisible"; source: "e";
|
|
|
|
action: STATE_SET "iconified" 0.0;
|
|
|
|
target: "e.swallow.icon";
|
|
|
|
target: "e.text.label";
|
|
|
|
}
|
|
|
|
// program {
|
|
|
|
// signal: "e,state,shaded"; source: "e";
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
group { name: "e/widgets/winlist/large/bg";
|
|
|
|
alias: "e/widgets/winlist/bg";
|
|
|
|
// disable blur and the circular shadow - they are pricey - esp blur by far
|
|
|
|
// on older gpu's.... whilst it looks nice, it just is too costly. keep here
|
|
|
|
// for information so can turn on maybe with ifdefs and alternate build that
|
|
|
|
// turnns on costly expensive things like this
|
|
|
|
// images.image: "screen_circular_shadow.png" COMP;
|
|
|
|
parts {
|
|
|
|
part { name: "bg_clip"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
2013-10-17 00:34:36 -07:00
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 255 255 255 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
/*
|
|
|
|
snapshot { "bg_blur";
|
|
|
|
clip_to: "bg_clip";
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
filter.code: "padding_set { 0 } blur { state.pos * 50, color = '#ffff' }";
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
desc { state: "visible" 0.0;
|
2013-10-17 00:34:36 -07:00
|
|
|
inherit: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
filter.code: "padding_set { 0 } blur { (1.0 - state.pos) * 50, color = '#ffff' }";
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
*/
|
|
|
|
part { name: "bg_darken"; type: RECT;
|
|
|
|
clip_to: "bg_clip";
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
color: 0 0 0 192;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
/*
|
|
|
|
part { name: "shadow"; mouse_events: 0;
|
|
|
|
clip_to: "bg_clip";
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.relative: -1.0 -1.0;
|
|
|
|
rel2.relative: 2.0 2.0;
|
|
|
|
image.normal: "screen_circular_shadow.png";
|
|
|
|
fill.smooth: 0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit;
|
|
|
|
rel1.relative: 0.0 0.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program { signal: "e,state,visible,on"; source: "e";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1 CURRENT;
|
|
|
|
target: "bg_clip";
|
|
|
|
// target: "bg_blur";
|
|
|
|
// target: "shadow";
|
|
|
|
after: "show2";
|
|
|
|
}
|
|
|
|
program { name: "show2";
|
|
|
|
action: SIGNAL_EMIT "e,action,show,done" "e";
|
|
|
|
}
|
|
|
|
program { signal: "e,state,visible,off"; source: "e";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: ACCELERATE 0.2 USE_DURATION_FACTOR 1 CURRENT;
|
|
|
|
target: "bg_clip";
|
|
|
|
// target: "bg_blur";
|
|
|
|
// target: "shadow";
|
|
|
|
after: "hide2";
|
|
|
|
}
|
|
|
|
program { name: "hide2";
|
|
|
|
action: SIGNAL_EMIT "e,action,hide,done" "e";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "e/widgets/winlist/large/fg";
|
|
|
|
alias: "e/widgets/winlist/fg";
|
|
|
|
parts {
|
|
|
|
part { name: "fg_darken"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 0;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program { signal: "e,state,visible,on"; source: "e";
|
|
|
|
action: SIGNAL_EMIT "e,action,show,done" "e";
|
|
|
|
}
|
|
|
|
program { signal: "e,state,visible,off"; source: "e";
|
|
|
|
action: SIGNAL_EMIT "e,action,hide,done" "e";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "e/widgets/winlist/large";
|
|
|
|
data.item: "noshadow" "1";
|
|
|
|
parts {
|
|
|
|
part { name: "list_clip"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.swallow.list"; type: SWALLOW;
|
|
|
|
clip_to: "list_clip";
|
2013-10-17 00:34:36 -07:00
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "list_clip";
|
|
|
|
rel1.offset: 8 8;
|
|
|
|
rel2.offset: -9 -9;
|
|
|
|
offscale;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "e/widgets/winlist/item_large";
|
|
|
|
parts {
|
|
|
|
part { name: "sel_base"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 51 153 255 255;
|
2013-10-17 00:34:36 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
part { name: "icon"; type: SPACER;
|
|
|
|
scale: 1;
|
2013-10-17 00:34:36 -07:00
|
|
|
description { state: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel.to: "e.swallow.win";
|
|
|
|
align: 1.0 1.0;
|
|
|
|
rel1.offset: 8 8;
|
|
|
|
rel2.offset: -9 -9;
|
|
|
|
min: 40 40;
|
|
|
|
max: 40 40;
|
|
|
|
offscale;
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
}
|
|
|
|
part { name: "e.swallow.win"; type: SWALLOW; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.offset: 16 16;
|
|
|
|
rel2.offset: -17 -17;
|
|
|
|
}
|
|
|
|
description { state: "iconified" 0.0;
|
2013-10-17 00:34:36 -07:00
|
|
|
inherit: "default" 0.0;
|
2021-03-27 08:02:13 -07:00
|
|
|
rel1.relative: 0.25 0.25;
|
|
|
|
rel2.relative: 0.75 0.75;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "icon";
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
description { state: "iconified" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel1.relative: 0.25 0.25;
|
|
|
|
rel2.relative: 0.75 0.75;
|
|
|
|
}
|
2013-10-17 00:34:36 -07:00
|
|
|
}
|
|
|
|
part { name: "event"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
description { state: "iconified" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "e,state,selected"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "selected" 0.0;
|
|
|
|
target: "sel_base";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "e,state,unselected"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "sel_base";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "e,state,iconified"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "iconified" 0.0;
|
|
|
|
target: "e.swallow.icon";
|
|
|
|
}
|
2021-03-27 08:02:13 -07:00
|
|
|
program { signal: "e,state,invisible"; source: "e";
|
2013-10-17 00:34:36 -07:00
|
|
|
action: STATE_SET "iconified" 0.0;
|
|
|
|
target: "e.swallow.icon";
|
|
|
|
}
|
|
|
|
// program {
|
|
|
|
// signal: "e,state,shaded"; source: "e";
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
}
|