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 @@ #include "../controller/callbacks/display.h" #include "../controller/callbacks/keyboard.h" #include "../controller/callbacks/mouse.h" +#include "../controller/callbacks/mouse_motion.h" #include "../controller/callbacks/mouse_wheel.h" #include "../controller/callbacks/reshape.h" #include "../db/dbconnect.h" @@ -20,7 +21,7 @@ view (void) // GLUT Initialization glutInitWindowSize (500, 500); glutInitWindowPosition (100, 100); - glutCreateWindow ("Exp004"); + glutCreateWindow ("Protein Sequence Map - Flu"); // GL Initialization glClearColor (CLEAR_COLOR); @@ -49,6 +50,7 @@ view (void) glutKeyboardFunc (keyboard); glutMouseFunc (mouse); glutMouseWheelFunc (mouse_wheel); + glutMotionFunc (mouse_motion); glutReshapeFunc (reshape); return; |