mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
frontend/gui refactor
This commit is contained in:
parent
8c722b146e
commit
1ba563d42a
13 changed files with 207 additions and 148 deletions
|
|
@ -26,7 +26,7 @@ GUI::GUI() {
|
|||
uicamera->perspective = false;
|
||||
uicamera->flipped = true;
|
||||
|
||||
menu = new PagesControl();
|
||||
menu = std::make_shared<PagesControl>();
|
||||
container->add(menu);
|
||||
container->scrollable(false);
|
||||
}
|
||||
|
|
@ -36,7 +36,7 @@ GUI::~GUI() {
|
|||
delete container;
|
||||
}
|
||||
|
||||
PagesControl* GUI::getMenu() {
|
||||
std::shared_ptr<PagesControl> GUI::getMenu() {
|
||||
return menu;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue