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
lcd_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 lcd_style {
28 };
29
31 inline std::ostream& operator<<(std::ostream& os, lcd_style value) {return os << to_string(value, {{lcd_style::seven_segment_display, "seven_segment_display"}, {lcd_style::nine_segment_display, "nine_segment_display"}, {lcd_style::fourteen_segment_display, "fourteen_segment_display"}, {lcd_style::sixteen_segment_display, "sixteen_segment_display"}, {lcd_style::dot_matrix_display, "dot_matrix_display"}});}
32 inline std::wostream& operator<<(std::wostream& os, lcd_style value) {return os << to_string(value, {{lcd_style::seven_segment_display, L"seven_segment_display"}, {lcd_style::nine_segment_display, L"nine_segment_display"}, {lcd_style::fourteen_segment_display, L"fourteen_segment_display"}, {lcd_style::sixteen_segment_display, L"sixteen_segment_display"}, {lcd_style::dot_matrix_display, L"dot_matrix_display"}});}
34 }
35}
Represents a dot matrix display class.
Definition: dot_matrix_display.h:23
Represents a nine segment display class.
Definition: fourteen_segment_display.h:18
Represents a nine segment display class.
Definition: nine_segment_display.h:18
Represents a seven segment display class.
Definition: seven_segment_display.h:22
Represents a sixteen segment display class.
Definition: sixteen_segment_display.h:18
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
lcd_style
Represent lcd label style used by lcd_label control.
Definition: lcd_style.h:17
@ nine_segment_display
Nine segment display style.
@ dot_matrix_display
Dot matrix display style.
@ sixteen_segment_display
Sixteen segment display style.
@ seven_segment_display
Seven segment display style.
@ fourteen_segment_display
Fourteen segment display 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.