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.
MarkerPickShell.h
// smallshell.h - public interface for the shell |
// |
// Modification History: |
// |
// 01/01/95 nick created this file from other stuff |
#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