Voltray Engine Docs
Loading...
Searching...
No Matches
UI.h
Go to the documentation of this file.
1#pragma once
2#include <vector>
3#include <memory>
4#include "UI/Panel.h"
5
14namespace Editor
15{
24 class UI
25 {
26 public:
34 void AddPanel(std::unique_ptr<Panel> panel);
35
42 void Draw();
43
44 private:
45 std::vector<std::unique_ptr<Panel>> panels;
46 };
47}
Manages all UI panels in the editor.
Definition UI.h:25
void Draw()
Renders all panels.
Definition UI.cpp:11
void AddPanel(std::unique_ptr< Panel > panel)
Adds a new panel to the UI.
Definition UI.cpp:6
Definition AssetsPanel.cpp:7