xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
screen_orientation.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
forms
{
22
enum class
screen_orientation
{
24
angle_0
= 0,
26
angle_90
= 1,
28
angle_180
= 2,
30
angle_270
= 3,
31
};
32
}
33
}
34
36
template
<>
struct
xtd::enum_register
<
xtd
::
forms::screen_orientation
> {
37
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::forms::screen_orientation>
{{
xtd::forms::screen_orientation::angle_0
,
"angle_0"
}, {
xtd::forms::screen_orientation::angle_90
,
"angle_90"
}, {
xtd::forms::screen_orientation::angle_180
,
"angle_180"
}, {
xtd::forms::screen_orientation::angle_270
,
"angle_270"
}};}
38
};
xtd::enum_collection
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition
enum_collection.hpp:24
xtd::forms::screen_orientation
screen_orientation
Specifies the angle of the screen.
Definition
screen_orientation.hpp:22
xtd::forms::screen_orientation::angle_180
@ angle_180
The screen is oriented at 180 degrees.
Definition
screen_orientation.hpp:28
xtd::forms::screen_orientation::angle_270
@ angle_270
The screen is oriented at 270 degrees.
Definition
screen_orientation.hpp:30
xtd::forms::screen_orientation::angle_90
@ angle_90
The screen is oriented at 90 degrees.
Definition
screen_orientation.hpp:26
xtd::forms::screen_orientation::angle_0
@ angle_0
The screen is oriented at 0 degrees.
Definition
screen_orientation.hpp:24
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.