xtd 0.2.0
segments.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
21  enum class segments {
23  none = 0,
25  a = 0b1,
27  b = 0b10,
29  c = 0b100,
31  d = 0b1000,
33  e = 0b10000,
35  f = 0b100000,
37  g = 0b1000000,
39  h = 0b10000000,
41  i = 0b100000000,
43  j = 0b1000000000,
45  k = 0b10000000000,
47  l = 0b100000000000,
49  m = 0b1000000000000,
51  a1 = a,
53  a2 = 0b10000000000000,
55  d1 = d,
57  d2 = 0b100000000000000,
59  g1 = g,
61  g2 = 0b1000000000000000,
63  dp = 0b10000000000000000,
65  pc = 0b100000000000000000,
66  };
67  }
68 }
69 
72 
73 template<> struct xtd::enum_register<xtd::forms::segments> {
75 };
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
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
segments
Specifies how a control anchors to the edges of its container.
Definition: segments.h:21
The g2 segment.
The a1 segment.
The dp segment (dot point).
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition: flags_attribute.h:34
The g1 segment.
The cp segment (punctuation colon).
The a2 segment.
Provides the registration struct for enumerations.
Definition: enum_register.h:36