24 lines
387 B
C
24 lines
387 B
C
|
|
#ifndef ARC_SDL_MOUSE_H_
|
||
|
|
#define ARC_SDL_MOUSE_H_
|
||
|
|
|
||
|
|
#ifdef ARC_SDL
|
||
|
|
#include <SDL.h>
|
||
|
|
#include "arc/input/mouse.h"
|
||
|
|
#include "arc/math/point.h"
|
||
|
|
|
||
|
|
struct ARC_Mouse {
|
||
|
|
SDL_Event *event;
|
||
|
|
ARC_Point *coords;
|
||
|
|
int32_t *scroll;
|
||
|
|
|
||
|
|
ARC_MouseState *buttons;
|
||
|
|
uint8_t *buttonsReleased;
|
||
|
|
};
|
||
|
|
|
||
|
|
struct ARC_MouseInfo {
|
||
|
|
SDL_Event *event;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // ARC_SDL
|
||
|
|
|
||
|
|
#endif // !ARC_SDL_MOUSE_H_
|