X-Git-Url: https://eleni.mutantstargoat.com/git/?p=winnie;a=blobdiff_plain;f=src%2Fevent.h;h=a51113f94937572c5e65e61d0d56e11400883491;hp=e4ac2869d8290da7bf11796b9c3ae3d5c6eb3446;hb=026158b5ee6ffac95c3efc6eee4c155497cd8594;hpb=981f0eab2195d34f7c186a2e3e891810e14ce5b4 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 {