-
Notifications
You must be signed in to change notification settings - Fork 5
/
OperatorConsole.rc
374 lines (325 loc) · 25.1 KB
/
OperatorConsole.rc
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
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#ifndef APSTUDIO_INVOKED
#include "targetver.h"
#endif
#include "afxres.h"
#include "verrsrc.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (United States) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#ifndef APSTUDIO_INVOKED\r\n"
"#include ""targetver.h""\r\n"
"#endif\r\n"
"#include ""afxres.h""\r\n"
"#include ""verrsrc.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
"\r\n"
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
"LANGUAGE 9, 1\r\n"
"#include ""res\\OperatorConsole.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
"#include ""afxres.rc"" // Standard components\r\n"
"#if !defined(_AFXDLL)\r\n"
"#include ""afxribbon.rc"" // MFC ribbon and control bar resources\r\n"
"#endif\r\n"
"#endif\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON "res\\OperatorConsole.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About OperatorConsole"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20
LTEXT "OperatorConsole, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX
LTEXT "Copyright (C) 2013",IDC_STATIC,42,26,114,8
DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP
END
IDD_OPERATORCONSOLE_DIALOG DIALOGEX 0, 0, 735, 407
STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "Imatest IT Operator Console"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
DEFPUSHBUTTON "Quit",IDOK,673,387,50,13
CONTROL "SFRplus",IDC_RADIO_SFR,"Button",BS_AUTORADIOBUTTON | WS_GROUP,519,375,41,10
CONTROL "Blemish",IDC_RADIO_BLEMISH,"Button",BS_AUTORADIOBUTTON,519,387,39,10
PUSHBUTTON "Start",IDC_START,571,379,50,14
PUSHBUTTON "Stop",IDC_STOP,571,379,50,14
EDITTEXT IDC_SUMMARY,515,159,209,86,ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_READONLY
GROUPBOX "",IDC_STATIC_INFO_BOX,516,2,212,398,BS_CENTER | NOT WS_VISIBLE
GROUPBOX "",IDC_GROUP_TEST,516,367,48,33,BS_CENTER
PUSHBUTTON "Setup",IDC_SETUP_BUTTON,673,362,50,14
CONTROL "",IDC_IMAGE,"Static",SS_OWNERDRAW | SS_REALSIZEIMAGE,7,6,496,394
CONTROL "",IDC_LOGO,"Static",SS_OWNERDRAW,516,6,204,55
CTEXT "",IDC_STATUS,515,62,207,20,WS_BORDER | NOT WS_GROUP
EDITTEXT IDC_LOG,516,249,209,106,ES_MULTILINE | ES_READONLY | WS_VSCROLL | WS_HSCROLL
CTEXT "",IDC_QSO_UL,19,19,48,38,SS_CENTERIMAGE,WS_EX_TRANSPARENT
CTEXT "",IDC_QSO_UR,431,23,48,38,SS_CENTERIMAGE,WS_EX_TRANSPARENT
CTEXT "",IDC_QSO_LR,443,284,48,38,SS_CENTERIMAGE,WS_EX_TRANSPARENT
CTEXT "",IDC_QSO_LL,22,292,48,38,SS_CENTERIMAGE,WS_EX_TRANSPARENT
CTEXT "",IDC_QSO_CENTER,241,161,48,38,SS_CENTERIMAGE,WS_EX_TRANSPARENT
CTEXT "",IDC_FPS,235,362,46,12,SS_CENTERIMAGE,WS_EX_TRANSPARENT
PUSHBUTTON "Show JSON",IDC_SHOWJSON,571,362,50,14
EDITTEXT IDC_REASON,515,83,208,73,ES_MULTILINE | ES_READONLY | WS_VSCROLL
PUSHBUTTON "Set Pass/Fail",IDC_PASS_FAIL,622,362,50,14
END
IDD_MSGDIALOG DIALOGEX 0, 0, 321, 97
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP
FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
ICON "",IDC_MSGICON,12,17,21,20
EDITTEXT IDC_MSG,51,19,219,52,ES_READONLY | NOT WS_BORDER
END
IDD_TEXTDIALOG DIALOGEX 0, 0, 573, 369
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
EDITTEXT IDC_TEXT,7,7,559,355,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL | WS_HSCROLL
END
IDD_SETUP DIALOGEX 0, 0, 281, 342
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Setup"
FONT 8, "MS Shell Dlg", 400, 0, 0x0
BEGIN
DEFPUSHBUTTON "OK",IDOK,173,321,43,14
PUSHBUTTON "Cancel",IDCANCEL,222,321,43,14
EDITTEXT IDC_WIDTH,15,236,55,12,ES_AUTOHSCROLL
EDITTEXT IDC_HEIGHT,77,236,55,12,ES_AUTOHSCROLL
LTEXT "Width (pixels)",IDC_STATIC,15,226,59,8
LTEXT "Height (pixels)",IDC_STATIC,77,226,60,8
LTEXT "Select device:",IDC_STATIC,15,16,80,8
LISTBOX IDC_DEVICE_LIST,15,29,109,110,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_GROUP | WS_TABSTOP
LTEXT "Bits per pixel",IDC_STATIC_BITSPERPIXEL,135,59,57,8
COMBOBOX IDC_DEVICEID,196,68,55,61,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Epiphan device ID",IDC_STATIC_DEVICEID,196,59,59,8
COMBOBOX IDC_BITSPERPIXEL,135,68,55,59,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_COMBO_BAYER,135,126,117,110,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Bayer pattern",IDC_STATIC_BAYER,135,116,117,8
CONTROL "",IDC_EDIT_BROWSE,"MfcEditBrowse",WS_BORDER | WS_TABSTOP | 0x80,15,163,235,14
LTEXT "(Optional) Select a file containing register settings",IDC_STATIC_BROWSE,15,151,235,8
GROUPBOX "Camera",IDC_STATIC,7,3,259,209
EDITTEXT IDC_EDIT_PARTNUMBER,15,194,108,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT_SERIALNUMBER,142,194,108,14,ES_AUTOHSCROLL
LTEXT "(For JSON output) Part number",IDC_STATIC_BITSPERPIXEL2,16,182,102,8
LTEXT "(For JSON output) Serial number",IDC_STATIC_BITSPERPIXEL3,142,182,111,8
GROUPBOX "Operator Console",IDC_STATIC,7,213,258,107
CONTROL "",IDC_EDITBROWSE_INIFILE,"MfcEditBrowse",WS_BORDER | WS_TABSTOP | 0x80,15,299,235,14
CONTROL "",IDC_EDITBROWSE_PROGPATH,"MfcEditBrowse",WS_BORDER | WS_TABSTOP | 0x80,15,266,235,14
LTEXT "Full program path",IDC_STATIC_BROWSE2,15,255,235,8
LTEXT "Full path to INI file",IDC_STATIC_BROWSE3,15,287,235,8
COMBOBOX IDC_COMBO_VIDEO_FORMAT,135,38,117,78,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
LTEXT "Video format",IDC_STATIC_VIDEO_FORMAT,135,28,116,8,0,WS_EX_TRANSPARENT
END
IDD_PASS_FAIL DIALOGEX 0, 0, 251, 314
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Set Pass/Fail"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,156,294,42,14
PUSHBUTTON "Cancel",IDCANCEL,204,294,42,14
CONTROL "",IDC_PROPLIST_LOCATION,"Static",SS_BLACKFRAME,7,7,237,285
END
IDD_DIALOG_PWD DIALOGEX 0, 0, 159, 109
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Password needed"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,7,88,50,14
PUSHBUTTON "Cancel",IDCANCEL,95,88,50,14
EDITTEXT IDC_EDIT_PWD,18,34,117,14,ES_PASSWORD | ES_AUTOHSCROLL
LTEXT "Please enter the administrator password to access the pass/fail settings.",IDC_STATIC,7,7,138,20
CONTROL "Retain admin access privileges to pass/fail data until the program is closed",IDC_CHECK_RETAIN_ACCESS,
"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,7,55,138,24
END
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,0,0,1
PRODUCTVERSION 0,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x3L
#else
FILEFLAGS 0x2L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Imatest, LLC"
VALUE "FileDescription", "OperatorConsole"
VALUE "FileVersion", "0.0.0.1"
VALUE "InternalName", "OperatorConsole.exe"
VALUE "LegalCopyright", "(c) Imatest, LLC. All rights reserved."
VALUE "OriginalFilename", "OperatorConsole.exe"
VALUE "ProductName", "Imatest IT Operator Console"
VALUE "ProductVersion", "0.0.0.1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 163
TOPMARGIN, 7
BOTTOMMARGIN, 55
END
IDD_OPERATORCONSOLE_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 728
TOPMARGIN, 6
BOTTOMMARGIN, 400
END
IDD_MSGDIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 314
TOPMARGIN, 7
BOTTOMMARGIN, 90
END
IDD_TEXTDIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 566
TOPMARGIN, 7
BOTTOMMARGIN, 362
END
IDD_SETUP, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 265
TOPMARGIN, 7
BOTTOMMARGIN, 335
END
IDD_PASS_FAIL, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 244
TOPMARGIN, 7
BOTTOMMARGIN, 307
END
IDD_DIALOG_PWD, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 152
TOPMARGIN, 7
BOTTOMMARGIN, 102
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//
IDD_SETUP DLGINIT
BEGIN
IDC_EDIT_BROWSE, 0x37c, 42, 0
0x4d3c, 0x4346, 0x6445, 0x7469, 0x7242, 0x776f, 0x6573, 0x4d5f, 0x646f,
0x3e65, 0x3c31, 0x4d2f, 0x4346, 0x6445, 0x7469, 0x7242, 0x776f, 0x6573,
0x4d5f, 0x646f, 0x3e65,
IDC_EDITBROWSE_INIFILE, 0x37c, 42, 0
0x4d3c, 0x4346, 0x6445, 0x7469, 0x7242, 0x776f, 0x6573, 0x4d5f, 0x646f,
0x3e65, 0x3c31, 0x4d2f, 0x4346, 0x6445, 0x7469, 0x7242, 0x776f, 0x6573,
0x4d5f, 0x646f, 0x3e65,
IDC_EDITBROWSE_PROGPATH, 0x37c, 42, 0
0x4d3c, 0x4346, 0x6445, 0x7469, 0x7242, 0x776f, 0x6573, 0x4d5f, 0x646f,
0x3e65, 0x3c31, 0x4d2f, 0x4346, 0x6445, 0x7469, 0x7242, 0x776f, 0x6573,
0x4d5f, 0x646f, 0x3e65,
0
END
/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//
IDD_SETUP AFX_DIALOG_LAYOUT
BEGIN
0
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_ABOUTBOX "&About OperatorConsole..."
END
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE 9, 1
#include "res\OperatorConsole.rc2" // non-Microsoft Visual C++ edited resources
#include "afxres.rc" // Standard components
#if !defined(_AFXDLL)
#include "afxribbon.rc" // MFC ribbon and control bar resources
#endif
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED