mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
minor refactor
This commit is contained in:
parent
c6bd52eed2
commit
2aa49c7470
8 changed files with 155 additions and 162 deletions
|
|
@ -94,8 +94,8 @@ namespace gui {
|
|||
protected:
|
||||
std::unordered_map<std::string, Page> pages;
|
||||
std::stack<std::string> pageStack;
|
||||
Page current_;
|
||||
std::string curname_ = "";
|
||||
Page current;
|
||||
std::string curname = "";
|
||||
public:
|
||||
PagesControl();
|
||||
|
||||
|
|
@ -106,7 +106,7 @@ namespace gui {
|
|||
void clearHistory();
|
||||
void reset();
|
||||
|
||||
Page& current();
|
||||
Page& getCurrent();
|
||||
};
|
||||
}
|
||||
#endif // FRONTEND_GUI_PANELS_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue