27 files changed, 179 insertions, 549 deletions
diff --git a/src/view/view.c b/src/view/view.c index db3be6d..02fd833 100644 --- a/src/view/view.c +++ b/src/view/view.c | |||
@@ -1,6 +1,7 @@ | |||
1 | #include "../controller/callbacks/display.h" | 1 | #include "../controller/callbacks/display.h" |
2 | #include "../controller/callbacks/keyboard.h" | 2 | #include "../controller/callbacks/keyboard.h" |
3 | #include "../controller/callbacks/mouse.h" | 3 | #include "../controller/callbacks/mouse.h" |
4 | #include "../controller/callbacks/mouse_motion.h" | ||
4 | #include "../controller/callbacks/mouse_wheel.h" | 5 | #include "../controller/callbacks/mouse_wheel.h" |
5 | #include "../controller/callbacks/reshape.h" | 6 | #include "../controller/callbacks/reshape.h" |
6 | #include "../db/dbconnect.h" | 7 | #include "../db/dbconnect.h" |
@@ -20,7 +21,7 @@ view (void) | |||
20 | // GLUT Initialization | 21 | // GLUT Initialization |
21 | glutInitWindowSize (500, 500); | 22 | glutInitWindowSize (500, 500); |
22 | glutInitWindowPosition (100, 100); | 23 | glutInitWindowPosition (100, 100); |
23 | glutCreateWindow ("Exp004"); | 24 | glutCreateWindow ("Protein Sequence Map - Flu"); |
24 | 25 | ||
25 | // GL Initialization | 26 | // GL Initialization |
26 | glClearColor (CLEAR_COLOR); | 27 | glClearColor (CLEAR_COLOR); |
@@ -49,6 +50,7 @@ view (void) | |||
49 | glutKeyboardFunc (keyboard); | 50 | glutKeyboardFunc (keyboard); |
50 | glutMouseFunc (mouse); | 51 | glutMouseFunc (mouse); |
51 | glutMouseWheelFunc (mouse_wheel); | 52 | glutMouseWheelFunc (mouse_wheel); |
53 | glutMotionFunc (mouse_motion); | ||
52 | glutReshapeFunc (reshape); | 54 | glutReshapeFunc (reshape); |
53 | 55 | ||
54 | return; | 56 | return; |