Adobe Source Libraries 2.0.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
widget_attributes.hpp
Go to the documentation of this file.
1/*
2 Copyright 2013 Adobe
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5*/
6/**************************************************************************************************/
7
8#ifndef ADOBE_WIDGET_ATTRIBUTES_HPP
9#define ADOBE_WIDGET_ATTRIBUTES_HPP
10
11#include <adobe/config.hpp>
12
13#include <adobe/enum_ops.hpp>
14
15#include <climits>
16
17/**************************************************************************************************/
18
19namespace adobe {
20
21/**************************************************************************************************/
22
27
38
69
70/**************************************************************************************************/
71
73
74/**************************************************************************************************/
75
76
86
87enum modifiers_t : std::uint32_t {
90
93
96
99
102
105
108
111
112
115
117 modifiers_any_shift_s = static_cast<std::underlying_type_t<modifiers_t>>(modifiers_left_shift_s) | static_cast<std::underlying_type_t<modifiers_t>>(modifiers_right_shift_s),
118
120 modifiers_any_option_s = static_cast<std::underlying_type_t<modifiers_t>>(modifiers_left_option_s) | static_cast<std::underlying_type_t<modifiers_t>>(modifiers_right_option_s),
121
123 modifiers_any_control_s = static_cast<std::underlying_type_t<modifiers_t>>(modifiers_left_control_s) | static_cast<std::underlying_type_t<modifiers_t>>(modifiers_right_control_s),
125};
126
127/**************************************************************************************************/
128
130
131/**************************************************************************************************/
132
133} // namespace adobe
134
135/**************************************************************************************************/
136
137#endif
138
139/**************************************************************************************************/
#define ADOBE_DEFINE_BITSET_OPS(EnumType)
Definition enum_ops.hpp:90
modifiers_t
Standard keyboard state modifiers.
theme_t
Semantic theme settings to apply to a widget.
@ modifiers_left_option_s
Left-option (or alt) key (if applicable)
@ modifiers_any_option_s
Any option (or alt) key (if applicable)
@ modifiers_any_shift_s
Any shift key.
@ modifiers_left_shift_s
Left-shift key (if applicable)
@ modifiers_right_option_s
Right-option (or alt) key (if applicable)
@ modifiers_any_control_s
Any control key (if applicable)
@ modifiers_any_command_s
Any command key.
@ modifiers_none_s
No modifiers.
@ modifiers_right_shift_s
Right-shift key (if applicable)
@ modifiers_right_control_s
Right-control key (if applicable)
@ modifiers_caps_lock_s
Caps lock key.
@ modifiers_left_control_s
Left-control key (if applicable)
@ theme_adornment_number_s
Adornment for displaying a number.
@ theme_mini_s
For palettes (atypical)
@ theme_normal_s
For dialogs & windows.
@ theme_adornment_label_s
Adornment for displaying a label.
@ theme_mask_s
Theme mask to obtain widget size.
@ theme_large_s
For dialogs & windows (atypical)
@ theme_adornment_mono_s
Adornment for monospacing widget text.
@ theme_default_s
Default theme.
@ theme_small_s
For palettes.
@ theme_none_s
No theme.
@ theme_adornment_mask_s
Theme mask to obtain widget adornments.
STL namespace.