From d3e89c668852f82b14ac4e4f618628e0d58f9ebb Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 4 Mar 2020 16:30:34 +0100 Subject: Add new functions to CrystFELImageView --- src/crystfelimageview.c | 12 ++++++++++++ src/crystfelimageview.h | 5 +++++ 2 files changed, 17 insertions(+) (limited to 'src') diff --git a/src/crystfelimageview.c b/src/crystfelimageview.c index 3bfd7ce4..3b56dbca 100644 --- a/src/crystfelimageview.c +++ b/src/crystfelimageview.c @@ -534,3 +534,15 @@ int crystfel_image_view_set_image(CrystFELImageView *iv, iv->event = safe_strdup(event); return reload_image(iv); } + + +struct image *crystfel_image_view_get_image_struct(CrystFELImageView *iv) +{ + return iv->image; +} + + +void crystfel_image_view_set_peaks(CrystFELImageView *iv, + ImageFeatureList *peaks) +{ +} diff --git a/src/crystfelimageview.h b/src/crystfelimageview.h index ca2d116f..3e2c35e2 100644 --- a/src/crystfelimageview.h +++ b/src/crystfelimageview.h @@ -106,4 +106,9 @@ extern int crystfel_image_view_set_image(CrystFELImageView *iv, const char *filename, const char *event); +extern struct image *crystfel_image_view_get_image_struct(CrystFELImageView *iv); + +extern void crystfel_image_view_set_peaks(CrystFELImageView *iv, + ImageFeatureList *peaks); + #endif /* CRYSTFELIMAGEVIEW_H */ -- cgit v1.2.3