summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--src/model/exp004state.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/model/exp004state.h b/src/model/exp004state.h
index 669e4cb..e3106ec 100644
--- a/src/model/exp004state.h
+++ b/src/model/exp004state.h
@@ -14,13 +14,15 @@
14 */14 */
15#define ROWS 8390515#define ROWS 83905
1616
17#define DEFAULT_COLOR_R 0.217#define DEFAULT_COLOR_R 0.5
18#define DEFAULT_COLOR_G 0.218#define DEFAULT_COLOR_G 0.5
19#define DEFAULT_COLOR_B 0.219#define DEFAULT_COLOR_B 0.5
20#define DEFAULT_COLOR_A 0.5
2021
21#define SELECT_COLOR_R 1.022#define SELECT_COLOR_R 1.0
22#define SELECT_COLOR_G 1.023#define SELECT_COLOR_G 1.0
23#define SELECT_COLOR_B 1.024#define SELECT_COLOR_B 1.0
25#define SELECT_COLOR_A 0.8
2426
25/*27/*
26 * Maintain state of the model.28 * Maintain state of the model.
@@ -84,7 +86,7 @@ typedef struct
84 /*86 /*
85 * RGB color for each protein.87 * RGB color for each protein.
86 */88 */
87 float base_colors_data[ROWS][3];89 float base_colors_data[ROWS][4];
8890
89 /*91 /*
90 * Selection list.92 * Selection list.
@@ -106,6 +108,11 @@ typedef struct
106 */108 */
107 int select_y;109 int select_y;
108110
111 /*
112 * Indicate if a selection should be used for a new set or a zoom region.
113 */
114 bool zoom;
115
109} EXP004STATE;116} EXP004STATE;
110117
111#endif // EXP004STATE_H118#endif // EXP004STATE_H

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.