diff options
author | Thomas White <taw@physics.org> | 2020-03-31 15:38:35 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:57 +0200 |
commit | 5d5e6434d7e2d1f1bced3ae8eb55cf951ff21937 (patch) | |
tree | a2d0cafb0e9cc9dbc9a4a534456030014a524167 /src/crystfel_gui.h | |
parent | bdd0dba7a832331f712740ddffc86e3d750a82f2 (diff) |
Info/progress bar stuff
Diffstat (limited to 'src/crystfel_gui.h')
-rw-r--r-- | src/crystfel_gui.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/crystfel_gui.h b/src/crystfel_gui.h index ee588e73..fc286e5d 100644 --- a/src/crystfel_gui.h +++ b/src/crystfel_gui.h @@ -74,6 +74,7 @@ struct crystfelproject { GtkWidget *imageview; GtkWidget *icons; /* Drawing area for task icons */ GtkWidget *report; /* Text view at the bottom for messages */ + GtkWidget *main_vbox; GtkWidget *image_info; int cur_frame; @@ -99,10 +100,17 @@ struct crystfelproject { GtkWidget *unitcell_combo; GtkWidget *info_bar; + void (*infobar_callback)(struct crystfelproject *proj); GtkWidget *progressbar; struct crystfel_backend *backend; void *backend_private; }; +extern void remove_infobar(struct crystfelproject *proj); + +extern GtkWidget *create_infobar(struct crystfelproject *proj, const char *task, + const char *extra_button, + void (*cbfunc)(struct crystfelproject *proj)); + #endif |