summaryrefslogtreecommitdiffstats
authorDon Pellegrino <don@drexel.edu>2009-06-13 21:52:46 (GMT)
committer Don Pellegrino <don@drexel.edu>2009-06-13 21:52:46 (GMT)
commitf92c084a62a5aedf9197187ae5195321ad0c2838 (patch) (unidiff)
tree0b81e72f8c336e1c3c4c2c15e8d8bb1db58afcc6
parente5c98bc7e3d8ff5831864c19e3bcc8e0d9cb8f53 (diff)
downloadexp005-f92c084a62a5aedf9197187ae5195321ad0c2838.zip
exp005-f92c084a62a5aedf9197187ae5195321ad0c2838.tar.gz
exp005-f92c084a62a5aedf9197187ae5195321ad0c2838.tar.bz2
Added keyboard handler.
-rw-r--r--src/view/exp004view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view/exp004view.c b/src/view/exp004view.c
index 5e3b8ab..b25173e 100644
--- a/src/view/exp004view.c
+++ b/src/view/exp004view.c
@@ -1,6 +1,7 @@
1#include "../controller/exp004display.h"1#include "../controller/exp004display.h"
2#include "../controller/exp004mouse.h"2#include "../controller/exp004mouse.h"
3#include "../controller/exp004reshape.h"3#include "../controller/exp004reshape.h"
4#include "../controller/keyboard.h"
4#include "../model/exp004base.h"5#include "../model/exp004base.h"
5#include "exp004view.h"6#include "exp004view.h"
6#include <GL/glut.h>7#include <GL/glut.h>
@@ -37,6 +38,7 @@ exp004view (void)
3738
38 // Callbacks (Controllers)39 // Callbacks (Controllers)
39 glutDisplayFunc (exp004display);40 glutDisplayFunc (exp004display);
41 glutKeyboardFunc (keyboard);
40 glutMouseFunc (exp004mouse);42 glutMouseFunc (exp004mouse);
41 glutReshapeFunc (exp004reshape);43 glutReshapeFunc (exp004reshape);
4244

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.