From 7df59f9bc7acedb5f8aa01ad12f2f22d271a0f58 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 2 Feb 2010 18:12:29 +0100 Subject: Tidy up options This also simplifies quite a lot of code --- src/index.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/index.h') diff --git a/src/index.h b/src/index.h index 6f1fe98c..a3dae020 100644 --- a/src/index.h +++ b/src/index.h @@ -18,8 +18,14 @@ #endif -extern void index_pattern(struct image *image, int no_index, int use_dirax); +typedef enum { + INDEXING_NONE, + INDEXING_DIRAX, + INDEXING_MATCH +} IndexingMethod; + +extern void index_pattern(struct image *image, IndexingMethod indm); /* x,y in pixels relative to central beam */ extern int map_position(struct image *image, double x, double y, double *rx, double *ry, double *rz); -- cgit v1.2.3