X-Git-Url: http://git.mutantstargoat.com?p=winnie;a=blobdiff_plain;f=src%2Fwindow.cc;h=880a6ed9c98445f78af89b95f754cc3e23a75eaf;hp=af30e3c5c865cce46f487358a9c4510527066d0a;hb=ffd2c0a0f8b898cb4199a0c63aff255a85cc0f11;hpb=f71618aebfa6b8754dd056689a6c5821b755972c diff --git a/src/window.cc b/src/window.cc index af30e3c..880a6ed 100644 --- a/src/window.cc +++ b/src/window.cc @@ -93,3 +93,23 @@ void Window::set_mouse_motion_callback(MouseMotionFuncType func) { callbacks.motion = func; } + +const DisplayFuncType Window::get_display_callback() const +{ + return callbacks.display; +} + +const KeyboardFuncType Window::get_keyboard_callback() const +{ + return callbacks.keyboard; +} + +const MouseButtonFuncType Window::get_mouse_button_callback() const +{ + return callbacks.button; +} + +const MouseMotionFuncType Window::get_mouse_motion_callback() const +{ + return callbacks.motion; +}