diff options
| author | François Conzelmann <45296195+zephvr@users.noreply.github.com> | 2023-12-06 23:54:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-06 22:54:56 +0000 |
| commit | 4a42344e9748d2b44c55798ddc3fa41448533c4e (patch) | |
| tree | f8a06c575a650be05d629555f4e127115dffe470 /src/helpers/AnimatedVariable.hpp | |
| parent | 5489f9f07a73c6b5b97702731a5092463a01fb5b (diff) | |
style/ci: apply clang-format and verify it in ci (#4039)
* style: apply clang-format
* ci: add new clang-format job to CI
Diffstat (limited to 'src/helpers/AnimatedVariable.hpp')
| -rw-r--r-- | src/helpers/AnimatedVariable.hpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/helpers/AnimatedVariable.hpp b/src/helpers/AnimatedVariable.hpp index 059e892d..d87273b3 100644 --- a/src/helpers/AnimatedVariable.hpp +++ b/src/helpers/AnimatedVariable.hpp @@ -8,16 +8,14 @@ #include "../macros.hpp" #include "../debug/Log.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, @@ -37,10 +35,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(); |
