aboutsummaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-31 11:07:31 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-31 11:07:31 -0700
commit2044dabc81062c22c7f95a2e0e57f931cee0205f (patch)
tree0897e4c399904053da87fa0eb4113b5ee88bf4a6 /display.h
parent23e831a6ed61878240897cd6a7b276526a3f4ba4 (diff)
downloadsubsurface-2044dabc81062c22c7f95a2e0e57f931cee0205f.tar.gz
Teach the thing to actually track the currently selected dive
.. and repaint the profile when the selection changes. Now, if it just wasn't so ugly, it might even be useful. Except it obviously needs to also show all the other dive information. And allow the user to fill in details. And save the end results. So no, it's not useful. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'display.h')
-rw-r--r--display.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/display.h b/display.h
index cde0708e3..29b21a654 100644
--- a/display.h
+++ b/display.h
@@ -5,6 +5,7 @@
#include <gdk/gdk.h>
#include <cairo.h>
+extern int selected_dive;
extern GtkWidget *dive_profile_frame(void);
extern GtkWidget *create_dive_list(void);