diff options
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 |