18namespace hi {
inline namespace v1 {
43 [[nodiscard]] generator<widget *> children()
const noexcept override
45 co_yield _icon_widget.get();
49 void set_layout(
widget_layout const& context)
noexcept override;
50 void draw(draw_context
const& context)
noexcept override;
51 [[nodiscard]] hitbox hitbox_test(point3 position)
const noexcept override;
54 aarectangle _icon_rectangle;
57 aarectangle _system_menu_rectangle;
#define hi_forward(x)
Forward a value, based on the decltype of the value.
Definition utility.hpp:29
Functionality for labels, text and icons.
DOXYGEN BUG.
Definition algorithm.hpp:15
The HikoGUI namespace.
Definition ascii.hpp:19
Definition set_constraints_context.hpp:15
The system menu widget.
Definition system_menu_widget.hpp:26
An interactive graphical object as part of the user-interface.
Definition widget.hpp:45
widget(widget *parent) noexcept
widget * parent
Pointer to the parent widget.
Definition widget.hpp:50
The constraints of a widget.
Definition widget_constraints.hpp:26
The layout of a widget.
Definition widget_layout.hpp:40