X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;ds=sidebyside;f=src%2Fevent.h;h=a51113f94937572c5e65e61d0d56e11400883491;hb=026158b5ee6ffac95c3efc6eee4c155497cd8594;hp=e4ac2869d8290da7bf11796b9c3ae3d5c6eb3446;hpb=981f0eab2195d34f7c186a2e3e891810e14ce5b4;p=winnie diff --git a/src/event.h b/src/event.h index e4ac286..a51113f 100644 --- 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 (*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 {