UI: Add warning icons to experimental settings

This commit is contained in:
Luke Street
2026-05-03 23:44:14 -06:00
parent 43b603e70b
commit 62a88f1e9a
8 changed files with 64 additions and 16 deletions
+5 -1
View File
@@ -3,7 +3,11 @@
namespace dusk::ui {
BoolButton::BoolButton(Rml::Element* parent, Props props)
: BaseControlledSelectButton(parent, {std::move(props.key)}),
: BaseControlledSelectButton(parent,
{
.key = std::move(props.key),
.icon = std::move(props.icon),
}),
mGetValue(std::move(props.getValue)), mSetValue(std::move(props.setValue)),
mIsDisabled(std::move(props.isDisabled)), mIsModified(std::move(props.isModified)) {}