5#ifndef MALENA_RADIOBUTTON_H
6#define MALENA_RADIOBUTTON_H
57 std::string _labelStr;
60 void applyVisualState();
75 static_assert(std::is_base_of_v<RadioButtonSettings, S>,
76 "applySettings() requires a type derived from RadioButtonSettings");
84 static_assert(std::is_base_of_v<RadioButtonTheme, T>,
85 "applyTheme() requires a type derived from RadioButtonTheme");
93 static_assert(std::is_base_of_v<RadioButtonSettings, St> &&
94 std::is_base_of_v<RadioButtonTheme, St>,
95 "applyStyle() requires RadioButtonSettings and RadioButtonTheme");
124 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.