This commit is contained in:
MihailRis
2023-12-19 20:10:09 +03:00
parent b4caf888dc
commit c9db1acd91
6 changed files with 227 additions and 221 deletions
+3 -1
View File
@@ -48,7 +48,9 @@ namespace gui {
std::shared_ptr<UINode> label = nullptr;
public:
Button(std::shared_ptr<UINode> content, glm::vec4 padding=glm::vec4(2.0f));
Button(std::wstring text, glm::vec4 padding=glm::vec4(2.0f));
Button(std::wstring text,
glm::vec4 padding=glm::vec4(2.0f),
glm::vec4 margin=glm::vec4(1.0f));
virtual void drawBackground(Batch2D* batch, Assets* assets);