diff options
author | crupest <crupest@outlook.com> | 2019-12-12 23:26:04 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-12-12 23:26:04 +0800 |
commit | f2aa96fba0b72eeeadf5160ea5df2c8143ec8aa0 (patch) | |
tree | b045d35bb2cf7281ab69abbd51302c85ea9ec3ef /include/cru/platform/native/event.hpp | |
parent | 02f46ada9ef85165759f5e58d665510077149ef3 (diff) | |
download | cru-f2aa96fba0b72eeeadf5160ea5df2c8143ec8aa0.tar.gz cru-f2aa96fba0b72eeeadf5160ea5df2c8143ec8aa0.tar.bz2 cru-f2aa96fba0b72eeeadf5160ea5df2c8143ec8aa0.zip |
...
Diffstat (limited to 'include/cru/platform/native/event.hpp')
-rw-r--r-- | include/cru/platform/native/event.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/cru/platform/native/event.hpp b/include/cru/platform/native/event.hpp new file mode 100644 index 00000000..48e9cfca --- /dev/null +++ b/include/cru/platform/native/event.hpp @@ -0,0 +1,15 @@ +#pragma once + +#include "../graph_base.hpp" +#include "basic_types.hpp" + +namespace cru::platform::native { +struct NativeMouseButtonEventArgs { + MouseButton button; + Point point; +}; + +enum class FocusChangeType { Gain, Lost }; + +enum class MouseEnterLeaveType { Enter, Leave }; +} // namespace cru::platform::native |