summaryrefslogtreecommitdiffstats
authorDon Pellegrino <don@drexel.edu>2009-06-16 23:25:10 (GMT)
committer Don Pellegrino <don@drexel.edu>2009-06-16 23:25:10 (GMT)
commit8c98d940aaca2191815a32ed7818f207468e4ac7 (patch) (side-by-side diff)
tree7e8b5797f9f43d8a3633d50dfe39d367460fdbfb
parentcd81e4662d6fc2781be785a7df3bc6f43d46dd4a (diff)
downloadexp005-8c98d940aaca2191815a32ed7818f207468e4ac7.zip
exp005-8c98d940aaca2191815a32ed7818f207468e4ac7.tar.gz
exp005-8c98d940aaca2191815a32ed7818f207468e4ac7.tar.bz2
Added use of alpha.
-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.