/* implements Windows specific functions */
#include "display-gtk.h"
#include <windows.h>
+#define DIVELIST_DEFAULT_FONT "Sans 8"
static HKEY hkey;
return NULL;
}
+void subsurface_flush_conf(void)
+{
+ /* this is a no-op */
+}
+
void subsurface_close_conf(void)
{
- if (RegFlushKey(hkey) != ERROR_SUCCESS)
- printf("RegFlushKey failed \n");
RegCloseKey(hkey);
}
+
+const char *subsurface_USB_name()
+{
+ return "COM3";
+}
+
+const char *subsurface_icon_name()
+{
+ return "subsurface.ico";
+}
+
+void subsurface_ui_setup(GtkSettings *settings, GtkWidget *menubar,
+ GtkWidget *vbox, GtkUIManager *ui_manager)
+{
+ if (!divelist_font)
+ divelist_font = DIVELIST_DEFAULT_FONT;
+ gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, FALSE, 0);
+}