class EE::UI::UIApplication¶
Overview¶
#include <uiapplication.hpp> class UIApplication { public: // structs struct Settings; // construction UIApplication(const WindowSettings& windowSettings, const Settings& appSettings = Settings(), const ContextSettings& contextSettings = ContextSettings()); virtual ~UIApplication(); // methods EE::Window::Window* getWindow() const; UISceneNode* getUI() const; int run(); void setShowMemoryManagerResult(bool show); bool showMemoryManagerResult() const; };
Detailed Documentation¶
Construction¶
virtual ~UIApplication()
All resources allocated by the library will be safetely released.
Methods¶
EE::Window::Window* getWindow() const
The main window.
UISceneNode* getUI() const
The UI scene node, this node handles the whole UI. This is the equivalent to the HTML DOM Document
int run()
Runs the application until window is closed
Returns:
EXIT_SUCCESS if application run successfully
void setShowMemoryManagerResult(bool show)
Set if the application must show the memory manager result after closing the main window.