aboutsummaryrefslogtreecommitdiff
path: root/src/control.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/control.h')
-rw-r--r--src/control.h20
1 files changed, 7 insertions, 13 deletions
diff --git a/src/control.h b/src/control.h
index 68eebed..5de0b86 100644
--- a/src/control.h
+++ b/src/control.h
@@ -80,34 +80,27 @@ typedef struct cctx_struct {
ReconstructionMode rmode;
PeakSearchMode psmode;
unsigned int prealign;
+ unsigned int savecache;
/* Input filename */
char *filename;
- /* Basic parameters */
+ /* Basic parameters, stored here solely so they can be copied
+ * into the ImageRecord(s) more easily */
double camera_length;
double omega;
double resolution;
double lambda;
double pixel_size;
-
- /* (QDRP) Parser flags */
+
+ /* QDRP Parser flags */
unsigned int started;
unsigned int camera_length_set;
unsigned int omega_set;
unsigned int resolution_set;
unsigned int lambda_set;
-
- /* Miscellaneous modes and operations */
- unsigned int first_image;
-
- /* Size of input images - assumed the same throughout. */
- int width;
- int height;
- int x_centre;
- int y_centre;
- /* Information about the input images */
+ /* The input images */
int n_images;
ImageRecord images[MAX_IMAGES];
@@ -118,6 +111,7 @@ typedef struct cctx_struct {
GtkWidget *combo_algorithm;
GtkWidget *combo_peaksearch;
GtkWidget *checkbox_prealign;
+ GtkWidget *checkbox_savecache;
} ControlContext;