diff options
| author | ozwaldorf <self@ossian.dev> | 2023-02-01 16:06:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-01 21:06:01 +0000 |
| commit | 32d56fec977b109aeecb06288a1b45cfe6b83117 (patch) | |
| tree | 3ac9a6c1f096277cab5675fe47658b6317b45947 /src/Window.hpp | |
| parent | 1a41f729a38a57c7e925237efdeeaad1df14020e (diff) | |
feat: border angle animations (#1469)
Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
Diffstat (limited to 'src/Window.hpp')
| -rw-r--r-- | src/Window.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
