]> granicus.if.org Git - nethack/commitdiff
*** empty log message ***
authorjwalz <jwalz>
Sat, 5 Jan 2002 21:06:01 +0000 (21:06 +0000)
committerjwalz <jwalz>
Sat, 5 Jan 2002 21:06:01 +0000 (21:06 +0000)
win/gnome/gnmenu.h [new file with mode: 0644]

diff --git a/win/gnome/gnmenu.h b/win/gnome/gnmenu.h
new file mode 100644 (file)
index 0000000..41cb86e
--- /dev/null
@@ -0,0 +1,32 @@
+/*     SCCS Id: @(#)gnmenu.h   3.3     2000/07/16      */
+/* Copyright (C) 1998 by Erik Andersen <andersee@debian.org> */
+/* NetHack may be freely redistributed.  See license for details. */
+
+#ifndef GnomeHackMenuWindow_h
+#define GnomeHackMenuWindow_h
+
+#include <gnome.h>
+#include "config.h"
+#include "global.h"
+#include "gnomeprv.h"
+
+GtkWidget* ghack_init_menu_window( void );
+
+struct _GHackMenuItem
+{
+  int          glyph; 
+  const ANY_P *identifier;
+  CHAR_P       accelerator;
+  CHAR_P       group_accel;
+  int          attr;
+  const char*  str;
+  BOOLEAN_P    presel;
+};
+
+typedef struct _GHackMenuItem GHackMenuItem;
+
+int ghack_menu_window_select_menu (GtkWidget *menuWin, 
+       MENU_ITEM_P **_selected, gint how);
+
+
+#endif  /* GnomeHackMenuWindow_h */