36 files changed, 332 insertions, 176 deletions
diff --git a/src/controller/callbacks/mouse_wheel.h b/src/controller/callbacks/mouse_wheel.h new file mode 100644 index 0000000..8f6a57d --- a/dev/null +++ b/src/controller/callbacks/mouse_wheel.h | |||
@@ -0,0 +1,11 @@ | |||
1 | #ifndef MOUSE_WHEEL_H | ||
2 | #define MOUSE_WHEEL_H | ||
3 | |||
4 | /* | ||
5 | * GLUT callback to be called whenever the scroll wheel is scrolled. | ||
6 | * Based on code from Ashwin at | ||
7 | * http://stackoverflow.com/questions/14378/using-the-mouse-scrollwheel-in-glut/14444. | ||
8 | */ | ||
9 | void mouse_wheel (int, int, int, int); | ||
10 | |||
11 | #endif // MOUSE_WHEEL_H | ||