projects
/
winnie
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
271ee83c5fc021c3c72de6fa9d222bc209e0bacc
[winnie]
/
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
int get_button(int bn);
17
18
int read_mouse();
19
20
#endif // MOUSE_H_