5#ifndef MALENA_RADIOBUTTON_H
6#define MALENA_RADIOBUTTON_H
57 std::string _labelStr;
60 void applyVisualState();
76 static_assert(std::is_base_of_v<RadioButtonSettings, S>,
77 "applySettings() requires a type derived from RadioButtonSettings");
85 static_assert(std::is_base_of_v<RadioButtonTheme, T>,
86 "applyTheme() requires a type derived from RadioButtonTheme");
94 static_assert(std::is_base_of_v<RadioButtonSettings, St> &&
95 std::is_base_of_v<RadioButtonTheme, St>,
96 "applyStyle() requires RadioButtonSettings and RadioButtonTheme");
122 template<
typename MANIFEST>
static const sf::Font & getDefault()
Return the built-in Arial font.
Base class for all Malena manifests.
Trait that adds selection and deselection callbacks to any Core object.
Component< M, Traits... > ComponentWith
Alias for Component<M, Traits...>.
@ SELECTED
Component was programmatically selected.
@ HOVERED
Mouse is currently over this component (set by HoverableDispatcher).
Vector2< float > Vector2f
Universal design token set applied across all Themeable components.