X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=src%2Fevent.h;h=a51113f94937572c5e65e61d0d56e11400883491;hb=12274901ac01898b01b93e15b5b87dec3348afae;hp=e4ac2869d8290da7bf11796b9c3ae3d5c6eb3446;hpb=fb1f0ff6ab479c68cbac5c2d55de5c2beb229efd;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 {