xtd - Reference Guide 0.2.0
known_color.h
Go to the documentation of this file.
1 #pragma once
5 #include "xtd/enum.h"
6 
8 namespace xtd {
10  namespace drawing {
18  enum class known_color {
20  active_border = 1,
28  control,
40  desktop,
42  gray_text,
44  highlight,
48  hot_track,
56  info,
58  info_text,
60  menu,
62  menu_text,
64  scroll_bar,
66  window,
74  alice_blue,
78  aqua,
80  aquamarine,
82  azure,
84  beige,
86  bisque,
88  black,
92  blue,
96  brown,
98  burly_wood,
100  cadet_blue,
102  chartreuse,
104  chocolate,
106  coral,
110  cornsilk,
112  crimson,
114  cyan,
116  dark_blue,
118  dark_cyan,
122  dark_gray,
124  dark_green,
126  dark_khaki,
128  dark_magenta,
132  dark_orange,
134  dark_orchid,
136  dark_red,
138  dark_salmon,
148  dark_violet,
150  deep_pink,
154  dim_gray,
156  dodger_blue,
158  firebrick,
160  floral_white,
162  forest_green,
164  fuchsia,
166  gainsboro,
168  ghost_white,
170  gold,
172  goldenrod,
174  gray,
176  green,
178  green_yellow,
180  honeydew,
182  hot_pink,
184  indian_red,
186  indigo,
188  ivory,
190  khaki,
192  lavender,
196  lawn_green,
200  light_blue,
202  light_coral,
204  light_cyan,
208  light_gray,
210  light_green,
212  light_pink,
214  light_salmon,
224  light_yellow,
226  lime,
228  lime_green,
230  linen,
232  magenta,
234  maroon,
238  medium_blue,
256  mint_cream,
258  misty_rose,
260  moccasin,
262  navajo_white,
264  navy,
266  old_lace,
268  olive,
270  olive_drab,
272  orange,
274  orange_red,
276  orchid,
280  pale_green,
286  papaya_whip,
288  peach_puff,
290  peru,
292  pink,
294  plum,
296  powder_blue,
298  purple,
302  red,
304  rosy_brown,
306  royal_blue,
308  saddle_brown,
310  salmon,
312  sandy_brown,
314  sea_green,
316  sea_shell,
318  sienna,
320  silver,
322  sky_blue,
324  slate_blue,
326  slate_gray,
328  snow,
330  spring_green,
332  steel_blue,
334  tan,
336  teal,
338  thistle,
340  tomato,
342  turquoise,
344  violet,
346  wheat,
348  white,
350  white_smoke,
352  yellow,
354  yellow_green,
356  button_face,
366  menu_bar,
370  accent,
372  accent_text,
374  text_box,
378  active_text,
380  link_text,
382  visited_text,
383  };
384  }
385 }
386 
388 template<> struct xtd::enum_register<xtd::drawing::known_color> {
389  explicit operator auto() const {return xtd::enum_collection<xtd::drawing::known_color> {{xtd::drawing::known_color::active_border, "active_border"}, {xtd::drawing::known_color::active_caption, "active_caption"}, {xtd::drawing::known_color::active_caption_text, "active_caption_text"}, {xtd::drawing::known_color::app_workspace, "app_workspace"}, {xtd::drawing::known_color::control, "control"}, {xtd::drawing::known_color::control_dark, "control_dark"}, {xtd::drawing::known_color::control_dark_dark, "control_dark_dark"}, {xtd::drawing::known_color::control_light, "control_light"}, {xtd::drawing::known_color::control_light_light, "control_light_light"}, {xtd::drawing::known_color::control_text, "control_text"}, {xtd::drawing::known_color::desktop, "desktop"}, {xtd::drawing::known_color::gray_text, "gray_text"}, {xtd::drawing::known_color::highlight, "highlight"}, {xtd::drawing::known_color::highlight_text, "highlight_text"}, {xtd::drawing::known_color::hot_track, "hot_track"}, {xtd::drawing::known_color::inactive_border, "inactive_border"}, {xtd::drawing::known_color::inactive_caption, "inactive_caption"}, {xtd::drawing::known_color::inactive_caption_text, "inactive_caption_text"}, {xtd::drawing::known_color::info, "info"}, {xtd::drawing::known_color::info_text, "info_text"}, {xtd::drawing::known_color::menu, "menu"}, {xtd::drawing::known_color::menu_text, "menu_text"}, {xtd::drawing::known_color::scroll_bar, "scroll_bar"}, {xtd::drawing::known_color::window, "window"}, {xtd::drawing::known_color::window_frame, "window_frame"}, {xtd::drawing::known_color::window_text, "window_text"}, {xtd::drawing::known_color::transparent, "transparent"}, {xtd::drawing::known_color::alice_blue, "alice_blue"}, {xtd::drawing::known_color::antique_white, "antique_white"}, {xtd::drawing::known_color::aqua, "aqua"}, {xtd::drawing::known_color::aquamarine, "aquamarine"}, {xtd::drawing::known_color::azure, "azure"}, {xtd::drawing::known_color::beige, "beige"}, {xtd::drawing::known_color::bisque, "bisque"}, {xtd::drawing::known_color::black, "black"}, {xtd::drawing::known_color::blanched_almond, "blanched_almond"}, {xtd::drawing::known_color::blue, "blue"}, {xtd::drawing::known_color::blue_violet, "blue_violet"}, {xtd::drawing::known_color::brown, "brown"}, {xtd::drawing::known_color::burly_wood, "burly_wood"}, {xtd::drawing::known_color::cadet_blue, "cadet_blue"}, {xtd::drawing::known_color::chartreuse, "chartreuse"}, {xtd::drawing::known_color::chocolate, "chocolate"}, {xtd::drawing::known_color::coral, "coral"}, {xtd::drawing::known_color::cornflower_blue, "cornflower_blue"}, {xtd::drawing::known_color::cornsilk, "cornsilk"}, {xtd::drawing::known_color::crimson, "crimson"}, {xtd::drawing::known_color::cyan, "cyan"}, {xtd::drawing::known_color::dark_blue, "dark_blue"}, {xtd::drawing::known_color::dark_cyan, "dark_cyan"}, {xtd::drawing::known_color::dark_goldenrod, "dark_goldenrod"}, {xtd::drawing::known_color::dark_gray, "dark_gray"}, {xtd::drawing::known_color::dark_green, "dark_green"}, {xtd::drawing::known_color::dark_khaki, "dark_khaki"}, {xtd::drawing::known_color::dark_magenta, "dark_magenta"}, {xtd::drawing::known_color::dark_olive_green, "dark_olive_green"}, {xtd::drawing::known_color::dark_orange, "dark_orange"}, {xtd::drawing::known_color::dark_orchid, "dark_orchid"}, {xtd::drawing::known_color::dark_red, "dark_red"}, {xtd::drawing::known_color::dark_salmon, "dark_salmon"}, {xtd::drawing::known_color::dark_sea_green, "dark_sea_green"}, {xtd::drawing::known_color::dark_slate_blue, "dark_slate_blue"}, {xtd::drawing::known_color::dark_slate_gray, "dark_slate_gray"}, {xtd::drawing::known_color::dark_turquoise, "dark_turquoise"}, {xtd::drawing::known_color::dark_violet, "dark_violet"}, {xtd::drawing::known_color::deep_pink, "deep_pink"}, {xtd::drawing::known_color::deep_sky_blue, "deep_sky_blue"}, {xtd::drawing::known_color::dim_gray, "dim_gray"}, {xtd::drawing::known_color::dodger_blue, "dodger_blue"}, {xtd::drawing::known_color::firebrick, "firebrick"}, {xtd::drawing::known_color::floral_white, "floral_white"}, {xtd::drawing::known_color::forest_green, "forest_green"}, {xtd::drawing::known_color::fuchsia, "fuchsia"}, {xtd::drawing::known_color::gainsboro, "gainsboro"}, {xtd::drawing::known_color::ghost_white, "ghost_white"}, {xtd::drawing::known_color::gold, "gold"}, {xtd::drawing::known_color::goldenrod, "goldenrod"}, {xtd::drawing::known_color::gray, "gray"}, {xtd::drawing::known_color::green, "green"}, {xtd::drawing::known_color::green_yellow, "green_yellow"}, {xtd::drawing::known_color::honeydew, "honeydew"}, {xtd::drawing::known_color::hot_pink, "hot_pink"}, {xtd::drawing::known_color::indian_red, "indian_red"}, {xtd::drawing::known_color::indigo, "indigo"}, {xtd::drawing::known_color::ivory, "ivory"}, {xtd::drawing::known_color::khaki, "khaki"}, {xtd::drawing::known_color::lavender, "lavender"}, {xtd::drawing::known_color::lavender_blush, "lavender_blush"}, {xtd::drawing::known_color::lawn_green, "lawn_green"}, {xtd::drawing::known_color::lemon_chiffon, "lemon_chiffon"}, {xtd::drawing::known_color::light_blue, "light_blue"}, {xtd::drawing::known_color::light_coral, "light_coral"}, {xtd::drawing::known_color::light_cyan, "light_cyan"}, {xtd::drawing::known_color::light_goldenrod_yellow, "light_goldenrod_yellow"}, {xtd::drawing::known_color::light_gray, "light_gray"}, {xtd::drawing::known_color::light_green, "light_green"}, {xtd::drawing::known_color::light_pink, "light_pink"}, {xtd::drawing::known_color::light_salmon, "light_salmon"}, {xtd::drawing::known_color::light_sea_green, "light_sea_green"}, {xtd::drawing::known_color::light_sky_blue, "light_sky_blue"}, {xtd::drawing::known_color::light_slate_gray, "light_slate_gray"}, {xtd::drawing::known_color::light_steel_blue, "light_steel_blue"}, {xtd::drawing::known_color::light_yellow, "light_yellow"}, {xtd::drawing::known_color::lime, "lime"}, {xtd::drawing::known_color::lime_green, "lime_green"}, {xtd::drawing::known_color::linen, "linen"}, {xtd::drawing::known_color::magenta, "magenta"}, {xtd::drawing::known_color::maroon, "maroon"}, {xtd::drawing::known_color::medium_aquamarine, "medium_aquamarine"}, {xtd::drawing::known_color::medium_blue, "medium_blue"}, {xtd::drawing::known_color::medium_orchid, "medium_orchid"}, {xtd::drawing::known_color::medium_purple, "medium_purple"}, {xtd::drawing::known_color::medium_sea_green, "medium_sea_green"}, {xtd::drawing::known_color::medium_slate_blue, "medium_slate_blue"}, {xtd::drawing::known_color::medium_spring_green, "medium_spring_green"}, {xtd::drawing::known_color::medium_turquoise, "medium_turquoise"}, {xtd::drawing::known_color::medium_violet_red, "medium_violet_red"}, {xtd::drawing::known_color::midnight_blue, "midnight_blue"}, {xtd::drawing::known_color::mint_cream, "mint_cream"}, {xtd::drawing::known_color::misty_rose, "misty_rose"}, {xtd::drawing::known_color::moccasin, "moccasin"}, {xtd::drawing::known_color::navajo_white, "navajo_white"}, {xtd::drawing::known_color::navy, "navy"}, {xtd::drawing::known_color::old_lace, "old_lace"}, {xtd::drawing::known_color::olive, "olive"}, {xtd::drawing::known_color::olive_drab, "olive_drab"}, {xtd::drawing::known_color::orange, "orange"}, {xtd::drawing::known_color::orange_red, "orange_red"}, {xtd::drawing::known_color::orchid, "orchid"}, {xtd::drawing::known_color::pale_goldenrod, "pale_goldenrod"}, {xtd::drawing::known_color::pale_green, "pale_green"}, {xtd::drawing::known_color::pale_turquoise, "pale_turquoise"}, {xtd::drawing::known_color::pale_violet_red, "pale_violet_red"}, {xtd::drawing::known_color::papaya_whip, "papaya_whip"}, {xtd::drawing::known_color::peach_puff, "peach_puff"}, {xtd::drawing::known_color::peru, "peru"}, {xtd::drawing::known_color::pink, "pink"}, {xtd::drawing::known_color::plum, "plum"}, {xtd::drawing::known_color::powder_blue, "powder_blue"}, {xtd::drawing::known_color::purple, "purple"}, {xtd::drawing::known_color::rebecca_purple, "rebecca_purple"}, {xtd::drawing::known_color::red, "red"}, {xtd::drawing::known_color::rosy_brown, "rosy_brown"}, {xtd::drawing::known_color::royal_blue, "royal_blue"}, {xtd::drawing::known_color::saddle_brown, "saddle_brown"}, {xtd::drawing::known_color::salmon, "salmon"}, {xtd::drawing::known_color::sandy_brown, "sandy_brown"}, {xtd::drawing::known_color::sea_green, "sea_green"}, {xtd::drawing::known_color::sea_shell, "sea_shell"}, {xtd::drawing::known_color::sienna, "sienna"}, {xtd::drawing::known_color::silver, "silver"}, {xtd::drawing::known_color::sky_blue, "sky_blue"}, {xtd::drawing::known_color::slate_blue, "slate_blue"}, {xtd::drawing::known_color::slate_gray, "slate_gray"}, {xtd::drawing::known_color::snow, "snow"}, {xtd::drawing::known_color::spring_green, "spring_green"}, {xtd::drawing::known_color::steel_blue, "steel_blue"}, {xtd::drawing::known_color::tan, "tan"}, {xtd::drawing::known_color::teal, "teal"}, {xtd::drawing::known_color::thistle, "thistle"}, {xtd::drawing::known_color::tomato, "tomato"}, {xtd::drawing::known_color::turquoise, "turquoise"}, {xtd::drawing::known_color::violet, "violet"}, {xtd::drawing::known_color::wheat, "wheat"}, {xtd::drawing::known_color::white, "white"}, {xtd::drawing::known_color::white_smoke, "white_smoke"}, {xtd::drawing::known_color::yellow, "yellow"}, {xtd::drawing::known_color::yellow_green, "yellow_green"}, {xtd::drawing::known_color::button_face, "button_face"}, {xtd::drawing::known_color::button_highlight, "button_highlight"}, {xtd::drawing::known_color::button_shadow, "button_shadow"}, {xtd::drawing::known_color::gradient_active_caption, "gradient_active_caption"}, {xtd::drawing::known_color::gradient_inactive_caption, "gradient_inactive_caption"}, {xtd::drawing::known_color::menu_bar, "menu_bar"}, {xtd::drawing::known_color::menu_highlight, "menu_highlight"}, {xtd::drawing::known_color::accent, "accent"}, {xtd::drawing::known_color::accent_text, "accent_text"}, {xtd::drawing::known_color::text_box, "text_box"}, {xtd::drawing::known_color::text_box_text, "text_box_text"}, {xtd::drawing::known_color::active_text, "active_text"}, {xtd::drawing::known_color::link_text, "link_text"}, {xtd::drawing::known_color::visited_text, "visited_text"}};}
390 };
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 background of a scroll bar.
The system-defined color of an inactive window&#39;s border.
A system-defined color.
A system-defined color.
A system-defined color.
The system-defined color of the text of selected items.
A system-defined color.
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:12
A system-defined color.
A system-defined color.
The system-defined shadow color of a 3-D element. The shadow color is applied to parts of a 3-D eleme...
A system-defined color.
A system-defined color.
A system-defined color.
A system-defined color.
A system-defined color.
A system-defined color.
The system-defined highlight color of a 3-D element. The highlight color is applied to the parts of a...
A system-defined color.
A system-defined color.
A system-defined color.
A system-defined color.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
A system-defined color.
The visited text color is the text color of an html visited link text.
A system-defined color.
The system-defined color of the background of the active window&#39;s title bar.
A system-defined color.
The system-defined color of the accent text color (macos specific. On other platform is same as windo...
The system-defined color of the desktop.
A system-defined color.
The system-defined color of the active window&#39;s border.
The system-defined color of the background of selected items. This includes selected menu items as we...
A system-defined color.
The system-defined color of the lightest color in the color gradient of an inactive window&#39;s title ba...
The system-defined color of the background of a ToolTip.
A system-defined color.
A system-defined color.
A system-defined color.
A system-defined color.
The system-defined face color of a 3-D element.
A system-defined color.
The system-defined color that is the light color of a 3-D element. The light color is applied to part...
A system-defined color.
A system-defined color.
The system-defined color of a menu&#39;s text.
The system-defined color of a menu&#39;s background.
Contains xtd::enum_object.
The system-defined face color of a 3-D element.
A system-defined color.
A system-defined color.
The system-defined color used to highlight menu items when the menu appears as a flat menu...
A system-defined color.
A system-defined color.
A system-defined color.
The system-defined color of a window frame.
The system-defined color of the accent text color (macos specific. On other platform is same as highl...
The system-defined color of the application workspace. The application workspace is the area in a mul...
The system-defined color of text in a 3-D element.
The system-defined color of the background of an inactive window&#39;s title bar.
A system-defined color.
A system-defined color.
The system-defined color of the accent color (macos specific. On other platform is same as window)...
A system-defined color.
The active text color is the text color of an html link text when mouse down.
A system-defined color.
A system-defined color.
A system-defined color.
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 text in an inactive window&#39;s title bar.
A system-defined color.
A system-defined color.
A system-defined color.
known_color
Specifies the known system colors.
Definition: known_color.h:18
A system-defined color.
A system-defined color.
The link text color is the text color of an html link text.
A system-defined color.
A system-defined color.
A system-defined color.
The system-defined color of the text in the client area of a window.
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 accent color (macos specific. On other platform is same as menu_highl...
A system-defined color.
A system-defined color.
The system-defined color of the text of a ToolTip.
A system-defined color.
A system-defined color.
A system-defined color.
The system-defined color of the background of a menu bar.
A system-defined color.
A system-defined color.
The system-defined color used to designate a hot-tracked item. Single-clicking a hot-tracked item exe...
A system-defined color.
A system-defined color.
A system-defined color.
A system-defined color.
A system-defined color.
A system-defined color.
The system-defined color of the text in the active window&#39;s title bar.
A system-defined color.
The system-defined color of dimmed text. Items in a list that are disabled are displayed in dimmed te...
The system-defined color of the background in the client area of a window.
A system-defined color.
The system-defined color that is the shadow color of a 3-D element. This color is applied to parts of...
Provides the registration struct for enumerations.
Definition: enum_register.h:30