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