33 #include "../api_gui.h"
34 #include "../gui_component.h"
35 #include "../../Core/Signals/callback_v0.h"
42 class RadioButton_Impl;
73 std::string get_text()
const;
78 int get_radio_id()
const;
83 bool is_selected()
const;
88 std::string get_group_name()
const;
93 float get_preferred_content_width();
98 float get_preferred_content_height(
float width);
108 void set_text(
const std::string &text);
113 void set_radio_id(
int id);
118 void set_selected(
bool selected);
123 void set_group_name(
const std::string &str);
147 std::shared_ptr<RadioButton_Impl> impl;
149 friend class RadioButton_Impl;
GUI base component class.
Definition: gui_component.h:81
GUIComponent * get_named_item(const std::string &id)
Find child component with the specified component ID name.
Callback_v1.
Definition: callback_v1.h:156
Callback_v0.
Definition: callback_v0.h:152