12 namespace visual_styles {
36 inline std::ostream& operator<<(std::ostream& os,
push_button_state value) {
return os <<
to_string(value, {{
push_button_state::normal,
"normal"}, {
push_button_state::hot,
"hot"}, {
push_button_state::pressed,
"pressed"}, {
push_button_state::disabled,
"disabled"}, {
push_button_state::default_state,
"default_state"}});}
37 inline std::wostream& operator<<(std::wostream& os,
push_button_state value) {
return os <<
to_string(value, {{
push_button_state::normal, L
"normal"}, {
push_button_state::hot, L
"hot"}, {
push_button_state::pressed, L
"pressed"}, {
push_button_state::disabled, L
"disabled"}, {
push_button_state::default_state, L
"default_state"}});}
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.