diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-11-06 08:48:51 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-11-06 08:48:51 +0100 |
commit | ed620a2e835745d8ae6e7ecfeaf3a018dc4825ac (patch) | |
tree | 0b7575359164758db80427531564b07b6d5168b5 /display-gtk.h | |
parent | a9f44a133d5d74d2329c349535472ecc04aa4277 (diff) | |
parent | 0d33337a2036e494a6d1005c5c738eb54973d37b (diff) | |
download | subsurface-ed620a2e835745d8ae6e7ecfeaf3a018dc4825ac.tar.gz |
Merge branch 'po2'
Plotting pO2 / pN2 / PHe
Diffstat (limited to 'display-gtk.h')
-rw-r--r-- | display-gtk.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/display-gtk.h b/display-gtk.h index f4961b301..22ff9d626 100644 --- a/display-gtk.h +++ b/display-gtk.h @@ -21,6 +21,17 @@ typedef struct { gboolean otu; } visible_cols_t; +typedef struct { + gboolean po2; + gboolean pn2; + gboolean phe; +} enabled_graphs_t; + +extern visible_cols_t visible_cols; +extern enabled_graphs_t enabled_graphs; + +#define GRAPHS_ENABLED (enabled_graphs.po2 || enabled_graphs.pn2 || enabled_graphs.phe) + typedef enum { PREF_BOOL, PREF_STRING @@ -53,8 +64,6 @@ extern void quit(GtkWidget *w, gpointer data); extern int is_default_dive_computer_device(const char *name); -extern visible_cols_t visible_cols; - extern const char *divelist_font; extern void set_divelist_font(const char *); |