7#include "../macros.hpp"
10hi_export_module(hikogui.theme : style_pseudo_class);
12hi_export
namespace hi {
57constexpr auto style_pseudo_class_size =
size_t{16};
61 return static_cast<style_pseudo_class>(std::to_underlying(lhs) | std::to_underlying(rhs));
66 return static_cast<style_pseudo_class>(std::to_underlying(lhs) & std::to_underlying(rhs));
71 return lhs = lhs | rhs;
76 return lhs = lhs & rhs;
81 return static_cast<bool>(std::to_underlying(rhs));
@ enabled
The widget is fully enabled.
Definition widget_state.hpp:81
The HikoGUI namespace.
Definition array_generic.hpp:21
The HikoGUI API version 1.
Definition array_generic.hpp:22
style_pseudo_class
The different dynamic states of a widget from the point of view of styles.
Definition style_pseudo_class.hpp:18
@ focus
The widget has keyboard focus.
Definition style_pseudo_class.hpp:45
@ _false
The value that the widget represent is 'false'.
Definition style_pseudo_class.hpp:49
@ _true
The value that the widget represent is 'true'.
Definition style_pseudo_class.hpp:53