xtd 0.2.0
dot_matrix_style.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
19  enum class dot_matrix_style {
21  round,
23  square,
25  standard = round,
26  };
27  }
28 }
29 
31 template<> struct xtd::enum_register<xtd::forms::dot_matrix_style> {
32  explicit operator auto() const noexcept {return xtd::enum_collection<xtd::forms::dot_matrix_style> {{xtd::forms::dot_matrix_style::standard, "standard"}, {xtd::forms::dot_matrix_style::square, "square"}};}
33 };
Square dot matrix style.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
The appearance of the control is determined by current theme of xtd.
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
dot_matrix_style
Represent dot matrix style used by dot_matrix_display control.
Definition: dot_matrix_style.h:19
Round dot matrix style.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
Provides the registration struct for enumerations.
Definition: enum_register.h:36