aboutsummaryrefslogtreecommitdiff
path: root/CruUI/application.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-09-18 01:38:02 +0800
committercrupest <crupest@outlook.com>2018-09-18 01:38:02 +0800
commit4710715102df3806479985679bd8048631ccaab5 (patch)
tree0f18f3c1d278aace11521a93abad97c97eb4ae54 /CruUI/application.h
parent94c066a34900845297c41c134a9a910124a5833d (diff)
downloadcru-4710715102df3806479985679bd8048631ccaab5.tar.gz
cru-4710715102df3806479985679bd8048631ccaab5.tar.bz2
cru-4710715102df3806479985679bd8048631ccaab5.zip
I think I can't sleep well after this commit.
Still a lot of bugs!!!
Diffstat (limited to 'CruUI/application.h')
-rw-r--r--CruUI/application.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/CruUI/application.h b/CruUI/application.h
index fe0d431c..a0229bfa 100644
--- a/CruUI/application.h
+++ b/CruUI/application.h
@@ -14,6 +14,11 @@ namespace cru
{
class WindowClass;
class WindowManager;
+
+ namespace animations
+ {
+ class AnimationManager;
+ }
}
namespace graph
@@ -81,6 +86,11 @@ namespace cru
return timer_manager_.get();
}
+ ui::animations::AnimationManager* GetAnimationManager() const
+ {
+ return animation_manager_.get();
+ }
+
HINSTANCE GetInstanceHandle() const
{
return h_instance_;
@@ -97,6 +107,7 @@ namespace cru
std::unique_ptr<ui::WindowManager> window_manager_;
std::unique_ptr<graph::GraphManager> graph_manager_;
std::unique_ptr<TimerManager> timer_manager_;
+ std::unique_ptr<ui::animations::AnimationManager> animation_manager_;
std::unique_ptr<GodWindow> god_window_;
};