sources/PresInfoWindow.h

/*
    File:       PresInfoWindow.h
 
    Copyright:  © 2000-2001 by Apple Computer, Inc., all rights reserved.
 
 
*/
 
#ifndef __PRESINFOWINDOW__
#define __PRESINFOWINDOW__
 
#ifndef forRez
 
// ---------------------------------------------------------------------------
//      D E F I N I T I O N S
// ---------------------------------------------------------------------------
 
#define kSignature_PresInfoWind     FOUR_CHAR_CODE('pinf')
 
#define kCommand_GetPresInfo            3000
 
// ---------------------------------------------------------------------------
//      P R O T O T Y P E S
// ---------------------------------------------------------------------------
 
OSErr PresInfoWind_New(WindowPtr *outWindow);
void PresInfoWind_Close(WindowPtr inWindow);
 
void PresInfoWind_Idle(WindowPtr inWindow);
 
void PresInfoWind_GrowWindow(WindowPtr inWindow, EventRecord *inEvent);
void PresInfoWind_DoContentClick(WindowPtr inWindow, EventRecord *inEvent);
void PresInfoWind_ActivateWindow(WindowPtr inWindow, Boolean inBecomingActive);
void PresInfoWind_Draw(WindowPtr inWindow);
 
 
long PresInfoWind_GetMenuCommand(WindowPtr inWindow, long inMenuResult, void **outCommandParams);
OSErr PresInfoWind_DoCommand(WindowPtr inWindow, long inCommand, void *inCommandParams);
 
 
OSErr PresInfoWind_HandleMessage(WindowPtr inWindow, long inMessage, void *inMessageParams);
 
 
#endif  /* forRez */
 
// ---------------------------------------------------------------------------
//      R E Z  D E F I N I T I O N S        (also used by .r file)
// ---------------------------------------------------------------------------
 
#define kRezIDBase_PresInfoWindow       5100
 
 
#define rStringList_PresInfoWindow      kRezIDBase_PresInfoWindow
    #define rPresInfoWindString_TitleTemplate       1
    #define kPresInfoWindString_DefaultName         2
 
 
 
#define rDLOG_PresInfoWindow            kRezIDBase_PresInfoWindow
#define rDITL_PresInfoWindow            kRezIDBase_PresInfoWindow
    #define rPresInfoWindDITLItem_UpdateButton      1
    #define rPresInfoWindDITLItem_ShowAllCheckBox   2
    #define rPresInfoWindDITLItem_InfoArea          3
    
 
 
 
#endif /* __PRESINFOWINDOW__ */