summaryrefslogtreecommitdiff
path: root/src/managers/AnimationManager.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2024-04-07 03:31:51 +0100
committerGitHub <noreply@github.com>2024-04-07 03:31:51 +0100
commitf2a848cbcc41f29fb62ee67aef95136ae1a650da (patch)
tree6af50d58aa94fbb48880694a76f6edb79fa370ed /src/managers/AnimationManager.hpp
parent9f1604e4b0afec40cfa9bc095d6613a7f749b2c1 (diff)
core: Event loop rework (#5466)
* Event loop rework * revert missed
Diffstat (limited to 'src/managers/AnimationManager.hpp')
-rw-r--r--src/managers/AnimationManager.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/managers/AnimationManager.hpp b/src/managers/AnimationManager.hpp
index 483c9813..23729502 100644
--- a/src/managers/AnimationManager.hpp
+++ b/src/managers/AnimationManager.hpp
@@ -6,6 +6,7 @@
#include "../helpers/AnimatedVariable.hpp"
#include "../helpers/BezierCurve.hpp"
#include "../helpers/Timer.hpp"
+#include "eventLoop/EventLoopTimer.hpp"
class CWindow;
@@ -32,7 +33,7 @@ class CAnimationManager {
std::vector<CBaseAnimatedVariable*> m_vAnimatedVariables;
std::vector<CBaseAnimatedVariable*> m_vActiveAnimatedVariables;
- wl_event_source* m_pAnimationTick;
+ std::shared_ptr<CEventLoopTimer> m_pAnimationTimer;
float m_fLastTickTime; // in ms