From f2a848cbcc41f29fb62ee67aef95136ae1a650da Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sun, 7 Apr 2024 03:31:51 +0100 Subject: core: Event loop rework (#5466) * Event loop rework * revert missed --- src/managers/AnimationManager.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/managers/AnimationManager.hpp') 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 m_vAnimatedVariables; std::vector m_vActiveAnimatedVariables; - wl_event_source* m_pAnimationTick; + std::shared_ptr m_pAnimationTimer; float m_fLastTickTime; // in ms -- cgit v1.2.3