scripting: PagesControl
This commit is contained in:
@@ -285,6 +285,10 @@ Page& PagesControl::getCurrent() {
|
||||
return current;
|
||||
}
|
||||
|
||||
const std::string& PagesControl::getCurrentName() const {
|
||||
return curname;
|
||||
}
|
||||
|
||||
void PagesControl::clearHistory() {
|
||||
pageStack = std::stack<std::string>();
|
||||
}
|
||||
|
||||
@@ -107,6 +107,7 @@ namespace gui {
|
||||
void reset();
|
||||
|
||||
Page& getCurrent();
|
||||
const std::string& getCurrentName() const;
|
||||
};
|
||||
}
|
||||
#endif // GRAPHICS_UI_ELEMENTS_CONTAINERS_H_
|
||||
|
||||
Reference in New Issue
Block a user