home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-09-28 | 1.5 KB | 65 lines | [TEXT/MPS ] |
- /*
- File: AboutBox.c
-
- Contains: xxx put contents here xxx
-
- Version: xxx put version here xxx
-
- Copyright: © 1999 by Apple Computer, Inc., all rights reserved.
-
- File Ownership:
-
- DRI: xxx put dri here xxx
-
- Other Contact: xxx put other contact here xxx
-
- Technology: xxx put technology here xxx
-
- Writers:
-
- (BWS) Brent Schorsch
-
- Change History (most recent first):
-
- <SP1> 7/1/99 BWS first checked in
- */
-
- //• ———————————————————————————————————————— Includes
-
- #include <Dialogs.h>
- #include <TextUtils.h>
-
- #include "AboutBox.h"
- #include "AppShellResources.h"
-
- //• ———————————————————————————————————————— Private Definitions
- //• ———————————————————————————————————————— Private Types
- //• ———————————————————————————————————————— Private Variables
- //• ———————————————————————————————————————— Private Functions
- //• ———————————————————————————————————————— Public Variables
-
- //• ———————————————————— AboutBox
-
- void
- AboutBox(void)
- {
- Str255 title, copyright;
- SInt16 itemHit;
- AlertStdAlertParamRec pb;
-
- GetIndString(title, kSTRn_AboutBoxStrings, 1);
- GetIndString(copyright, kSTRn_AboutBoxStrings, 2);
-
- pb.movable = false;
- pb.helpButton = false;
- pb.filterProc = nil;
- pb.defaultText = (StringPtr) kAlertDefaultOKText;
- pb.cancelText = nil;
- pb.otherText = nil;
- pb.defaultButton = kStdOkItemIndex;
- pb.cancelButton = kStdCancelItemIndex;
- pb.position = kWindowAlertPositionParentWindowScreen;
-
- StandardAlert(kAlertPlainAlert, title, copyright, &pb, &itemHit);
- }
-