/**************************************************************/
/**  C++ code Copyright (C) Nick V. King <nking@eworld.com>  **/
/**************************************************************/

#define N_PRA_MODES					7

#define N_KERNEL_MESSAGES			10

#define maxStringLength				256

#define minimumMemoryFree			10000

#define scrollPixels				16

#define hiliteDelay					5
#define quarterSecondDelay			15
#define halfSecondDelay				30
#define oneSecondDelay				60
#define twoSecondDelay				120
#define threeSecondDelay			180
#define fourSecondDelay				240
#define fiveSecondDelay				300
#define sixSecondDelay				360
#define tenSecondDelay				600

#define toolbarHeight				16
#define scrollbarWidth				15
#define statusbarWidth				200

#define rangeCursorID				128

#define mainwindowID				128
#define aboutwindowID				129
#define windoidwindowID				130
#define kernelwindowID				131

#define	stopAlertID					263
#define	warningAlertID				264
#define	infoAlertID					265

#define printerRecordID				128

#define personalizationDialogID		128
#define startNormalDialogID			129
#define startGS2HighResDialogID		130
#define rangeNormalDialogID			132
#define rangeGS2HighResDialogID		135	
#define rangeTomPlotDialogID		131
#define levelsDialogID				134
#define ignoredDataDialogID			133
#define validDataDialogID			136
#define recordLengthDialogID		137
#define commentDialogID				140
#define fatalErrorAlertID			256
#define nonFatalErrorAlertID		257
#define backgroundingCloseAlertID	258
#define backgroundingQuitAlertID	259
#define backgroundingStopAlertID	260
#define closeAlertID				261
#define quitAlertID					262
#define genericStopAlertID			263
#define genericCautionAlertID		264
#define genericNoteAlertID			265
#define saveFileTypeAlertID			266
#define genericFileErrorAlertID		267
#define binFileAlertID				269
#define variableInvalidAlertID		270
#define customOpenDialogID			1000

#define toolbarStubID				100
#define timeRangeNormalBarID		200
#define timeRangeGS2BarID			201
#define modesNormalBarID			210
#define modesGS2BarID				211
#define levelsNormalBarID			250
#define levelsEmptyBarID			251
#define commentBarID				275
#define dataRangeNormalBarID		300
#define dataRangeTomPlotBarID		301
#define dataRangeEmptyBarID			302
#define plotRangeNormalBarID		400
#define plotRangeTomPlotBarID		401
#define plotRangeGS2HighResBarID	402
#define plotRangeEmptyBarID			403

#define firstButtonID				101
#define priorButtonID				102
#define replotButtonID				103
#define nextButtonID				104
#define lastButtonID				105
#define setButtonID					107
#define upButtonID					110
#define downButtonID				111
#define checkBoxID					150

#define outlineButtonProcID			200
#define dottedLineProcID			201
#define ignoredDataProcID			202

#define dialogOkayButtonID			1
#define dialogCancelButtonID		2
#define dialogOutlineUserItemID		3
#define dialogDefaultsButtonID		4

#define mouseDownSoundID			128
#define mouseUpSoundID				129

#define none						-1
#define idle						0
#define opening						1
#define printing					2
#define printingWindow				3
#define plotting					4
#define working						5
#define cancelling					6
#define binning						7
#define closing						8

#define aboutPictureID				128
#define voyagerPictureID			129

#define creditsStringsID			128

#define personalizationStringsID	129
#define   nameStringIndex			1
#define   companyStringIndex		2
#define   addressStringIndex		3
#define   cityStringIndex			4
#define   stateStringIndex			5
#define   zipStringIndex			6
#define   countryStringIndex		7

#define environmentStringsID		130
#define   environmentStringIndex	1
#define   cpuStringIndex			2
#define   fpuStringIndex			3
#define   threadsStringIndex		4

#define cpusStringsID				131
#define fpusStringsID				132
#define threadsStringsID			133

#define errorStringsID				134
#define   qdRequiredStringIndex		1
#define   gestaltProblemStringIndex 2
#define   couldntLaunchStringIndex	3
#define   numericOnlyStringIndex	4
#define   toBackgroundStringIndex	5
#define   memoryLowStringIndex		6
#define   couldntResizeStringIndex	7
#define   badSettingsStringIndex	8
#define   oneDocumentStringIndex	9
#define   firstDocumentStringIndex	10
#define   couldntPrintStringIndex	11
#define   couldntExportStringIndex	12
#define   couldntCopyStringIndex	13

#define finderHelpStringsID			135

#define miscStringsID				136
#define   noneStringIndex			1
#define   unknownStringIndex		2
#define   notAvailableStringIndex	3
#define   notApplicableStringIndex	4
#define   filenameStringIndex		5
#define   setStringIndex			6
#define   allStringIndex			7
#define   smallStringIndex			10
#define   minimumStringIndex		11
#define   largeStringIndex			12
#define   maximumStringIndex		13
#define   fileErrorStringIndex		20
#define   convertedStringIndex		30
#define   openedStringIndex			31
#define   printedStringIndex		32
#define   plottedStringIndex		33
#define   closeItStringIndex		34
#define   quitStringIndex			35
#define   cutTextStringIndex		40
#define   cutImageStringIndex		41
#define   copyTextStringIndex		42
#define   copyImageStringIndex		43
#define   pasteTextStringIndex		44
#define   pasteImageStringIndex		45
#define   clearTextStringIndex		46
#define   clearImageStringIndex		47
#define   plotEStringIndex			48
#define   plotFullFrameStringIndex	49
#define   timeStampStringIndex		50
#define   timeRangeStringIndex		51
#define   startTimeStringIndex		52
#define   startTimeEStringIndex		53
#define   startPositionStringIndex	54
#define   startPositionEStringIndex	55
#define   ignoredDataStringIndex	56
#define   ignoredDataEStringIndex	57
#define   validDataStringIndex		58
#define   validDataEStringIndex		59

#define statusStringsID				137
#define variableNameStringsID		138
#define plotModesStringsID			139

#define menuBarID					128

#define menuTitle					0

#define appleMenuID					128
#define   aboutItem					1

#define fileMenuID					129
#define   openItem					1
#define   closeItem					2
#define   saveFileTypeItem			3
#define   binFileItem				5
#define   exportItem				7
#define   pageSetupItem				9
#define   printItem					10
#define   printAllItem				11
#define   printRemainderItem		12
#define   quitItem					14

#define editMenuID					130
#define   undoItem 					1
#define   cutItem					3
#define   copyItem					4
#define   pasteItem					5
#define   clearItem					6
#define   selectAllItem				8

#define plotMenuID					131
#define   plotItem					1
#define   replotItem				2
#define   firstItem					4
#define   lastItem					5
#define   previousItem				7
#define   nextItem					8
#define   cancelPlotItem			10

#define settingsMenuID				132
#define   fileTypeItem				1
#define   recordLengthItem			2
#define   plotModeItem				4
#define   spacecraftModeItem		5
#define   praModeItem				6
#define   plotRangeItem				8
#define   levelsItem				9
#define   dataRangeItem				10
#define   commentItem				11

#define optionsMenuID				133
#define   appendFileTypeToTitleItem	1
#define   showKernelMessagesItem	2
#define   soundEffectsItem			4
#define   alertSoundWhenDoneItem	5
#define   backgroundingItem			7
#define   fixedTextSizeItem			10
#define   fontItem					12
#define   backgroundColorItem		13
#define   spectralDataItem			14

#define fileTypeMenuID				140
#define scmodesMenuID				141
#define pramodesMenuID				142

#define plotmodesMenuID				143
#define   unbinnedSpectrumItem		1
#define   binnedSpectrumItem		2
#define   rawPlotItem				3
#define   unbinnedTomPlotItem		4
#define   binnedTomPlotItem			5
#define   gs2LowResItem				6
#define   gs2HighResItem			7

#define commentMenuID				144
#define   noneItem					1
#define   filenameItem				2

#define brightnessLevelMenuID		145
#define saturationLevelMenuID		146

#define toolbarMenuID				148
#define   timeRangeBar				1
#define   modesBar					2
#define   plotRangeBar				3
#define   levelsBar					4
#define   dataRangeBar				5
#define   commentBar				6

#define fontsMenuID					147

#define dataColorMenuID				149
#define   blackAndWhiteItem			1
#define   grayScaleItem				2
#define   colorSpectrumItem			3

#define backgroundColorMenuID		150
#define   whiteItem					1
#define   blackItem					2

#define plotSizeMenuID				151
#define   fixedItem					1
#define   matchWindowItem			2
#define   matchPrinterPageItem		3

/***********/
/**  End  **/
/***********/

