16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 15:59:18 +02:00

maintenance: minor code cleanup

This commit is contained in:
tmj-fstate
2018-09-07 16:24:05 +02:00
parent 3b00005857
commit e4789db1d5
13 changed files with 79 additions and 80 deletions

View File

@@ -18,7 +18,7 @@ class ui_panel {
public:
// constructor
ui_panel( std::string const Identifier, bool const Isopen );
ui_panel( std::string const &Identifier, bool const Isopen );
// methods
virtual void update() {};
virtual void render();
@@ -34,7 +34,7 @@ public:
{}
};
// members
std::string name;
std::string title;
bool is_open;
glm::ivec2 size { -1, -1 };
glm::ivec2 size_min { -1, -1 };
@@ -43,7 +43,7 @@ public:
protected:
// members
std::string identifier;
std::string name;
};
class ui_layer {