-
Notifications
You must be signed in to change notification settings - Fork 16
/
MiniScopeControl.rc
314 lines (277 loc) · 22.2 KB
/
MiniScopeControl.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
// 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\\MiniScopeControl.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\\MiniScopeControl.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About MiniScopeControl"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20
LTEXT "MiniScopeControl, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX
LTEXT "Copyright (C) 2014",IDC_STATIC,42,26,114,8
DEFPUSHBUTTON "OK",IDOK,113,41,50,14,WS_GROUP
END
IDD_MINISCOPECONTROL_DIALOG DIALOGEX 0, 0, 437, 327
STYLE DS_SETFONT | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
EXSTYLE WS_EX_APPWINDOW
CAPTION "Miniscope Controller"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
LTEXT "100%",IDC_STATIC,215,229,20,8
LTEXT "0%",IDC_STATIC,31,229,12,8
CONTROL "",IDC_SLIDEROPTO,"msctls_trackbar32",TBS_AUTOTICKS | TBS_BOTH | TBS_ENABLESELRANGE | WS_DISABLED | WS_TABSTOP,25,282,203,27
LTEXT "100%",IDC_STATIC,215,295,20,8,WS_DISABLED
LTEXT "0%",IDC_STATIC,31,295,12,8,WS_DISABLED
CTEXT "Excitation LED",IDC_STATIC,92,203,68,8
CTEXT "Optogenetics LED",IDC_STATIC,92,269,68,8
EDITTEXT IDC_EDIT2,109,242,40,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT3,109,306,40,14,ES_AUTOHSCROLL | WS_DISABLED
GROUPBOX "Light Sources",IDC_STATIC,6,197,257,123
PUSHBUTTON "Load",IDC_LOAD,183,9,40,14,WS_DISABLED
PUSHBUTTON "Save",IDC_SAVE,227,9,40,14,WS_DISABLED
LISTBOX IDC_LIST1,301,230,129,90,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
GROUPBOX "Scope Camera",IDC_STATIC,6,7,127,187
EDITTEXT IDC_EDIT4,13,16,20,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT5,143,39,20,14,ES_AUTOHSCROLL
PUSHBUTTON "Connect",IDC_SCOPECONNECT,95,16,35,14
PUSHBUTTON "Connect",IDC_BEHAVIORCONNECT,225,39,35,14
GROUPBOX "Behavior Camera",IDC_STATIC,137,29,126,142
PUSHBUTTON "Record",IDC_RECORD,294,203,50,14,WS_DISABLED
PUSHBUTTON "Stop",IDC_STOPRECORD,347,203,50,14,WS_DISABLED
CONTROL "",IDC_SLIDERSCOPEEXPOSURE,"msctls_trackbar32",TBS_AUTOTICKS | TBS_BOTH | TBS_ENABLESELRANGE | WS_DISABLED | WS_TABSTOP,7,98,92,27
LTEXT "Exposure",IDC_STATIC,10,90,31,8
EDITTEXT IDC_EDIT6,99,103,31,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT7,329,121,33,14,ES_AUTOHSCROLL
LTEXT "FPS",IDC_STATIC,338,158,15,10
EDITTEXT IDC_EDIT8,295,121,33,14,ES_AUTOHSCROLL
LTEXT "Scope:",IDC_STATIC,274,125,23,8
EDITTEXT IDC_EDIT9,363,105,33,14,ES_AUTOHSCROLL
LTEXT "Elapsed Time:",IDC_STATIC,317,107,45,8
EDITTEXT IDC_EDIT10,295,139,33,14,ES_AUTOHSCROLL
LTEXT "Behavior:",IDC_STATIC,265,142,32,8
LTEXT "Frames\nCaptured",IDC_STATIC,295,154,36,18
EDITTEXT IDC_EDIT11,329,139,33,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT12,365,7,65,14,ES_AUTOHSCROLL
LTEXT "Animal:",IDC_STATIC,306,9,24,8
EDITTEXT IDC_EDIT13,363,121,33,14,ES_AUTOHSCROLL
EDITTEXT IDC_EDIT14,363,139,33,14,ES_AUTOHSCROLL
RTEXT "Write Speed\n(fps)",IDC_STATIC,355,154,41,17
GROUPBOX "Notes",IDC_STATIC,301,29,129,64
EDITTEXT IDC_EDIT15,305,39,121,35,ES_MULTILINE
PUSHBUTTON "Submit",IDC_SUBMITNOTE,342,76,50,14,WS_DISABLED
PUSHBUTTON "Reset ROI",IDC_RESETROI,209,154,50,14,WS_DISABLED
EDITTEXT IDC_EDIT16,397,183,33,14,ES_AUTOHSCROLL
LTEXT "Record Length (s):",IDC_STATIC,302,186,61,8
CONTROL "Color",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,36,33,10
CONTROL "",IDC_SLIDERSCOPEGAIN,"msctls_trackbar32",TBS_AUTOTICKS | TBS_BOTH | TBS_ENABLESELRANGE | WS_DISABLED | WS_TABSTOP,7,135,92,27
EDITTEXT IDC_EDIT17,99,142,31,14,ES_AUTOHSCROLL
LTEXT "Gain (16=1x | 64 =4x)",IDC_STATIC,9,127,74,8
CONTROL "Divide by 10",IDC_CHECK2,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,154,246,55,10
EDITTEXT IDC_EDIT18,100,75,30,14,ES_AUTOHSCROLL
LTEXT "Saturation Threshold:",IDC_STATIC,25,78,70,8
CONTROL "Red",IDC_RED,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,55,36,29,10
CONTROL "Green",IDC_GREEN,"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,92,36,35,10
CONTROL "",IDC_SLIDERBEHAVEXPOSURE,"msctls_trackbar32",TBS_AUTOTICKS | TBS_BOTH | TBS_ENABLESELRANGE | WS_DISABLED | WS_TABSTOP,138,97,92,27
LTEXT "Exposure",IDC_STATIC,141,89,31,8
EDITTEXT IDC_EDIT19,230,102,31,14,ES_AUTOHSCROLL
PUSHBUTTON "Properties",IDC_BEHAVPROP,209,137,50,14,WS_DISABLED
PUSHBUTTON "Screen Shot",IDC_SCREENSHOT,241,183,50,14,WS_DISABLED
CONTROL "Trigger Ext",IDC_CHECKTRIGREC,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,295,217,51,10
EDITTEXT IDC_EDIT20,397,121,33,14,ES_AUTOHSCROLL
RTEXT "Dropped\nFrames",IDC_STATIC,394,154,36,18
CONTROL "",IDC_SLIDEREXCITATION,"msctls_trackbar32",TBS_AUTOTICKS | TBS_BOTH | TBS_ENABLESELRANGE | WS_TABSTOP,26,216,203,27
EDITTEXT IDC_MINFLUOR,7,171,28,14,ES_AUTOHSCROLL
EDITTEXT IDC_MAXFLUOR,39,171,28,14,ES_AUTOHSCROLL
EDITTEXT IDC_MINFLUORDISPLAY,71,171,28,14,ES_AUTOHSCROLL
EDITTEXT IDC_MAXFLUORDISPLAY,103,171,28,14,ES_AUTOHSCROLL
GROUPBOX "Scope Min/Max",IDC_STATIC,7,161,62,28
GROUPBOX "Display Min/Max",IDC_STATIC,69,161,62,28
COMBOBOX IDC_COMBO1,99,53,31,14,CBS_DROPDOWN | WS_DISABLED | WS_VSCROLL | WS_TABSTOP
LTEXT "Frame Rate:",IDC_STATIC,51,56,41,8
END
IDD_CAMDISCONNECTED DIALOGEX 0, 0, 221, 105
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
LTEXT "Connection to scope lost",IDC_STATIC,67,51,80,8
END
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "TODO: <Company name>"
VALUE "FileDescription", "MiniScopeControl"
VALUE "FileVersion", "1.0.0.1"
VALUE "InternalName", "MiniScopeControl.exe"
VALUE "LegalCopyright", "TODO: (c) <Company name>. All rights reserved."
VALUE "OriginalFilename", "MiniScopeControl.exe"
VALUE "ProductName", "TODO: <Product name>"
VALUE "ProductVersion", "1.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_MINISCOPECONTROL_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 430
VERTGUIDE, 302
TOPMARGIN, 7
BOTTOMMARGIN, 320
END
IDD_CAMDISCONNECTED, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 214
TOPMARGIN, 7
BOTTOMMARGIN, 98
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//
IDD_MINISCOPECONTROL_DIALOG DLGINIT
BEGIN
IDC_COMBO1, 0x403, 3, 0
0x3036, "\000"
IDC_COMBO1, 0x403, 3, 0
0x3033, "\000"
IDC_COMBO1, 0x403, 3, 0
0x3032, "\000"
IDC_COMBO1, 0x403, 3, 0
0x3531, "\000"
IDC_COMBO1, 0x403, 3, 0
0x3031, "\000"
IDC_COMBO1, 0x403, 2, 0
0x0035,
0
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_ABOUTBOX "&About MiniScopeControl..."
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\MiniScopeControl.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