xtd - Reference Guide
0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
xtd.forms
include
xtd
forms
form_window_state.h
Go to the documentation of this file.
1
#pragma once
5
#include <
xtd/ustring.h
>
6
8
namespace
xtd
{
10
namespace
forms
{
18
enum class
form_window_state
{
20
normal
= 0,
22
minimized
= 1,
24
maximized
= 2,
26
full_screen
= 3,
27
};
28
30
inline
std::ostream& operator<<(std::ostream& os,
form_window_state
value) {
return
os <<
to_string
(value, {{
form_window_state::normal
,
"normal"
}, {
form_window_state::minimized
,
"minimized"
}, {
form_window_state::maximized
,
"maximized"
}, {
form_window_state::full_screen
,
"full_screen"
}});}
31
inline
std::wostream& operator<<(std::wostream& os,
form_window_state
value) {
return
os <<
to_string
(value, {{
form_window_state::normal
, L
"normal"
}, {
form_window_state::minimized
, L
"minimized"
}, {
form_window_state::maximized
, L
"maximized"
}, {
form_window_state::full_screen
, L
"full_screen"
}});}
33
}
34
}
xtd::to_string
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition:
to_string.h:37
xtd::forms::form_window_state
form_window_state
Specifies how a form window is displayed.
Definition:
form_window_state.h:18
xtd::forms::form_window_state::full_screen
@ full_screen
A full screen window.
xtd::forms::form_window_state::minimized
@ minimized
A minimized window.
xtd::forms::form_window_state::maximized
@ maximized
A maximized window.
xtd::forms::form_window_state::normal
@ normal
A default sized window.
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition:
about_box.h:13
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition:
system_report.h:17
ustring.h
Contains xtd::ustring class.
Generated on Mon Jul 17 2023 23:13:05 for xtd - Reference Guide by
Gammasoft
. All rights reserved.