home *** CD-ROM | disk | FTP | other *** search
- /* _____________________________________________________________________
-
- BadUtils.h
-
- Copyright © 1993-1995 Onyx Technology - All rights reserved
- _____________________________________________________________________ */
-
- #ifndef _H_BadUtils
- #define _H_BadUtils
-
- #ifndef _H_BadAPPL
- #include "BadAPPL.h"
- #endif
- #ifndef _H_BadMacros
- #include "BadMacros.h"
- #endif
-
- #define aboutDLOG 128
-
- // the following are defines used in DoTEDialog calls
- #define settingsDLOG 130
-
- // generic dialog template id’s
-
- #define badDLOG 254
- #define errorDLOG 256
- #define testNamesSTR 256
-
- enum {
- iOkay = 1,
- iCancel,
- iTEBox
- };
-
- enum {
- kCheckMenus = 1,
- kDoState
- };
-
- #ifdef powerc
- #define kPowerPCLogo 130
- enum {iPowerPCLogo = 5};
- #endif
-
- // Prototypes
- void MaintainCursor(void);
- short SetUpMenus(void);
- void MaintainMenus(void);
- void MaintainControlMenu(short theItem, short controlCmd);
- short DoDialog(short DLOGid);
- short DoTEDialog( short testNum);
- short ValidRange(short testNum, long theLongNum);
- short CenterDialog( regvar long templateType, regvar short templateID, Point *dlgOrigin);
- void FrameDefault( Rect *r);
- void HexToString (regvar ulong number, uchar *hex);
- void AppendString( regvar uchar *origStr, regvar uchar *addStr);
- void BadAlert(StringPtr theString0, StringPtr theString1, StringPtr theString2);
- void SetUpCursors(void);
- void CantOpen(void);
-
- #endif //_H_BadUtils
-