mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
page 404
This commit is contained in:
parent
ed6cb6a620
commit
4b6c61ad89
6 changed files with 20 additions and 4 deletions
|
|
@ -248,7 +248,7 @@ Orientation Panel::getOrientation() const {
|
|||
PagesControl::PagesControl() : Container(glm::vec2(1)){
|
||||
}
|
||||
|
||||
bool PagesControl::has(std::string name) {
|
||||
bool PagesControl::has(const std::string& name) {
|
||||
return pages.find(name) != pages.end();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ namespace gui {
|
|||
public:
|
||||
PagesControl();
|
||||
|
||||
bool has(std::string name);
|
||||
bool has(const std::string& name);
|
||||
void setPage(std::string name, bool history=true);
|
||||
void addPage(std::string name, std::shared_ptr<UINode> panel);
|
||||
void back();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue