Manages all UI panels in the editor. More...
#include <UI.h>
Public Member Functions | |
void | AddPanel (std::unique_ptr< Panel > panel) |
Adds a new panel to the UI. | |
void | Draw () |
Renders all panels. | |
Manages all UI panels in the editor.
The UI class handles the collection and rendering of all editor panels. It maintains ownership of panels through unique pointers and provides methods to add new panels and draw all panels to the screen.
void Editor::UI::AddPanel | ( | std::unique_ptr< Panel > | panel | ) |
void Editor::UI::Draw | ( | ) |
Renders all panels.
Iterates through all panels and calls their respective draw methods to render them to the screen.