xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
known_themed_color.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/ustring.h>
6
8namespace xtd {
10 namespace forms {
18 enum class known_themed_color {
20 accent = 1,
38 control,
50 desktop,
70 info,
74 menu,
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}
Defines the base class for controls, which are components with visual representation.
Definition control.h:67
Represents the base functionality for all menus. Although tool_strip_drop_down and tool_strip_drop_do...
Definition menu.h:32
Represents a standard Windows scroll bar.
Definition scroll_bar.h:17
Represents a standard Windows text box.
Definition text_box.h:22
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
known_themed_color
Specifies the known system colors.
Definition known_themed_color.h:18
@ info_text
The system-defined color of the text of a ToolTip.
@ control_dark
The system-defined shadow color of a 3-D element. The shadow color is applied to parts of a 3-D eleme...
@ highlight_text
The system-defined color of the text of selected items.
@ window
The system-defined color of the background in the client area of a window.
@ active_caption
The system-defined color of the background of the active window's title bar.
@ menu_highlight
The system-defined color used to highlight menu items when the menu appears as a flat menu.
@ button_face
The system-defined face color of a 3-D element.
@ accent_text
The system-defined color of the accent text color (macos specific. On other platform is same as highl...
@ control_light_light
The system-defined highlight color of a 3-D element. The highlight color is applied to the parts of a...
@ active_border
The system-defined color of the active window's border.
@ highlight
The system-defined color of the background of selected items. This includes selected menu items as we...
@ menu_bar
The system-defined color of the background of a menu bar.
@ hot_track
The system-defined color used to designate a hot-tracked item. Single-clicking a hot-tracked item exe...
@ window_text
The system-defined color of the text in the client area of a window.
@ accent
The system-defined color of the accent color (macos specific. On other platform is same as menu_highl...
@ gray_text
The system-defined color of dimmed text. Items in a list that are disabled are displayed in dimmed te...
@ text_box_text
The system-defined color of the accent text color (macos specific. On other platform is same as windo...
@ text_box
The system-defined color of the accent color (macos specific. On other platform is same as window).
@ menu
The system-defined color of a menu's background.
@ control_light
The system-defined color that is the light color of a 3-D element. The light color is applied to part...
@ button_shadow
The system-defined color that is the shadow color of a 3-D element. This color is applied to parts of...
@ inactive_border
The system-defined color of an inactive window's border.
@ active_caption_text
The system-defined color of the text in the active window's title bar.
@ desktop
The system-defined color of the desktop.
@ gradient_active_caption
The system-defined color of the lightest color in the color gradient of an active window's title bar.
@ inactive_caption_text
The system-defined color of the text in an inactive window's title bar.
@ scroll_bar
The system-defined color of the background of a scroll bar.
@ info
The system-defined color of the background of a ToolTip.
@ control_text
The system-defined color of text in a 3-D element.
@ control_dark_dark
The system-defined color that is the dark shadow color of a 3-D element. The dark shadow color is app...
@ button_highlight
The system-defined color that is the highlight color of a 3-D element. This color is applied to parts...
@ window_frame
The system-defined color of a window frame.
@ gradient_inactive_caption
The system-defined color of the lightest color in the color gradient of an inactive window's title ba...
@ inactive_caption
The system-defined color of the background of an inactive window's title bar.
@ menu_text
The system-defined color of a menu's text.
@ app_workspace
The system-defined color of the application workspace. The application workspace is the area in a mul...
@ control
The system-defined face color of a 3-D element.
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.