-rw-r--r-- | src/model/exp004state.h | 15 |
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 83905 | 15 | #define ROWS 83905 |
16 | 16 | ||
17 | #define DEFAULT_COLOR_R 0.2 | 17 | #define DEFAULT_COLOR_R 0.5 |
18 | #define DEFAULT_COLOR_G 0.2 | 18 | #define DEFAULT_COLOR_G 0.5 |
19 | #define DEFAULT_COLOR_B 0.2 | 19 | #define DEFAULT_COLOR_B 0.5 |
20 | #define DEFAULT_COLOR_A 0.5 | ||
20 | 21 | ||
21 | #define SELECT_COLOR_R 1.0 | 22 | #define SELECT_COLOR_R 1.0 |
22 | #define SELECT_COLOR_G 1.0 | 23 | #define SELECT_COLOR_G 1.0 |
23 | #define SELECT_COLOR_B 1.0 | 24 | #define SELECT_COLOR_B 1.0 |
25 | #define SELECT_COLOR_A 0.8 | ||
24 | 26 | ||
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]; |
88 | 90 | ||
89 | /* | 91 | /* |
90 | * Selection list. | 92 | * Selection list. |
@@ -106,6 +108,11 @@ typedef struct | |||
106 | */ | 108 | */ |
107 | int select_y; | 109 | int select_y; |
108 | 110 | ||
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; |
110 | 117 | ||
111 | #endif // EXP004STATE_H | 118 | #endif // EXP004STATE_H |