18namespace hi {
inline namespace v1 {
43 [[nodiscard]] generator<widget const &> children(
bool include_invisible)
const noexcept override
45 co_yield *_icon_widget;
49 void set_layout(
widget_layout const& context)
noexcept override;
50 void draw(
draw_context const& context)
noexcept override;
51 [[nodiscard]] hitbox hitbox_test(point2i position)
const noexcept override;
Functionality for labels, text and icons.
#define hi_forward(x)
Forward a value, based on the decltype of the value.
Definition utility.hpp:29
DOXYGEN BUG.
Definition algorithm.hpp:13
geometry/margins.hpp
Definition cache.hpp:11
Draw context for drawing using the HikoGUI shaders.
Definition draw_context.hpp:211
2D constraints.
Definition box_constraints.hpp:22
Definition box_shape.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:46
widget(widget *parent) noexcept
widget * parent
Pointer to the parent widget.
Definition widget.hpp:51
The layout of a widget.
Definition widget_layout.hpp:38