aboutsummaryrefslogtreecommitdiff
path: root/src/crystfelimageview.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-01-07 12:16:34 +0100
committerThomas White <taw@physics.org>2021-01-07 12:27:06 +0100
commit97eb1a231a07777a961efe6a389597989d1b7dc4 (patch)
tree303e93bd9bad6e13cf71fb705b5a7a096f160b4b /src/crystfelimageview.h
parent801aca3557fed6883ccc7a84b5ca38005cb6244c (diff)
GUI: Basic labelling of reflections
Lots of improvements still to be made here, such as using the "real" Cairo text API as well as using proper overlines for negative indices.
Diffstat (limited to 'src/crystfelimageview.h')
-rw-r--r--src/crystfelimageview.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crystfelimageview.h b/src/crystfelimageview.h
index a8f8df99..0ea2ab87 100644
--- a/src/crystfelimageview.h
+++ b/src/crystfelimageview.h
@@ -88,6 +88,7 @@ struct _crystfelimageview
double brightness;
int show_peaks;
int show_refls;
+ int label_refls;
float peak_box_size;
float refl_box_size;
};
@@ -117,6 +118,9 @@ extern void crystfel_image_view_set_show_peaks(CrystFELImageView *iv,
extern void crystfel_image_view_set_show_reflections(CrystFELImageView *iv,
int show_refls);
+extern void crystfel_image_view_set_label_reflections(CrystFELImageView *iv,
+ int label_refls);
+
extern void crystfel_image_view_set_peak_box_size(CrystFELImageView *iv,
float box_size);