fix merge conflicts

This commit is contained in:
gymnast86
2026-06-16 05:30:08 -04:00
parent e39c139b97
commit 1790ad6faf
3 changed files with 5 additions and 1 deletions
-1
View File
@@ -30,7 +30,6 @@
#include "dusk/ui/modal.hpp"
#include "dusk/ui/rando_config.hpp"
#include "dusk/ui/ui.hpp"
#endif
namespace {
constexpr u8 pointer_target(u8 group, u8 index) noexcept {
+4
View File
@@ -23,6 +23,10 @@ Button::Button(Rml::Element* parent, Props props, const Rml::String& tagName)
update_props(std::move(props));
}
Rml::String Button::get_text() {
return mProps.text;
}
void Button::set_text(const Rml::String& text) {
if (mProps.text != text) {
mRoot->SetInnerRML(escape(text));
+1
View File
@@ -16,6 +16,7 @@ public:
Button(Rml::Element* parent, Rml::String text, const Rml::String& tagName = "button")
: Button(parent, Props{std::move(text)}, tagName) {}
Rml::String get_text();
void set_text(const Rml::String& text);
Button& on_pressed(ButtonCallback callback);