X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=display-gtk.h;h=b55dc96167ad70b092c83f51a99cad04b2c3e31f;hb=1d6903c65a4980ac51a3508db6a388ab07111341;hp=23fea912a9098af2fea81995601382cc023f4b75;hpb=565736a471e9ba66cbc68ce76c90d5e0c2fa57cf;p=ext%2Fsubsurface.git
diff --git a/display-gtk.h b/display-gtk.h
index 23fea91..b55dc96 100644
--- a/display-gtk.h
+++ b/display-gtk.h
@@ -27,6 +27,14 @@ typedef enum {
#define BOOL_TO_PTR(_cond) ((_cond) ? (void *)1 : NULL)
#define PTR_TO_BOOL(_ptr) ((_ptr) != NULL)
+#if defined __APPLE__
+#define CTRLCHAR ""
+#define PREFERENCE_ACCEL "comma"
+#else
+#define CTRLCHAR ""
+#define PREFERENCE_ACCEL NULL
+#endif
+
extern void subsurface_open_conf(void);
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);
@@ -34,6 +42,10 @@ 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, GtkUIManager *ui_manager);
+
+extern const char *divelist_font;
extern visible_cols_t visible_cols;