![]() |
Blamite Game Engine - Strings
00449.01.12.26.0555.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Class representing a mouse scroll event. More...
#include <MouseWheelEvent.h>
Inheritance diagram for MouseWheelEvent:
Collaboration diagram for MouseWheelEvent:Public Member Functions | |
| MouseWheelEvent (int _x, int _y, bool _flipped) | |
| int | GetX () |
| The amount scrolled horizontally, positive to the right and negative to the left. More... | |
| int | GetY () |
| The amount scrolled vertically, positive away from the user and negative toward the user. More... | |
| bool | IsFlipped () |
| Whether or not the scroll values are flipped/inverted. More... | |
Public Member Functions inherited from BlamEvent | |
| BlamEvent (BlamEventType type) | |
| Constructs a new event with the specified type. More... | |
| BlamEventType | GetEventType () |
| Retrieves the type of the event. More... | |
| void | SetCancelled (bool cancel) |
| Sets whether or not the event should be cancelled. More... | |
| bool | IsCancelled () |
| Determines whether or not the event has been cancelled. More... | |
Class representing a mouse scroll event.
This event is fired from the SDL_MOUSEWHEEL event.
| MouseWheelEvent::MouseWheelEvent | ( | int | _x, |
| int | _y, | ||
| bool | _flipped | ||
| ) |
| int MouseWheelEvent::GetX | ( | ) |
The amount scrolled horizontally, positive to the right and negative to the left.
| int MouseWheelEvent::GetY | ( | ) |
The amount scrolled vertically, positive away from the user and negative toward the user.
| bool MouseWheelEvent::IsFlipped | ( | ) |
Whether or not the scroll values are flipped/inverted.