home *** CD-ROM | disk | FTP | other *** search
- /* os_mac.h */
-
- /* extracted from os_mac.c, eEdit.c, ext_mac.c, eStyle.c 30Jun92 e */
-
- /* Macintosh specific stuff (for THINK C 4.0 and 5.0 compiler). */
-
- #if (THINK_C < 5)
- #include <QuickDraw.h>
- #include <MacTypes.h>
- #include <FontMgr.h>
- #include <WindowMgr.h>
- #include <MenuMgr.h>
- #include <TextEdit.h>
- #include <DialogMgr.h>
- #include <EventMgr.h>
- #include <DeskMgr.h>
- #include <FileMgr.h>
- #include <ToolboxUtil.h>
- #include <ControlMgr.h>
- #include <VRetraceMgr.h>
- #include <MemoryMgr.h>
- #include <StdFilePkg.h>
- #include <ScriptMgr.h>
- #define ClikLoopProcPtr void *
- #define ConstStr255Param Str255
- #else
- #include <Retrace.h>
- #undef table
- #include <Script.h>
- #include <Folders.h>
- #endif
-
- #define LiveKeysID 302L
-
- /*
- #define USE_eTe_debug (1) */
-
- #include "os_mac_eEdit.h"
- #define TeHANDLE eTeHandle
-
- #define dfltTabs (8)
- #define dfltWrap (80)
- #define dfltAutoInd (0)
-
- /* prototypes for eStyle.c and eKeys.c */
- void eStyleDlg( eRec **hE );
- void eEditCommand( eRec **hE, char ch, short modifiers, short style );
- void eTabCommand( eRec **hE, short modifiers, short style );
-
- #define PREFS_FILENAME "\pGambit Preferences"
- void savePrefs( ConstStr255Param fn );
-
- #define FontSize 9
- #define FontH 12
- #define FontW 6
- #define Border 3
- #define SBarWidth 15
-
- #define ok_alertID 128
- #define ok_cancel_alertID 129
-
- #define loading_dlogID 130
- #define about_dlogID 131
- #define partition_dlogID 132
- #define find_dlogID 358
-
- #define appleID 128
- #define fileID 129
- #define editID 130
- #define findID 131
- #define commandID 132
- #define windowsID 133
- #define specialID 134
-
- #define newCommand 1
- #define openCommand 2
- #define closeCommand 3
- #define saveCommand 5
- #define saveasCommand 6
- #define revertCommand 7
- #define pgsetupCommand 9
- #define printCommand 10
- #define quitCommand 12
-
- #define undoCommand 1
- #define cutCommand 3
- #define copyCommand 4
- #define pasteCommand 5
- #define clearCommand 6
- #define selAllCommand 7
- #define balanceCommand 9
- #define smKeyBdCommand 11
- #define stylesCommand 12
- #define partitionCommand 13
- #define showPosnCommand 14
-
- #define findCommand 1
- #define againCommand 2
- #define replaceCommand 3
- #define fEnterCommand 4
- #define replaceAllCommand 5
-
- #define interruptCommand 1
- #define helpCommand 2
- #define toplevelCommand 3
- #define abortCommand 4
- #define returnCommand 5
- #define nextCommand 7
- #define previousCommand 8
- #define backtraceCommand 9
- #define procedureCommand 10
- #define expressionCommand 11
- #define localsCommand 12
-
- #define appleM 0
- #define fileM 1
- #define editM 2
- #define findM 3
- #define commandM 4
- #define windowsM 5
- #define specialM 6
-
- #define gc_cursorID 128
-
- #define MAX_NB_WINDOWS 12
- #define FILENAME_LEN 256
- #define OUT_BUF_LEN 256
-
- extern MenuHandle menus[7];
- extern TextStyle prefStylNormal;
- extern TextStyle prefStylHilite;
- extern TextStyle dfltStylNormal;
- extern TextStyle dfltStylHilite;
-
- extern short prefTabs;
- extern short prefWrap;
- extern short prefAutoInd;
-
- extern Cursor watch_cursor;
- extern Cursor gc_cursor;
- extern Cursor ibeam_cursor;
-
- /* end of os_mac.h */
-