diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-11-26 17:56:43 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-11-26 17:57:02 +0000 |
| commit | 0948b078e1789605c42746a024df6039bb566b45 (patch) | |
| tree | e3e1a0dfe0cf748343b290f30ef85824993145c8 /src/Window.hpp | |
| parent | 52c03569007f3df1a3fc740450db9b4b81d06ca7 (diff) | |
added border gradients
Diffstat (limited to 'src/Window.hpp')
| -rw-r--r-- | src/Window.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Window.hpp b/src/Window.hpp index 09ad5f48..5aab6db8 100644 --- a/src/Window.hpp +++ b/src/Window.hpp @@ -6,6 +6,7 @@ #include "helpers/AnimatedVariable.hpp" #include "render/decorations/IHyprWindowDecoration.hpp" #include <deque> +#include "config/ConfigDataValues.hpp" enum eIdleInhibitMode { IDLEINHIBIT_NONE = 0, @@ -136,7 +137,9 @@ public: SSurfaceTreeNode* m_pSurfaceTree = nullptr; // Animated border - CAnimatedVariable m_cRealBorderColor; + CGradientValueData m_cRealBorderColor = {0}; + CGradientValueData m_cRealBorderColorPrevious = {0}; + CAnimatedVariable m_fBorderAnimationProgress; // Fade in-out CAnimatedVariable m_fAlpha; |
