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/init.c b/src/view/init.c
index e32a75e..1c06c7e 100644
--- a/src/view/init.c
+++ b/src/view/init.c
@@ -1,12 +1,13 @@
1#include "init.h"1#include "../model/data/base.h"
2#include "state0.h"
3#include "../model/geometry/density_legend_geometry.h"2#include "../model/geometry/density_legend_geometry.h"
4#include "../model/geometry/map_geometry.h"3#include "../model/geometry/map_geometry.h"
5#include "../model/geometry/protein_geometry.h"4#include "../model/geometry/protein_geometry.h"
6#include "../model/geometry/protein_selected_geometry.h"5#include "../model/geometry/protein_selected_geometry.h"
7#include "../model/selection_info_init.h"6#include "../model/state/pan_info_init.h"
8#include "../model/zoom_info_init.h"7#include "../model/state/selection_info_init.h"
9#include "../model/base.h"8#include "../model/state/zoom_info_init.h"
9#include "init.h"
10#include "state0.h"
10#include <GL/glut.h>11#include <GL/glut.h>
1112
12#define S state013#define S state0
@@ -23,6 +24,7 @@ init (void)
23 S.base_colors_data = NULL;24 S.base_colors_data = NULL;
24 selection_info_init (&S.selection);25 selection_info_init (&S.selection);
25 zoom_info_init (&S.zoom);26 zoom_info_init (&S.zoom);
27 pan_info_init (&S.pan);
26 S.legend = true;28 S.legend = true;
2729
28 /*30 /*

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.