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.
sources/usherRezDefines.h
/* |
File: usherRezDefines.h |
Copyright: © 2000-2001 by Apple Computer, Inc., all rights reserved. |
*/ |
#ifndef __USHERREZDEFINES__ |
#define __USHERREZDEFINES__ |
// --------------------------------------------------------------------------- |
// D E F I N I T I O N S |
// --------------------------------------------------------------------------- |
/* |
Basic strategy for resource id management |
app 128 - 999 |
general stuff (menus, alerts) 600 |
about box 700 |
broadcast/presentation 1000 - 5000 |
broadcast 1000 - 1999 |
pushframesourcing 2000 - 2099 |
windows 5000+ |
UsherMinWindow 5000-5099 |
PresInfoWindow 5100-5199 |
*/ |
// --------------------------------------------------------------------------- |
// D E F I N I T I O N S |
// --------------------------------------------------------------------------- |
/* ===================== Current Version =============================== */ |
#define kVersionStatus development // development, alpha, beta, or final |
#define kNonFinalRelease 0x10 // non final release #, in bcd |
#define kVersionString "1.0d10" // short version string, |
// also used as part of long version |
#define kAppName "usher" |
#define kCopyrightAddition ", ©Apple Computer, Inc. 2000-2001" |
#define kAppSignature 'ushr' |
/* ===================== String Lists ================================== */ |
#define rStringList_AppErrors 600 |
#define rAppError_GeneralStartup 1 |
#define rAppError_QTVersion 2 |
#define rAppError_QTSVersion 3 |
#define rAppError_NoVdig 4 |
#define rAppError_MaxHandledStrings 4 |
#define rStringList_PresState 1000 |
// state number is the index |
/* ===================== Menus ========================================== */ |
#define rMenuBar_Main 600 |
#define rMenu_Apple 600 |
#define rMenuItem_About 1 |
#define rMenu_File 601 |
#define rMenuItem_Open 1 |
#define rMenuItem_Close 3 |
#define rMenuItem_Export 4 |
#define rMenuItem_Quit 9 |
#define rMenu_Edit 602 |
#define rMenu_Presentation 603 |
#define rMenuItem_GetPresInfo 1 |
#define rMenuItem_SettingsDialog 2 |
#define rMenuItem_ShowLog 3 |
/* ===================== Alerts ========================================== */ |
#define rAlert_Generic 600 |
#define rAlert_Error 610 |
/* ===================== Icons ================================== */ |
#define rIconGroup_App 128 |
/* ===================== AboutBox ========================================== */ |
#define kRezIDBase_AboutBox 700 |
#define rDLOG_AboutBox kRezIDBase_AboutBox |
#define rAlert_AboutBox kRezIDBase_AboutBox |
#define rDITL_AboutBox kRezIDBase_AboutBox |
#define rAboutBoxDITLItem_NameAndVersion 2 |
#define rPICT_AboutBox 2000 |
#endif /* __USHERREZDEFINES__ */ |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14