page 404
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user