From 8c98d940aaca2191815a32ed7818f207468e4ac7 Mon Sep 17 00:00:00 2001 From: Don Pellegrino Date: Tue, 16 Jun 2009 23:25:10 +0000 Subject: Added use of alpha. --- 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 -- cgit v0.8.3.1-22-g547a