xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
known_themed_color.h
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/ustring.h>
6 
8 namespace xtd {
10  namespace forms {
18  enum class known_themed_color {
20  accent = 1,
38  control,
50  desktop,
56  gray_text,
58  highlight,
62  hot_track,
70  info,
72  info_text,
74  menu,
76  menu_bar,
80  menu_text,
82  scroll_bar,
84  text_box,
88  window,
93  };
94 
96  inline std::ostream& operator<<(std::ostream& os, known_themed_color value) {return os << to_string(value, {{known_themed_color::active_border, "active_border"}, {known_themed_color::active_caption, "active_caption"}, {known_themed_color::active_caption_text, "active_caption_text"}, {known_themed_color::app_workspace, "app_workspace"}, {known_themed_color::control, "control"}, {known_themed_color::control_dark, "control_dark"}, {known_themed_color::control_dark_dark, "control_dark_dark"}, {known_themed_color::control_light, "control_light"}, {known_themed_color::control_light_light, "control_light_light"}, {known_themed_color::control_text, "control_text"}, {known_themed_color::desktop, "desktop"}, {known_themed_color::gray_text, "gray_text"}, {known_themed_color::highlight, "highlight"}, {known_themed_color::highlight_text, "highlight_text"}, {known_themed_color::hot_track, "hot_track"}, {known_themed_color::inactive_border, "inactive_border"}, {known_themed_color::inactive_caption, "inactive_caption"}, {known_themed_color::inactive_caption_text, "inactive_caption_text"}, {known_themed_color::info, "info"}, {known_themed_color::info_text, "info_text"}, {known_themed_color::menu, "menu"}, {known_themed_color::menu_text, "menu_text"}, {known_themed_color::scroll_bar, "scroll_bar"}, {known_themed_color::window, "window"}, {known_themed_color::window_frame, "window_frame"}, {known_themed_color::window_text, "window_text"}, {known_themed_color::button_face, "button_face"}, {known_themed_color::button_highlight, "button_highlight"}, {known_themed_color::button_shadow, "button_shadow"}, {known_themed_color::gradient_active_caption, "gradient_active_caption"}, {known_themed_color::gradient_inactive_caption, "gradient_inactive_caption"}, {known_themed_color::menu_bar, "menu_bar"}, {known_themed_color::menu_highlight, "menu_highlight"}, {known_themed_color::accent, "accent"}, {known_themed_color::accent_text, "accent_text"}, {known_themed_color::text_box, "text_box"}, {known_themed_color::text_box_text, "text_box_text"}});}
97  inline std::wostream& operator<<(std::wostream& os, known_themed_color value) {return os << to_string(value, {{known_themed_color::active_border, L"active_border"}, {known_themed_color::active_caption, L"active_caption"}, {known_themed_color::active_caption_text, L"active_caption_text"}, {known_themed_color::app_workspace, L"app_workspace"}, {known_themed_color::control, L"control"}, {known_themed_color::control_dark, L"control_dark"}, {known_themed_color::control_dark_dark, L"control_dark_dark"}, {known_themed_color::control_light, L"control_light"}, {known_themed_color::control_light_light, L"control_light_light"}, {known_themed_color::control_text, L"control_text"}, {known_themed_color::desktop, L"desktop"}, {known_themed_color::gray_text, L"gray_text"}, {known_themed_color::highlight, L"highlight"}, {known_themed_color::highlight_text, L"highlight_text"}, {known_themed_color::hot_track, L"hot_track"}, {known_themed_color::inactive_border, L"inactive_border"}, {known_themed_color::inactive_caption, L"inactive_caption"}, {known_themed_color::inactive_caption_text, L"inactive_caption_text"}, {known_themed_color::info, L"info"}, {known_themed_color::info_text, L"info_text"}, {known_themed_color::menu, L"menu"}, {known_themed_color::menu_text, L"menu_text"}, {known_themed_color::scroll_bar, L"scroll_bar"}, {known_themed_color::window, L"window"}, {known_themed_color::window_frame, L"window_frame"}, {known_themed_color::window_text, L"window_text"}, {known_themed_color::button_face, L"button_face"}, {known_themed_color::button_highlight, L"button_highlight"}, {known_themed_color::button_shadow, L"button_shadow"}, {known_themed_color::gradient_active_caption, L"gradient_active_caption"}, {known_themed_color::gradient_inactive_caption, L"gradient_inactive_caption"}, {known_themed_color::menu_bar, L"menu_bar"}, {known_themed_color::menu_highlight, L"menu_highlight"}, {known_themed_color::accent, L"accent"}, {known_themed_color::accent_text, L"accent_text"}, {known_themed_color::text_box, L"text_box"}, {known_themed_color::text_box_text, L"text_box_text"}});}
99  }
100 }
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.
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:18
Contains xtd::ustring class.
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.
The system-defined color used to highlight menu items when the menu appears as a flat menu...
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
The system-defined face color of a 3-D element.