summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--src/model/exp004state.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/src/model/exp004state.h b/src/model/exp004state.h
index f6e99c0..1173f87 100644
--- a/src/model/exp004state.h
+++ b/src/model/exp004state.h
@@ -25,7 +25,8 @@
2525
26typedef enum26typedef enum
27{ PROTEIN_GEOMETRY, PROTEIN_SELECTED_GEOMETRY, DENSITY_LEGEND_GEOMETRY,27{ PROTEIN_GEOMETRY, PROTEIN_SELECTED_GEOMETRY, DENSITY_LEGEND_GEOMETRY,
28 MAP_GEOMETRY } LISTS;28 MAP_GEOMETRY
29} LISTS;
29#define NUM_LISTS 230#define NUM_LISTS 2
3031
31/*32/*
@@ -33,6 +34,11 @@ typedef enum
33 */34 */
34typedef struct35typedef struct
35{36{
37 /*
38 * Number of nodes having coordinates assigned.
39 */
40 unsigned int rows;
41
36 /* 42 /*
37 * Display lists.43 * Display lists.
38 */44 */
@@ -85,19 +91,19 @@ typedef struct
85 unsigned int buffers[1];91 unsigned int buffers[1];
8692
87 /*93 /*
88 * GI Identifiers indexed by row.94 * GI Identifiers indexed by row. Storage is [rows][20].
89 */95 */
90 char gi_data[ROWS][20];96 char *gi_data;
9197
92 /*98 /*
93 * 2D coordinates for each protein.99 * 2D coordinates for each protein. Storage is [rows][2].
94 */100 */
95 float base_vertices_data[ROWS][2];101 float *base_vertices_data;
96102
97 /*103 /*
98 * RGB color for each protein.104 * RGB color for each protein. Storage is [rows][4].
99 */105 */
100 float base_colors_data[ROWS][4];106 float *base_colors_data;
101107
102 SELECTION_INFO selection;108 SELECTION_INFO selection;
103109

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.