mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
frontend/gui refactor
This commit is contained in:
parent
8c722b146e
commit
1ba563d42a
13 changed files with 207 additions and 148 deletions
|
|
@ -108,10 +108,6 @@ void Container::add(std::shared_ptr<UINode> node) {
|
|||
refresh();
|
||||
}
|
||||
|
||||
void Container::add(UINode* node) {
|
||||
add(std::shared_ptr<UINode>(node));
|
||||
}
|
||||
|
||||
void Container::add(std::shared_ptr<UINode> node, glm::vec2 coord) {
|
||||
node->setCoord(coord);
|
||||
add(node);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue