mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
Menu-related panels creation moved to frontend/menu module
This commit is contained in:
parent
c712c2239f
commit
926fcb1f79
7 changed files with 51 additions and 297 deletions
|
|
@ -46,6 +46,7 @@ class Camera;
|
|||
namespace gui {
|
||||
class UINode;
|
||||
class Container;
|
||||
class PagesControl;
|
||||
|
||||
class GUI {
|
||||
Container* container;
|
||||
|
|
@ -55,10 +56,13 @@ namespace gui {
|
|||
std::unordered_map<std::string, std::shared_ptr<UINode>> storage;
|
||||
|
||||
Camera* uicamera;
|
||||
PagesControl* menu;
|
||||
public:
|
||||
GUI();
|
||||
~GUI();
|
||||
|
||||
PagesControl* getMenu();
|
||||
|
||||
std::shared_ptr<UINode> getFocused() const;
|
||||
bool isFocusCaught() const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue