This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit 58010f08806e23b74e95d63221b9b15cc8bd3977
Author: Carsten Haitzler <[email protected]>
AuthorDate: Wed Jan 18 11:16:45 2023 +0000
theme - new experiment - change zoom + wobble with zooming blue box
---
data/elementary/themes/edc/comp.edc | 72 ++++++++++++++++++++++++++++++-------
1 file changed, 60 insertions(+), 12 deletions(-)
diff --git a/data/elementary/themes/edc/comp.edc b/data/elementary/themes/edc/comp.edc
index 3e57c8d19f..f7ea59437f 100644
--- a/data/elementary/themes/edc/comp.edc
+++ b/data/elementary/themes/edc/comp.edc
@@ -267,18 +267,66 @@ group { name: "e/comp/frame/default";
color_class: "/bg/selected/comp/win";
}
}
- part { name: "e.swallow.content"; type: SWALLOW;
- clip_to: "focus-clipper";
+#define FOCUSGLOWSZ 20
+ part { name: "focusglow"; type: RECT;
description { state: "default" 0.0;
- rel.to: "shower";
- }
+ rel.to: "e.swallow.content";
+ }
description { state: "active" 0.0;
inherit: "default" 0.0;
offscale;
- rel1.offset: -5 -5;
- rel2.offset: 4 4;
+ rel1.offset: (0-FOCUSGLOWSZ) (0-FOCUSGLOWSZ);
+ rel2.offset: (FOCUSGLOWSZ-1) (FOCUSGLOWSZ-1);
+ color: 255 255 255 0; // no cc
+ }
+ }
+ part { name: "focusglow1"; type: RECT;
+ description { state: "default" 0.0;
+ clip_to: "focusglow";
+ offscale;
+ rel2.relative: 1.0 0.0;
+ rel1.offset: (0-FOCUSGLOWSZ) (0-FOCUSGLOWSZ);
+ rel2.offset: (FOCUSGLOWSZ-1) -1;
+ color_class: "/bg/selected/comp/focusglow";
}
}
+ part { name: "focusglow2"; type: RECT;
+ description { state: "default" 0.0;
+ clip_to: "focusglow";
+ offscale;
+ rel1.relative: 0.0 1.0;
+ rel1.offset: (0-FOCUSGLOWSZ) 0;
+ rel2.offset: (FOCUSGLOWSZ-1) (FOCUSGLOWSZ-1);
+ color_class: "/bg/selected/comp/focusglow";
+ }
+ }
+ part { name: "focusglow3"; type: RECT;
+ description { state: "default" 0.0;
+ clip_to: "focusglow";
+ offscale;
+ rel2.relative: 0.0 1.0;
+ rel1.offset: (0-FOCUSGLOWSZ) 0;
+ rel2.offset: -1 -1;
+ color_class: "/bg/selected/comp/focusglow";
+ }
+ }
+ part { name: "focusglow4"; type: RECT;
+ description { state: "default" 0.0;
+ clip_to: "focusglow";
+ offscale;
+ rel1.relative: 1.0 0.0;
+ rel1.offset: 0 0;
+ rel2.offset: (FOCUSGLOWSZ-1) -1;
+ color_class: "/bg/selected/comp/focusglow";
+ }
+ }
+#undef FOCUSGLOWSZ
+ part { name: "e.swallow.content"; type: SWALLOW;
+ clip_to: "focus-clipper";
+ description { state: "default" 0.0;
+ rel.to: "shower";
+ }
+ }
spacer { "gspacer";
desc {
rel.to: "e.swallow.content";
@@ -334,18 +382,18 @@ group { name: "e/comp/frame/default";
}
program { name: "focusbounce";
signal: "e,state,focused"; source: "e";
- action: STATE_SET "active" 0.0;
- target: "e.swallow.content";
+ action: STATE_SET "default" 0.0;
+ target: "focusglow";
sequence {
- action: STATE_SET "default" 0.0;
- target: "e.swallow.content";
- transition: SPRING 0.3 0.2 3 USE_DURATION_FACTOR 1;
+ action: STATE_SET "active" 0.0;
+ target: "focusglow";
+ transition: DECELERATE 0.3 USE_DURATION_FACTOR 1;
}
}
program { name: "focusbounceoff";
signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
- target: "e.swallow.content";
+ target: "focusglow";
}
/*
program { name: "urgent1";
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.