summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--README21
-rw-r--r--TODO3
-rw-r--r--src/Makefile.am27
-rw-r--r--src/controller/actions/pan.c57
-rw-r--r--src/controller/actions/pan.h2
-rw-r--r--src/controller/actions/sel_save.c2
-rw-r--r--src/controller/callbacks/keyboard.c2
-rw-r--r--src/controller/callbacks/mouse.c30
-rw-r--r--src/controller/callbacks/mouse_motion.c19
-rw-r--r--src/controller/callbacks/mouse_motion.h9
-rw-r--r--src/model/base.c417
-rw-r--r--src/model/base.h9
-rw-r--r--src/model/coordinates.h11
-rw-r--r--src/model/data/base.sqc (renamed from src/model/base.sqc)6
-rw-r--r--src/model/selection_info.h37
-rw-r--r--src/model/selection_info_init.c14
-rw-r--r--src/model/selection_info_init.h8
-rw-r--r--src/model/selection_purposes.h17
-rw-r--r--src/model/state/pan_info_init.h8
-rw-r--r--src/model/state/state.h (renamed from src/model/state.h)3
-rw-r--r--src/model/state/zoom_info.h (renamed from src/model/zoom_info.h)0
-rw-r--r--src/model/state/zoom_info_init.c (renamed from src/model/zoom_info_init.c)0
-rw-r--r--src/model/state/zoom_info_init.h (renamed from src/model/zoom_info_init.h)0
-rw-r--r--src/view/geometry.c8
-rw-r--r--src/view/init.c12
-rw-r--r--src/view/state0.h2
-rw-r--r--src/view/view.c4
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 Initialization21 // 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");
2425
25 // GL Initialization26 // 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);
5355
54 return;56 return;

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.