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"}});}
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
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::ustring class.