Added SimpleUi class that inherits from Ui
This commit is contained in:
@@ -50,4 +50,15 @@ namespace OpenVulkano::Scene::UI
|
||||
|
||||
void Draw() override {}
|
||||
};
|
||||
|
||||
class SimpleUi : public Ui
|
||||
{
|
||||
public:
|
||||
void Init() override {}
|
||||
|
||||
void AddElement(const std::shared_ptr<UiElement>& element)
|
||||
{
|
||||
children.push_back(element);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user