projects
/
winnie
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
535f0d4031b8ed010050b47c707a693b389124f1
[winnie]
/
src
/
mouse.h
1
#ifndef MOUSE_H_
2
#define MOUSE_H_
3
4
struct Rect;
5
6
bool init_mouse();
7
void destroy_mouse();
8
9
void set_mouse_bounds(const Rect &rect);
10
11
int get_mouse_fd();
12
void process_mouse_event();
13
14
void get_pointer_pos(int *x, int *y);
15
int get_button_state(int bn);
16
17
#endif // MOUSE_H_