|
Archeus 0.0.0
A C library and game engine that focuses on documentation
|
Go to the source code of this file.
Macros | |
| #define | ARC_MOUSE_BUTTON_NUM 5 |
Typedefs | |
| typedef struct ARC_Mouse | ARC_Mouse |
| typedef enum ARC_MouseState | ARC_MouseState |
| typedef enum ARC_MouseButton | ARC_MouseButton |
Enumerations | |
| enum | ARC_MouseState { ARC_MOUSE_NONE , ARC_MOUSE_PRESSED , ARC_MOUSE_RELEASED } |
| enum | ARC_MouseButton { ARC_MOUSE_LEFT = 0 , ARC_MOUSE_MIDDLE = 1 , ARC_MOUSE_RIGHT = 2 , ARC_MOUSE_X1 = 3 , ARC_MOUSE_X2 = 4 } |
Functions | |
| void | ARC_Mouse_CreateWithInput (ARC_Mouse **mouse, ARC_Input *input) |
| void | ARC_Mouse_Destroy (ARC_Mouse *mouse) |
| void | ARC_Mouse_Update (ARC_Mouse *mouse) |
| ARC_Point * | ARC_Mouse_GetCoords (ARC_Mouse *mouse) |
| ARC_MouseState | ARC_Mouse_GetState (ARC_Mouse *mouse, ARC_MouseButton button) |
| int32_t * | ARC_Mouse_GetScrollY (ARC_Mouse *mouse) |
| typedef enum ARC_MouseButton ARC_MouseButton |
| typedef enum ARC_MouseState ARC_MouseState |
| enum ARC_MouseButton |
| Enumerator | |
|---|---|
| ARC_MOUSE_LEFT | |
| ARC_MOUSE_MIDDLE | |
| ARC_MOUSE_RIGHT | |
| ARC_MOUSE_X1 | |
| ARC_MOUSE_X2 | |
Definition at line 24 of file mouse.h.
| enum ARC_MouseState |
| Enumerator | |
|---|---|
| ARC_MOUSE_NONE | |
| ARC_MOUSE_PRESSED | |
| ARC_MOUSE_RELEASED | |
| void ARC_Mouse_Destroy | ( | ARC_Mouse * | mouse | ) |
| int32_t * ARC_Mouse_GetScrollY | ( | ARC_Mouse * | mouse | ) |
| ARC_MouseState ARC_Mouse_GetState | ( | ARC_Mouse * | mouse, |
| ARC_MouseButton | button ) |
| void ARC_Mouse_Update | ( | ARC_Mouse * | mouse | ) |