raster pushed a commit to branch feature/themes/flat. http://git.enlightenment.org/core/efl.git/commit/?id=41585834b7f292db85ce0cb60313015e58c32131
commit 41585834b7f292db85ce0cb60313015e58c32131 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Wed Jul 8 12:21:24 2020 +0100 TH - ibox preview add --- data/elementary/themes/edc/ibar-ibox.edc | 40 ++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/data/elementary/themes/edc/ibar-ibox.edc b/data/elementary/themes/edc/ibar-ibox.edc index 3072579317..941223f62c 100644 --- a/data/elementary/themes/edc/ibar-ibox.edc +++ b/data/elementary/themes/edc/ibar-ibox.edc @@ -68,6 +68,28 @@ group { name: "e/modules/ibox/icon"; rel2.relative: 1.0 0.85; } } + part { name: "e.swallow.preview"; type: SWALLOW; + scale: 1; + clip_to: "item_clip"; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + rel1.relative: 0.1 0.1; + rel2.relative: 0.9 0.9; + align: 0.5 0.5; + offscale; + } + description { state: "bounce1" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.15; + rel2.relative: 1.0 1.15; + } + description { state: "bounce2" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 -0.15; + rel2.relative: 1.0 0.85; + } + } part { name: "clip"; type: RECT; mouse_events: 0; description { state: "default" 0.0; } @@ -237,24 +259,28 @@ group { name: "e/modules/ibox/icon"; signal: "e,state,urgent"; source: "e"; action: STATE_SET "bounce1" 0.0; target: "e.swallow.content"; + target: "e.swallow.preview"; after: "urg1"; } program { name: "urg1"; action: STATE_SET "bounce2" 0.0; transition: DECELERATE 0.2; target: "e.swallow.content"; + target: "e.swallow.preview"; after: "urg2"; } program { name: "urg2"; action: STATE_SET "bounce1" 0.0; transition: ACCELERATE 0.2; target: "e.swallow.content"; + target: "e.swallow.preview"; after: "urg1"; } program { signal: "e,state,not_urgent"; source: "e"; action: STATE_SET "default" 0.0; target: "e.swallow.content"; + target: "e.swallow.preview"; } } } @@ -344,13 +370,17 @@ group { name: "e/modules/ibox/icon_overlay"; } part { name: "e.swallow.content"; type: SWALLOW; clip_to: "background"; - description { - state: "default" 0.0; - rel1.to: "background"; - rel2.to: "background"; + description { state: "default" 0.0; + rel.to: "background"; + } + } + part { name: "e.swallow.preview"; type: SWALLOW; + clip_to: "background"; + description { state: "default" 0.0; + rel.to: "background"; } } - text { name: "spacer"; scale: 1; + text { name: "spacer"; scale: 1; desc { color: 0 0 0 0; rel1.relative: 1 0; --
