diff options
author | Thomas White <taw@physics.org> | 2020-10-22 18:28:25 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-10-22 18:28:25 +0200 |
commit | 65f7ff44d6a5461f2392b644a0c4e03b550d4975 (patch) | |
tree | 5c9088a10d1cd04d6ac6ee83c60ed67e790a8656 /src/gui_project.h | |
parent | 5d09bcdda5ee7bcec251051eb24ec41e3f06b650 (diff) |
Skeleton for merging via GUI
Diffstat (limited to 'src/gui_project.h')
-rw-r--r-- | src/gui_project.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gui_project.h b/src/gui_project.h index 8a3af512..af4b1037 100644 --- a/src/gui_project.h +++ b/src/gui_project.h @@ -89,6 +89,10 @@ struct index_params { float ir_out; }; +struct merge_params { + int nothing; +}; + struct crystfelproject; struct crystfel_backend { @@ -125,6 +129,12 @@ struct crystfel_backend { /* Backend should store options for indexing here */ void *indexing_opts_priv; + /* Backend should provide a GTK widget to set options */ + GtkWidget *(*make_merge_parameters_widget)(void *opts_priv); + + /* Backend should store options for merging here */ + void *merge_opts_priv; + }; struct gui_task @@ -189,6 +199,11 @@ struct crystfelproject { GtkWidget *indexing_opts; char *indexing_new_job_title; + struct merge_params merge_params; + int merge_backend_selected; + GtkWidget *merge_opts; + char *merge_new_job_title; + GtkWidget *type_combo; GtkWidget *peak_vbox; /* Box for peak search parameter widgets */ GtkWidget *peak_params; /* Peak search parameter widgets */ |