Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
MetaFileReadShell.h
// Quickdraw 3D sample code |
// |
// Nick Thompson, AppleLink: DEVSUPPORT (devsupport@applelink.apple.com) |
// |
// ©1994-5 Apple Computer Inc., All Rights Reserved |
#ifndef _SMALLSHELL_H_ |
#define _SMALLSHELL_H_ |
//------------------------------------------------------------------------------------------- |
// |
enum { |
mApple = 128, |
mFile, |
mEdit, |
mTest |
} ; |
enum { |
iAbout = 1 |
} ; |
enum { |
iNew = 1, |
iOpen, |
iClose, |
iUnused1, |
iQuit |
} ; |
//------------------------------------------------------------------------------------------- |
// |
enum { |
iUsePictPalette = 1 |
} ; |
//------------------------------------------------------------------------------------------- |
// globals - defined in SmallShell.c |
extern Boolean gQuitFlag ; |
//------------------------------------------------------------------------------------------- |
// constants - defined in SmallShell.c |
extern const RGBColor kRGBBlack ; |
extern const RGBColor kRGBWhite ; |
// function prototypes |
WindowPtr DoCreateBufferedWindow( Rect *theRect, |
const Ptr theStorage, |
const CTabHandle theWindowCTab, |
const short theDepth, |
const Str255 theTitle ) ; |
short HiWrd(long aLong) ; |
short LoWrd(long aLong) ; |
#endif |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14