summaryrefslogtreecommitdiffstats
path: root/display.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-31 15:35:28 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-31 15:35:28 -0700
commita39b2ee220cd23d4d6ed52f23e50fee0d4381a93 (patch)
treebfb9c01bc9f77045c3fa2c214d668764415de492 /display.h
parentc7e29063722a57211e00acc5ee98e05c37f89a99 (diff)
downloadsubsurface-a39b2ee220cd23d4d6ed52f23e50fee0d4381a93.tar.gz
Add some more dive info - and actually update it
It's still the ugliest application ever, but now it at least gives you some basic dive info. I'd love to add a way to edit the dives to add new data (name, buddies, location etc), but that would also require the ability to save the end result. Maybe some day. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'display.h')
-rw-r--r--display.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/display.h b/display.h
index 327997f05..b9de932cb 100644
--- a/display.h
+++ b/display.h
@@ -9,6 +9,9 @@ extern int selected_dive;
extern GtkWidget *dive_profile_frame(void);
extern GtkWidget *dive_info_frame(void);
extern GtkWidget *create_dive_list(void);
+extern void update_dive_info(struct dive *dive);
extern void repaint_dive(void);
+#define current_dive (dive_table.dives[selected_dive])
+
#endif