From 32d56fec977b109aeecb06288a1b45cfe6b83117 Mon Sep 17 00:00:00 2001 From: ozwaldorf Date: Wed, 1 Feb 2023 16:06:01 -0500 Subject: feat: border angle animations (#1469) Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com> --- src/Window.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Window.hpp') diff --git a/src/Window.hpp b/src/Window.hpp index 8e24bfc9..04be3a27 100644 --- a/src/Window.hpp +++ b/src/Window.hpp @@ -220,7 +220,8 @@ class CWindow { // Animated border CGradientValueData m_cRealBorderColor = {0}; CGradientValueData m_cRealBorderColorPrevious = {0}; - CAnimatedVariable m_fBorderAnimationProgress; + CAnimatedVariable m_fBorderFadeAnimationProgress; + CAnimatedVariable m_fBorderAngleAnimationProgress; // Fade in-out CAnimatedVariable m_fAlpha; @@ -296,6 +297,7 @@ class CWindow { bool isHidden(); void applyDynamicRule(const SWindowRule& r); void updateDynamicRules(); + void onBorderAngleAnimEnd(void* ptr); private: // For hidden windows and stuff -- cgit v1.2.3