summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--r/connect.R2
-rw-r--r--src/Makefile.am3
-rw-r--r--src/controller/exp004reshape.c11
-rw-r--r--src/model/density_legend_geometry.c81
-rw-r--r--src/model/density_legend_geometry.h9
-rw-r--r--src/model/display_list_index.h6
-rw-r--r--src/model/exp004state.h14
-rw-r--r--src/util/check_error.c6
-rw-r--r--src/view/exp004geometry.c7
-rw-r--r--src/view/exp004init.c8
-rw-r--r--src/view/exp004view.c4
11 files changed, 124 insertions, 27 deletions
diff --git a/src/model/exp004state.h b/src/model/exp004state.h
index 1af8a5b..5a9761a 100644
--- a/src/model/exp004state.h
+++ b/src/model/exp004state.h
@@ -16,14 +16,16 @@
16#define DEFAULT_COLOR_R 0.0016#define DEFAULT_COLOR_R 0.00
17#define DEFAULT_COLOR_G 0.0017#define DEFAULT_COLOR_G 0.00
18#define DEFAULT_COLOR_B 0.0118#define DEFAULT_COLOR_B 0.01
19#define DEFAULT_COLOR_A 0.2519#define DEFAULT_COLOR_A (1.0 / 7.0)
2020
21#define SELECT_COLOR_R 0.0021#define SELECT_COLOR_R 0.00
22#define SELECT_COLOR_G 0.0022#define SELECT_COLOR_G 0.00
23#define SELECT_COLOR_B 0.0023#define SELECT_COLOR_B 0.00
24#define SELECT_COLOR_A 0.7524#define SELECT_COLOR_A 0.75
2525
26typedef enum { PROTEIN_GEOMETRY } LISTS;26typedef enum
27{ PROTEIN_GEOMETRY, DENSITY_LEGEND_GEOMETRY } LISTS;
28#define NUM_LISTS 2
2729
28/*30/*
29 * Maintain state of the model.31 * Maintain state of the model.
@@ -61,10 +63,10 @@ typedef struct
61 */63 */
62 struct64 struct
63 {65 {
64 float min_x;66 double min_x;
65 float max_x;67 double max_x;
66 float min_y;68 double min_y;
67 float max_y;69 double max_y;
68 } ortho;70 } ortho;
6971
70 /*72 /*

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.