25 lines
418 B
C
25 lines
418 B
C
|
|
#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_
|