diff options
author | Thomas White <taw@physics.org> | 2022-11-24 15:27:29 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-11-24 17:48:13 +0100 |
commit | 2754cd0ecdd199f46edf656100a4a9cd0440b7a1 (patch) | |
tree | 26d8cf71310750702d69ad3d97ac6d2e9221f8aa /src/crystfelimageview.h | |
parent | acb2e3cb545b64fe94f399e18ae91577ffcac6d0 (diff) |
GUI: Colour scale, part 3: Use the values in CrystFELImageView
Diffstat (limited to 'src/crystfelimageview.h')
-rw-r--r-- | src/crystfelimageview.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crystfelimageview.h b/src/crystfelimageview.h index aa7d61d2..30926ece 100644 --- a/src/crystfelimageview.h +++ b/src/crystfelimageview.h @@ -69,6 +69,8 @@ struct _crystfelimageview /* Redraw/scroll stuff */ int need_rerender; int need_recentre; + double scale_lo; + double scale_hi; GtkScrollablePolicy hpol; GtkScrollablePolicy vpol; GtkAdjustment *hadj; @@ -137,4 +139,7 @@ extern void crystfel_image_view_set_refl_box_size(CrystFELImageView *iv, extern void crystfel_image_view_set_resolution_rings(CrystFELImageView *iv, int rings); +extern void crystfel_image_view_set_colour_scale(CrystFELImageView *iv, + double lo, double hi); + #endif /* CRYSTFELIMAGEVIEW_H */ |