summaryrefslogtreecommitdiffstats
path: root/display-gtk.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-11-01 10:04:12 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-11-01 10:04:12 -0700
commit1b606ae2260395471890616f8b9dcb16e997fa3d (patch)
tree1a674959df73ed1ed5d274e04cd61d4722fdc8a3 /display-gtk.h
parent072b4f743c19566ad55bb4b30e0844082cccfbd1 (diff)
downloadsubsurface-1b606ae2260395471890616f8b9dcb16e997fa3d.tar.gz
First stab at plotting a pO2 graph
So far this is done unconditionally. This already starts some of the infrastructure for other gases, but so far only O2 is handled. We also need a pressure scale on the right to make this useful - or we need to do peek / trough pressure prints like we do for temperature and depth. Finally, I think I want to move the plot further down, maybe make the whole plot area taller if we are plotting partial gas pressures as well. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r--display-gtk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h
index f4961b301..879a02b4c 100644
--- a/display-gtk.h
+++ b/display-gtk.h
@@ -21,6 +21,12 @@ typedef struct {
gboolean otu;
} visible_cols_t;
+typedef struct {
+ gboolean po2;
+ gboolean pn2;
+ gboolean phe;
+} enabled_graphs_t;
+
typedef enum {
PREF_BOOL,
PREF_STRING