X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=display-gtk.h;h=35380fa278f84d68b83069ee21f50acbb6d82374;hb=eac816b9d8a199375cf023a956c0959ccf3bc87b;hp=d5ffcb246de00702985882648e3372184745d7ae;hpb=f078bc04e1f55ad9ecd0632fcfa5753440ba2267;p=ext%2Fsubsurface.git diff --git a/display-gtk.h b/display-gtk.h index d5ffcb2..35380fa 100644 --- a/display-gtk.h +++ b/display-gtk.h @@ -32,6 +32,12 @@ extern void subsurface_set_conf(char *name, pref_type_t type, const void *value) extern const void *subsurface_get_conf(char *name, pref_type_t type); extern void subsurface_close_conf(void); +extern const char *subsurface_USB_name(void); +extern const char *subsurface_icon_name(void); +extern void subsurface_ui_setup(GtkSettings *settings, GtkWidget *menubar, GtkWidget *vbox); + +extern const char *divelist_font; + extern visible_cols_t visible_cols; extern const char *divelist_font; @@ -57,6 +63,11 @@ typedef void (*data_func_t)(GtkTreeViewColumn *col, GtkTreeIter *iter, gpointer data); +typedef gint (*sort_func_t)(GtkTreeModel *model, + GtkTreeIter *a, + GtkTreeIter *b, + gpointer user_data); + #define ALIGN_LEFT 1 #define ALIGN_RIGHT 2 #define INVISIBLE 4