projects
/
winnie
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
get dirty
[winnie]
/
src
/
event.h
diff --git
a/src/event.h
b/src/event.h
index
e4ac286
..
a51113f
100644
(file)
--- a/
src/event.h
+++ b/
src/event.h
@@
-5,7
+5,7
@@
class Window;
typedef void (*DisplayFuncType)(Window* win);
typedef void (*KeyboardFuncType)(Window* win, int key, bool pressed);
typedef void (*DisplayFuncType)(Window* win);
typedef void (*KeyboardFuncType)(Window* win, int key, bool pressed);
-typedef void (*MouseButtonFuncType)(Window *win, int bn, bool pressed);
+typedef void (*MouseButtonFuncType)(Window *win, int bn, bool pressed, int x, int y);
typedef void (*MouseMotionFuncType)(Window *win, int x, int y);
struct Callbacks {
typedef void (*MouseMotionFuncType)(Window *win, int x, int y);
struct Callbacks {