mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
UiDocument
This commit is contained in:
parent
c902ed506b
commit
1dd0e9f939
17 changed files with 257 additions and 42 deletions
|
|
@ -21,6 +21,7 @@ namespace gui {
|
|||
};
|
||||
|
||||
class UINode {
|
||||
std::string id = "";
|
||||
protected:
|
||||
glm::vec2 coord;
|
||||
glm::vec2 size;
|
||||
|
|
@ -110,6 +111,9 @@ namespace gui {
|
|||
virtual void setSize(glm::vec2 size);
|
||||
virtual void refresh() {};
|
||||
virtual void lock();
|
||||
|
||||
void setId(const std::string& id);
|
||||
const std::string& getId() const;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue