summaryrefslogtreecommitdiffstats
Side-by-side diff
-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 @@
*/
#define ROWS 83905
-#define DEFAULT_COLOR_R 0.2
-#define DEFAULT_COLOR_G 0.2
-#define DEFAULT_COLOR_B 0.2
+#define DEFAULT_COLOR_R 0.5
+#define DEFAULT_COLOR_G 0.5
+#define DEFAULT_COLOR_B 0.5
+#define DEFAULT_COLOR_A 0.5
#define SELECT_COLOR_R 1.0
#define SELECT_COLOR_G 1.0
#define SELECT_COLOR_B 1.0
+#define SELECT_COLOR_A 0.8
/*
* Maintain state of the model.
@@ -84,7 +86,7 @@ typedef struct
/*
* RGB color for each protein.
*/
- float base_colors_data[ROWS][3];
+ float base_colors_data[ROWS][4];
/*
* Selection list.
@@ -106,6 +108,11 @@ typedef struct
*/
int select_y;
+ /*
+ * Indicate if a selection should be used for a new set or a zoom region.
+ */
+ bool zoom;
+
} EXP004STATE;
#endif // EXP004STATE_H

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.