1CPWindow3::CPWindow3(
void) {
4 SetClass(lxT(
"CPWindow"));
5 SetName(lxT(
"window3"));
15 SetTitle(lxT(
"PICSimLab - Configuration"));
16 SetOverrideRedirect(0);
17 EvOnCreate = EVONCREATE & CPWindow3::_EvOnCreate;
18 EvOnShow = EVONSHOW & CPWindow3::_EvOnShow;
20 label1.SetFOwner(
this);
21 label1.SetClass(lxT(
"CLabel"));
22 label1.SetName(lxT(
"label1"));
28 label1.SetHint(lxT(
""));
31 label1.SetPopupMenu(NULL);
32 label1.SetText(lxT(
"Serial Port:"));
36 label2.SetFOwner(
this);
37 label2.SetClass(lxT(
"CLabel"));
38 label2.SetName(lxT(
"label2"));
44 label2.SetHint(lxT(
""));
47 label2.SetPopupMenu(NULL);
48 label2.SetText(lxT(
"Prog. Port:"));
52 button1.SetFOwner(
this);
53 button1.SetClass(lxT(
"CButton"));
54 button1.SetName(lxT(
"button1"));
59 button1.SetHeight(28);
60 button1.SetHint(lxT(
""));
62 button1.SetVisible(1);
63 button1.SetPopupMenu(NULL);
64 button1.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow3::button1_EvMouseButtonClick;
65 button1.SetText(lxT(
"Save"));
66 CreateChild(&button1);
68 combo1.SetFOwner(
this);
69 combo1.SetClass(lxT(
"CCombo"));
70 combo1.SetName(lxT(
"combo1"));
76 combo1.SetHint(lxT(
""));
79 combo1.SetPopupMenu(NULL);
80 combo1.SetItems(lxT(
""));
81 combo1.SetText(lxT(
""));
82 combo1.SetReadOnly(0);
85 combo2.SetFOwner(
this);
86 combo2.SetClass(lxT(
"CCombo"));
87 combo2.SetName(lxT(
"combo2"));
93 combo2.SetHint(lxT(
""));
96 combo2.SetPopupMenu(NULL);
97 combo2.SetItems(lxT(
""));
98 combo2.SetText(lxT(
""));
99 combo2.SetReadOnly(0);
100 CreateChild(&combo2);
102 label3.SetFOwner(
this);
103 label3.SetClass(lxT(
"CLabel"));
104 label3.SetName(lxT(
"label3"));
109 label3.SetHeight(20);
110 label3.SetHint(lxT(
""));
112 label3.SetVisible(1);
113 label3.SetPopupMenu(NULL);
114 label3.SetText(lxT(
"AVR DBG:"));
116 CreateChild(&label3);
118 combo3.SetFOwner(
this);
119 combo3.SetClass(lxT(
"CCombo"));
120 combo3.SetName(lxT(
"combo3"));
124 combo3.SetWidth(200);
125 combo3.SetHeight(32);
126 combo3.SetHint(lxT(
""));
128 combo3.SetVisible(1);
129 combo3.SetPopupMenu(NULL);
130 combo3.SetItems(lxT(
"GDB,MDB,"));
131 combo3.SetText(lxT(
"GDB"));
132 combo3.SetReadOnly(0);
133 CreateChild(&combo3);
135 label4.SetFOwner(
this);
136 label4.SetClass(lxT(
"CLabel"));
137 label4.SetName(lxT(
"label4"));
141 label4.SetWidth(109);
142 label4.SetHeight(20);
143 label4.SetHint(lxT(
""));
145 label4.SetVisible(1);
146 label4.SetPopupMenu(NULL);
147 label4.SetText(lxT(
"DBG TCP Port:"));
149 CreateChild(&label4);
151 spin1.SetFOwner(
this);
152 spin1.SetClass(lxT(
"CSpin"));
153 spin1.SetName(lxT(
"spin1"));
159 spin1.SetHint(lxT(
""));
162 spin1.SetPopupMenu(NULL);
163 spin1.SetValue(1234);
168 spin2.SetFOwner(
this);
169 spin2.SetClass(lxT(
"CSpin"));
170 spin2.SetName(lxT(
"spin2"));
176 spin2.SetHint(lxT(
""));
179 spin2.SetPopupMenu(NULL);
180 spin2.SetValue(5000);
185 label5.SetFOwner(
this);
186 label5.SetClass(lxT(
"CLabel"));
187 label5.SetName(lxT(
"label5"));
191 label5.SetWidth(116);
192 label5.SetHeight(20);
193 label5.SetHint(lxT(
""));
195 label5.SetVisible(1);
196 label5.SetPopupMenu(NULL);
197 label5.SetText(lxT(
"Remote C. Port:"));
199 CreateChild(&label5);
201 button2.SetFOwner(
this);
202 button2.SetClass(lxT(
"CButton"));
203 button2.SetName(lxT(
"button2"));
207 button2.SetWidth(93);
208 button2.SetHeight(28);
209 button2.SetHint(lxT(
""));
210 button2.SetEnable(1);
211 button2.SetVisible(1);
212 button2.SetPopupMenu(NULL);
213 button2.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow3::button2_EvMouseButtonClick;
214 button2.SetText(lxT(
"Cancel"));
215 CreateChild(&button2);
217 button3.SetFOwner(
this);
218 button3.SetClass(lxT(
"CButton"));
219 button3.SetName(lxT(
"button3"));
223 button3.SetWidth(200);
224 button3.SetHeight(32);
225 button3.SetHint(lxT(
""));
226 button3.SetEnable(1);
227 button3.SetVisible(1);
228 button3.SetColor(lxT(
"#000001"));
229 button3.SetPopupMenu(NULL);
230 button3.EvMouseButtonClick = EVMOUSEBUTTONCLICK & CPWindow3::button3_EvMouseButtonClick;
231 button3.SetText(lxT(
"Open Configuration Dir"));
232 CreateChild(&button3);
234 checkbox1.SetFOwner(
this);
235 checkbox1.SetClass(lxT(
"CCheckBox"));
236 checkbox1.SetName(lxT(
"checkbox1"));
240 checkbox1.SetWidth(128);
241 checkbox1.SetHeight(32);
242 checkbox1.SetHint(lxT(
""));
243 checkbox1.SetEnable(1);
244 checkbox1.SetVisible(1);
245 checkbox1.SetPopupMenu(NULL);
246 checkbox1.SetText(lxT(
"DTR/RTS Reset"));
247 checkbox1.SetCheck(0);
248 CreateChild(&checkbox1);