2011-08-31 17:20:46 +00:00
|
|
|
#ifndef DISPLAY_H
|
|
|
|
#define DISPLAY_H
|
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
#include <gdk/gdk.h>
|
|
|
|
#include <cairo.h>
|
|
|
|
|
2011-08-31 18:07:31 +00:00
|
|
|
extern int selected_dive;
|
2011-08-31 23:33:20 +00:00
|
|
|
#define current_dive (get_dive(selected_dive))
|
|
|
|
|
2011-08-31 17:20:46 +00:00
|
|
|
extern GtkWidget *dive_profile_frame(void);
|
2011-08-31 19:09:19 +00:00
|
|
|
extern GtkWidget *dive_info_frame(void);
|
2011-09-01 01:30:42 +00:00
|
|
|
extern GtkWidget *extended_dive_info_frame(void);
|
2011-08-31 17:27:58 +00:00
|
|
|
extern GtkWidget *create_dive_list(void);
|
2011-08-31 22:35:28 +00:00
|
|
|
extern void update_dive_info(struct dive *dive);
|
2011-08-31 18:10:17 +00:00
|
|
|
extern void repaint_dive(void);
|
2011-08-31 17:20:46 +00:00
|
|
|
|
|
|
|
#endif
|