TH - no blue in winlist - too costly on older systems

This commit is contained in:
Carsten Haitzler 2020-11-28 12:20:26 +00:00
parent 3ef4a038b8
commit 3e4179c321
1 changed files with 13 additions and 5 deletions

View File

@ -232,7 +232,11 @@ group { name: "e/widgets/winlist/item";
group { name: "e/widgets/winlist/large/bg";
alias: "e/widgets/winlist/bg";
images.image: "screen_circular_shadow.png" COMP;
// disable blue 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;
@ -245,6 +249,7 @@ group { name: "e/widgets/winlist/large/bg";
color: 255 255 255 255;
}
}
/*
snapshot { "bg_blur";
clip_to: "bg_clip";
description { state: "default" 0.0;
@ -257,12 +262,14 @@ group { name: "e/widgets/winlist/large/bg";
visible: 1;
}
}
*/
part { name: "bg_darken"; type: RECT;
clip_to: "bg_clip";
description { state: "default" 0.0;
color: 0 0 0 128;
}
}
/*
part { name: "shadow"; mouse_events: 0;
clip_to: "bg_clip";
description { state: "default" 0.0;
@ -281,14 +288,15 @@ group { name: "e/widgets/winlist/large/bg";
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;
target: "bg_clip";
target: "bg_blur";
target: "shadow";
// target: "bg_blur";
// target: "shadow";
after: "show2";
}
program { name: "show2";
@ -298,8 +306,8 @@ group { name: "e/widgets/winlist/large/bg";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 0.2 USE_DURATION_FACTOR 1;
target: "bg_clip";
target: "bg_blur";
target: "shadow";
// target: "bg_blur";
// target: "shadow";
after: "hide2";
}
program { name: "hide2";