Loading...
Searching...
No Matches
mouse.h
Go to the documentation of this file.
#ifndef ARC_GLFW_MOUSE_H_
#define ARC_GLFW_MOUSE_H_
#ifdef ARC_GLFW_INPUT
#include <GLFW/glfw3.h>
#include "arc/input/mouse.h"
#include "arc/math/point.h"
struct ARC_Mouse {
GLFWwindow *window;
ARC_Point *coords;
int32_t *scrollY;
ARC_MouseState *buttons;
uint8_t *buttonsReleased;
};
struct ARC_MouseInfo {
GLFWwindow *window;
};
#endif // !ARC_GLFW_INPUT
#endif // !ARC_GLFW_MOUSE_H_
mouse.h
ARC_MouseState
ARC_MouseState
Definition mouse.h:18
point.h
ARC_Mouse
Definition mouse.h:8
ARC_Mouse::coords
ARC_Point * coords
Definition mouse.h:10
ARC_Mouse::buttons
ARC_MouseState * buttons
Definition mouse.h:13
ARC_Mouse::scrollY
int32_t * scrollY
Definition mouse.h:11
ARC_Mouse::buttonsReleased
uint8_t * buttonsReleased
Definition mouse.h:14
ARC_Point
Definition point.h:10