diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-31 15:35:28 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-31 15:35:28 -0700 |
commit | a39b2ee220cd23d4d6ed52f23e50fee0d4381a93 (patch) | |
tree | bfb9c01bc9f77045c3fa2c214d668764415de492 /display.h | |
parent | c7e29063722a57211e00acc5ee98e05c37f89a99 (diff) | |
download | subsurface-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |