diff options
author | Thomas White <taw@physics.org> | 2014-07-08 11:01:39 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-07-21 10:15:19 +0200 |
commit | f71e65321d6546b9d36ee5bbdc65209456505a73 (patch) | |
tree | b3a0893417775ee39996d3781239721ff1a8231b /src/dw-hdfsee.h | |
parent | e2c7dbd553fb3602961aa329eeac64efa7d23ff5 (diff) |
Tidy up calibration mode a bit
Diffstat (limited to 'src/dw-hdfsee.h')
-rw-r--r-- | src/dw-hdfsee.h | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/src/dw-hdfsee.h b/src/dw-hdfsee.h index b469e79d..22e44a34 100644 --- a/src/dw-hdfsee.h +++ b/src/dw-hdfsee.h @@ -67,6 +67,14 @@ struct numberswindow { }; +typedef enum { + CALIBMODE_NONE, + CALIBMODE_PANELS, + CALIBMODE_GROUPS, + CALIBMODE_ALL +} CalibMode; + + typedef struct { GtkWidget *window; @@ -87,8 +95,8 @@ typedef struct { struct image *image; /* Dialog boxes */ - BinningDialog *binning_dialog; - BoostIntDialog *boostint_dialog; + BinningDialog *binning_dialog; + BoostIntDialog *boostint_dialog; RingRadiusDialog *ringradius_dialog; struct numberswindow *numbers_window; @@ -109,13 +117,12 @@ typedef struct { double ring_radius; double *ring_radii; int n_rings; - int calib_mode; - struct rigid_group *calib_mode_curr_rg; - struct panel *calib_mode_curr_p; - int calib_mode_show_focus; - int calib_mode_groups; - GtkWidget *calibmode_statusbar; + CalibMode calib_mode; + struct rigid_group *calib_mode_curr_rg; + struct panel *calib_mode_curr_p; + int calib_mode_show_focus; + GtkWidget *statusbar; int show_col_scale; int scale; |