aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/crystfelimageview.c6
-rw-r--r--src/crystfelimageview.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/crystfelimageview.c b/src/crystfelimageview.c
index 25597dfe..27865b76 100644
--- a/src/crystfelimageview.c
+++ b/src/crystfelimageview.c
@@ -730,6 +730,12 @@ struct image *crystfel_image_view_get_image_struct(CrystFELImageView *iv)
}
+const DataTemplate *crystfel_image_view_get_datatemplate(CrystFELImageView *iv)
+{
+ return iv->dtempl;
+}
+
+
void crystfel_image_view_set_peaks(CrystFELImageView *iv,
ImageFeatureList *peaks,
int list_num)
diff --git a/src/crystfelimageview.h b/src/crystfelimageview.h
index 62faf044..5dc70f0f 100644
--- a/src/crystfelimageview.h
+++ b/src/crystfelimageview.h
@@ -105,6 +105,8 @@ extern GtkWidget *crystfel_image_view_new(void);
extern int crystfel_image_view_set_datatemplate(CrystFELImageView *iv,
DataTemplate *dtempl);
+extern const DataTemplate *crystfel_image_view_get_datatemplate(CrystFELImageView *iv);
+
extern int crystfel_image_view_set_image(CrystFELImageView *iv,
const char *filename,
const char *event);