Begin implementing mod UI API

This commit is contained in:
Mr-Wiseguy
2025-01-20 18:26:50 -05:00
parent 9dccbfaf8c
commit 8119daf62c
30 changed files with 365 additions and 57 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
namespace recompui {
Button::Button(const std::string &text, ButtonStyle style, Element *parent) : Element(parent, Events(EventType::Click, EventType::Hover, EventType::Enable), "button") {
Button::Button(Element *parent, const std::string &text, ButtonStyle style) : Element(parent, Events(EventType::Click, EventType::Hover, EventType::Enable), "button") {
this->style = style;
set_text(text);