|
Berserk
|
#include <EventMouse.hpp>


Public Member Functions | |
| BRK_API | EventMouse ()=default |
| BRK_API | ~EventMouse () override=default |
| BRK_API const EventType & | GetEventType () const override |
| BRK_API void | SetPosition (Point2f position) |
| BRK_API void | SetDelta (Size2f delta) |
| BRK_API void | SetModifiers (InputModifiers modifiers) |
| BRK_API void | SetAction (InputAction action) |
| BRK_API void | SetButton (InputMouseButton button) |
| BRK_API Point2f | GetPosition () const |
| BRK_API Size2f | GetDelta () const |
| BRK_API InputModifiers | GetModifiers () const |
| BRK_API InputAction | GetAction () const |
| BRK_API InputMouseButton | GetButton () const |
Public Member Functions inherited from Event | |
| BRK_API | Event ()=default |
| BRK_API | ~Event () override=default |
Public Member Functions inherited from RefCnt | |
| virtual | ~RefCnt () |
| bool | IsUnique () const |
| std::int32_t | GetRefs () const |
| std::int32_t | AddRef () const |
| std::int32_t | RelRef () const |
Static Public Member Functions | |
| static BRK_API const EventType & | GetEventTypeStatic () |
Additional Inherited Members | |
Protected Member Functions inherited from RefCnt | |
| virtual void | Destroy () const |
Mouse input event.
|
default |
|
overridedefault |
| InputAction EventMouse::GetAction | ( | ) | const |
| InputMouseButton EventMouse::GetButton | ( | ) | const |
| Size2f EventMouse::GetDelta | ( | ) | const |
|
overridevirtual |
Implements Event.
|
static |
| InputModifiers EventMouse::GetModifiers | ( | ) | const |
| Point2f EventMouse::GetPosition | ( | ) | const |
| void EventMouse::SetAction | ( | InputAction | action | ) |
| void EventMouse::SetButton | ( | InputMouseButton | button | ) |
| void EventMouse::SetDelta | ( | Size2f | delta | ) |
| void EventMouse::SetModifiers | ( | InputModifiers | modifiers | ) |
| void EventMouse::SetPosition | ( | Point2f | position | ) |