PICSimLab - Programmable IC Simulator Laboratory 0.9.3
PICSimLab - API
Loading...
Searching...
No Matches
picsimlab6_d.cc
1/* ########################################################################
2
3 PICSimLab - Programmable IC Simulator Laboratory
4
5 ########################################################################
6
7 Copyright (c) : 2010-2026 Luis Claudio GambĂ´a Lopes <lcgamboa@yahoo.com>
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
12 any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22
23 For e-mail suggestions : lcgamboa@yahoo.com
24 ######################################################################## */
25
26CPWindow6::CPWindow6(void) {
27 // lxrad automatic generated block start, don't edit below!
28 SetFOwner(this);
29 SetClass(lxT("CPWindow"));
30 SetName(lxT("window6"));
31 SetTag(0);
32 SetX(501);
33 SetY(192);
34 SetWidth(464);
35 SetHeight(367);
36 SetHint(lxT(""));
37 SetEnable(1);
38 SetVisible(0);
39 SetPopupMenu(NULL);
40 SetTitle(lxT("PICSimLab Project Wizard"));
41 SetOverrideRedirect(0);
42 EvOnCreate = EVONCREATE & CPWindow6::_EvOnCreate;
43 EvOnShow = EVONSHOW & CPWindow6::_EvOnShow;
44 // label1
45 label1.SetFOwner(this);
46 label1.SetClass(lxT("CLabel"));
47 label1.SetName(lxT("label1"));
48 label1.SetTag(0);
49 label1.SetX(75);
50 label1.SetY(29);
51 label1.SetWidth(317);
52 label1.SetHeight(20);
53 label1.SetHint(lxT(""));
54 label1.SetEnable(1);
55 label1.SetVisible(1);
56 label1.SetPopupMenu(NULL);
57 label1.SetText(lxT("Board: xxx"));
58 label1.SetAlign(1);
59 CreateChild(&label1);
60 // label2
61 label2.SetFOwner(this);
62 label2.SetClass(lxT("CLabel"));
63 label2.SetName(lxT("label2"));
64 label2.SetTag(0);
65 label2.SetX(75);
66 label2.SetY(66);
67 label2.SetWidth(317);
68 label2.SetHeight(20);
69 label2.SetHint(lxT(""));
70 label2.SetEnable(1);
71 label2.SetVisible(1);
72 label2.SetPopupMenu(NULL);
73 label2.SetText(lxT("Microcontroller: xxx"));
74 label2.SetAlign(1);
75 CreateChild(&label2);
76 // combo1
77 combo1.SetFOwner(this);
78 combo1.SetClass(lxT("CCombo"));
79 combo1.SetName(lxT("combo1"));
80 combo1.SetTag(0);
81 combo1.SetX(152);
82 combo1.SetY(103);
83 combo1.SetWidth(241);
84 combo1.SetHeight(26);
85 combo1.SetHint(lxT(""));
86 combo1.SetEnable(1);
87 combo1.SetVisible(1);
88 combo1.SetPopupMenu(NULL);
89 combo1.SetItems(lxT(""));
90 combo1.SetText(lxT(""));
91 combo1.SetReadOnly(1);
92 combo1.EvOnComboChange = EVONCOMBOCHANGE & CPWindow6::combo1_EvOnComboChange;
93 CreateChild(&combo1);
94 // label3
95 label3.SetFOwner(this);
96 label3.SetClass(lxT("CLabel"));
97 label3.SetName(lxT("label3"));
98 label3.SetTag(0);
99 label3.SetX(75);
100 label3.SetY(105);
101 label3.SetWidth(67);
102 label3.SetHeight(20);
103 label3.SetHint(lxT(""));
104 label3.SetEnable(1);
105 label3.SetVisible(1);
106 label3.SetPopupMenu(NULL);
107 label3.SetText(lxT("IDE:"));
108 label3.SetAlign(1);
109 CreateChild(&label3);
110 // label4
111 label4.SetFOwner(this);
112 label4.SetClass(lxT("CLabel"));
113 label4.SetName(lxT("label4"));
114 label4.SetTag(0);
115 label4.SetX(73);
116 label4.SetY(139);
117 label4.SetWidth(78);
118 label4.SetHeight(20);
119 label4.SetHint(lxT(""));
120 label4.SetEnable(1);
121 label4.SetVisible(1);
122 label4.SetPopupMenu(NULL);
123 label4.SetText(lxT("Framework:"));
124 label4.SetAlign(1);
125 CreateChild(&label4);
126 // combo2
127 combo2.SetFOwner(this);
128 combo2.SetClass(lxT("CCombo"));
129 combo2.SetName(lxT("combo2"));
130 combo2.SetTag(0);
131 combo2.SetX(152);
132 combo2.SetY(136);
133 combo2.SetWidth(241);
134 combo2.SetHeight(26);
135 combo2.SetHint(lxT(""));
136 combo2.SetEnable(1);
137 combo2.SetVisible(1);
138 combo2.SetPopupMenu(NULL);
139 combo2.SetItems(lxT(""));
140 combo2.SetText(lxT(""));
141 combo2.SetReadOnly(1);
142 combo2.EvOnComboChange = EVONCOMBOCHANGE & CPWindow6::combo2_EvOnComboChange;
143 CreateChild(&combo2);
144 // label5
145 label5.SetFOwner(this);
146 label5.SetClass(lxT("CLabel"));
147 label5.SetName(lxT("label5"));
148 label5.SetTag(0);
149 label5.SetX(73);
150 label5.SetY(173);
151 label5.SetWidth(70);
152 label5.SetHeight(20);
153 label5.SetHint(lxT(""));
154 label5.SetEnable(1);
155 label5.SetVisible(1);
156 label5.SetPopupMenu(NULL);
157 label5.SetText(lxT("Template:"));
158 label5.SetAlign(1);
159 CreateChild(&label5);
160 // combo3
161 combo3.SetFOwner(this);
162 combo3.SetClass(lxT("CCombo"));
163 combo3.SetName(lxT("combo3"));
164 combo3.SetTag(0);
165 combo3.SetX(152);
166 combo3.SetY(170);
167 combo3.SetWidth(240);
168 combo3.SetHeight(26);
169 combo3.SetHint(lxT(""));
170 combo3.SetEnable(1);
171 combo3.SetVisible(1);
172 combo3.SetPopupMenu(NULL);
173 combo3.SetItems(lxT(""));
174 combo3.SetText(lxT(""));
175 combo3.SetReadOnly(1);
176 combo3.EvOnComboChange = EVONCOMBOCHANGE & CPWindow6::combo3_EvOnComboChange;
177 CreateChild(&combo3);
178 // button1
179 button1.SetFOwner(this);
180 button1.SetClass(lxT("CButton"));
181 button1.SetName(lxT("button1"));
182 button1.SetTag(0);
183 button1.SetX(38);
184 button1.SetY(246);
185 button1.SetWidth(120);
186 button1.SetHeight(28);
187 button1.SetHint(lxT(""));
188 button1.SetEnable(1);
189 button1.SetVisible(1);
190 button1.SetPopupMenu(NULL);
191 button1.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow6::button1_EvMouseButtonClick;
192 button1.SetText(lxT("Create"));
193 CreateChild(&button1);
194 // button2
195 button2.SetFOwner(this);
196 button2.SetClass(lxT("CButton"));
197 button2.SetName(lxT("button2"));
198 button2.SetTag(0);
199 button2.SetX(166);
200 button2.SetY(246);
201 button2.SetWidth(120);
202 button2.SetHeight(28);
203 button2.SetHint(lxT(""));
204 button2.SetEnable(1);
205 button2.SetVisible(1);
206 button2.SetPopupMenu(NULL);
207 button2.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow6::button2_EvMouseButtonClick;
208 button2.SetText(lxT("Create and Open"));
209 CreateChild(&button2);
210 // button3
211 button3.SetFOwner(this);
212 button3.SetClass(lxT("CButton"));
213 button3.SetName(lxT("button3"));
214 button3.SetTag(0);
215 button3.SetX(295);
216 button3.SetY(246);
217 button3.SetWidth(120);
218 button3.SetHeight(28);
219 button3.SetHint(lxT(""));
220 button3.SetEnable(1);
221 button3.SetVisible(1);
222 button3.SetPopupMenu(NULL);
223 button3.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow6::button3_EvMouseButtonClick;
224 button3.SetText(lxT("Cancel"));
225 CreateChild(&button3);
226 // label6
227 label6.SetFOwner(this);
228 label6.SetClass(lxT("CLabel"));
229 label6.SetName(lxT("label6"));
230 label6.SetTag(0);
231 label6.SetX(74);
232 label6.SetY(210);
233 label6.SetWidth(71);
234 label6.SetHeight(20);
235 label6.SetHint(lxT(""));
236 label6.SetEnable(1);
237 label6.SetVisible(1);
238 label6.SetPopupMenu(NULL);
239 label6.SetText(lxT("Prj. name:"));
240 label6.SetAlign(1);
241 CreateChild(&label6);
242 // edit1
243 edit1.SetFOwner(this);
244 edit1.SetClass(lxT("CEdit"));
245 edit1.SetName(lxT("edit1"));
246 edit1.SetTag(0);
247 edit1.SetX(152);
248 edit1.SetY(205);
249 edit1.SetWidth(240);
250 edit1.SetHeight(26);
251 edit1.SetHint(lxT(""));
252 edit1.SetEnable(1);
253 edit1.SetVisible(1);
254 edit1.SetPopupMenu(NULL);
255 edit1.SetText(lxT("Untitled"));
256 edit1.SetReadOnly(0);
257 CreateChild(&edit1);
258 // dirdialog1
259 dirdialog1.SetFOwner(this);
260 dirdialog1.SetClass(lxT("CDirDialog"));
261 dirdialog1.SetName(lxT("dirdialog1"));
262 dirdialog1.SetTag(0);
263 dirdialog1.SetType(129);
264 dirdialog1.EvOnClose = EVONCLOSE & CPWindow6::dirdialog1_EvOnClose;
265 CreateChild(&dirdialog1);
266 // filedialog1
267 filedialog1.SetFOwner(this);
268 filedialog1.SetClass(lxT("CFileDialog"));
269 filedialog1.SetName(lxT("filedialog1"));
270 filedialog1.SetTag(0);
271 filedialog1.SetFileName(lxT("untitled.txt"));
272 filedialog1.SetFilter(lxT("All Files (*.*)|*.*"));
273 filedialog1.SetType(129);
274 filedialog1.EvOnClose = EVONCLOSE & CPWindow6::filedialog1_EvOnClose;
275 CreateChild(&filedialog1);
276 // button4
277 button4.SetFOwner(this);
278 button4.SetClass(lxT("CButton"));
279 button4.SetName(lxT("button4"));
280 button4.SetTag(0);
281 button4.SetX(166);
282 button4.SetY(282);
283 button4.SetWidth(120);
284 button4.SetHeight(28);
285 button4.SetHint(lxT(""));
286 button4.SetEnable(1);
287 button4.SetVisible(1);
288 button4.SetPopupMenu(NULL);
289 button4.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow6::button4_EvMouseButtonClick;
290 button4.SetText(lxT("Open Existing"));
291 CreateChild(&button4);
292 // button5
293 button5.SetFOwner(this);
294 button5.SetClass(lxT("CButton"));
295 button5.SetName(lxT("button5"));
296 button5.SetTag(0);
297 button5.SetX(38);
298 button5.SetY(282);
299 button5.SetWidth(120);
300 button5.SetHeight(28);
301 button5.SetHint(lxT(""));
302 button5.SetEnable(1);
303 button5.SetVisible(1);
304 button5.SetPopupMenu(NULL);
305 button5.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow6::button5_EvMouseButtonClick;
306 button5.SetText(lxT("Help"));
307 CreateChild(&button5);
308 /*#Others*/
309 // lxrad automatic generated block end, don't edit above!
310};