home *** CD-ROM | disk | FTP | other *** search
- /********************************************************************************
- * context.h
- *
- * Header file for context of menus, commands, etc.
- *
- * Written by Paco Xander Nathan
- * ⌐1990, Motorola Inc. Public domain source code.
- ********************************************************************************/
-
- #define _H_context
-
-
- #include <MenuMgr.h>
-
-
- typedef enum {
- appleAbout = 1, appleHelp
- } AppleMenuItems;
-
-
- typedef enum {
- appleM = 0, fileM, editM, testM, gnosM,
- MAXMENU
- } menuRsrcID;
-
-
- /* External Data Structures
- */
- extern MenuHandle
- menu[];
-
-
- /* External Function Prototypes
- */
- #ifdef PROTOTYPES
- void ContMenuItem (MenuHandle theMenu, short theItem, short flag);
- void ContAdjMenu (void);
- void ContAdjCurs (Point thePoint, RgnHandle theRgn);
- short ContDispatch (long theResult);
- #endif
-