diff options
author | Thomas White <taw@physics.org> | 2020-07-03 16:29:44 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:53:45 +0200 |
commit | 2f3670d8fe5fbef48c5d323e617b3e3913708b0e (patch) | |
tree | baffe32081e1c75211f4c7de15269a702d0c2a11 /src/crystfelimageview.h | |
parent | ac7e3f165635c5f9b39ec314b3b0647d11ec1ddb (diff) |
Reset zoom when loading new data
If the image size changes, bad things happen.
Diffstat (limited to 'src/crystfelimageview.h')
-rw-r--r-- | src/crystfelimageview.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crystfelimageview.h b/src/crystfelimageview.h index d17f394f..90c406b7 100644 --- a/src/crystfelimageview.h +++ b/src/crystfelimageview.h @@ -103,6 +103,8 @@ extern GtkWidget *crystfel_image_view_new(void); extern int crystfel_image_view_set_image(CrystFELImageView *iv, const struct image *image); +extern void crystfel_image_view_reset_zoom(CrystFELImageView *iv); + extern void crystfel_image_view_set_brightness(CrystFELImageView *iv, double brightness); |