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.
segment_style.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/ustring.h>
6 
8 namespace xtd {
10  namespace forms {
17  enum class segment_style {
19  standard,
21  modern,
23  mixed,
25  expanded,
27  design,
29  stick,
30  };
31 
33  inline std::ostream& operator<<(std::ostream& os, segment_style value) {return os << to_string(value, {{segment_style::standard, "standard"}, {segment_style::modern, "modern"}, {segment_style::mixed, "mixed"}, {segment_style::expanded, "expanded"}, {segment_style::design, "design"}, {segment_style::stick, "stick"}});}
34  inline std::wostream& operator<<(std::wostream& os, segment_style value) {return os << to_string(value, {{segment_style::standard, L"standard"}, {segment_style::modern, L"modern"}, {segment_style::mixed, L"mixed"}, {segment_style::expanded, L"expanded"}, {segment_style::design, L"design"}, {segment_style::stick, L"stick"}});}
36  }
37 }
segment_style
Represent segment style used by seven_segment_display, fourteen_segment_display, nine_segment_display...
Definition: segment_style.h:17
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Design segment style.
Modern segment style.
Standard style dialog.
Contains xtd::ustring class.
Expanded segment style.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Mixed (mix between standard and modern) segment style.
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