mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
refactor: add GUI instance reference to UI nodes
This commit is contained in:
parent
74a94f869c
commit
4c48afbb90
70 changed files with 1133 additions and 832 deletions
|
|
@ -21,7 +21,7 @@ namespace gui {
|
|||
std::unordered_map<std::string, supplier<std::shared_ptr<UINode>>> pageSuppliers;
|
||||
PageLoaderFunc pagesLoader = nullptr;
|
||||
public:
|
||||
Menu();
|
||||
explicit Menu(GUI& gui);
|
||||
|
||||
/// @brief Check menu have page or page supplier
|
||||
/// @param name page name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue