xtd 0.2.0
Loading...
Searching...
No Matches
known_themed_color.h
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace forms {
22 enum class known_themed_color {
24 accent = 1,
42 control,
54 desktop,
74 info,
78 menu,
92 window,
97 };
98 }
99}
100
103 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"}};}
104};
Defines the base class for controls, which are components with visual representation.
Definition control.h:81
Represents the base functionality for all menus. Although tool_strip_drop_down and tool_strip_drop_do...
Definition menu.h:37
Represents a standard Windows scroll bar.
Definition scroll_bar.h:21
Represents a standard Windows text box.
Definition text_box.h:31
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.h:22
known_themed_color
Specifies the known system colors.
Definition known_themed_color.h:22
@ 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 xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38