This class defines a mouse button event, created by the MouseButtonCallback.
More...
#include <event.hpp>
This class defines a mouse button event, created by the MouseButtonCallback.
Definition at line 155 of file event.hpp.
Creates a new mouse button event.
- Parameters
-
button | The button of the event. |
action | The action of the event. |
mods | A bit field that describes which modifier keys were active. |
Definition at line 67 of file event.cpp.
sgl::MouseButtonEvent::~MouseButtonEvent |
( |
void |
| ) |
|
|
override |
Deletes a mouse button event.
Definition at line 73 of file event.cpp.
Action sgl::MouseButtonEvent::getAction |
( |
| ) |
|
Returns the action of the event.
- Returns
- The action of the event.
Definition at line 81 of file event.cpp.
Returns the mouse button of the event.
- Returns
- The mouse button of the event.
Definition at line 77 of file event.cpp.
Modifier sgl::MouseButtonEvent::getMods |
( |
| ) |
|
Returns the modifier bits of the event.
- Returns
- The modifier bits of the event.
Definition at line 85 of file event.cpp.
The documentation for this class was generated from the following files:
- /home/heiko/Projekte/Studium/SimpleGL/Core/include/SimpleGL/event.hpp
- /home/heiko/Projekte/Studium/SimpleGL/Core/src/event.cpp