7#include "../utility/module.hpp"
15enum class theme_state : uint8_t {
20 no_focus = 0b00'0'0'00,
24 layer_0 = 0b00'0'0'00,
25 layer_1 = 0b01'0'0'00,
26 layer_2 = 0b10'0'0'00,
31constexpr auto theme_state_size = 64_uz;
33[[nodiscard]]
constexpr theme_state operator|(theme_state
const &lhs, theme_state
const &rhs)
noexcept
35 return static_cast<theme_state
>(to_underlying(lhs) | to_underlying(rhs));
38constexpr theme_state &operator|=(theme_state &lhs, theme_state
const &rhs)
noexcept
40 return lhs = lhs | rhs;
44enum class theme_state_mask : uint8_t {
52[[nodiscard]]
constexpr theme_state_mask operator|(theme_state_mask
const& lhs, theme_state_mask
const& rhs)
noexcept
54 return static_cast<theme_state_mask
>(to_underlying(lhs) | to_underlying(rhs));
57constexpr theme_state_mask& operator|=(theme_state_mask& lhs, theme_state_mask
const& rhs)
noexcept
59 return lhs = lhs | rhs;
@ mouse
The gui_event has mouse data.
@ disabled
The widget is disabled.
@ enabled
The widget is fully enabled.
DOXYGEN BUG.
Definition algorithm.hpp:13
geometry/margins.hpp
Definition cache.hpp:11
@ on
The border is drawn on the edge of a quad.
@ off
The widget in the off-state.