20 const std::string&
placeholder =
"",
const std::string& font =
"",
21 const std::string& font_path =
"",
48 void trigger_on_focus();
49 void trigger_on_unfocus();
50 void trigger_on_text_changed();
52 std::vector<std::function<
void(
UIInput&)>> on_focus_handlers_;
53 std::vector<std::function<
void(
UIInput&)>> on_unfocus_handlers_;
54 std::vector<std::function<
void(
UIInput&)>> on_text_changed_handlers_;
Represents a color with red, green, blue, and alpha components. Each component is represented as an u...
Definition color.h:7
std::optional< std::reference_wrapper< T > > get_component() const noexcept
Get the first component of type T attached to this GameObject.
Definition gameObject.h:141
Scene & scene() const noexcept
Represents a point in 2D space.
Definition point.h:6
Represents a scene within the engine. A scene contains multiple GameObjects and manages their lifecyc...
Definition scene.h:19
Base class for interactive UI elements.
Definition ui_interactable.h:28