If an old port is resurrected to work with current version code, its files can be relocated to the appropriate sys or win folder as required. In the meantime, the burden of upkeep can be avoided for the stuff in the outdated folder for now.
33 lines
874 B
C
33 lines
874 B
C
/* NetHack 3.6 gnmenu.h $NHDT-Date: 1432512805 2015/05/25 00:13:25 $ $NHDT-Branch: master $:$NHDT-Revision: 1.9 $ */
|
|
/* 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;
|
|
unsigned itemflags;
|
|
const char *str;
|
|
BOOLEAN_P presel;
|
|
};
|
|
|
|
typedef struct _GHackMenuItem GHackMenuItem;
|
|
|
|
int ghack_menu_window_select_menu(GtkWidget *menuWin, MENU_ITEM_P **_selected,
|
|
gint how);
|
|
int ghack_menu_ext_cmd(void);
|
|
|
|
#endif /* GnomeHackMenuWindow_h */
|