PICSimLab - Programmable IC Simulator Laboratory 0.9.2
PICSimLab - API
Loading...
Searching...
No Matches
picsimlab4_d.cc
1CPWindow4::CPWindow4(void) {
2 // lxrad automatic generated block start, don't edit below!
3 SetFOwner(this);
4 SetClass(lxT("CPWindow"));
5 SetName(lxT("window4"));
6 SetTag(0);
7 SetX(283);
8 SetY(159);
9 SetWidth(998);
10 SetHeight(378);
11 SetHint(lxT(""));
12 SetEnable(1);
13 SetVisible(0);
14 SetPopupMenu(NULL);
15 SetTitle(lxT("PICSimLab - Oscilloscope"));
16 SetOverrideRedirect(0);
17 EvOnCreate = EVONCREATE & CPWindow4::_EvOnCreate;
18 EvOnDestroy = EVONDESTROY & CPWindow4::_EvOnDestroy;
19 EvOnShow = EVONSHOW & CPWindow4::_EvOnShow;
20 EvOnHide = EVONHIDE & CPWindow4::_EvOnHide;
21 // draw1
22 draw1.SetFOwner(this);
23 draw1.SetClass(lxT("CDraw"));
24 draw1.SetName(lxT("draw1"));
25 draw1.SetTag(0);
26 draw1.SetX(13);
27 draw1.SetY(13);
28 draw1.SetWidth(430);
29 draw1.SetHeight(280);
30 draw1.SetHint(lxT(""));
31 draw1.SetEnable(1);
32 draw1.SetVisible(1);
33 draw1.SetPopupMenu(NULL);
34 draw1.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow4::draw1_EvMouseButtonClick;
35 draw1.SetTransparent(0);
36 draw1.SetImgFileName(lxT(""));
37 CreateChild(&draw1);
38 // spind1
39 spind1.SetFOwner(this);
40 spind1.SetClass(lxT("CSpind"));
41 spind1.SetName(lxT("spind1"));
42 spind1.SetTag(0);
43 spind1.SetX(510);
44 spind1.SetY(64);
45 spind1.SetWidth(150);
46 spind1.SetHeight(34);
47 spind1.SetHint(lxT(""));
48 spind1.SetEnable(1);
49 spind1.SetVisible(1);
50 spind1.SetPopupMenu(NULL);
51 spind1.SetValue(2.000000);
52 spind1.SetMin(0.100000);
53 spind1.SetMax(100.000000);
54 spind1.SetInc(0.010000);
55 spind1.SetDigits(2);
56 CreateChild(&spind1);
57 // spind2
58 spind2.SetFOwner(this);
59 spind2.SetClass(lxT("CSpind"));
60 spind2.SetName(lxT("spind2"));
61 spind2.SetTag(0);
62 spind2.SetX(510);
63 spind2.SetY(125);
64 spind2.SetWidth(150);
65 spind2.SetHeight(34);
66 spind2.SetHint(lxT(""));
67 spind2.SetEnable(1);
68 spind2.SetVisible(1);
69 spind2.SetPopupMenu(NULL);
70 spind2.SetValue(0.000000);
71 spind2.SetMin(-100.000000);
72 spind2.SetMax(100.000000);
73 spind2.SetInc(0.010000);
74 spind2.SetDigits(2);
75 CreateChild(&spind2);
76 // spind3
77 spind3.SetFOwner(this);
78 spind3.SetClass(lxT("CSpind"));
79 spind3.SetName(lxT("spind3"));
80 spind3.SetTag(0);
81 spind3.SetX(665);
82 spind3.SetY(66);
83 spind3.SetWidth(150);
84 spind3.SetHeight(34);
85 spind3.SetHint(lxT(""));
86 spind3.SetEnable(1);
87 spind3.SetVisible(1);
88 spind3.SetPopupMenu(NULL);
89 spind3.SetValue(2.000000);
90 spind3.SetMin(0.100000);
91 spind3.SetMax(100.000000);
92 spind3.SetInc(0.010000);
93 spind3.SetDigits(2);
94 CreateChild(&spind3);
95 // spind4
96 spind4.SetFOwner(this);
97 spind4.SetClass(lxT("CSpind"));
98 spind4.SetName(lxT("spind4"));
99 spind4.SetTag(0);
100 spind4.SetX(665);
101 spind4.SetY(125);
102 spind4.SetWidth(150);
103 spind4.SetHeight(34);
104 spind4.SetHint(lxT(""));
105 spind4.SetEnable(1);
106 spind4.SetVisible(1);
107 spind4.SetPopupMenu(NULL);
108 spind4.SetValue(0.000000);
109 spind4.SetMin(-100.000000);
110 spind4.SetMax(100.000000);
111 spind4.SetInc(0.010000);
112 spind4.SetDigits(2);
113 CreateChild(&spind4);
114 // spind5
115 spind5.SetFOwner(this);
116 spind5.SetClass(lxT("CSpind"));
117 spind5.SetName(lxT("spind5"));
118 spind5.SetTag(0);
119 spind5.SetX(822);
120 spind5.SetY(66);
121 spind5.SetWidth(150);
122 spind5.SetHeight(34);
123 spind5.SetHint(lxT(""));
124 spind5.SetEnable(1);
125 spind5.SetVisible(1);
126 spind5.SetPopupMenu(NULL);
127 spind5.SetValue(10.000000);
128 spind5.SetMin(0.001000);
129 spind5.SetMax(1000.000000);
130 spind5.SetInc(0.001000);
131 spind5.SetDigits(3);
132 spind5.EvOnChangeSpinDouble = EVONCHANGESPINDOUBLE & CPWindow4::spind5_EvOnChangeSpinDouble;
133 CreateChild(&spind5);
134 // spind6
135 spind6.SetFOwner(this);
136 spind6.SetClass(lxT("CSpind"));
137 spind6.SetName(lxT("spind6"));
138 spind6.SetTag(0);
139 spind6.SetX(822);
140 spind6.SetY(127);
141 spind6.SetWidth(150);
142 spind6.SetHeight(34);
143 spind6.SetHint(lxT(""));
144 spind6.SetEnable(1);
145 spind6.SetVisible(1);
146 spind6.SetPopupMenu(NULL);
147 spind6.SetValue(0.000000);
148 spind6.SetMin(-100.000000);
149 spind6.SetMax(100.000000);
150 spind6.SetInc(0.001000);
151 spind6.SetDigits(3);
152 spind6.EvOnChangeSpinDouble = EVONCHANGESPINDOUBLE & CPWindow4::spind6_EvOnChangeSpinDouble;
153 CreateChild(&spind6);
154 // togglebutton1
155 togglebutton1.SetFOwner(this);
156 togglebutton1.SetClass(lxT("CToggleButton"));
157 togglebutton1.SetName(lxT("togglebutton1"));
158 togglebutton1.SetTag(0);
159 togglebutton1.SetX(510);
160 togglebutton1.SetY(162);
161 togglebutton1.SetWidth(150);
162 togglebutton1.SetHeight(32);
163 togglebutton1.SetHint(lxT(""));
164 togglebutton1.SetEnable(1);
165 togglebutton1.SetVisible(1);
166 togglebutton1.SetPopupMenu(NULL);
167 togglebutton1.SetText(lxT("On"));
168 togglebutton1.SetCheck(1);
169 CreateChild(&togglebutton1);
170 // button1
171 button1.SetFOwner(this);
172 button1.SetClass(lxT("CButton"));
173 button1.SetName(lxT("button1"));
174 button1.SetTag(0);
175 button1.SetX(510);
176 button1.SetY(198);
177 button1.SetWidth(150);
178 button1.SetHeight(32);
179 button1.SetHint(lxT(""));
180 button1.SetEnable(1);
181 button1.SetVisible(1);
182 button1.SetPopupMenu(NULL);
183 button1.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow4::button1_EvMouseButtonClick;
184 button1.SetText(lxT("Color"));
185 CreateChild(&button1);
186 // togglebutton2
187 togglebutton2.SetFOwner(this);
188 togglebutton2.SetClass(lxT("CToggleButton"));
189 togglebutton2.SetName(lxT("togglebutton2"));
190 togglebutton2.SetTag(0);
191 togglebutton2.SetX(665);
192 togglebutton2.SetY(162);
193 togglebutton2.SetWidth(150);
194 togglebutton2.SetHeight(32);
195 togglebutton2.SetHint(lxT(""));
196 togglebutton2.SetEnable(1);
197 togglebutton2.SetVisible(1);
198 togglebutton2.SetPopupMenu(NULL);
199 togglebutton2.SetText(lxT("On"));
200 togglebutton2.SetCheck(1);
201 CreateChild(&togglebutton2);
202 // button2
203 button2.SetFOwner(this);
204 button2.SetClass(lxT("CButton"));
205 button2.SetName(lxT("button2"));
206 button2.SetTag(0);
207 button2.SetX(665);
208 button2.SetY(198);
209 button2.SetWidth(150);
210 button2.SetHeight(32);
211 button2.SetHint(lxT(""));
212 button2.SetEnable(1);
213 button2.SetVisible(1);
214 button2.SetPopupMenu(NULL);
215 button2.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow4::button2_EvMouseButtonClick;
216 button2.SetText(lxT("Color"));
217 CreateChild(&button2);
218 // togglebutton3
219 togglebutton3.SetFOwner(this);
220 togglebutton3.SetClass(lxT("CToggleButton"));
221 togglebutton3.SetName(lxT("togglebutton3"));
222 togglebutton3.SetTag(0);
223 togglebutton3.SetX(510);
224 togglebutton3.SetY(234);
225 togglebutton3.SetWidth(150);
226 togglebutton3.SetHeight(32);
227 togglebutton3.SetHint(lxT(""));
228 togglebutton3.SetEnable(1);
229 togglebutton3.SetVisible(1);
230 togglebutton3.SetPopupMenu(NULL);
231 togglebutton3.SetText(lxT("Inv"));
232 togglebutton3.SetCheck(0);
233 CreateChild(&togglebutton3);
234 // togglebutton4
235 togglebutton4.SetFOwner(this);
236 togglebutton4.SetClass(lxT("CToggleButton"));
237 togglebutton4.SetName(lxT("togglebutton4"));
238 togglebutton4.SetTag(0);
239 togglebutton4.SetX(665);
240 togglebutton4.SetY(234);
241 togglebutton4.SetWidth(150);
242 togglebutton4.SetHeight(32);
243 togglebutton4.SetHint(lxT(""));
244 togglebutton4.SetEnable(1);
245 togglebutton4.SetVisible(1);
246 togglebutton4.SetPopupMenu(NULL);
247 togglebutton4.SetText(lxT("Inv"));
248 togglebutton4.SetCheck(0);
249 CreateChild(&togglebutton4);
250 // colordialog1
251 colordialog1.SetFOwner(this);
252 colordialog1.SetClass(lxT("CColorDialog"));
253 colordialog1.SetName(lxT("colordialog1"));
254 colordialog1.SetTag(0);
255 colordialog1.SetColorName(lxT("red"));
256 colordialog1.EvOnClose = EVONCLOSE & CPWindow4::colordialog1_EvOnClose;
257 CreateChild(&colordialog1);
258 // togglebutton5
259 togglebutton5.SetFOwner(this);
260 togglebutton5.SetClass(lxT("CToggleButton"));
261 togglebutton5.SetName(lxT("togglebutton5"));
262 togglebutton5.SetTag(0);
263 togglebutton5.SetX(822);
264 togglebutton5.SetY(186);
265 togglebutton5.SetWidth(150);
266 togglebutton5.SetHeight(32);
267 togglebutton5.SetHint(lxT(""));
268 togglebutton5.SetEnable(1);
269 togglebutton5.SetVisible(1);
270 togglebutton5.SetPopupMenu(NULL);
271 togglebutton5.SetText(lxT("Trigger"));
272 togglebutton5.SetCheck(1);
273 togglebutton5.EvOnToggleButton = EVONTOGGLEBUTTON & CPWindow4::togglebutton5_EvOnToggleButton;
274 CreateChild(&togglebutton5);
275 // spind7
276 spind7.SetFOwner(this);
277 spind7.SetClass(lxT("CSpind"));
278 spind7.SetName(lxT("spind7"));
279 spind7.SetTag(0);
280 spind7.SetX(822);
281 spind7.SetY(304);
282 spind7.SetWidth(150);
283 spind7.SetHeight(34);
284 spind7.SetHint(lxT(""));
285 spind7.SetEnable(1);
286 spind7.SetVisible(1);
287 spind7.SetPopupMenu(NULL);
288 spind7.SetValue(2.500000);
289 spind7.SetMin(-100.000000);
290 spind7.SetMax(100.000000);
291 spind7.SetInc(0.010000);
292 spind7.SetDigits(2);
293 spind7.EvOnChangeSpinDouble = EVONCHANGESPINDOUBLE & CPWindow4::spind7_EvOnChangeSpinDouble;
294 CreateChild(&spind7);
295 // combo1
296 combo1.SetFOwner(this);
297 combo1.SetClass(lxT("CCombo"));
298 combo1.SetName(lxT("combo1"));
299 combo1.SetTag(0);
300 combo1.SetX(822);
301 combo1.SetY(245);
302 combo1.SetWidth(150);
303 combo1.SetHeight(32);
304 combo1.SetHint(lxT(""));
305 combo1.SetEnable(1);
306 combo1.SetVisible(1);
307 combo1.SetPopupMenu(NULL);
308 combo1.SetItems(lxT("1,2,"));
309 combo1.SetText(lxT("1"));
310 combo1.SetReadOnly(0);
311 CreateChild(&combo1);
312 // timer1
313 timer1.SetFOwner(this);
314 timer1.SetClass(lxT("CTimer"));
315 timer1.SetName(lxT("timer1"));
316 timer1.SetTag(0);
317 timer1.SetTime(BASETIMER);
318 timer1.SetRunState(0);
319 timer1.EvOnTime = EVONTIME & CPWindow4::timer1_EvOnTime;
320 CreateChild(&timer1);
321 // combo2
322 combo2.SetFOwner(this);
323 combo2.SetClass(lxT("CCombo"));
324 combo2.SetName(lxT("combo2"));
325 combo2.SetTag(0);
326 combo2.SetX(57);
327 combo2.SetY(306);
328 combo2.SetWidth(200);
329 combo2.SetHeight(32);
330 combo2.SetHint(lxT(""));
331 combo2.SetEnable(1);
332 combo2.SetVisible(1);
333 combo2.SetPopupMenu(NULL);
334 combo2.SetItems(lxT(""));
335 combo2.SetText(lxT("1"));
336 combo2.SetReadOnly(0);
337 combo2.EvOnComboChange = EVONCOMBOCHANGE & CPWindow4::combo2_EvOnComboChange;
338 CreateChild(&combo2);
339 // combo3
340 combo3.SetFOwner(this);
341 combo3.SetClass(lxT("CCombo"));
342 combo3.SetName(lxT("combo3"));
343 combo3.SetTag(0);
344 combo3.SetX(323);
345 combo3.SetY(306);
346 combo3.SetWidth(200);
347 combo3.SetHeight(32);
348 combo3.SetHint(lxT(""));
349 combo3.SetEnable(1);
350 combo3.SetVisible(1);
351 combo3.SetPopupMenu(NULL);
352 combo3.SetItems(lxT(""));
353 combo3.SetText(lxT("2"));
354 combo3.SetReadOnly(0);
355 combo3.EvOnComboChange = EVONCOMBOCHANGE & CPWindow4::combo3_EvOnComboChange;
356 CreateChild(&combo3);
357 // label1
358 label1.SetFOwner(this);
359 label1.SetClass(lxT("CLabel"));
360 label1.SetName(lxT("label1"));
361 label1.SetTag(0);
362 label1.SetX(544);
363 label1.SetY(44);
364 label1.SetWidth(91);
365 label1.SetHeight(20);
366 label1.SetHint(lxT(""));
367 label1.SetEnable(1);
368 label1.SetVisible(1);
369 label1.SetPopupMenu(NULL);
370 label1.SetText(lxT("Ch 1 (V/div)"));
371 label1.SetAlign(1);
372 CreateChild(&label1);
373 // label2
374 label2.SetFOwner(this);
375 label2.SetClass(lxT("CLabel"));
376 label2.SetName(lxT("label2"));
377 label2.SetTag(0);
378 label2.SetX(700);
379 label2.SetY(44);
380 label2.SetWidth(88);
381 label2.SetHeight(20);
382 label2.SetHint(lxT(""));
383 label2.SetEnable(1);
384 label2.SetVisible(1);
385 label2.SetPopupMenu(NULL);
386 label2.SetText(lxT("Ch 2 (V/div)"));
387 label2.SetAlign(1);
388 CreateChild(&label2);
389 // label3
390 label3.SetFOwner(this);
391 label3.SetClass(lxT("CLabel"));
392 label3.SetName(lxT("label3"));
393 label3.SetTag(0);
394 label3.SetX(836);
395 label3.SetY(163);
396 label3.SetWidth(119);
397 label3.SetHeight(20);
398 label3.SetHint(lxT(""));
399 label3.SetEnable(1);
400 label3.SetVisible(1);
401 label3.SetPopupMenu(NULL);
402 label3.SetText(lxT("Trigger On/Off"));
403 label3.SetAlign(1);
404 CreateChild(&label3);
405 // label4
406 label4.SetFOwner(this);
407 label4.SetClass(lxT("CLabel"));
408 label4.SetName(lxT("label4"));
409 label4.SetTag(0);
410 label4.SetX(845);
411 label4.SetY(43);
412 label4.SetWidth(104);
413 label4.SetHeight(20);
414 label4.SetHint(lxT(""));
415 label4.SetEnable(1);
416 label4.SetVisible(1);
417 label4.SetPopupMenu(NULL);
418 label4.SetText(lxT("Time (ms/div)"));
419 label4.SetAlign(1);
420 CreateChild(&label4);
421 // label5
422 label5.SetFOwner(this);
423 label5.SetClass(lxT("CLabel"));
424 label5.SetName(lxT("label5"));
425 label5.SetTag(0);
426 label5.SetX(844);
427 label5.SetY(104);
428 label5.SetWidth(100);
429 label5.SetHeight(20);
430 label5.SetHint(lxT(""));
431 label5.SetEnable(1);
432 label5.SetVisible(1);
433 label5.SetPopupMenu(NULL);
434 label5.SetText(lxT("Time off. (ms)"));
435 label5.SetAlign(1);
436 CreateChild(&label5);
437 // label6
438 label6.SetFOwner(this);
439 label6.SetClass(lxT("CLabel"));
440 label6.SetName(lxT("label6"));
441 label6.SetTag(0);
442 label6.SetX(837);
443 label6.SetY(222);
444 label6.SetWidth(122);
445 label6.SetHeight(20);
446 label6.SetHint(lxT(""));
447 label6.SetEnable(1);
448 label6.SetVisible(1);
449 label6.SetPopupMenu(NULL);
450 label6.SetText(lxT("Trigger channel"));
451 label6.SetAlign(1);
452 CreateChild(&label6);
453 // label7
454 label7.SetFOwner(this);
455 label7.SetClass(lxT("CLabel"));
456 label7.SetName(lxT("label7"));
457 label7.SetTag(0);
458 label7.SetX(835);
459 label7.SetY(283);
460 label7.SetWidth(128);
461 label7.SetHeight(20);
462 label7.SetHint(lxT(""));
463 label7.SetEnable(1);
464 label7.SetVisible(1);
465 label7.SetPopupMenu(NULL);
466 label7.SetText(lxT("Trigger level (V)"));
467 label7.SetAlign(1);
468 CreateChild(&label7);
469 // label8
470 label8.SetFOwner(this);
471 label8.SetClass(lxT("CLabel"));
472 label8.SetName(lxT("label8"));
473 label8.SetTag(0);
474 label8.SetX(545);
475 label8.SetY(103);
476 label8.SetWidth(91);
477 label8.SetHeight(20);
478 label8.SetHint(lxT(""));
479 label8.SetEnable(1);
480 label8.SetVisible(1);
481 label8.SetPopupMenu(NULL);
482 label8.SetText(lxT("Ch 1 off. (V)"));
483 label8.SetAlign(1);
484 CreateChild(&label8);
485 // label9
486 label9.SetFOwner(this);
487 label9.SetClass(lxT("CLabel"));
488 label9.SetName(lxT("label9"));
489 label9.SetTag(0);
490 label9.SetX(699);
491 label9.SetY(104);
492 label9.SetWidth(89);
493 label9.SetHeight(20);
494 label9.SetHint(lxT(""));
495 label9.SetEnable(1);
496 label9.SetVisible(1);
497 label9.SetPopupMenu(NULL);
498 label9.SetText(lxT("Ch 2 off. (V)"));
499 label9.SetAlign(1);
500 CreateChild(&label9);
501 // label10
502 label10.SetFOwner(this);
503 label10.SetClass(lxT("CLabel"));
504 label10.SetName(lxT("label10"));
505 label10.SetTag(0);
506 label10.SetX(10);
507 label10.SetY(312);
508 label10.SetWidth(45);
509 label10.SetHeight(20);
510 label10.SetHint(lxT(""));
511 label10.SetEnable(1);
512 label10.SetVisible(1);
513 label10.SetPopupMenu(NULL);
514 label10.SetText(lxT("Ch 1"));
515 label10.SetAlign(1);
516 CreateChild(&label10);
517 // label11
518 label11.SetFOwner(this);
519 label11.SetClass(lxT("CLabel"));
520 label11.SetName(lxT("label11"));
521 label11.SetTag(0);
522 label11.SetX(278);
523 label11.SetY(312);
524 label11.SetWidth(42);
525 label11.SetHeight(20);
526 label11.SetHint(lxT(""));
527 label11.SetEnable(1);
528 label11.SetVisible(1);
529 label11.SetPopupMenu(NULL);
530 label11.SetText(lxT("Ch 2"));
531 label11.SetAlign(1);
532 CreateChild(&label11);
533 // button3
534 button3.SetFOwner(this);
535 button3.SetClass(lxT("CButton"));
536 button3.SetName(lxT("button3"));
537 button3.SetTag(0);
538 button3.SetX(510);
539 button3.SetY(7);
540 button3.SetWidth(150);
541 button3.SetHeight(32);
542 button3.SetHint(lxT(""));
543 button3.SetEnable(1);
544 button3.SetVisible(1);
545 button3.SetPopupMenu(NULL);
546 button3.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow4::button3_EvMouseButtonClick;
547 button3.SetText(lxT("Autoset"));
548 CreateChild(&button3);
549 // togglebutton6
550 togglebutton6.SetFOwner(this);
551 togglebutton6.SetClass(lxT("CToggleButton"));
552 togglebutton6.SetName(lxT("togglebutton6"));
553 togglebutton6.SetTag(0);
554 togglebutton6.SetX(665);
555 togglebutton6.SetY(7);
556 togglebutton6.SetWidth(150);
557 togglebutton6.SetHeight(32);
558 togglebutton6.SetHint(lxT(""));
559 togglebutton6.SetEnable(1);
560 togglebutton6.SetVisible(1);
561 togglebutton6.SetPopupMenu(NULL);
562 togglebutton6.SetText(lxT("Stop"));
563 togglebutton6.SetCheck(0);
564 togglebutton6.EvOnToggleButton = EVONTOGGLEBUTTON & CPWindow4::togglebutton6_EvOnToggleButton;
565 CreateChild(&togglebutton6);
566 // togglebutton7
567 togglebutton7.SetFOwner(this);
568 togglebutton7.SetClass(lxT("CToggleButton"));
569 togglebutton7.SetName(lxT("togglebutton7"));
570 togglebutton7.SetTag(0);
571 togglebutton7.SetX(822);
572 togglebutton7.SetY(7);
573 togglebutton7.SetWidth(150);
574 togglebutton7.SetHeight(32);
575 togglebutton7.SetHint(lxT(""));
576 togglebutton7.SetEnable(1);
577 togglebutton7.SetVisible(1);
578 togglebutton7.SetPopupMenu(NULL);
579 togglebutton7.SetText(lxT("Single"));
580 togglebutton7.SetCheck(0);
581 CreateChild(&togglebutton7);
582 // button4
583 button4.SetFOwner(this);
584 button4.SetClass(lxT("CButton"));
585 button4.SetName(lxT("button4"));
586 button4.SetTag(0);
587 button4.SetX(528);
588 button4.SetY(306);
589 button4.SetWidth(150);
590 button4.SetHeight(32);
591 button4.SetHint(lxT(""));
592 button4.SetEnable(1);
593 button4.SetVisible(1);
594 button4.SetPopupMenu(NULL);
595 button4.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow4::button4_EvMouseButtonClick;
596 button4.SetText(lxT("Save Png"));
597 CreateChild(&button4);
598 // filedialog1
599 filedialog1.SetFOwner(this);
600 filedialog1.SetClass(lxT("CFileDialog"));
601 filedialog1.SetName(lxT("filedialog1"));
602 filedialog1.SetTag(0);
603 filedialog1.SetFileName(lxT("untitled.png"));
604 filedialog1.SetFilter(lxT("PNG Files (*.png)|*.png"));
605 filedialog1.SetType(129);
606 filedialog1.EvOnClose = EVONCLOSE & CPWindow4::filedialog1_EvOnClose;
607 CreateChild(&filedialog1);
608 // button5
609 button5.SetFOwner(this);
610 button5.SetClass(lxT("CButton"));
611 button5.SetName(lxT("button5"));
612 button5.SetTag(0);
613 button5.SetX(450);
614 button5.SetY(46);
615 button5.SetWidth(30);
616 button5.SetHeight(20);
617 button5.SetHint(lxT(""));
618 button5.SetEnable(1);
619 button5.SetVisible(1);
620 button5.SetColor(lxT("#000001"));
621 button5.SetPopupMenu(NULL);
622 button5.EvMouseButtonPress = EVMOUSEBUTTONPRESS & CPWindow4::button5_EvMouseButtonPress;
623 button5.SetText(lxT(""));
624 CreateChild(&button5);
625 // button6
626 button6.SetFOwner(this);
627 button6.SetClass(lxT("CButton"));
628 button6.SetName(lxT("button6"));
629 button6.SetTag(0);
630 button6.SetX(450);
631 button6.SetY(96);
632 button6.SetWidth(30);
633 button6.SetHeight(20);
634 button6.SetHint(lxT(""));
635 button6.SetEnable(1);
636 button6.SetVisible(1);
637 button6.SetColor(lxT("#000001"));
638 button6.SetPopupMenu(NULL);
639 button6.EvMouseButtonPress = EVMOUSEBUTTONPRESS & CPWindow4::button6_EvMouseButtonPress;
640 button6.SetText(lxT(""));
641 CreateChild(&button6);
642 // button7
643 button7.SetFOwner(this);
644 button7.SetClass(lxT("CButton"));
645 button7.SetName(lxT("button7"));
646 button7.SetTag(0);
647 button7.SetX(450);
648 button7.SetY(146);
649 button7.SetWidth(30);
650 button7.SetHeight(20);
651 button7.SetHint(lxT(""));
652 button7.SetEnable(1);
653 button7.SetVisible(1);
654 button7.SetColor(lxT("#000001"));
655 button7.SetPopupMenu(NULL);
656 button7.EvMouseButtonPress = EVMOUSEBUTTONPRESS & CPWindow4::button7_EvMouseButtonPress;
657 button7.SetText(lxT(""));
658 CreateChild(&button7);
659 // button8
660 button8.SetFOwner(this);
661 button8.SetClass(lxT("CButton"));
662 button8.SetName(lxT("button8"));
663 button8.SetTag(0);
664 button8.SetX(450);
665 button8.SetY(196);
666 button8.SetWidth(30);
667 button8.SetHeight(20);
668 button8.SetHint(lxT(""));
669 button8.SetEnable(1);
670 button8.SetVisible(1);
671 button8.SetColor(lxT("#000001"));
672 button8.SetPopupMenu(NULL);
673 button8.EvMouseButtonPress = EVMOUSEBUTTONPRESS & CPWindow4::button8_EvMouseButtonPress;
674 button8.SetText(lxT(""));
675 CreateChild(&button8);
676 // button9
677 button9.SetFOwner(this);
678 button9.SetClass(lxT("CButton"));
679 button9.SetName(lxT("button9"));
680 button9.SetTag(0);
681 button9.SetX(451);
682 button9.SetY(246);
683 button9.SetWidth(30);
684 button9.SetHeight(20);
685 button9.SetHint(lxT(""));
686 button9.SetEnable(1);
687 button9.SetVisible(1);
688 button9.SetColor(lxT("#000001"));
689 button9.SetPopupMenu(NULL);
690 button9.EvMouseButtonPress = EVMOUSEBUTTONPRESS & CPWindow4::button9_EvMouseButtonPress;
691 button9.SetText(lxT(""));
692 CreateChild(&button9);
693 /*#Others*/
694 // lxrad automatic generated block end, don't edit above!
695 button1.SetColor(255, 0, 0);
696 button2.SetColor(0, 255, 0);
697
698 update_pos = 0;
699}