mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
a39b2ee220
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>
17 lines
397 B
C
17 lines
397 B
C
#ifndef DISPLAY_H
|
|
#define DISPLAY_H
|
|
|
|
#include <gtk/gtk.h>
|
|
#include <gdk/gdk.h>
|
|
#include <cairo.h>
|
|
|
|
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
|