home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Audio 4.94 - Over 11,000 Files
/
audio-11000.iso
/
mac
/
soundutl
/
vmtrs10s.hqx
/
VUMeters
/
Sources
/
VUMeterResources.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-08-05
|
4KB
|
129 lines
/*
* ARTA VUMeters for Macintosh
* Malcolm Slaney
* Advanced Technology Group
* Apple Computer, Inc.
* malcolm@apple.com
* 1992-1993
*
* Warranty Information
* Even though Apple has reviewed this software, Apple makes no warranty
* or representation, either express or implied, with respect to this
* software, its quality, accuracy, merchantability, or fitness for a
* particular purpose. As a result, this software is provided "as is,"
* and you, its user, are assuming the entire risk as to its quality
* and accuracy.
*
* Copyright (c) 1992-1993 by Apple Computer, Inc
* All Rights Reserved.
*/
#define BASE_RES_ID 400
/********************************* Picture Indices *****************************/
#define ABOUT_BOX_PICT_ID BASE_RES_ID
/********************************* String Indices *****************************/
#define ABOUT_BOX_STRING_RESOURCE (BASE_RES_ID)
#define ALERT_STRING_RESOURCE (BASE_RES_ID+1)
#define METER_LABEL_RESOURCE (BASE_RES_ID+2)
#define TICK_LABEL_RESOURCE (BASE_RES_ID+3)
/********************************* Menu Indices *****************************/
#define APPLE_MENU (BASE_RES_ID)
#define FILE_MENU (BASE_RES_ID+1)
#define EDIT_MENU (BASE_RES_ID+2)
#define PATCH_MENU (BASE_RES_ID+3)
#define ABOUT_ITEM 1
#define NEW_ITEM 1
#define CLOSE_ITEM 2
#define QUIT_ITEM 4
#define INPUT_ITEM 1
#define OUTPUT_ITEM 2
#define LEFT_ITEM 4
#define BOTH_ITEM 5
#define MAXIMUM_ITEM 6
#define RIGHT_ITEM 7
#define PEAK_ITEM 9
#define POWER_ITEM 10
#define FAST_ITEM 12
#define NORMAL_ITEM 13
#define FULLSCALE_ITEM 15
#define ANALOGLINE_ITEM 16
/********************************* Meter Tag Indices *****************************/
#define kInputPortString 1
#define kOutputPortString 2
#define kLeftChannelString 3
#define kRightChannelString 4
#define kMaximumChannelString 5
#define kBothChannelString 6
#define kPeakReadingString 7
#define kPowerReadingString 8
#define kPeakModuleString 9
#define kPowerModuleString 10
#define kFullScaleString 11
#define kAnalogLineString 12
/********************************* Meter Tick Tag Indices *****************************/
#define kMinusSignString 1
#define kMinusSixtyString 2
#define kMinusFourtyString 3
#define kMinusThirtyString 4
#define kMinusTwentyString 5
#define kMinusTenString 6
#define kMinusFiveString 7
#define kZeroLevelString 8
#define kPlusFiveString 9
/********************************* Alert Tag Indices *****************************/
#define kConfigurationInstallError 1
#define kConfigurationStartError 2
#define kCreateDSPMonitorError 3
#define kReleaseDSPMonitorError 4
#define kScreenRegionAllocationError 5
#define kNoMemoryWindowPieceError 6
#define kNoOffscreenWorldError 7
#define kNoCopyToWindowError 8
#define kNoScaleRegionError 9
#define kCantCreateScaleWorldError 10
#define kCantAllocateCWindowError 11
#define kCantAllocateVUMeterError 12
#define kNeed32BitQuickDrawError 13
#define kNeedMoreMemoryError 14
#define kCantAllocateCPortWindowError 15
#define kCantAllocateMoreWindowsError 16
#define kShowValueError 17
#define kCantFindMenuBarError 18
#define kCantFindAppleMenuError 19
#define kCantFindFileMenuError 20
#define kCantFindPatchMenuError 21
#define kMenuSetupError 22
#define kUpdateEventError 23
#define kInDragError 24
#define kGoAwayError 25
#define kInGrowError 26
#define kInZoomError 27
#define kMenuChoiceError 28
#define kAboutVUMetersString 29
#define kCantCreatePictureWindowError 30
#define kCantAllocateVUPictureError 31
#define kCloseMenuError 32
#define kPatchMenuError 33