projects
/
winnie
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixed grab win initialization
[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();
16
int get_button(int bn);
17
18
#endif // MOUSE_H_