Mod menu progress.

This commit is contained in:
Dario
2025-01-16 22:34:47 -03:00
committed by Mr-Wiseguy
parent de364be072
commit e323439e4f
11 changed files with 91 additions and 45 deletions
+2 -2
View File
@@ -4,8 +4,8 @@
namespace recompui {
static const std::string hover_state = "hover";
static const std::string disabled_state = "disabled";
static const std::string_view hover_state = "hover";
static const std::string_view disabled_state = "disabled";
Button::Button(const std::string &text, ButtonStyle style, Element *parent) : Element(parent, Events(EventType::Click, EventType::Hover, EventType::Enable), "button") {
this->style = style;