1 | #ifndef IEVENT_MOUSE_SUBSCRIBER_HPP |
2 | #define IEVENT_MOUSE_SUBSCRIBER_HPP |
3 |
|
4 |
|
5 | #include <cstdint> |
6 |
|
7 |
|
8 | class IEventMouseSubscriber |
9 | { |
10 | public: |
11 | virtual void OnMouseLeftDownEvent(uint64_t x, uint64_t y) = 0; |
12 | virtual void OnMouseLeftUpEvent(uint64_t x, uint64_t y) = 0; |
13 |
|
14 | virtual void OnMouseMiddleDownEvent(uint64_t x, uint64_t y) = 0; |
15 | virtual void OnMouseMiddleUpEvent(uint64_t x, uint64_t y) = 0; |
16 |
|
17 | virtual void OnMouseRightDownEvent(uint64_t x, uint64_t y) = 0; |
18 | virtual void OnMouseRightUpEvent(uint64_t x, uint64_t y) = 0; |
19 |
|
20 | virtual void OnMouseMoveEvent(uint64_t x, uint64_t y, int64_t dx, int64_t dy = 0); |
21 |
|
22 | virtual void OnMouseWheelScrollEvent(uint64_t dx, uint64_t dy) = 0; |
23 | }; |
24 |
|
25 |
|
26 | #endif /* IEVENT_MOUSE_SUBSCRIBER_HPP */ |
27 |
|