xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
theme_style.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/ustring.h>
6 
8 namespace xtd {
10  namespace forms {
16  enum theme_style {
17  system_auto = 0,
18  undefined = 0,
19  light,
20  dark,
21  };
22 
24  inline std::ostream& operator<<(std::ostream& os, theme_style value) {return os << to_string(value, {{theme_style::system_auto, "system_auto"}, {theme_style::light, "light"}, {theme_style::dark, "dark"}});}
25  inline std::wostream& operator<<(std::wostream& os, theme_style value) {return os << to_string(value, {{theme_style::system_auto, L"system_auto"}, {theme_style::light, L"light"}, {theme_style::dark, L"dark"}});}
27  }
28 }
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
theme_style
Specifies the style of theme.
Definition: theme_style.h:16
Contains xtd::ustring class.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
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