minor refactor

This commit is contained in:
MihailRis
2024-02-14 01:19:24 +03:00
parent c6bd52eed2
commit 2aa49c7470
8 changed files with 155 additions and 162 deletions
+3 -3
View File
@@ -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_