13namespace hi {
inline namespace v1 {
26 button_widget_attribute
auto&&...attributes) noexcept :
40 void set_layout(
widget_layout const& context)
noexcept override;
41 void draw(draw_context
const& context)
noexcept override;
46 void draw_label_button(draw_context
const& context)
noexcept;
#define hi_forward(x)
Forward a value, based on the decltype of the value.
Definition utility.hpp:29
Defines abstract_button_widget.
DOXYGEN BUG.
Definition algorithm.hpp:15
geometry/margins.hpp
Definition assert.hpp:18
2D constraints.
Definition box_constraints.hpp:25
Base class for implementing button widgets.
Definition abstract_button_widget.hpp:32
std::shared_ptr< delegate_type > delegate
The delegate that controls the button widget.
Definition abstract_button_widget.hpp:39
observer< alignment > alignment
The alignment of the button and on/off/other label.
Definition abstract_button_widget.hpp:55
A button delegate controls the state of a button widget.
Definition button_delegate.hpp:45
A momentary button widget.
Definition momentary_button_widget.hpp:18
An interactive graphical object as part of the user-interface.
Definition widget.hpp:46
widget * parent
Pointer to the parent widget.
Definition widget.hpp:51
The layout of a widget.
Definition widget_layout.hpp:41