xtd - Reference Guide
0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
flat_style.h
Go to the documentation of this file.
1
4
#pragma once
5
#include <
xtd/ustring.h
>
6
8
namespace
xtd
{
10
namespace
forms
{
20
enum class
flat_style
{
22
flat
= 0,
24
popup
,
26
standard
,
28
system
,
29
};
30
32
inline
std::ostream& operator<<(std::ostream& os,
flat_style
value) {
return
os <<
to_string
(value, {{
flat_style::flat
,
"flat"
}, {
flat_style::popup
,
"popup"
}, {
flat_style::standard
,
"standard"
}, {
flat_style::system
,
"system"
}});}
33
inline
std::wostream& operator<<(std::wostream& os,
flat_style
value) {
return
os <<
to_string
(value, {{
flat_style::flat
, L
"flat"
}, {
flat_style::popup
, L
"popup"
}, {
flat_style::standard
, L
"standard"
}, {
flat_style::system
, L
"system"
}});}
35
}
36
}
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::flat_style
flat_style
Specifies the appearance of a control.
Definition
flat_style.h:20
xtd::forms::button_state::flat
@ flat
The button has a flat, two-dimensional appearance.
xtd::forms::flat_style::flat
@ flat
The control appears flat.
xtd::forms::flat_style::system
@ system
The appearance of the control is determined by the user's operating system.
xtd::forms::flat_style::popup
@ popup
A control appears flat until the mouse pointer moves over it, at which point it appears three-dimensi...
xtd::forms::flat_style::standard
@ standard
The control appears three-dimensional.
xtd::forms::dialog_style::system
@ system
System style dialog.
xtd::forms::dialog_style::standard
@ standard
Standard style dialog.
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 Tue Mar 12 2024 16:25:08 for xtd - Reference Guide by
Gammasoft
. All rights reserved.