From 0948b078e1789605c42746a024df6039bb566b45 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 26 Nov 2022 17:56:43 +0000 Subject: added border gradients --- src/Window.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Window.hpp') 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 +#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; -- cgit v1.2.3