X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=windows.c;h=53531cd010cfa9609cb4c710164734ad05e0f983;hb=43530d397bd8d754202d0e97d13c32c1f0685f01;hp=3e40c38ef72ccc56d1f03fe6aded3d948fb37a38;hpb=4b77a5def6df965cae63dec8b836e18e1e09cd58;p=ext%2Fsubsurface.git diff --git a/windows.c b/windows.c index 3e40c38..53531cd 100644 --- a/windows.c +++ b/windows.c @@ -2,6 +2,7 @@ /* implements Windows specific functions */ #include "display-gtk.h" #include +#define DIVELIST_DEFAULT_FONT "Sans 8" static HKEY hkey; @@ -81,5 +82,18 @@ void subsurface_close_conf(void) const char *subsurface_USB_name() { - return("COM3"); + return "COM3"; +} + +const char *subsurface_icon_name() +{ + return "subsurface.ico"; +} + +void subsurface_ui_setup(GtkSettings *settings, GtkWidget *menubar, + GtkWidget *vbox) +{ + if (!divelist_font) + divelist_font = DIVELIST_DEFAULT_FONT; + gtk_box_pack_start(GTK_BOX(vbox), menubar, FALSE, FALSE, 0); }