33 #include "../api_gui.h"
34 #include "../gui_component.h"
35 #include "../../Core/Signals/callback_v0.h"
78 static Label *get_named_item(
GUIComponent *reference_component,
const std::string &
id);
83 Alignment get_alignment()
const;
88 const std::string &get_text()
const;
93 float get_preferred_content_width();
98 float get_preferred_content_height(
float width);
109 void set_text(
const std::string &text);
111 void set_text_color(
const Colorf color);
116 void set_alignment(Alignment alignment);
129 std::shared_ptr<Label_Impl> impl;
Floating point color description class (for float).
Definition: color.h:661
Alignment
Definition: label.h:65
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.
Check box component.
Definition: label.h:46