#include <Mouse.hpp>
Public Member Functions | |
State (const ALLEGRO_MOUSE_STATE &state) | |
Creates a Mouse State from an Allegro mouse state. | |
operator ALLEGRO_MOUSE_STATE () const | |
Returns the Allegro mouse state. | |
Public Attributes | |
int | w |
Position of the horizontal scroll. | |
int | x |
X coordinate of the mouse cursor. | |
int | y |
Y coordinate of the mouse cursor. | |
int | z |
Position of the vertical scroll. | |
int | buttons |
Bitmask of buttons held down. |
Mouse state.
a5::Mouse::State::State | ( | const ALLEGRO_MOUSE_STATE & | state | ) |
a5::Mouse::State::operator ALLEGRO_MOUSE_STATE | ( | ) | const |
Returns the Allegro mouse state.
Position of the horizontal scroll.
X coordinate of the mouse cursor.
Y coordinate of the mouse cursor.
Position of the vertical scroll.
Bitmask of buttons held down.