1 static char *dlgGeneralParameters = "dialog(name = 'dlgGeneralParameters',\
2 style = 'wxNO_BORDER | wxCAPTION',\
3 title = 'General Parameters',\
5 x = 17, y = 20, width = 518, height = 400,\
6 background_colour = 'D4D0C8',\
8 use_system_defaults = 0,\
9 font = [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg'],\
10 control = [6070, wxTextCtrl, '', '0', 'edtWorkDir', 105, 44, 315, 20, '',\
11 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
12 control = [6071, wxTextCtrl, '', '0', 'edtDICOMDir', 105, 90, 315, 20, '',\
13 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
14 control = [6072, wxStaticText, 'Work directory:', '0', 'statictext3', 24, 48, -1, -1, '',\
15 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
16 control = [6073, wxStaticText, 'DICOM directory:', '0', 'statictext4', 17, 96, -1, -1, '',\
17 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
18 control = [6074, wxStaticBox, 'Data locations', '0', 'staticbox5', 7, 12, 500, 132,\
19 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
20 control = [6075, wxButton, 'Browse...', '0', 'btnBrowseWorkDir', 421, 42, 73, 22, '',\
21 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
22 control = [6076, wxButton, 'Browse...', '0', 'btnBrowseDICOMDir', 421, 88, 73, 22, '',\
23 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
24 control = [6077, wxStaticBox, 'User configuration', '0', 'staticbox8', 7, 156, 287, 234,\
25 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
26 control = [6078, wxCheckBox, 'Calculate MIP by default?', '0', 'chkMIP', 15, 180, -1, -1, 0,\
27 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
28 control = [6079, wxCheckBox, 'Select all slices by default?', '0', 'chkSlices', 14, 202, -1, -1, 0,\
29 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
30 control = [6080, wxCheckBox, 'Debug window visible?', '0', 'chkDebugWindow', 14, 226, -1, -1, 0,\
31 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
32 control = [6081, wxCheckBox, 'Console window visible?', '0', 'chkConsole', 14, 250, -1, -1, 0,\
33 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
34 control = [6082, wxButton, '', '0', 'btn3DBackColor', 19, 298, 259, 58, '',\
35 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
36 control = [6083, wxStaticText, '3D background color:', '0', 'statictext14', 98, 276, -1, -1, '',\
37 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']]).";
39 static char *dlgContourParameters = "dialog(name = 'dlgContourParameters',\
40 style = 'wxNO_BORDER | wxCAPTION',\
41 title = 'Contour Parameters',\
43 x = 17, y = 20, width = 518, height = 400,\
44 background_colour = 'D4D0C8',\
45 use_dialog_units = 0,\
46 use_system_defaults = 0,\
47 font = [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg'],\
48 control = [6100, wxStaticBox, 'Contour calculation algorithm', '0', 'staticbox17', 7, 8, 504, 256,\
49 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
50 control = [6101, wxStaticBox, '', '0', 'staticbox18', 245, 46, 252, 206,\
51 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
52 control = [6102, wxStaticBox, '', '0', 'staticbox19', 21, 46, 217, 60,\
53 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
54 control = [6103, wxStaticBox, '', '0', 'staticbox20', 21, 132, 217, 120,\
55 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
56 control = [6104, wxStaticText, 'Threshold:', '0', 'statictext21', 28, 68, -1, -1, '',\
57 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
58 control = [6105, wxTextCtrl, '', '0', 'edtThresholdIsoContours', 84, 64, 119, 20, '',\
59 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
60 control = [6106, wxRadioButton, 'IsoContours', '0', 'radIsoContours', 21, 26, -1, -1, 0,\
61 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
62 control = [6107, wxRadioButton, 'Snake + IsoContours', '0', 'radSnake', 21, 112, -1, -1, 0,\
63 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
64 control = [6108, wxStaticText, 'Threshold:', '0', 'statictext25', 59, 162, -1, -1, '',\
65 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
66 control = [6109, wxStaticText, 'Iterations No:', '0', 'statictext26', 45, 188, -1, -1, '',\
67 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
68 control = [6110, wxStaticText, 'Extern coeficient:', '0', 'statictext27', 28, 214, -1, -1, '',\
69 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
70 control = [6111, wxTextCtrl, '', '0', 'edtThresholdSnake', 112, 158, 105, 20, '',\
71 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
72 control = [6112, wxTextCtrl, '', '0', 'edtIterationsSnake', 112, 182, 105, 20, '',\
73 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
74 control = [6113, wxTextCtrl, '', '0', 'edtExternCoefSnake', 112, 208, 105, 20, '',\
75 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
76 control = [6114, wxRadioButton, 'Snake + Deriche', '0', 'radDeriche', 245, 26, -1, -1, 0,\
77 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
78 control = [6115, wxStaticText, 'Iterations No:', '0', 'statictext32', 280, 78, -1, -1, '',\
79 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
80 control = [6116, wxStaticText, 'Ballon coeficient:', '0', 'statictext33', 262, 122, -1, -1, '',\
81 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
82 control = [6117, wxStaticText, 'Sigma:', '0', 'statictext34', 311, 210, -1, -1, '',\
83 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
84 control = [6118, wxStaticText, 'Gradient coeficient:', '0', 'statictext35', 252, 166, -1, -1, '',\
85 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
86 control = [6119, wxTextCtrl, '', '0', 'edtIterationsDeriche', 350, 72, 119, 20, '',\
87 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
88 control = [6120, wxTextCtrl, '', '0', 'edtBallonCoefDeriche', 350, 116, 119, 20, '',\
89 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
90 control = [6121, wxTextCtrl, '', '0', 'edtGradientCoefDeriche', 350, 160, 119, 20, '',\
91 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
92 control = [6122, wxTextCtrl, '', '0', 'edtSigmaDeriche', 350, 204, 119, 20, '',\
93 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
94 control = [6123, wxStaticBox, 'Slice', '0', 'staticbox40', 7, 272, 206, 92,\
95 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
96 control = [6124, wxCheckBox, 'Visible \"IsoContours\"?', '0', 'chkIsoContoursVis', 252, 294, -1, -1, 0,\
97 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
98 control = [6125, wxCheckBox, 'Visible diameters?', '0', 'chkDiametersVis', 252, 318, -1, -1, 0,\
99 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
100 control = [6126, wxStaticBox, 'Debug', '0', 'staticbox43', 231, 272, 161, 92,\
101 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
102 control = [6127, wxStaticText, 'Scale:', '0', 'statictext44', 31, 294, -1, -1, '',\
103 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
104 control = [6128, wxStaticText, 'Sample:', '0', 'statictext45', 24, 330, -1, -1, '',\
105 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
106 control = [6129, wxTextCtrl, '', '0', 'edtScale', 70, 288, 119, 20, '',\
107 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
108 control = [6130, wxTextCtrl, '', '0', 'edtSample', 70, 324, 119, 20, '',\
109 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
110 control = [6131, wxCheckBox, 'Fill contours?', '0', 'chkFillContours', 252, 342, -1, -1, 0,\
111 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']]).";
113 static char *dlgAxisParameters = "dialog(name = 'dlgAxisParameters',\
114 style = 'wxNO_BORDER | wxCAPTION',\
115 title = 'Axis Parameters',\
117 x = 17, y = 20, width = 518, height = 400,\
118 background_colour = 'D4D0C8',\
119 use_dialog_units = 0,\
120 use_system_defaults = 0,\
121 font = [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg'],\
122 control = [6132, wxStaticBox, 'Static', '0', 'staticbox49', 21, 14, 469, 256,\
123 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
124 control = [6133, wxStaticText, 'Distance cdg:', '0', 'statictext50', 77, 64, -1, -1, '',\
125 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
126 control = [6134, wxStaticText, 'Flexion coeficient:', '0', 'statictext51', 57, 102, -1, -1, '',\
127 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
128 control = [6135, wxStaticText, 'Mask size:', '0', 'statictext52', 92, 180, -1, -1, '',\
129 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
130 control = [6136, wxStaticText, 'Discreet step for axis:', '0', 'statictext53', 42, 220, -1, -1, '',\
131 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
132 control = [6137, wxStaticText, 'Tension coeficient:', '0', 'statictext54', 52, 142, -1, -1, '',\
133 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
134 control = [6138, wxStaticBox, 'Extraction parameters', '0', 'staticbox55', 35, 38, 197, 212,\
135 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
136 control = [6139, wxStaticBox, 'Voxel size', '0', 'staticbox56', 238, 38, 126, 98,\
137 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
138 control = [6140, wxTextCtrl, '', '0', 'edtDistanceCdg', 147, 60, 70, 20, '',\
139 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
140 control = [6141, wxTextCtrl, '', '0', 'edtFlexionCoef', 147, 98, 70, 20, '',\
141 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
142 control = [6142, wxTextCtrl, '', '0', 'edtTensionCoef', 147, 136, 70, 20, '',\
143 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
144 control = [6143, wxTextCtrl, '', '0', 'edtMaskSize', 147, 176, 70, 20, '',\
145 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
146 control = [6144, wxTextCtrl, '', '0', 'edtDiscreetStep', 147, 214, 70, 20, '',\
147 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
148 control = [6145, wxStaticText, 'X', '0', 'statictext62', 255, 66, -1, -1, '',\
149 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
150 control = [6146, wxStaticText, 'Y', '0', 'statictext63', 255, 86, -1, -1, '',\
151 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
152 control = [6147, wxStaticText, 'Z', '0', 'statictext64', 255, 106, -1, -1, '',\
153 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
154 control = [6149, wxTextCtrl, '', '0', 'edtVoxelX', 266, 60, 63, 20, '',\
155 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
156 control = [6150, wxTextCtrl, '', '0', 'edtVoxelY', 267, 82, 63, 20, '',\
157 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
158 control = [6151, wxTextCtrl, '', '0', 'edtVoxelZ', 267, 102, 63, 20, '',\
159 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
160 control = [6152, wxStaticBox, 'Choose...', '0', 'staticbox69', 238, 144, 231, 104,\
161 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
162 control = [6153, wxRadioButton, 'Minimum voxel', '0', 'radMinimum', 245, 170, -1, -1, 0,\
163 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
164 control = [6154, wxRadioButton, 'Normal voxel', '0', 'radNormal', 245, 206, -1, -1, 0,\
165 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
166 control = [6155, wxCheckBox, 'Show cell?', '0', 'chkShowCell', 346, 172, -1, -1, 0,\
167 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
168 control = [6156, wxCheckBox, 'Show intensity cell?', '0', 'chkShowIntCell', 346, 210, -1, -1, 0,\
169 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
170 control = [6157, wxButton, '', '0', 'btnAxisColor', 371, 58, 98, 78, '',\
171 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
172 control = [6158, wxStaticText, 'Axis color', '0', 'statictext75', 374, 38, -1, -1, '',\
173 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
174 control = [6159, wxStaticBox, 'Other info', '0', 'staticbox76', 21, 272, 469, 112,\
175 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
176 control = [6160, wxStaticText, 'Distance int:', '0', 'statictext77', 83, 300, -1, -1, '',\
177 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'Arial']],\
178 control = [6161, wxStaticText, 'Cell max. int. coef (1/N):', '0', 'statictext78', 28, 329, -1, -1, '',\
179 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
180 control = [6162, wxStaticText, 'Cell coefcient:', '0', 'statictext79', 73, 358, -1, -1, '',\
181 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
182 control = [6163, wxStaticText, 'Step coeficient (1/N):', '0', 'statictext80', 206, 302, -1, -1, '',\
183 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
184 control = [6164, wxStaticText, 'Mass power:', '0', 'statictext81', 248, 329, -1, -1, '',\
185 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
186 control = [6165, wxStaticText, 'ROI dimension:', '0', 'statictext82', 236, 356, -1, -1, '',\
187 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
188 control = [6166, wxStaticText, 'Step:', '0', 'statictext83', 378, 300, -1, -1, '',\
189 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
190 control = [6167, wxTextCtrl, '', 'wxTE_READONLY', 'edtDistanceInt', 147, 298, 56, 20, '',\
191 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
192 control = [6168, wxTextCtrl, '', 'wxTE_READONLY', 'edtCellMaxIntCoef', 147, 325, 56, 20, '',\
193 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
194 control = [6169, wxTextCtrl, '', 'wxTE_READONLY', 'edtCellCoef', 147, 352, 56, 20, '',\
195 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
196 control = [6170, wxTextCtrl, '', 'wxTE_READONLY', 'edtStepCoef', 309, 296, 56, 20, '',\
197 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
198 control = [6171, wxTextCtrl, '', 'wxTE_READONLY', 'edtMassPower', 309, 324, 56, 20, '',\
199 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
200 control = [6172, wxTextCtrl, '', 'wxTE_READONLY', 'edtROIDimension', 309, 352, 56, 20, '',\
201 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
202 control = [6173, wxTextCtrl, '', 'wxTE_READONLY', 'edtStep', 406, 296, 56, 20, '',\
203 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']]).";
205 static char *dlgQuantParameters = "dialog(name = 'dlgQuantParameters',\
206 style = 'wxNO_BORDER | wxCAPTION',\
207 title = 'Quantification Parameters',\
209 x = 17, y = 20, width = 518, height = 400,\
210 background_colour = 'D4D0C8',\
211 use_dialog_units = 0,\
212 use_system_defaults = 0,\
213 font = [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg'],\
214 control = [6084, wxStaticBox, 'Data types', '0', 'staticbox1', 14, 10, 231, 380,\
215 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
216 control = [6085, wxStaticBox, 'Stenosis type', '0', 'staticbox2', 273, 10, 231, 380,\
217 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
218 control = [6086, wxCheckBox, 'Diameter from area', '0', 'chkDiameterFromArea', 56, 156, -1, -1, 0,\
219 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
220 control = [6089, wxCheckBox, 'Maximum diameter', '0', 'chkMaximumDiameter', 56, 268, -1, -1, 0,\
221 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
222 control = [6088, wxCheckBox, 'Average diameter', '0', 'chkAverageDiameter', 56, 306, -1, -1, 0,\
223 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
224 control = [6258, wxCheckBox, 'Minimum diameter', '0', 'chkMinimumDiameter', 56, 232, -1, -1, 0,\
225 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
226 control = [6090, wxCheckBox, 'Area', '0', 'chkArea', 56, 80, -1, -1, 0,\
227 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
228 control = [6286, wxCheckBox, 'Diameter from perimeter', '0', 'chkDiameterFromPerimeter', 56, 194, -1, -1, 0,\
229 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
230 control = [6092, wxCheckBox, 'Perimeter', '0', 'chkPerimeter', 56, 118, -1, -1, 0,\
231 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
232 control = [6093, wxRadioButton, 'Area', '0', 'radArea', 322, 76, -1, -1, 0,\
233 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
234 control = [6094, wxRadioButton, 'Perimeter', '0', 'radPerimeter', 322, 114, -1, -1, 0,\
235 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
236 control = [6095, wxRadioButton, 'Diameter from area', '0', 'radDiameterFromArea', 322, 152, -1, -1, 0,\
237 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
238 control = [6096, wxRadioButton, 'Diameter from perimeter', '0', 'radDiameterFromPerimeter', 322, 190, -1, -1, 0,\
239 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
240 control = [6097, wxRadioButton, 'Maximum diameter', '0', 'radMaximumDiameter', 322, 264, -1, -1, 0,\
241 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
242 control = [6098, wxRadioButton, 'Average diameter', '0', 'radAverageDiameter', 322, 302, -1, -1, 0,\
243 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
244 control = [6253, wxRadioButton, 'Minimum diameter', '0', 'radMinimumDiameter', 322, 228, -1, -1, 0,\
245 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']]).";
247 static char *dlgParams = "dialog(name = 'dlgParams',\
248 style = 'wxRAISED_BORDER | wxCAPTION',\
249 title = 'MARACAS Parameters...',\
251 x = 17, y = 20, width = 530, height = 500,\
252 background_colour = 'D4D0C8',\
253 use_dialog_units = 0,\
254 use_system_defaults = 0,\
255 font = [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg'],\
256 control = [5100, wxButton, 'Ok', '0', 'btnOk', 74, 454, 73, 22, '',\
257 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
258 control = [5101, wxButton, 'Cancel', '0', 'btnCancel', 166, 454, 73, 22, '',\
259 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
260 control = [6177, wxButton, 'Reset', '0', 'btnReset', 259, 454, 73, 22, '',\
261 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']],\
262 control = [6178, wxButton, 'Apply', '0', 'btnApply', 352, 454, 73, 22, '',\
263 [8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Shell Dlg']]).";