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

basic text localization system

This commit is contained in:
tmj-fstate
2018-09-02 16:09:05 +02:00
parent 955e8915a5
commit 6d16d52356
11 changed files with 555 additions and 318 deletions

View File

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