aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/gui/Keyboard.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-09-15 19:17:38 +0800
committercrupest <crupest@outlook.com>2021-09-15 19:17:38 +0800
commitcb981f5a337f3a8fc9d450b891c358c2b8dc29d3 (patch)
tree5216a09c127e534edfebca22f8b91d876812f6b4 /include/cru/platform/gui/Keyboard.hpp
parent105e4ad880a810300bf4b3a0a0752ae58924667b (diff)
downloadcru-cb981f5a337f3a8fc9d450b891c358c2b8dc29d3.tar.gz
cru-cb981f5a337f3a8fc9d450b891c358c2b8dc29d3.tar.bz2
cru-cb981f5a337f3a8fc9d450b891c358c2b8dc29d3.zip
...
Diffstat (limited to 'include/cru/platform/gui/Keyboard.hpp')
-rw-r--r--include/cru/platform/gui/Keyboard.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/cru/platform/gui/Keyboard.hpp b/include/cru/platform/gui/Keyboard.hpp
index b93b44fa..b025d86e 100644
--- a/include/cru/platform/gui/Keyboard.hpp
+++ b/include/cru/platform/gui/Keyboard.hpp
@@ -123,7 +123,7 @@ struct KeyModifiers {
static constexpr KeyModifier alt{0b100};
};
-CRU_PLATFORM_GUI_API std::u16string_view ToString(KeyCode key_code);
-CRU_PLATFORM_GUI_API std::u16string ToString(
- KeyModifier key_modifier, std::u16string_view separator = u"+");
+CRU_PLATFORM_GUI_API String ToString(KeyCode key_code);
+CRU_PLATFORM_GUI_API String ToString(KeyModifier key_modifier,
+ StringView separator = u"+");
} // namespace cru::platform::gui