
#define popupinclude /*so other modules can tell that we've been loaded*/


#ifndef shelltypesinclude
	
	#include "shelltypes.h"

#endif


#ifdef MACVERSION
	#if TARGET_API_MAC_CARBON == 1
	
		#define popupwidth 54
	#else
	
		#define popupwidth 45

	#endif
	
	#define popupheight 16
	#define geneva9popupmenuid 257
	#define defaultpopupmenuid 258
#endif

#ifdef WIN95VERSION
	#define popupwidth 55
	#define popupheight 18
	#define geneva9popupmenuid 10000
	#define defaultpopupmenuid 10000
#endif

#define popupfont geneva
#define popupfontsize 9

typedef boolean (*fillpopupcallback) (hdlmenu, short *);

typedef boolean (*popupselectcallback) (hdlmenu, short);


/*prototypes*/

extern boolean pushpopupitem (hdlmenu, bigstring, boolean, short);

extern boolean popupmenuhit (Rect, boolean, fillpopupcallback, popupselectcallback);

extern boolean drawpopup (Rect, bigstring, boolean);

extern boolean adjustpopupcursor (Point, Rect);



