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();
};

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