xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
segment_style.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/ustring.h>
6
8namespace xtd {
10 namespace forms {
17 enum class segment_style {
21 modern,
23 mixed,
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}
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
segment_style
Represent segment style used by seven_segment_display, fourteen_segment_display, nine_segment_display...
Definition: segment_style.h:17
@ standard
Standard style dialog.
@ expanded
Expanded segment style.
@ mixed
Mixed (mix between standard and modern) segment style.
@ design
Design segment style.
@ stick
Stick segment style.
@ modern
Modern segment style.
@ standard
Standard segment style.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::ustring class.