From 9e7d459d47907accbc496f2f1c4c74f131086873 Mon Sep 17 00:00:00 2001 From: taw27 Date: Fri, 28 Sep 2007 23:58:28 +0000 Subject: s/reflectioncontext/reflectionlist/ git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@137 bf6ca9ba-c028-0410-8290-897cf20841d1 --- src/ipr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ipr.c') diff --git a/src/ipr.c b/src/ipr.c index 56f871c..a5845b0 100644 --- a/src/ipr.c +++ b/src/ipr.c @@ -29,9 +29,9 @@ #include "basis.h" /* Generate list of reflections to analyse */ -static ReflectionContext *ipr_generate(ControlContext *ctx, Basis *basis) { +static ReflectionList *ipr_generate(ControlContext *ctx, Basis *basis) { - ReflectionContext *ordered; + ReflectionList *ordered; double max_res; signed int h, k, l; int max_order_a, max_order_b, max_order_c; @@ -73,7 +73,7 @@ static ReflectionContext *ipr_generate(ControlContext *ctx, Basis *basis) { ref->h = h; ref->k = k; ref->l = l; } if ( (h!=0) || (k!=0) || (l!=0) ) { - // reflection_add(ctx->reflectionctx, x, y, z, 1, REFLECTION_GENERATED); + // reflection_add(ctx->reflectionlist, x, y, z, 1, REFLECTION_GENERATED); reflection_add(ordered, x, y, z, 1, REFLECTION_GENERATED); } } @@ -95,7 +95,7 @@ static gint ipr_clicked(GtkWidget *widget, GdkEventButton *event, ControlContext if ( ctx->ipr_cur_image == ctx->n_images ) ctx->ipr_cur_image = 0; imagedisplay_clear_circles(ctx->ipr_id); - reflection_clear_markers(ctx->reflectionctx); + reflection_clear_markers(ctx->reflectionlist); refl = reproject_get_reflections(ctx->images[ctx->ipr_cur_image], &n, ctx->ipr_lat, ctx); for ( j=0; j