Dokumentation
Pointer Struct Reference
#include <object/pointer.h>
Public Member Functions | |
| Pointer () | |
| Default constructor. | |
| Pointer & | operator= (const Pointer &other) |
| Assignment operator. | |
Public Attributes | |
| int | x |
| Current X position of the mouse. | |
| int | y |
| Current Y position of the mouse. | |
| bool | button [MOUSE_BUTTONS] |
| Currently pressed mouse buttons. | |
Detailed Description
Mouse state
Constructor & Destructor Documentation
|
inline |
Default constructor.
Member Function Documentation
Assignment operator.
- Parameters
-
other Reference to other pointer
- Returns
- Reference to this pointer
Member Data Documentation
| int Pointer::x |
Current X position of the mouse.
| int Pointer::y |
Current Y position of the mouse.
| bool Pointer::button[MOUSE_BUTTONS] |
Currently pressed mouse buttons.
The documentation for this struct was generated from the following file:
- object/pointer.h