aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/native/native_event.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-06-14 00:44:14 +0800
committercrupest <crupest@outlook.com>2019-06-14 00:44:14 +0800
commit5ec370e5f91ad8b5ed7717eb93f4e3240ea4e784 (patch)
tree970188397f236715d3d021ddcfcbdeeee73ee860 /include/cru/platform/native/native_event.hpp
parent7b1e9fd2410c9d4fafbe5de9459b18775e6cc465 (diff)
downloadcru-5ec370e5f91ad8b5ed7717eb93f4e3240ea4e784.tar.gz
cru-5ec370e5f91ad8b5ed7717eb93f4e3240ea4e784.tar.bz2
cru-5ec370e5f91ad8b5ed7717eb93f4e3240ea4e784.zip
...
Diffstat (limited to 'include/cru/platform/native/native_event.hpp')
-rw-r--r--include/cru/platform/native/native_event.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/cru/platform/native/native_event.hpp b/include/cru/platform/native/native_event.hpp
new file mode 100644
index 00000000..21db5f90
--- /dev/null
+++ b/include/cru/platform/native/native_event.hpp
@@ -0,0 +1,12 @@
+#pragma once
+#include "cru/common/base.hpp"
+
+#include "basic_types.hpp"
+#include "cru/common/ui_base.hpp"
+
+namespace cru::platform::native {
+struct NativeMouseButtonEventArgs {
+ MouseButton button;
+ ui::Point point;
+};
+} // namespace cru::platform::native