6 typedef void (*DisplayFuncType)(Window* win);
7 typedef void (*KeyboardFuncType)(Window* win, int key, bool pressed);
8 typedef void (*MouseButtonFuncType)(Window *win, int bn, bool pressed, int x, int y);
9 typedef void (*MouseMotionFuncType)(Window *win, int x, int y);
12 DisplayFuncType display;
13 KeyboardFuncType keyboard;
14 MouseButtonFuncType button;
15 MouseMotionFuncType motion;
18 void process_events();