summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-26 17:56:43 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-26 17:57:02 +0000
commit0948b078e1789605c42746a024df6039bb566b45 (patch)
treee3e1a0dfe0cf748343b290f30ef85824993145c8 /src/Window.hpp
parent52c03569007f3df1a3fc740450db9b4b81d06ca7 (diff)
added border gradients
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp5
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;