xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Go to the documentation of this file.
1 #pragma once
5 #include <xtd/ustring.h>
8 namespace xtd {
10  namespace drawing {
18  enum class hotkey_prefix {
20  none = 0,
22  show = 1,
24  hide = 2,
25  };
28  inline std::ostream& operator<<(std::ostream& os, hotkey_prefix value) {return os << xtd::to_string(value, {{hotkey_prefix::none, "none"}, {hotkey_prefix::show, "show"}, {hotkey_prefix::hide, "hide"}});}
29  inline std::wostream& operator<<(std::wostream& os, hotkey_prefix value) {return os << xtd::to_string(value, {{hotkey_prefix::none, L"none"}, {hotkey_prefix::show, L"show"}, {hotkey_prefix::hide, L"hide"}});}
31  }
32 }
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Do not display the hot-key prefix.
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: date_time.h:1110
Contains xtd::ustring class.
Specifies the type of display for hot-key prefixes that relate to text.
Definition: hotkey_prefix.h:18
Display the hot-key prefix.