diff options
author | vaxerski <[email protected]> | 2023-08-07 13:35:19 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-08-07 13:36:14 +0200 |
commit | 261c3307f70d14e5bbc7d4113b4ee6dac9e4b627 (patch) | |
tree | 4e1f5aa70bd571c4f5bc90724f2de2c7b566ddbe /src/helpers/AnimatedVariable.hpp | |
parent | 6e53c47e68c1d15032b755270568eb5485f2c684 (diff) | |
download | Hyprland-261c3307f70d14e5bbc7d4113b4ee6dac9e4b627.tar.gz Hyprland-261c3307f70d14e5bbc7d4113b4ee6dac9e4b627.zip |
internal: cleanup headers in helpers/
Diffstat (limited to 'src/helpers/AnimatedVariable.hpp')
-rw-r--r-- | src/helpers/AnimatedVariable.hpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/helpers/AnimatedVariable.hpp b/src/helpers/AnimatedVariable.hpp index d234dce2..e8bb2774 100644 --- a/src/helpers/AnimatedVariable.hpp +++ b/src/helpers/AnimatedVariable.hpp @@ -1,18 +1,20 @@ #pragma once -#include "../defines.hpp" +#include <functional> #include <any> +#include <chrono> +#include "Vector2D.hpp" +#include "Color.hpp" +#include "../macros.hpp" -enum ANIMATEDVARTYPE -{ +enum ANIMATEDVARTYPE { AVARTYPE_INVALID = -1, AVARTYPE_FLOAT, AVARTYPE_VECTOR, AVARTYPE_COLOR }; -enum AVARDAMAGEPOLICY -{ +enum AVARDAMAGEPOLICY { AVARDAMAGE_NONE = -1, AVARDAMAGE_ENTIRE = 0, AVARDAMAGE_BORDER, @@ -32,10 +34,10 @@ class CAnimatedVariable { void create(ANIMATEDVARTYPE, SAnimationPropertyConfig*, void* pWindow, AVARDAMAGEPOLICY); void create(ANIMATEDVARTYPE, std::any val, SAnimationPropertyConfig*, void* pWindow, AVARDAMAGEPOLICY); - CAnimatedVariable(const CAnimatedVariable&) = delete; - CAnimatedVariable(CAnimatedVariable&&) = delete; + CAnimatedVariable(const CAnimatedVariable&) = delete; + CAnimatedVariable(CAnimatedVariable&&) = delete; CAnimatedVariable& operator=(const CAnimatedVariable&) = delete; - CAnimatedVariable& operator=(CAnimatedVariable&&) = delete; + CAnimatedVariable& operator=(CAnimatedVariable&&) = delete; ~CAnimatedVariable(); |