xtd 0.2.0
known_themed_color.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/enum>
6 
8 namespace xtd {
10  namespace forms {
20  enum class known_themed_color {
22  accent = 1,
40  control,
52  desktop,
58  gray_text,
60  highlight,
64  hot_track,
72  info,
74  info_text,
76  menu,
78  menu_bar,
82  menu_text,
84  scroll_bar,
86  text_box,
90  window,
95  };
96  }
97 }
98 
100 template<> struct xtd::enum_register<xtd::forms::known_themed_color> {
101  explicit operator auto() const noexcept {return xtd::enum_collection<xtd::forms::known_themed_color> {{xtd::forms::known_themed_color::active_border, "active_border"}, {xtd::forms::known_themed_color::active_caption, "active_caption"}, {xtd::forms::known_themed_color::active_caption_text, "active_caption_text"}, {xtd::forms::known_themed_color::app_workspace, "app_workspace"}, {xtd::forms::known_themed_color::control, "control"}, {xtd::forms::known_themed_color::control_dark, "control_dark"}, {xtd::forms::known_themed_color::control_dark_dark, "control_dark_dark"}, {xtd::forms::known_themed_color::control_light, "control_light"}, {xtd::forms::known_themed_color::control_light_light, "control_light_light"}, {xtd::forms::known_themed_color::control_text, "control_text"}, {xtd::forms::known_themed_color::desktop, "desktop"}, {xtd::forms::known_themed_color::gray_text, "gray_text"}, {xtd::forms::known_themed_color::highlight, "highlight"}, {xtd::forms::known_themed_color::highlight_text, "highlight_text"}, {xtd::forms::known_themed_color::hot_track, "hot_track"}, {xtd::forms::known_themed_color::inactive_border, "inactive_border"}, {xtd::forms::known_themed_color::inactive_caption, "inactive_caption"}, {xtd::forms::known_themed_color::inactive_caption_text, "inactive_caption_text"}, {xtd::forms::known_themed_color::info, "info"}, {xtd::forms::known_themed_color::info_text, "info_text"}, {xtd::forms::known_themed_color::menu, "menu"}, {xtd::forms::known_themed_color::menu_text, "menu_text"}, {xtd::forms::known_themed_color::scroll_bar, "scroll_bar"}, {xtd::forms::known_themed_color::window, "window"}, {xtd::forms::known_themed_color::window_frame, "window_frame"}, {xtd::forms::known_themed_color::window_text, "window_text"}, {xtd::forms::known_themed_color::button_face, "button_face"}, {xtd::forms::known_themed_color::button_highlight, "button_highlight"}, {xtd::forms::known_themed_color::button_shadow, "button_shadow"}, {xtd::forms::known_themed_color::gradient_active_caption, "gradient_active_caption"}, {xtd::forms::known_themed_color::gradient_inactive_caption, "gradient_inactive_caption"}, {xtd::forms::known_themed_color::menu_bar, "menu_bar"}, {xtd::forms::known_themed_color::menu_highlight, "menu_highlight"}, {xtd::forms::known_themed_color::accent, "accent"}, {xtd::forms::known_themed_color::accent_text, "accent_text"}, {xtd::forms::known_themed_color::text_box, "text_box"}, {xtd::forms::known_themed_color::text_box_text, "text_box_text"}};}
102 };
The system-defined color of a menu&#39;s text.
The system-defined color of the text of a ToolTip.
The system-defined color of the accent text color (macos specific. On other platform is same as highl...
The system-defined color of the text in the client area of a window.
The system-defined color of the background of selected items. This includes selected menu items as we...
The system-defined color of text in a 3-D element.
The system-defined highlight color of a 3-D element. The highlight color is applied to the parts of a...
The system-defined color that is the shadow color of a 3-D element. This color is applied to parts of...
The system-defined face color of a 3-D element.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
The system-defined color of the background of a menu bar.
The system-defined color of the accent color (macos specific. On other platform is same as menu_highl...
The system-defined color of the text of selected items.
The system-defined color of the text in the active window&#39;s title bar.
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
The system-defined color of the desktop.
The system-defined color of the lightest color in the color gradient of an inactive window&#39;s title ba...
The system-defined color that is the highlight color of a 3-D element. This color is applied to parts...
The system-defined color of the active window&#39;s border.
The system-defined color of dimmed text. Items in a list that are disabled are displayed in dimmed te...
The system-defined color that is the light color of a 3-D element. The light color is applied to part...
The system-defined color used to designate a hot-tracked item. Single-clicking a hot-tracked item exe...
The system-defined color of the background of a scroll bar.
The system-defined color of the accent color (macos specific. On other platform is same as window)...
known_themed_color
Specifies the known system colors.
Definition: known_themed_color.h:20
The system-defined color of a window frame.
The system-defined color of the background of an inactive window&#39;s title bar.
The system-defined color of the background in the client area of a window.
The system-defined color of the lightest color in the color gradient of an active window&#39;s title bar...
The system-defined color of the text in an inactive window&#39;s title bar.
The system-defined color of the application workspace. The application workspace is the area in a mul...
The system-defined color of the background of a ToolTip.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
The system-defined shadow color of a 3-D element. The shadow color is applied to parts of a 3-D eleme...
The system-defined color of a menu&#39;s background.
The system-defined color of the accent text color (macos specific. On other platform is same as windo...
The system-defined color that is the dark shadow color of a 3-D element. The dark shadow color is app...
The system-defined color of the background of the active window&#39;s title bar.
The system-defined color of an inactive window&#39;s border.
Provides the registration struct for enumerations.
Definition: enum_register.h:36
The system-defined color used to highlight menu items when the menu appears as a flat menu...
The system-defined face color of a 3-D element.