diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-28 18:28:55 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-28 18:28:55 +0200 |
| commit | 15553804d644fd66c52d270c729c5250b06ee9e4 (patch) | |
| tree | 327b55e0931e3f078d304fe957c82f8ecbc7f616 /src/managers/AnimationManager.hpp | |
| parent | 7f1f14fe85f53fcf12849632d3f003f00cca7578 (diff) | |
Added closing animations (reverse of open)
Diffstat (limited to 'src/managers/AnimationManager.hpp')
| -rw-r--r-- | src/managers/AnimationManager.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/managers/AnimationManager.hpp b/src/managers/AnimationManager.hpp index ef554171..bfcd5d69 100644 --- a/src/managers/AnimationManager.hpp +++ b/src/managers/AnimationManager.hpp @@ -16,7 +16,7 @@ public: void addBezierWithName(std::string, const Vector2D&, const Vector2D&); void removeAllBeziers(); - void onWindowPostCreate(CWindow*); + void onWindowPostCreateClose(CWindow*, bool close = false); std::list<CAnimatedVariable*> m_lAnimatedVariables; @@ -31,8 +31,8 @@ private: std::unordered_map<std::string, CBezierCurve> m_mBezierCurves; // Anim stuff - void animationPopin(CWindow*); - void animationSlide(CWindow*, std::string force = ""); + void animationPopin(CWindow*, bool close = false); + void animationSlide(CWindow*, std::string force = "", bool close = false); }; inline std::unique_ptr<CAnimationManager> g_pAnimationManager;
\ No newline at end of file |
