mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21: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
|
|
@ -59,13 +59,13 @@ namespace gui {
|
|||
std::unordered_map<std::string, std::shared_ptr<UINode>> storage;
|
||||
|
||||
Camera* uicamera;
|
||||
PagesControl* menu;
|
||||
std::shared_ptr<PagesControl> menu;
|
||||
void actMouse(float delta);
|
||||
public:
|
||||
GUI();
|
||||
~GUI();
|
||||
|
||||
PagesControl* getMenu();
|
||||
std::shared_ptr<PagesControl> getMenu();
|
||||
|
||||
std::shared_ptr<UINode> getFocused() const;
|
||||
bool isFocusCaught() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue