-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathrc.h
419 lines (387 loc) · 12.9 KB
/
rc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
#define IDS_HELP 1
#define IDS_NOINPUTFILE 2
#define IDS_TOOMUCHDATA 3
#define IDS_FILTERSTRING 4
#define IDS_TOOFEWPOINTS 5
#define IDS_TOOMANYTIMERS 6
#define IDS_DATANORANGE 7
#define IDS_GRIDTOOLARGE 8
#define IDS_GENGRIDNODATA 9
#define IDS_NOTIRREGULAR 10
#define IDS_NOOUTPUTFILE 11
#define IDS_NOINPUTGRIDFILE 12
#define IDS_NOMETATEXT 13
#define IDS_NOPRINTTEXT 14
#define IDS_NOCLIPTEXT 15
#define IDS_TOOMANYCONTOURS 16
#define IDS_NOTNOSDATA 17
#define IDS_INCREMENTNEGATIVE 19
#define IDS_GRIDINCRNEGATIVE 20
#define IDS_GRIDRATIOINVALID 21
#define IDS_ENDLTSTART 22
#define IDS_NO3DINFORMATION 23
#define IDS_NOINPUTDATA 24
#define IDS_GRIDNOTGENERATED 25
#define IDS_SAMPLESIZESMALL 29
#define IDS_GRIDLINESLT3 30
#define IDS_NOERMAPPEREXT 34
#define IDS_BADCODEORNAME 35
#define IDS_SCATDATANOTONGRIDLOCK 36
#define IDS_SCATDATANOTONGRID 37
#define IDS_OUTLINENOTONGRID 38
#define IDS_GRIDNOZRANGE 39
#define IDS_ABOUTVERSION 43
#define IDS_GRIDLOCKEDTEMPLATE 44
#define IDS_FUNCTIONNOTAVAILABLE 45
#define IDS_OPENINPUTFILEFAIL 47
#define IDS_FLOATINGPOINTFAIL 48
#define IDS_MISSINGMESSAGENUMBER 49
#define IDS_CONVERSIONFAIL 50
#define IDS_NOTENOUGHNUMBERS 51
#define IDS_UNEXPECTEDEOF 52
#define IDS_INVALIDNUMBEROFLINES 53
#define IDS_SUBMETRIXNOT1OR2 54
#define IDS_ZOOMCHANGEBAD 55
#define IDS_PANCHANGEBAD 56
#define IDS_COLOURMAPPINGERROR 57
#define IDS_TOOMANYCONTOURLINES 58
#define IDS_FLOATINGPOINTERROR 59
#define IDS_LATLONERROR 60
#define IDS_TABEXPANDERROR 61
#define IDS_GRIDCOMMENTERROR 62
#define IDS_NOGRIDTOCOPY 63
#define IDS_COMMANDWORDLARGE 64
#define IDS_COMMANDFLOATERROR 65
#define IDS_COMMANDINTEGERERROR 66
#define IDS_COMMANDRBGERROR 67
#define IDS_COMMANDFAIL 68
#define IDS_MISSINGANGLE 69
#define IDS_ANGLEVALUEERROR 70
#define IDS_PROJECTIONVALUEERROR 71
#define IDS_BADSAMPLINGVALUE 72
#define IDS_GRIDINCREMENTERROR 73
#define IDS_GRIDLINESERROR 74
#define IDS_EXITTIMERERROR 75
#define IDS_MARGINERROR 76
#define IDS_WINDOWSIZEERROR 77
#define IDS_INVALIDCOMMAND 78
#define IDS_GENERATINGGRIDFROM 79
#define IDS_COMMANDTERMINATED 80
#define IDS_PROCESSINGDATAINPUT 81
#define IDS_READINGINPUTFROM 82
#define IDS_QUIKGRID 83
#define IDS_THEREISNOGRID 85
#define IDS_RED 86
#define IDS_BLUE 87
#define IDS_GREEN 88
#define IDS_WHITE 89
#define IDS_DARKEST 90
#define IDS_IGNORED 91
#define IDS_DIALOGFIELDPOSITIONBAD 92
#define IDS_COMMANDFIELDPOSITIONBAD 93
#define IDS_NOSERROR 94
#define IDS_NOAAERROR 95
// Dialog Box definitions.
// Angle of view.
#define IDD_HELP 101
#define IDD_ABOVE 103
#define IDD_ABOUT 104
#define IDD_ASPECT 105
#define IDD_PROJECTION 106
#define IDD_TILTUP 107
#define IDD_TILTUPTINY 1071
#define IDD_TILTDOWN 108
#define IDD_TILTDOWNTINY 1081
#define IDD_TURNRIGHT 109
#define IDD_TURNRIGHTTINY 1091
#define IDD_TURNLEFT 1092
#define IDD_TURNLEFTTINY 1093
// Grid Generation Options and Grid generation box.
#define IDD_GRIDSIZEX 110
#define IDD_GRIDSIZEY 111
#define IDD_SCANBANDWIDTH 112
#define IDD_NUMDATAPOINTS 113
#define IDD_BANDWIDTHCUTOFF 116
#define IDD_GRIDREGULAR 117
#define IDD_GRIDDENSITY 118
#define IDD_GRIDLOCKED 119
#define IDD_DENSITYRATIO 120
#define IDD_STARTTIMER 122
#define IDD_IGNOREZVALUE 123
// Contour lines
#define IDD_NCONTOURS 130
#define IDD_ZMIN 131
#define IDD_ZMAX 132
#define IDD_ZEXP 133
#define IDD_CONTOURSTART 134
#define IDD_CONTOURINCR 135
#define IDD_CONTOUREND 136
#define IDD_PENHIGHLITE 137
#define IDD_LABELNTHLINE 138
#define IDD_LABELNDIGITS 139
#define IDD_SCROLLDISTANCE 140
#define IDD_SECONDARYLINES 141
#define IDD_COLORCONTOURS 142
#define IDD_COLOURCONTOURS 142
// Grid generation options (formerly technical parameters)
// Also grid generation progress dialog.
#define IDD_PERCENTDONE 150
#define IDD_PERCENTSHELL 151
#define IDD_EDGESENSITIVITY 152
#define IDD_TIMETAKEN 153
#define IDD_GRIDGENSTATUS 154
#define IDD_SETGRIDUNDEF 155
#define IDD_VALUEUNDEF 156
#define IDD_INTERNALSAMPLE 157
#define IDD_SAMPLENUMBER 158
// New title dialog box.
#define IDD_TITLETEXT 170
// Grid Coorindates.
#define IDD_XGRIDLINES 180
#define IDD_YGRIDLINES 181
#define IDD_XMIN 182
#define IDD_XMAX 183
#define IDD_YMIN 184
#define IDD_YMAX 185
#define IDD_XSTART 186
#define IDD_XINCREMENT 187
#define IDD_XEND 188
#define IDD_YSTART 189
#define IDD_YINCREMENT 190
#define IDD_YEND 191
#define IDD_XRANGE 192
#define IDD_YRANGE 193
#define IDD_CALCULATEGRID 194
#define IDD_CALCULATELINE 196
#define IDD_CALCULATERESET 197
// Grid Information Dialog Box.
#define IDD_GRIDLOCATIONX 201
#define IDD_GRIDLOCATIONY 202
#define IDD_GRIDVALUEX 203
#define IDD_GRIDVALUEY 204
#define IDD_GRIDVALUEZ 205
#define IDD_GETINFO 206
#define IDD_CLOSECONTOUR 207
#define IDD_POINTTYPE 208
#define IDD_GRIDINFOHELP 209
#define IDD_GETINFOINIT 210
#define IDD_COMMENT 211
#define IDD_EDIT 213
#define IDD_IGNOREPOINT 214
#define IDD_DISPLAYPOINT 215
// Data Input/Output Options...
#define IDD_IGNOREZENABLE 250
#define IDD_POLYLINES 252
#define IDD_FLIPXY 253
#define IDD_KEEPEVERY 251
#define IDD_NEWSTYLEINPUT 254
#define IDD_GRIDSIZERATIOMAX 255
#define IDD_GRIDSIZERATIO 256
#define IDD_REVERSEZSIGN 257
#define IDD_USETABSEPARATOR 259
#define IDD_IGNORECOMMENTS 260
#define IDD_IGNOREERRORLINES 261
#define IDD_OUTPUTUNDEFINED 262
#define IDD_UNDEFINEDVALUE 263
#define IDD_USESCATTEREDDATALAYERS 264
#define IDD_DXFFACESCALEZ 265
#define IDD_HIGHDXFOUTPUTPRECISION 266
#define IDD_OUTLINEDEFAULTZ 267
#define IDD_NICEXYCOORDS 268
#define IDD_SUBMETRIXZ 269
#define IDD_DXFTEXTHEIGHT 270
#define IDD_DXFNEVERLABEL 271
#define IDD_USETHREADS 272
#define IDD_XFIELDPOSITION 273
#define IDD_YFIELDPOSITION 274
#define IDD_ZFIELDPOSITION 275
#define IDD_CFIELDPOSITION 276
#define IDD_NOAAXFIELDPOSITION 277
#define IDD_NOAAYFIELDPOSITION 278
#define IDD_NOAAZFIELDPOSITION 279
#define IDD_NOAACFIELDPOSITION 280
#define IDD_VRMLTRIANGLES 281
#define IDD_VRML2OUTPUT 282
// About Box
#define IDD_DISCLAIMER 300
#define IDD_REGISTEREDNAME 301
#define IDD_REGISTEREDPLACE 302
// Z ratio Dialog Box
#define IDD_ZRATIO 401
// View Data Point Options Dialog Box
#define IDD_MARKPLOT 501
#define IDD_SMALLMARK 5011
#define IDD_XYPLOT 502
#define IDD_ZPLOT 503
#define IDD_COMMENTPLOT 504
#define IDD_LINEPLOT 506
#define IDD_NUMBERPLOT 507
#define IDD_DATAPOINTSONGRIDONLY 508
// Register Dialog Box
#define IDD_NAMETEXT 601
#define IDD_CODETEXT 602
// Statistics Dialog Box
#define IDD_STATISTICS 701
#define IDD_STATISTICS2 702
// Please Register Dialog Box
#define IDD_EVALUATIONRESTRICTIONS 800
// Reading Data Dialog Box
#define IDD_POINTSREAD 850
// Zoom Ratio Dialog Box
#define IDD_ZOOMRATIO 900
#define IDPREFERENCE 901
#define IDD_PANRATIO 902
// Color features Dialog Box.
#define IDD_COLORDATAPOINTS 950
#define IDD_COLORARROWS 951
#define IDD_COLOROUTLINE 952
#define IDD_COLORCONTOURLINE 953
#define IDD_COLORGRIDLINE 954
#define IDD_COLORBACKGROUND 955
#define IDD_COLORTEXT 956
#define IDD_COLORAXIS 957
// Colour mapping Dialog Box
#define IDD_COLOURZMIN 958
#define IDD_COLOURZMID 959
#define IDD_COLOURZMAX 960
#define IDD_CHOOSECOLOUR 961
#define IDD_SHADEDMONOCHROME 962
#define IDD_BLENDEDCOLOUR 963
#define IDD_BLUE 964
#define IDD_GREEN 965
#define IDD_RED 966
#define IDD_COLOURMAPHEADING 967
#define IDD_REVERSECOLOURMAP 968
// Right Mouse Button Options Dialog Box
#define IDD_RIGHTBUTTONBOXTITLE 970
#define IDD_SHOWCOMMENTSONLY 971
// Main menu definitions.
#define IDM_ABOUT 1
#define IDM_HELP 2
#define IDM_AUTOGENGRID 102
#define IDM_SAVE 101
#define IDM_REGISTER 3 // not displayed in registered version.
// File... options.
#define IDM_OPENDCA 4
#define IDM_EXIT 5
#define IDM_OUTPUTDXF 6
#define IDM_REGENGRID 7
#define IDM_AUTOGRIDGEN 8
#define IDM_OPENNOS 9
#define IDM_METAFILE 10
#define IDM_OPENMETRIC 11
#define IDM_OPENGRID 12
#define IDM_SAVEDATAPOINTS 130
#define IDM_SAVEXYZ 131
#define IDM_ERMAPPER 132
#define IDM_SAVEGRD 133
//#define IDM_SAVEMAPINFO 134 // Partially implemented then withdrawn.
#define IDM_GENGRID 14
#define IDM_LOADTESTDATA 15
#define IDM_GENGRIDNOW 16
#define IDM_3DSURFACE 17
#define IDM_2DSURFACE 18
#define IDM_PRINT 19
#define IDM_PRINTSETUP 20
#define IDM_DXF3DFACE 202
#define IDM_OPENDXF 203
#define IDM_OPENLATLON 204
#define IDM_USGSDEM 205
#define IDM_LOADERMAPPER 206
#define IDM_CLEAROUTLINE 207
#define IDM_OPENOUTLINE 208
#define IDM_INPUTCOMMANDFILE 209
#define IDM_OPENSUBMETRIXSXP 210
#define IDM_OUTPUTWRL 211
#define IDM_OPENNOAA 212
// View.... options. .. include View... Edit view options dialog box.
#define IDM_CONTOUR 20
#define IDM_CONTOURLABELS 21
#define IDM_GRIDHIDE 22
#define IDM_3DAXES 23
#define IDM_DATAPLOT 25
#define IDM_GRIDPLOT 26
#define IDM_SHOWCORNERS 27
#define IDM_NOCOLOR 29
#define IDM_VIEWPREFERENCE 30
#define IDM_LATLON 31
#define IDM_VIEWSTATISTICS 36
#define IDM_COLOUREDGRID 37
#define IDM_BOLDOUTLINE 38
#define IDM_NOGRIDPLOT 391
#define IDM_EDITVIEWOPTIONS 392
#define IDD_GRIDLINECOLOUREDGRID 393
#define IDD_AXESONTOP 394
#define IDD_INCLUDECOLOURLEGEND 395
#define IDD_COLOURDIFFERENCE 396
#define IDD_SAVERESTOREMEMORY 397
#define IDD_ALWAYSPAINTSCREEN 398
#define IDD_NEVERHIDECONTOURS 399
#define IDD_TEXTSIZE 381
//#define IDD_DEFAULTZMIN 382
#define IDD_ZMINLABEL 382
//#define IDD_DEFAULTZMAX 383
#define IDD_ZMAXLABEL 383
#define IDD_ARROWSIZE 384
// Edit... options.
#define IDM_CONTVALS 41
#define IDM_ANGLE 42
#define IDM_GRIDDIM 43
#define IDM_TECHNICAL 44
#define IDM_DATAINPUTOPTIONS 45
#define IDM_DATAOUTPUTOPTIONS 455
#define IDM_EDITZRATIO 46
#define IDM_DATAPOINTOPTIONS 47
#define IDM_NUMBEROFGRIDLINES 48
#define IDM_ZOOMRATIO 49
#define IDM_COLORFEATURES 495
#define IDM_RIGHTCLICKOPTIONS 496
#define IDM_COLOURMAPPING 497
// Zoom... options
#define IDM_TITLE 51
#define IDM_ZOOMFREEZE 52
#define IDM_UNZOOM 53
#define IDM_PREVIOUSZOOM 54
#define IDM_NEGATIVEZOOM 55
#define IDM_ZOOMDISABLE 56
#define IDM_GENGRIDZOOM 57
#define IDM_GENGRIDORIGINAL 58
#define IDM_ZOOMOUT 59
#define IDM_ZOOMIN 60
#define IDM_PANDOWN 61
#define IDM_PANUP 62
#define IDM_PANRIGHT 63
#define IDM_PANLEFT 64
// Grid
#define IDM_CROP2DVIEW 70
#define IDM_GRIDRESAUTO 71
#define IDM_GRIDRESDECREASE 72
#define IDM_GRIDRESINCREASE 73
#define IDM_GRIDRESFULL 74
#define IDM_GRIDLOCK 75
#define IDM_SAVETEMPLATE 76
#define IDM_CLEARTEMPLATE 77
#define IDM_COLOURMAPGRIDEXTENTS 78
// Functions
#define IDM_SETUNDEFINEDMAXZ 81
#define IDM_SETUNDEFINEDMINZ 82
#define IDM_SETMINUNDEFINED 83
#define IDM_SETMAXUNDEFINED 84
#define IDM_GRIDSKIRTMAX 85
#define IDM_GRIDSKIRTMIN 86
#define IDM_SNAPXYZDATA 87
#define IDM_COPYGRIDSPEED 88
#define IDM_COPYGRIDDIRECTION 89
#define IDM_COPYGRIDCOLOUR 891
#define IDM_COLOURLAYERDIFFERENCE 892
// Non menu.. entries used internally.
#define IDM_GETINFO 90 // Get mouse location information.
#define IDM_UNREGISTERED 91 // Pop that program is unregistered.
#define IDM_XYZINTITLE 93 // Post xyz informatin in title bar.
#define IDM_STARTUP 94 // Startup procedure.
#define IDM_WRITEFILEQUIT 95 // Write an output file and quit.
#define IDM_COPY 96 // Copy image to clipboard.
#define IDM_COPYMETA 96 // Copy image to clipboard as metafile.
#define IDM_COPYBITMAP 97 // Copy image to clipboard as bitmap.
#define IDM_SAVEVIEWOPTIONS 98 // Save view options.
#define IDM_NOTIFYUSER 99 // Pop a messagebox. (Used from Paintcon mainly)