UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
module.h
Go to the documentation of this file.
1 #ifndef UGDK_GRAPHIC_MODULE_H_
2 #define UGDK_GRAPHIC_MODULE_H_
3 
4 #include <ugdk/graphic/manager.h>
5 
6 namespace ugdk {
7 namespace graphic {
8 
10 bool Initialize(Manager* manager, const std::weak_ptr<desktop::Window>&, const math::Vector2D& canvas_size);
11 
13 void Release();
14 
16 Manager* manager();
17 
18 } // namespace graphic
19 } // namespace ugdk
20 
21 #endif // UGDK_GRAPHIC_MODULE_H_
bool Initialize(Manager *manager, const std::weak_ptr< desktop::Window > &, const math::Vector2D &canvas_size)
Initializes the module with the given Manager.
Definition: animation.h:11
void Release()
Releases the module, disabling it.
Manager * manager()
Getter for the manager of the module.