diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-08-29 13:52:59 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-08-29 13:52:59 +0000 |
commit | 28fe29530075a28f6ac7a2f86628a00c7cb69af9 (patch) | |
tree | 3e3d79799930f1cd502a969a24c889ac8110262c /src/prealign.c | |
parent | 3bd37169d751c7b5f0b36847ea902735d9234e63 (diff) |
Revamp ImageDisplay
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@86 bf6ca9ba-c028-0410-8290-897cf20841d1
Diffstat (limited to 'src/prealign.c')
-rw-r--r-- | src/prealign.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/prealign.c b/src/prealign.c index 86c0089..d7499f8 100644 --- a/src/prealign.c +++ b/src/prealign.c @@ -14,13 +14,27 @@ #include <string.h> #include "control.h" +#include "imagedisplay.h" + +static gint prealign_clicked() { + + printf("Click!\n"); + + return 0; + +} /* No peak-detection nor 3D mapping has been done yet. Ask the user to give a rough idea (i.e. as accurately as possible...) of the centre of each image. */ void prealign_do_series(ControlContext *ctx) { + int i; + i = 0; + imagedisplay_open_with_message(ctx->images[i], "Image Pre-alignment", + "Click the centre of the zero-order beam as accurately as you can.", IMAGEDISPLAY_QUIT_IF_CLOSED, + G_CALLBACK(prealign_clicked)); } |