18 const std::string&
label =
"",
const std::string& font =
"",
19 const std::string& font_path =
"",
45 void trigger_on_press();
47 std::vector<std::function<
void(
UIButton&)>> on_press_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