Source:NetHack 3.3.0/macpopup.h

From NetHackWiki
Jump to navigation Jump to search

Below is the full text to macpopup.h from the source code of NetHack 3.3.0. To link to a particular line, write [[NetHack 3.3.0/macpopup.h#line123]], for example.

Warning! This is the source code from an old release. For the latest release, see Source code

The NetHack General Public License applies to screenshots, source code and other content from NetHack.

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.

1.    /*	SCCS Id: @(#)macpopup.h	3.3	99/10/25	*/
2.    /* Copyright (c) Nethack Develpment Team, 1999.		*/
3.    /* NetHack may be freely redistributed.  See license for details. */
5.    #ifndef MACPOPUP_H
6.    # define MACPOPUP_H
8.    /* ### mmodal.c ### */
10.   extern void FlashButton(WindowPtr, short);
11.   extern char queued_resp(char *resp);
12.   extern char topl_yn_function(const char *query, const char *resp, char def);
13.   extern int get_line_from_key_queue(char *bufp);
15.   #define ENABLE_MAC_POPUP 0
18.   extern char popup_yn_function(const char *query, const char *resp, char def);
19.   extern void popup_getlin (const char *query, char *bufp);
21.   #endif /* ENABLE_MAC_POPUP */
22.   #endif /* MACPOPUP_H */