12#include "../macros.hpp"
14hi_export_module(hikogui.widgets.spacer_widget);
16hi_export
namespace hi {
inline namespace v1 {
38 r.maximum = extent2::large();
DOXYGEN BUG.
Definition algorithm_misc.hpp:20
The HikoGUI namespace.
Definition recursive_iterator.hpp:15
constexpr Out narrow_cast(In const &rhs) noexcept
Cast numeric values without loss of precision.
Definition cast.hpp:378
Draw context for drawing using the HikoGUI shaders.
Definition draw_context_intf.hpp:209
widget_intf * parent
Pointer to the parent widget.
Definition widget_intf.hpp:35
The layout of a widget.
Definition widget_layout.hpp:56
2D constraints.
Definition box_constraints.hpp:25
Definition not_null.hpp:22
This GUI widget is used as a spacer between other widget for layout purposes.
Definition spacer_widget.hpp:22
hitbox hitbox_test(point2 position) const noexcept override
Find the widget that is under the mouse cursor.
Definition spacer_widget.hpp:49
void draw(draw_context const &context) noexcept override
Draw the widget.
Definition spacer_widget.hpp:47
generator< widget_intf & > children(bool include_invisible) noexcept override
Get a list of child widgets.
Definition spacer_widget.hpp:28
void set_layout(widget_layout const &context) noexcept override
Update the internal layout of the widget.
Definition spacer_widget.hpp:42
box_constraints update_constraints() noexcept override
Update the constraints of the widget.
Definition spacer_widget.hpp:33
An interactive graphical object as part of the user-interface.
Definition widget.hpp:37
widget(widget_intf const *parent) noexcept
Definition widget.hpp:49