From 0e35b2c022599bca2df61488945f07e4d6b4eb35 Mon Sep 17 00:00:00 2001 From: 杨宇千 Date: Sun, 11 Aug 2019 01:09:49 +0800 Subject: ... --- include/cru/platform/native/basic_types.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/cru/platform/native') diff --git a/include/cru/platform/native/basic_types.hpp b/include/cru/platform/native/basic_types.hpp index 573a9e76..5a7155ee 100644 --- a/include/cru/platform/native/basic_types.hpp +++ b/include/cru/platform/native/basic_types.hpp @@ -7,5 +7,5 @@ struct Dpi { float y; }; -enum class MouseButton { Left, Right, Middle }; -} // namespace cru::platform +enum MouseButton : unsigned { Left = 1, Right = 2, Middle = 4 }; +} // namespace cru::platform::native -- cgit v1.2.3