1 // ----------------------------------------------------------------------------
2 // Copyright (C) 2014
3 // David Freese, W1HKJ
4 //
5 // This file is part of flmsg
6 //
7 // flrig is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation; either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // flrig is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program. If not, see <http://www.gnu.org/licenses/>.
19 // ----------------------------------------------------------------------------
20
21 #include "gettext.h"
22 #include "status.h"
23 #include "util.h"
24
25 #include "flmsg_dialog.h"
26 #include "flmsg.h"
27
28 Fl_Group *tab_ics203 = (Fl_Group *)0;
29 Fl_Tabs *tab_ics203_type = (Fl_Tabs *)0;
30 Fl_Group *tab_203_1 = (Fl_Group *)0;
31 Fl_Input2 *txt_203_incident = (Fl_Input2 *)0;
32 Fl_Input2 *txt_203_date = (Fl_Input2 *)0;
33 Fl_Button *btn_203_date = (Fl_Button *)0;
34 Fl_Input2 *txt_203_time = (Fl_Input2 *)0;
35 Fl_Button *btn_203_time = (Fl_Button *)0;
36 Fl_Input2 *txt_203_op_period = (Fl_Input2 *)0;
37 Fl_Input2 *txt_203_incident_commander = (Fl_Input2 *)0;
38 Fl_Input2 *txt_203_incident_deputy = (Fl_Input2 *)0;
39 Fl_Input2 *txt_203_incident_safety_officer = (Fl_Input2 *)0;
40 Fl_Input2 *txt_203_incident_info_officer = (Fl_Input2 *)0;
41 Fl_Input2 *txt_203_liaison_officer = (Fl_Input2 *)0;
42 Fl_Input2 *txt_203_prepared_by = (Fl_Input2 *)0;
43 Fl_Group *tab_203_agency = (Fl_Group *)0;
44 Fl_Input2 *txt_203_agency[7]={(Fl_Input2 *)0};
45 Fl_Input2 *txt_203_agency_name[7]={(Fl_Input2 *)0};
46 Fl_Group *tab_203_planning = (Fl_Group *)0;
47 Fl_Input2 *txt_203_planning_chief = (Fl_Input2 *)0;
48 Fl_Input2 *txt_203_planning_deputy = (Fl_Input2 *)0;
49 Fl_Input2 *txt_203_resources_unit = (Fl_Input2 *)0;
50 Fl_Input2 *txt_203_situation_unit = (Fl_Input2 *)0;
51 Fl_Input2 *txt_203_documentation_unit = (Fl_Input2 *)0;
52 Fl_Input2 *txt_203_demobilization_unit = (Fl_Input2 *)0;
53 Fl_Input2 *txt_203_tech_spc[3]={(Fl_Input2 *)0};
54 Fl_Group *tab_203_logistics = (Fl_Group *)0;
55 Fl_Input2 *txt_203_logistics_chief = (Fl_Input2 *)0;
56 Fl_Input2 *txt_203_logistics_deputy = (Fl_Input2 *)0;
57 Fl_Input2 *txt_203_support_director = (Fl_Input2 *)0;
58 Fl_Input2 *txt_203_supply_unit = (Fl_Input2 *)0;
59 Fl_Input2 *txt_203_facilities_unit = (Fl_Input2 *)0;
60 Fl_Input2 *txt_203_ground_support = (Fl_Input2 *)0;
61 Fl_Input2 *txt_203_service_director = (Fl_Input2 *)0;
62 Fl_Input2 *txt_203_communications_unit = (Fl_Input2 *)0;
63 Fl_Input2 *txt_203_medical_unit = (Fl_Input2 *)0;
64 Fl_Input2 *txt_203_food_unit = (Fl_Input2 *)0;
65 Fl_Group *tab_203_opsA = (Fl_Group *)0;
66 Fl_Input2 *txt_203_ops_chief = (Fl_Input2 *)0;
67 Fl_Input2 *txt_203_ops_deputy = (Fl_Input2 *)0;
68 Fl_Input2 *txt_203_b1_director = (Fl_Input2 *)0;
69 Fl_Input2 *txt_203_b1_deputy = (Fl_Input2 *)0;
70 Fl_Input2 *txt_203_b1_div[5]={(Fl_Input2 *)0};
71 Fl_Input2 *txt_203_b1_grp[5]={(Fl_Input2 *)0};
72 Fl_Group *tab_203_opsB = (Fl_Group *)0;
73 Fl_Input2 *txt_203_b2_director = (Fl_Input2 *)0;
74 Fl_Input2 *txt_203_b2_deputy = (Fl_Input2 *)0;
75 Fl_Input2 *txt_203_b2_div[5]={(Fl_Input2 *)0};
76 Fl_Input2 *txt_203_b2_grp[5]={(Fl_Input2 *)0};
77 Fl_Group *tab_203_opsC = (Fl_Group *)0;
78 Fl_Input2 *txt_203_b3_director = (Fl_Input2 *)0;
79 Fl_Input2 *txt_203_b3_deputy = (Fl_Input2 *)0;
80 Fl_Input2 *txt_203_b3_div[5]={(Fl_Input2 *)0};
81 Fl_Input2 *txt_203_b3_grp[5]={(Fl_Input2 *)0};
82 Fl_Group *tab_203_opsD = (Fl_Group *)0;
83 Fl_Input2 *txt_203_air_ops_br_dir = (Fl_Input2 *)0;
84 Fl_Input2 *txt_203_air_tactical_group_sup = (Fl_Input2 *)0;
85 Fl_Input2 *txt_203_air_support_group_sup = (Fl_Input2 *)0;
86 Fl_Input2 *txt_203_helicopter_coordinator = (Fl_Input2 *)0;
87 Fl_Input2 *txt_203_air_tanker_fixed_wing = (Fl_Input2 *)0;
88 Fl_Group *tab_203_admin = (Fl_Group *)0;
89 Fl_Input2 *txt_203_finance_chief = (Fl_Input2 *)0;
90 Fl_Input2 *txt_203_finance_deputy = (Fl_Input2 *)0;
91 Fl_Input2 *txt_203_time_unit = (Fl_Input2 *)0;
92 Fl_Input2 *txt_203_procurement_unit = (Fl_Input2 *)0;
93 Fl_Input2 *txt_203_claims_unit = (Fl_Input2 *)0;
94 Fl_Input2 *txt_203_cost_unit = (Fl_Input2 *)0;
95
cb_btn_203_date(Fl_Button *,void *)96 static void cb_btn_203_date(Fl_Button*, void*) {
97 cb_203_set_date();
98 }
99
cb_btn_203_time(Fl_Button *,void *)100 static void cb_btn_203_time(Fl_Button*, void*) {
101 cb_203_set_time();
102 }
103
create_ics203_tab()104 void create_ics203_tab()
105 {
106 int Y = tab_top;
107 tab_ics203 = new Fl_Group(0, Y, 570, 390);
108 tab_ics203->align(FL_ALIGN_TOP);
109
110 tab_ics203_type = new Fl_Tabs(0, Y+3, 570, 387);
111 tab_ics203_type->selection_color((Fl_Color)246);
112
113 { // tab_203_orglist
114 tab_203_1 = new Fl_Group(0, Y+25, 570, 360, _("Org List"));
115 { // group_203_orglist_1
116 Fl_Group* group_203_orglist_1 = new Fl_Group(2, Y+31, 566, 115);
117 group_203_orglist_1->box(FL_ENGRAVED_FRAME);
118 group_203_orglist_1->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
119 { txt_203_incident = new Fl_Input2(135, Y+37, 425, 24, _("1. Incident Name"));
120 txt_203_incident->tooltip(_("Incident name"));
121 txt_203_incident->box(FL_DOWN_BOX);
122 txt_203_incident->color((Fl_Color)FL_BACKGROUND2_COLOR);
123 txt_203_incident->selection_color((Fl_Color)FL_SELECTION_COLOR);
124 txt_203_incident->labeltype(FL_NORMAL_LABEL);
125 txt_203_incident->labelfont(0);
126 txt_203_incident->labelsize(14);
127 txt_203_incident->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
128 txt_203_incident->align(FL_ALIGN_LEFT);
129 txt_203_incident->callback(ics_changed);
130 txt_203_incident->when(FL_WHEN_CHANGED);
131 } // Fl_Input2* txt_203_incident
132 { txt_203_date = new Fl_Input2(135, Y+64, 155, 24, _("2. Date Prepared"));
133 txt_203_date->tooltip(_("Date prepared"));
134 txt_203_date->box(FL_DOWN_BOX);
135 txt_203_date->color((Fl_Color)FL_BACKGROUND2_COLOR);
136 txt_203_date->selection_color((Fl_Color)FL_SELECTION_COLOR);
137 txt_203_date->labeltype(FL_NORMAL_LABEL);
138 txt_203_date->labelfont(0);
139 txt_203_date->labelsize(14);
140 txt_203_date->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
141 txt_203_date->align(FL_ALIGN_LEFT);
142 txt_203_incident->callback(ics_changed);
143 txt_203_date->when(FL_WHEN_CHANGED);
144 } // Fl_Input2* txt_203_date
145 { btn_203_date = new Fl_Button(294, Y+66, 20, 20, _("..."));
146 btn_203_date->tooltip(_("Set today"));
147 btn_203_date->callback((Fl_Callback*)cb_btn_203_date);
148 } // Fl_Button* btn_203_date
149 { txt_203_time = new Fl_Input2(135, Y+89, 103, 24, _("3. Time Prepared"));
150 txt_203_time->tooltip(_("Time prepared"));
151 txt_203_time->box(FL_DOWN_BOX);
152 txt_203_time->color((Fl_Color)FL_BACKGROUND2_COLOR);
153 txt_203_time->selection_color((Fl_Color)FL_SELECTION_COLOR);
154 txt_203_time->labeltype(FL_NORMAL_LABEL);
155 txt_203_time->labelfont(0);
156 txt_203_time->labelsize(14);
157 txt_203_time->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
158 txt_203_time->align(FL_ALIGN_LEFT);
159 txt_203_time->callback(ics_changed);
160 txt_203_time->when(FL_WHEN_CHANGED);
161 } // Fl_Input2* txt_203_time
162 { btn_203_time = new Fl_Button(247, Y+91, 20, 20, _("..."));
163 btn_203_time->tooltip(_("Set time now"));
164 btn_203_time->callback((Fl_Callback*)cb_btn_203_time);
165 } // Fl_Button* btn_203_time
166 { txt_203_op_period = new Fl_Input2(135, Y+117, 425, 24, _("4. Oper\' Period"));
167 txt_203_op_period->tooltip(_("Date / Time"));
168 txt_203_op_period->box(FL_DOWN_BOX);
169 txt_203_op_period->color((Fl_Color)FL_BACKGROUND2_COLOR);
170 txt_203_op_period->selection_color((Fl_Color)FL_SELECTION_COLOR);
171 txt_203_op_period->labeltype(FL_NORMAL_LABEL);
172 txt_203_op_period->labelfont(0);
173 txt_203_op_period->labelsize(14);
174 txt_203_op_period->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
175 txt_203_op_period->align(FL_ALIGN_LEFT);
176 txt_203_op_period->callback(ics_changed);
177 txt_203_op_period->when(FL_WHEN_CHANGED);
178 } // Fl_Input2* txt_203_op_period
179 group_203_orglist_1->end();
180 } // group_203_orglist_1
181 { // group_203_orglist_2
182 Fl_Group* group_203_orglist_2 = new Fl_Group(2, Y+147, 566, 167, _("Incident Command and Staff"));
183 group_203_orglist_2->box(FL_ENGRAVED_FRAME);
184 group_203_orglist_2->align(FL_ALIGN_TOP|FL_ALIGN_INSIDE);
185 txt_203_incident_commander = new Fl_Input2(133, Y+168, 425, 24, _("Commander"));
186 txt_203_incident_commander->tooltip(_("Incident name"));
187 txt_203_incident_commander->box(FL_DOWN_BOX);
188 txt_203_incident_commander->color((Fl_Color)FL_BACKGROUND2_COLOR);
189 txt_203_incident_commander->selection_color((Fl_Color)FL_SELECTION_COLOR);
190 txt_203_incident_commander->labeltype(FL_NORMAL_LABEL);
191 txt_203_incident_commander->labelfont(0);
192 txt_203_incident_commander->labelsize(14);
193 txt_203_incident_commander->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
194 txt_203_incident_commander->align(FL_ALIGN_LEFT);
195 txt_203_incident_commander->callback(ics_changed);
196 txt_203_incident_commander->when(FL_WHEN_CHANGED);
197
198 txt_203_incident_deputy = new Fl_Input2(133, Y+197, 425, 24, _("Deputy"));
199 txt_203_incident_deputy->tooltip(_("Incident name"));
200 txt_203_incident_deputy->box(FL_DOWN_BOX);
201 txt_203_incident_deputy->color((Fl_Color)FL_BACKGROUND2_COLOR);
202 txt_203_incident_deputy->selection_color((Fl_Color)FL_SELECTION_COLOR);
203 txt_203_incident_deputy->labeltype(FL_NORMAL_LABEL);
204 txt_203_incident_deputy->labelfont(0);
205 txt_203_incident_deputy->labelsize(14);
206 txt_203_incident_deputy->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
207 txt_203_incident_deputy->align(FL_ALIGN_LEFT);
208 txt_203_incident_deputy->callback(ics_changed);
209 txt_203_incident_deputy->when(FL_WHEN_CHANGED);
210
211 txt_203_incident_safety_officer = new Fl_Input2(133, Y+226, 425, 24, _("Safety Officer"));
212 txt_203_incident_safety_officer->tooltip(_("Incident name"));
213 txt_203_incident_safety_officer->box(FL_DOWN_BOX);
214 txt_203_incident_safety_officer->color((Fl_Color)FL_BACKGROUND2_COLOR);
215 txt_203_incident_safety_officer->selection_color((Fl_Color)FL_SELECTION_COLOR);
216 txt_203_incident_safety_officer->labeltype(FL_NORMAL_LABEL);
217 txt_203_incident_safety_officer->labelfont(0);
218 txt_203_incident_safety_officer->labelsize(14);
219 txt_203_incident_safety_officer->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
220 txt_203_incident_safety_officer->align(FL_ALIGN_LEFT);
221 txt_203_incident_safety_officer->callback(ics_changed);
222 txt_203_incident_safety_officer->when(FL_WHEN_CHANGED);
223
224 txt_203_incident_info_officer = new Fl_Input2(133, Y+255, 425, 24, _("Information Off\'"));
225 txt_203_incident_info_officer->tooltip(_("Incident name"));
226 txt_203_incident_info_officer->box(FL_DOWN_BOX);
227 txt_203_incident_info_officer->color((Fl_Color)FL_BACKGROUND2_COLOR);
228 txt_203_incident_info_officer->selection_color((Fl_Color)FL_SELECTION_COLOR);
229 txt_203_incident_info_officer->labeltype(FL_NORMAL_LABEL);
230 txt_203_incident_info_officer->labelfont(0);
231 txt_203_incident_info_officer->labelsize(14);
232 txt_203_incident_info_officer->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
233 txt_203_incident_info_officer->align(FL_ALIGN_LEFT);
234 txt_203_incident_info_officer->callback(ics_changed);
235 txt_203_incident_info_officer->when(FL_WHEN_CHANGED);
236
237 txt_203_liaison_officer = new Fl_Input2(133, Y+285, 425, 24, _("Liaison Officer"));
238 txt_203_liaison_officer->tooltip(_("Incident name"));
239 txt_203_liaison_officer->box(FL_DOWN_BOX);
240 txt_203_liaison_officer->color((Fl_Color)FL_BACKGROUND2_COLOR);
241 txt_203_liaison_officer->selection_color((Fl_Color)FL_SELECTION_COLOR);
242 txt_203_liaison_officer->labeltype(FL_NORMAL_LABEL);
243 txt_203_liaison_officer->labelfont(0);
244 txt_203_liaison_officer->labelsize(14);
245 txt_203_liaison_officer->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
246 txt_203_liaison_officer->align(FL_ALIGN_LEFT);
247 txt_203_liaison_officer->callback(ics_changed);
248 txt_203_liaison_officer->when(FL_WHEN_CHANGED);
249
250 group_203_orglist_2->end();
251 } // group_203_orglist_2
252 { // group_203_orglist_3
253 Fl_Group* group_203_orglist_3 = new Fl_Group(2, Y+315, 565, 35);
254 group_203_orglist_3->box(FL_ENGRAVED_FRAME);
255 txt_203_prepared_by = new Fl_Input2(133, Y+319, 425, 24, _("Prepared By"));
256 txt_203_prepared_by->tooltip(_("Incident name"));
257 txt_203_prepared_by->box(FL_DOWN_BOX);
258 txt_203_prepared_by->color((Fl_Color)FL_BACKGROUND2_COLOR);
259 txt_203_prepared_by->selection_color((Fl_Color)FL_SELECTION_COLOR);
260 txt_203_prepared_by->labeltype(FL_NORMAL_LABEL);
261 txt_203_prepared_by->labelfont(0);
262 txt_203_prepared_by->labelsize(14);
263 txt_203_prepared_by->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
264 txt_203_prepared_by->align(FL_ALIGN_LEFT);
265 txt_203_prepared_by->when(FL_WHEN_CHANGED);
266 txt_203_prepared_by->callback(ics_changed);
267 group_203_orglist_3->end();
268 } // group_203_orglist_3
269 tab_203_1->end();
270 } // Fl_Group* tab_203_orglist
271 { // tab_203_agency
272 tab_203_agency = new Fl_Group(0, Y+25, 570, 360, _("Agency"));
273 tab_203_agency->hide();
274 { Fl_Group* o = new Fl_Group(2, Y+36, 566, 314, _("Agency Representatives"));
275 o->box(FL_ENGRAVED_FRAME);
276 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
277 for (int i = 0; i < 7; i++) {
278 txt_203_agency[i] = new Fl_Input2(11, Y+79 + 39*i, 275, 24, _("Agency"));
279 txt_203_agency[i]->tooltip(_("Incident name"));
280 txt_203_agency[i]->box(FL_DOWN_BOX);
281 txt_203_agency[i]->color((Fl_Color)FL_BACKGROUND2_COLOR);
282 txt_203_agency[i]->selection_color((Fl_Color)FL_SELECTION_COLOR);
283 txt_203_agency[i]->labeltype(FL_NORMAL_LABEL);
284 txt_203_agency[i]->labelfont(0);
285 txt_203_agency[i]->labelsize(14);
286 txt_203_agency[i]->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
287 txt_203_agency[i]->align(FL_ALIGN_TOP);
288 txt_203_agency[i]->callback(ics_changed);
289 txt_203_agency[i]->when(FL_WHEN_CHANGED);
290
291 txt_203_agency_name[i] = new Fl_Input2(290, Y+79 + 39*i, 275, 24, _("Name"));
292 txt_203_agency_name[i]->tooltip(_("Incident name"));
293 txt_203_agency_name[i]->box(FL_DOWN_BOX);
294 txt_203_agency_name[i]->color((Fl_Color)FL_BACKGROUND2_COLOR);
295 txt_203_agency_name[i]->selection_color((Fl_Color)FL_SELECTION_COLOR);
296 txt_203_agency_name[i]->labeltype(FL_NORMAL_LABEL);
297 txt_203_agency_name[i]->labelfont(0);
298 txt_203_agency_name[i]->labelsize(14);
299 txt_203_agency_name[i]->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
300 txt_203_agency_name[i]->align(FL_ALIGN_TOP);
301 txt_203_agency_name[i]->callback(ics_changed);
302 txt_203_agency_name[i]->when(FL_WHEN_CHANGED);
303 }
304 o->end();
305 } // Fl_Group* o
306 tab_203_agency->end();
307 } // Fl_Group* tab_203_agency
308
309 { // tab_203_planning
310 tab_203_planning = new Fl_Group(0, Y+25, 570, 360, _("Planning"));
311 tab_203_planning->hide();
312 { Fl_Group* o = new Fl_Group(2, Y+31, 566, 289, _("Planning Section"));
313 o->box(FL_ENGRAVED_FRAME);
314 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
315 txt_203_planning_chief = new Fl_Input2(158, Y+52, 400, 24, _("Chief"));
316 txt_203_planning_chief->tooltip(_(" "));
317 txt_203_planning_chief->box(FL_DOWN_BOX);
318 txt_203_planning_chief->color((Fl_Color)FL_BACKGROUND2_COLOR);
319 txt_203_planning_chief->selection_color((Fl_Color)FL_SELECTION_COLOR);
320 txt_203_planning_chief->labeltype(FL_NORMAL_LABEL);
321 txt_203_planning_chief->labelfont(0);
322 txt_203_planning_chief->labelsize(14);
323 txt_203_planning_chief->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
324 txt_203_planning_chief->align(FL_ALIGN_LEFT);
325 txt_203_planning_chief->callback(ics_changed);
326 txt_203_planning_chief->when(FL_WHEN_CHANGED);
327
328 txt_203_planning_deputy = new Fl_Input2(158, Y+81, 400, 24, _("Deputy"));
329 txt_203_planning_deputy->tooltip(_(" "));
330 txt_203_planning_deputy->box(FL_DOWN_BOX);
331 txt_203_planning_deputy->color((Fl_Color)FL_BACKGROUND2_COLOR);
332 txt_203_planning_deputy->selection_color((Fl_Color)FL_SELECTION_COLOR);
333 txt_203_planning_deputy->labeltype(FL_NORMAL_LABEL);
334 txt_203_planning_deputy->labelfont(0);
335 txt_203_planning_deputy->labelsize(14);
336 txt_203_planning_deputy->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
337 txt_203_planning_deputy->align(FL_ALIGN_LEFT);
338 txt_203_planning_deputy->callback(ics_changed);
339 txt_203_planning_deputy->when(FL_WHEN_CHANGED);
340
341 txt_203_resources_unit = new Fl_Input2(158, Y+101, 400, 24, _("Resources Unit"));
342 txt_203_resources_unit->tooltip(_(" "));
343 txt_203_resources_unit->box(FL_DOWN_BOX);
344 txt_203_resources_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
345 txt_203_resources_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
346 txt_203_resources_unit->labeltype(FL_NORMAL_LABEL);
347 txt_203_resources_unit->labelfont(0);
348 txt_203_resources_unit->labelsize(14);
349 txt_203_resources_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
350 txt_203_resources_unit->align(FL_ALIGN_LEFT);
351 txt_203_resources_unit->callback(ics_changed);
352 txt_203_resources_unit->when(FL_WHEN_CHANGED);
353
354 txt_203_situation_unit = new Fl_Input2(158, Y+140, 400, 24, _("Situation Unit"));
355 txt_203_situation_unit->tooltip(_(" "));
356 txt_203_situation_unit->box(FL_DOWN_BOX);
357 txt_203_situation_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
358 txt_203_situation_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
359 txt_203_situation_unit->labeltype(FL_NORMAL_LABEL);
360 txt_203_situation_unit->labelfont(0);
361 txt_203_situation_unit->labelsize(14);
362 txt_203_situation_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
363 txt_203_situation_unit->align(FL_ALIGN_LEFT);
364 txt_203_situation_unit->callback(ics_changed);
365 txt_203_situation_unit->when(FL_WHEN_CHANGED);
366
367 txt_203_documentation_unit = new Fl_Input2(158, Y+170, 400, 24, _("Documentation Unit"));
368 txt_203_documentation_unit->tooltip(_(" "));
369 txt_203_documentation_unit->box(FL_DOWN_BOX);
370 txt_203_documentation_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
371 txt_203_documentation_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
372 txt_203_documentation_unit->labeltype(FL_NORMAL_LABEL);
373 txt_203_documentation_unit->labelfont(0);
374 txt_203_documentation_unit->labelsize(14);
375 txt_203_documentation_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
376 txt_203_documentation_unit->align(FL_ALIGN_LEFT);
377 txt_203_documentation_unit->callback(ics_changed);
378 txt_203_documentation_unit->when(FL_WHEN_CHANGED);
379
380 txt_203_demobilization_unit = new Fl_Input2(158, Y+199, 400, 24, _("Demobilization Unit"));
381 txt_203_demobilization_unit->tooltip(_(" "));
382 txt_203_demobilization_unit->box(FL_DOWN_BOX);
383 txt_203_demobilization_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
384 txt_203_demobilization_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
385 txt_203_demobilization_unit->labeltype(FL_NORMAL_LABEL);
386 txt_203_demobilization_unit->labelfont(0);
387 txt_203_demobilization_unit->labelsize(14);
388 txt_203_demobilization_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
389 txt_203_demobilization_unit->align(FL_ALIGN_LEFT);
390 txt_203_demobilization_unit->callback(ics_changed);
391 txt_203_demobilization_unit->when(FL_WHEN_CHANGED);
392
393 for (int i = 0; i < 3; i++) {
394 txt_203_tech_spc[i] = new Fl_Input2(158, Y+229 + i*29, 400, 24, _("Technical Specialist"));
395 txt_203_tech_spc[i]->tooltip(_("Name"));
396 txt_203_tech_spc[i]->box(FL_DOWN_BOX);
397 txt_203_tech_spc[i]->color((Fl_Color)FL_BACKGROUND2_COLOR);
398 txt_203_tech_spc[i]->selection_color((Fl_Color)FL_SELECTION_COLOR);
399 txt_203_tech_spc[i]->labeltype(FL_NORMAL_LABEL);
400 txt_203_tech_spc[i]->labelfont(0);
401 txt_203_tech_spc[i]->labelsize(14);
402 txt_203_tech_spc[i]->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
403 txt_203_tech_spc[i]->align(FL_ALIGN_LEFT);
404 txt_203_tech_spc[i]->callback(ics_changed);
405 txt_203_tech_spc[i]->when(FL_WHEN_CHANGED);
406 } // Fl_Input2* txt_203_tech_spc[i]
407 o->end();
408 } // Fl_Group* o
409 tab_203_planning->end();
410 } // tab_203_planning
411 { // tab_203_logistics
412 tab_203_logistics = new Fl_Group(0, Y+25, 570, 360, _("Logistics"));
413 tab_203_logistics->hide();
414 { Fl_Group* o = new Fl_Group(2, Y+32, 566, 318, _("Logistics Section"));
415 o->box(FL_ENGRAVED_FRAME);
416 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
417 txt_203_logistics_chief = new Fl_Input2(165, Y+49, 395, 24, _("Chief"));
418 txt_203_logistics_chief->tooltip(_(" "));
419 txt_203_logistics_chief->box(FL_DOWN_BOX);
420 txt_203_logistics_chief->color((Fl_Color)FL_BACKGROUND2_COLOR);
421 txt_203_logistics_chief->selection_color((Fl_Color)FL_SELECTION_COLOR);
422 txt_203_logistics_chief->labeltype(FL_NORMAL_LABEL);
423 txt_203_logistics_chief->labelfont(0);
424 txt_203_logistics_chief->labelsize(14);
425 txt_203_logistics_chief->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
426 txt_203_logistics_chief->align(FL_ALIGN_LEFT);
427 txt_203_liaison_officer->callback(ics_changed);
428 txt_203_logistics_chief->when(FL_WHEN_CHANGED);
429
430 txt_203_logistics_deputy = new Fl_Input2(165, Y+76, 395, 24, _("Deputy"));
431 txt_203_logistics_deputy->tooltip(_(" "));
432 txt_203_logistics_deputy->box(FL_DOWN_BOX);
433 txt_203_logistics_deputy->color((Fl_Color)FL_BACKGROUND2_COLOR);
434 txt_203_logistics_deputy->selection_color((Fl_Color)FL_SELECTION_COLOR);
435 txt_203_logistics_deputy->labeltype(FL_NORMAL_LABEL);
436 txt_203_logistics_deputy->labelfont(0);
437 txt_203_logistics_deputy->labelsize(14);
438 txt_203_logistics_deputy->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
439 txt_203_logistics_deputy->align(FL_ALIGN_LEFT);
440 txt_203_logistics_deputy->callback(ics_changed);
441 txt_203_logistics_deputy->when(FL_WHEN_CHANGED);
442
443 { Fl_Group* o = new Fl_Group(6, Y+105, 558, 118, _("a. Support"));
444 o->box(FL_THIN_DOWN_BOX);
445 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
446 txt_203_support_director = new Fl_Input2(165, Y+112, 395, 24, _("Director"));
447 txt_203_support_director->tooltip(_(" "));
448 txt_203_support_director->box(FL_DOWN_BOX);
449 txt_203_support_director->color((Fl_Color)FL_BACKGROUND2_COLOR);
450 txt_203_support_director->selection_color((Fl_Color)FL_SELECTION_COLOR);
451 txt_203_support_director->labeltype(FL_NORMAL_LABEL);
452 txt_203_support_director->labelfont(0);
453 txt_203_support_director->labelsize(14);
454 txt_203_support_director->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
455 txt_203_support_director->align(FL_ALIGN_LEFT);
456 txt_203_support_director->callback(ics_changed);
457 txt_203_support_director->when(FL_WHEN_CHANGED);
458
459 txt_203_supply_unit = new Fl_Input2(165, Y+139, 395, 24, _("Supply Unit"));
460 txt_203_supply_unit->tooltip(_(" "));
461 txt_203_supply_unit->box(FL_DOWN_BOX);
462 txt_203_supply_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
463 txt_203_supply_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
464 txt_203_supply_unit->labeltype(FL_NORMAL_LABEL);
465 txt_203_supply_unit->labelfont(0);
466 txt_203_supply_unit->labelsize(14);
467 txt_203_supply_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
468 txt_203_supply_unit->align(FL_ALIGN_LEFT);
469 txt_203_supply_unit->callback(ics_changed);
470 txt_203_supply_unit->when(FL_WHEN_CHANGED);
471
472 txt_203_facilities_unit = new Fl_Input2(165, Y+166, 395, 24, _("Facilities Unit"));
473 txt_203_facilities_unit->tooltip(_(" "));
474 txt_203_facilities_unit->box(FL_DOWN_BOX);
475 txt_203_facilities_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
476 txt_203_facilities_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
477 txt_203_facilities_unit->labeltype(FL_NORMAL_LABEL);
478 txt_203_facilities_unit->labelfont(0);
479 txt_203_facilities_unit->labelsize(14);
480 txt_203_facilities_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
481 txt_203_facilities_unit->align(FL_ALIGN_LEFT);
482 txt_203_facilities_unit->callback(ics_changed);
483 txt_203_facilities_unit->when(FL_WHEN_CHANGED);
484
485 txt_203_ground_support = new Fl_Input2(165, Y+194, 395, 24, _("Ground Support Unit"));
486 txt_203_ground_support->tooltip(_(" "));
487 txt_203_ground_support->box(FL_DOWN_BOX);
488 txt_203_ground_support->color((Fl_Color)FL_BACKGROUND2_COLOR);
489 txt_203_ground_support->selection_color((Fl_Color)FL_SELECTION_COLOR);
490 txt_203_ground_support->labeltype(FL_NORMAL_LABEL);
491 txt_203_ground_support->labelfont(0);
492 txt_203_ground_support->labelsize(14);
493 txt_203_ground_support->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
494 txt_203_ground_support->align(FL_ALIGN_LEFT);
495 txt_203_ground_support->callback(ics_changed);
496 txt_203_ground_support->when(FL_WHEN_CHANGED);
497 o->end();
498 } // Fl_Group* o
499 { Fl_Group* o = new Fl_Group(6, Y+224, 558, 123, _("b. Service"));
500 o->box(FL_THIN_DOWN_BOX);
501 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
502 txt_203_service_director = new Fl_Input2(165, Y+237, 395, 24, _("Director"));
503 txt_203_service_director->tooltip(_(" "));
504 txt_203_service_director->box(FL_DOWN_BOX);
505 txt_203_service_director->color((Fl_Color)FL_BACKGROUND2_COLOR);
506 txt_203_service_director->selection_color((Fl_Color)FL_SELECTION_COLOR);
507 txt_203_service_director->labeltype(FL_NORMAL_LABEL);
508 txt_203_service_director->labelfont(0);
509 txt_203_service_director->labelsize(14);
510 txt_203_service_director->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
511 txt_203_service_director->align(FL_ALIGN_LEFT);
512 txt_203_service_director->callback(ics_changed);
513 txt_203_service_director->when(FL_WHEN_CHANGED);
514
515 txt_203_communications_unit = new Fl_Input2(165, Y+264, 395, 24, _("Communications Unit"));
516 txt_203_communications_unit->tooltip(_(" "));
517 txt_203_communications_unit->box(FL_DOWN_BOX);
518 txt_203_communications_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
519 txt_203_communications_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
520 txt_203_communications_unit->labeltype(FL_NORMAL_LABEL);
521 txt_203_communications_unit->labelfont(0);
522 txt_203_communications_unit->labelsize(14);
523 txt_203_communications_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
524 txt_203_communications_unit->align(FL_ALIGN_LEFT);
525 txt_203_communications_unit->callback(ics_changed);
526 txt_203_communications_unit->when(FL_WHEN_CHANGED);
527
528 txt_203_medical_unit = new Fl_Input2(165, Y+292, 395, 24, _("Medical Unit"));
529 txt_203_medical_unit->tooltip(_(" "));
530 txt_203_medical_unit->box(FL_DOWN_BOX);
531 txt_203_medical_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
532 txt_203_medical_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
533 txt_203_medical_unit->labeltype(FL_NORMAL_LABEL);
534 txt_203_medical_unit->labelfont(0);
535 txt_203_medical_unit->labelsize(14);
536 txt_203_medical_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
537 txt_203_medical_unit->align(FL_ALIGN_LEFT);
538 txt_203_medical_unit->callback(ics_changed);
539 txt_203_medical_unit->when(FL_WHEN_CHANGED);
540
541 txt_203_food_unit = new Fl_Input2(165, Y+320, 395, 24, _("Food Unit"));
542 txt_203_food_unit->tooltip(_(" "));
543 txt_203_food_unit->box(FL_DOWN_BOX);
544 txt_203_food_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
545 txt_203_food_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
546 txt_203_food_unit->labeltype(FL_NORMAL_LABEL);
547 txt_203_food_unit->labelfont(0);
548 txt_203_food_unit->labelsize(14);
549 txt_203_food_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
550 txt_203_food_unit->align(FL_ALIGN_LEFT);
551 txt_203_food_unit->callback(ics_changed);
552 txt_203_food_unit->when(FL_WHEN_CHANGED);
553 o->end();
554 } // Fl_Group* o
555 o->end();
556 } // Fl_Group* o
557 tab_203_logistics->end();
558 } // Fl_Group* tab_203_logistics
559 { // tab_203_opsA
560 tab_203_opsA = new Fl_Group(0, Y+25, 570, 360, _("Ops A"));
561 tab_203_opsA->hide();
562 { Fl_Group* o = new Fl_Group(2, Y+32, 566, 318);
563 o->box(FL_ENGRAVED_FRAME);
564 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
565 { txt_203_ops_chief = new Fl_Input2(132, Y+41, 425, 24, _("Chief"));
566 txt_203_ops_chief->tooltip(_(" "));
567 txt_203_ops_chief->box(FL_DOWN_BOX);
568 txt_203_ops_chief->color((Fl_Color)FL_BACKGROUND2_COLOR);
569 txt_203_ops_chief->selection_color((Fl_Color)FL_SELECTION_COLOR);
570 txt_203_ops_chief->labeltype(FL_NORMAL_LABEL);
571 txt_203_ops_chief->labelfont(0);
572 txt_203_ops_chief->labelsize(14);
573 txt_203_ops_chief->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
574 txt_203_ops_chief->align(FL_ALIGN_LEFT);
575 txt_203_ops_chief->callback(ics_changed);
576 txt_203_ops_chief->when(FL_WHEN_CHANGED);
577 } // Fl_Input2* txt_203_ops_chief
578 { txt_203_ops_deputy = new Fl_Input2(132, Y+68, 425, 24, _("Deputy"));
579 txt_203_ops_deputy->tooltip(_(" "));
580 txt_203_ops_deputy->box(FL_DOWN_BOX);
581 txt_203_ops_deputy->color((Fl_Color)FL_BACKGROUND2_COLOR);
582 txt_203_ops_deputy->selection_color((Fl_Color)FL_SELECTION_COLOR);
583 txt_203_ops_deputy->labeltype(FL_NORMAL_LABEL);
584 txt_203_ops_deputy->labelfont(0);
585 txt_203_ops_deputy->labelsize(14);
586 txt_203_ops_deputy->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
587 txt_203_ops_deputy->align(FL_ALIGN_LEFT);
588 txt_203_ops_deputy->callback(ics_changed);
589 txt_203_ops_deputy->when(FL_WHEN_CHANGED);
590 } // Fl_Input2* txt_203_ops_deputy
591 { Fl_Group* o = new Fl_Group(6, Y+96, 558, 248, _("Branch I - Division/Groups"));
592 o->box(FL_THIN_DOWN_FRAME);
593 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
594 { txt_203_b1_director = new Fl_Input2(132, Y+120, 425, 24, _("Branch Director"));
595 txt_203_b1_director->tooltip(_(" "));
596 txt_203_b1_director->box(FL_DOWN_BOX);
597 txt_203_b1_director->color((Fl_Color)FL_BACKGROUND2_COLOR);
598 txt_203_b1_director->selection_color((Fl_Color)FL_SELECTION_COLOR);
599 txt_203_b1_director->labeltype(FL_NORMAL_LABEL);
600 txt_203_b1_director->labelfont(0);
601 txt_203_b1_director->labelsize(14);
602 txt_203_b1_director->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
603 txt_203_b1_director->align(FL_ALIGN_LEFT);
604 txt_203_b1_director->callback(ics_changed);
605 txt_203_b1_director->when(FL_WHEN_CHANGED);
606 } // Fl_Input2* txt_203_b1_director
607 { txt_203_b1_deputy = new Fl_Input2(133, Y+151, 425, 24, _("Deputy"));
608 txt_203_b1_deputy->tooltip(_(" "));
609 txt_203_b1_deputy->box(FL_DOWN_BOX);
610 txt_203_b1_deputy->color((Fl_Color)FL_BACKGROUND2_COLOR);
611 txt_203_b1_deputy->selection_color((Fl_Color)FL_SELECTION_COLOR);
612 txt_203_b1_deputy->labeltype(FL_NORMAL_LABEL);
613 txt_203_b1_deputy->labelfont(0);
614 txt_203_b1_deputy->labelsize(14);
615 txt_203_b1_deputy->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
616 txt_203_b1_deputy->align(FL_ALIGN_LEFT);
617 txt_203_b1_deputy->callback(ics_changed);
618 txt_203_b1_deputy->when(FL_WHEN_CHANGED);
619 } // Fl_Input2* txt_203_b1_deputy
620 for (int i = 0; i < 5; i++) {
621 // Fl_Input2* txt_203_b1_div[i]
622 txt_203_b1_div[i] = new Fl_Input2(134, Y+180 + i*23, 161, 24, i == 0 ? _("Division / Group"):"");
623 txt_203_b1_div[i]->tooltip(_("division"));
624 txt_203_b1_div[i]->box(FL_DOWN_BOX);
625 txt_203_b1_div[i]->color((Fl_Color)FL_BACKGROUND2_COLOR);
626 txt_203_b1_div[i]->selection_color((Fl_Color)FL_SELECTION_COLOR);
627 txt_203_b1_div[i]->labeltype(FL_NORMAL_LABEL);
628 txt_203_b1_div[i]->labelfont(0);
629 txt_203_b1_div[i]->labelsize(14);
630 txt_203_b1_div[i]->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
631 txt_203_b1_div[i]->align(FL_ALIGN_LEFT);
632 txt_203_b1_div[i]->callback(ics_changed);
633 txt_203_b1_div[i]->when(FL_WHEN_CHANGED);
634 // Fl_Input2* txt_203_b1_grp[i]
635 txt_203_b1_grp[i] = new Fl_Input2(297, Y+180 + i*23, 261, 24);
636 txt_203_b1_grp[i]->tooltip(_("group"));
637 txt_203_b1_grp[i]->box(FL_DOWN_BOX);
638 txt_203_b1_grp[i]->color((Fl_Color)FL_BACKGROUND2_COLOR);
639 txt_203_b1_grp[i]->selection_color((Fl_Color)FL_SELECTION_COLOR);
640 txt_203_b1_grp[i]->labeltype(FL_NORMAL_LABEL);
641 txt_203_b1_grp[i]->labelfont(0);
642 txt_203_b1_grp[i]->labelsize(14);
643 txt_203_b1_grp[i]->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
644 txt_203_b1_grp[i]->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
645 txt_203_b1_grp[i]->callback(ics_changed);
646 txt_203_b1_grp[i]->when(FL_WHEN_CHANGED);
647 }
648 o->end();
649 } // Fl_Group* o
650 o->end();
651 } // Fl_Group* o
652 tab_203_opsA->end();
653 } // Fl_Group* tab_203_opsA
654 { // tab_203_opsB
655 tab_203_opsB = new Fl_Group(0, Y+25, 570, 360, _("Ops B"));
656 tab_203_opsB->hide();
657 { Fl_Group* o = new Fl_Group(2, Y+32, 566, 318, _("Branch II - Divisions/Groups"));
658 o->box(FL_ENGRAVED_FRAME);
659 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
660 { Fl_Group* o = new Fl_Group(6, Y+57, 558, 248);
661 o->box(FL_THIN_DOWN_FRAME);
662 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
663 { txt_203_b2_director = new Fl_Input2(132, Y+73, 425, 24, _("Branch Director"));
664 txt_203_b2_director->tooltip(_("Director"));
665 txt_203_b2_director->box(FL_DOWN_BOX);
666 txt_203_b2_director->color((Fl_Color)FL_BACKGROUND2_COLOR);
667 txt_203_b2_director->selection_color((Fl_Color)FL_SELECTION_COLOR);
668 txt_203_b2_director->labeltype(FL_NORMAL_LABEL);
669 txt_203_b2_director->labelfont(0);
670 txt_203_b2_director->labelsize(14);
671 txt_203_b2_director->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
672 txt_203_b2_director->align(FL_ALIGN_LEFT);
673 txt_203_b2_director->callback(ics_changed);
674 txt_203_b2_director->when(FL_WHEN_CHANGED);
675 } // Fl_Input2* txt_203_b2_director
676 { txt_203_b2_deputy = new Fl_Input2(132, Y+104, 425, 24, _("Deputy"));
677 txt_203_b2_deputy->tooltip(_("Deputy"));
678 txt_203_b2_deputy->box(FL_DOWN_BOX);
679 txt_203_b2_deputy->color((Fl_Color)FL_BACKGROUND2_COLOR);
680 txt_203_b2_deputy->selection_color((Fl_Color)FL_SELECTION_COLOR);
681 txt_203_b2_deputy->labeltype(FL_NORMAL_LABEL);
682 txt_203_b2_deputy->labelfont(0);
683 txt_203_b2_deputy->labelsize(14);
684 txt_203_b2_deputy->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
685 txt_203_b2_deputy->align(FL_ALIGN_LEFT);
686 txt_203_b2_deputy->callback(ics_changed);
687 txt_203_b2_deputy->when(FL_WHEN_CHANGED);
688 } // Fl_Input2* txt_203_b2_deputy
689 for (int i = 0; i < 5; i++) {
690 txt_203_b2_div[i] = new Fl_Input2(132, Y+133 + i*33, 161, 24, _("Division / Group"));
691 txt_203_b2_div[i]->tooltip(_("division"));
692 txt_203_b2_div[i]->box(FL_DOWN_BOX);
693 txt_203_b2_div[i]->color((Fl_Color)FL_BACKGROUND2_COLOR);
694 txt_203_b2_div[i]->selection_color((Fl_Color)FL_SELECTION_COLOR);
695 txt_203_b2_div[i]->labeltype(FL_NORMAL_LABEL);
696 txt_203_b2_div[i]->labelfont(0);
697 txt_203_b2_div[i]->labelsize(14);
698 txt_203_b2_div[i]->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
699 txt_203_b2_div[i]->align(FL_ALIGN_LEFT);
700 txt_203_b2_div[i]->callback(ics_changed);
701 txt_203_b2_div[i]->when(FL_WHEN_CHANGED);
702 // Fl_Input2* txt_203_b2_div[i]
703 txt_203_b2_grp[i] = new Fl_Input2(295, Y+133 + i*33, 261, 24);
704 txt_203_b2_grp[i]->tooltip(_("group"));
705 txt_203_b2_grp[i]->box(FL_DOWN_BOX);
706 txt_203_b2_grp[i]->color((Fl_Color)FL_BACKGROUND2_COLOR);
707 txt_203_b2_grp[i]->selection_color((Fl_Color)FL_SELECTION_COLOR);
708 txt_203_b2_grp[i]->labeltype(FL_NORMAL_LABEL);
709 txt_203_b2_grp[i]->labelfont(0);
710 txt_203_b2_grp[i]->labelsize(14);
711 txt_203_b2_grp[i]->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
712 txt_203_b2_grp[i]->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
713 txt_203_b2_grp[i]->callback(ics_changed);
714 txt_203_b2_grp[i]->when(FL_WHEN_CHANGED);
715 } // Fl_Input2* txt_203_b2_grp[i]
716 o->end();
717 } // Fl_Group* o
718 o->end();
719 } // Fl_Group* o
720 tab_203_opsB->end();
721 } // Fl_Group* tab_203_opsB
722 { // tab_203_opsC
723 tab_203_opsC = new Fl_Group(0, Y+25, 570, 360, _("OPs C"));
724 tab_203_opsC->hide();
725 { Fl_Group* o = new Fl_Group(2, Y+32, 566, 318, _("Branch III - Divisions/Groups"));
726 o->box(FL_ENGRAVED_FRAME);
727 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
728 { Fl_Group* o = new Fl_Group(6, Y+57, 558, 248);
729 o->box(FL_THIN_DOWN_FRAME);
730 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
731 { txt_203_b3_director = new Fl_Input2(132, Y+73, 425, 24, _("Branch Director"));
732 txt_203_b3_director->tooltip(_(" "));
733 txt_203_b3_director->box(FL_DOWN_BOX);
734 txt_203_b3_director->color((Fl_Color)FL_BACKGROUND2_COLOR);
735 txt_203_b3_director->selection_color((Fl_Color)FL_SELECTION_COLOR);
736 txt_203_b3_director->labeltype(FL_NORMAL_LABEL);
737 txt_203_b3_director->labelfont(0);
738 txt_203_b3_director->labelsize(14);
739 txt_203_b3_director->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
740 txt_203_b3_director->align(FL_ALIGN_LEFT);
741 txt_203_b3_director->callback(ics_changed);
742 txt_203_b3_director->when(FL_WHEN_CHANGED);
743 } // Fl_Input2* txt_203_b3_director
744 { txt_203_b3_deputy = new Fl_Input2(132, Y+104, 425, 24, _("Deputy"));
745 txt_203_b3_deputy->tooltip(_("Deputy"));
746 txt_203_b3_deputy->box(FL_DOWN_BOX);
747 txt_203_b3_deputy->color((Fl_Color)FL_BACKGROUND2_COLOR);
748 txt_203_b3_deputy->selection_color((Fl_Color)FL_SELECTION_COLOR);
749 txt_203_b3_deputy->labeltype(FL_NORMAL_LABEL);
750 txt_203_b3_deputy->labelfont(0);
751 txt_203_b3_deputy->labelsize(14);
752 txt_203_b3_deputy->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
753 txt_203_b3_deputy->align(FL_ALIGN_LEFT);
754 txt_203_b3_deputy->callback(ics_changed);
755 txt_203_b3_deputy->when(FL_WHEN_CHANGED);
756 } // Fl_Input2* txt_203_b3_deputy
757 for (int i = 0; i < 5; i++) {
758 txt_203_b3_div[i] = new Fl_Input2(132, Y+133, 161, 24, _("Division / Group"));
759 txt_203_b3_div[i]->tooltip(_("Division"));
760 txt_203_b3_div[i]->box(FL_DOWN_BOX);
761 txt_203_b3_div[i]->color((Fl_Color)FL_BACKGROUND2_COLOR);
762 txt_203_b3_div[i]->selection_color((Fl_Color)FL_SELECTION_COLOR);
763 txt_203_b3_div[i]->labeltype(FL_NORMAL_LABEL);
764 txt_203_b3_div[i]->labelfont(0);
765 txt_203_b3_div[i]->labelsize(14);
766 txt_203_b3_div[i]->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
767 txt_203_b3_div[i]->align(FL_ALIGN_LEFT);
768 txt_203_b3_div[i]->callback(ics_changed);
769 txt_203_b3_div[i]->when(FL_WHEN_CHANGED);
770 // Fl_Input2* txt_203_b3_div[i]
771 txt_203_b3_grp[i] = new Fl_Input2(295, Y+133, 261, 24);
772 txt_203_b3_grp[i]->tooltip(_("Group"));
773 txt_203_b3_grp[i]->box(FL_DOWN_BOX);
774 txt_203_b3_grp[i]->color((Fl_Color)FL_BACKGROUND2_COLOR);
775 txt_203_b3_grp[i]->selection_color((Fl_Color)FL_SELECTION_COLOR);
776 txt_203_b3_grp[i]->labeltype(FL_NORMAL_LABEL);
777 txt_203_b3_grp[i]->labelfont(0);
778 txt_203_b3_grp[i]->labelsize(14);
779 txt_203_b3_grp[i]->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
780 txt_203_b3_grp[i]->callback(ics_changed);
781 txt_203_b3_grp[i]->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
782 txt_203_b3_grp[i]->when(FL_WHEN_CHANGED);
783 } // Fl_Input2* txt_203_b3_grp[i]
784 o->end();
785 } // Fl_Group* o
786 o->end();
787 } // Fl_Group* o
788 tab_203_opsC->end();
789 } // Fl_Group* tab_203_opsC
790 { // tab_203_opsD
791 tab_203_opsD = new Fl_Group(0, Y+25, 570, 360, _("OPs D"));
792 tab_203_opsD->hide();
793 { Fl_Group* o = new Fl_Group(2, Y+32, 566, 318, _("Air Operations Branch"));
794 o->box(FL_ENGRAVED_FRAME);
795 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
796 { Fl_Group* o = new Fl_Group(6, Y+60, 558, 183);
797 o->box(FL_THIN_DOWN_FRAME);
798 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
799 { txt_203_air_ops_br_dir = new Fl_Input2(228, Y+76, 300, 24, _("Air Operations Br. Dir."));
800 txt_203_air_ops_br_dir->tooltip(_(" "));
801 txt_203_air_ops_br_dir->box(FL_DOWN_BOX);
802 txt_203_air_ops_br_dir->color((Fl_Color)FL_BACKGROUND2_COLOR);
803 txt_203_air_ops_br_dir->selection_color((Fl_Color)FL_SELECTION_COLOR);
804 txt_203_air_ops_br_dir->labeltype(FL_NORMAL_LABEL);
805 txt_203_air_ops_br_dir->labelfont(0);
806 txt_203_air_ops_br_dir->labelsize(14);
807 txt_203_air_ops_br_dir->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
808 txt_203_air_ops_br_dir->align(FL_ALIGN_LEFT);
809 txt_203_air_ops_br_dir->callback(ics_changed);
810 txt_203_air_ops_br_dir->when(FL_WHEN_CHANGED);
811 } // Fl_Input2* txt_203_air_ops_br_dir
812 { txt_203_air_tactical_group_sup = new Fl_Input2(228, Y+107, 300, 24, _("Air Tactical Group Sup."));
813 txt_203_air_tactical_group_sup->tooltip(_(" "));
814 txt_203_air_tactical_group_sup->box(FL_DOWN_BOX);
815 txt_203_air_tactical_group_sup->color((Fl_Color)FL_BACKGROUND2_COLOR);
816 txt_203_air_tactical_group_sup->selection_color((Fl_Color)FL_SELECTION_COLOR);
817 txt_203_air_tactical_group_sup->labeltype(FL_NORMAL_LABEL);
818 txt_203_air_tactical_group_sup->labelfont(0);
819 txt_203_air_tactical_group_sup->labelsize(14);
820 txt_203_air_tactical_group_sup->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
821 txt_203_air_tactical_group_sup->align(FL_ALIGN_LEFT);
822 txt_203_air_tactical_group_sup->callback(ics_changed);
823 txt_203_air_tactical_group_sup->when(FL_WHEN_CHANGED);
824 } // Fl_Input2* txt_203_air_tactical_group_sup
825 { txt_203_air_support_group_sup = new Fl_Input2(228, Y+136, 300, 24, _("Air Support Group Sup."));
826 txt_203_air_support_group_sup->tooltip(_(" "));
827 txt_203_air_support_group_sup->box(FL_DOWN_BOX);
828 txt_203_air_support_group_sup->color((Fl_Color)FL_BACKGROUND2_COLOR);
829 txt_203_air_support_group_sup->selection_color((Fl_Color)FL_SELECTION_COLOR);
830 txt_203_air_support_group_sup->labeltype(FL_NORMAL_LABEL);
831 txt_203_air_support_group_sup->labelfont(0);
832 txt_203_air_support_group_sup->labelsize(14);
833 txt_203_air_support_group_sup->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
834 txt_203_air_support_group_sup->align(FL_ALIGN_LEFT);
835 txt_203_air_support_group_sup->callback(ics_changed);
836 txt_203_air_support_group_sup->when(FL_WHEN_CHANGED);
837 } // Fl_Input2* txt_203_air_support_group_sup
838 { txt_203_helicopter_coordinator = new Fl_Input2(228, Y+169, 300, 24, _("Helicopter Coordinator"));
839 txt_203_helicopter_coordinator->tooltip(_(" "));
840 txt_203_helicopter_coordinator->box(FL_DOWN_BOX);
841 txt_203_helicopter_coordinator->color((Fl_Color)FL_BACKGROUND2_COLOR);
842 txt_203_helicopter_coordinator->selection_color((Fl_Color)FL_SELECTION_COLOR);
843 txt_203_helicopter_coordinator->labeltype(FL_NORMAL_LABEL);
844 txt_203_helicopter_coordinator->labelfont(0);
845 txt_203_helicopter_coordinator->labelsize(14);
846 txt_203_helicopter_coordinator->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
847 txt_203_helicopter_coordinator->align(FL_ALIGN_LEFT);
848 txt_203_helicopter_coordinator->callback(ics_changed);
849 txt_203_helicopter_coordinator->when(FL_WHEN_CHANGED);
850 } // Fl_Input2* txt_203_helicopter_coordinator
851 { txt_203_air_tanker_fixed_wing = new Fl_Input2(228, Y+203, 300, 24, _("Air Tanker / Fixed Wing Crd."));
852 txt_203_air_tanker_fixed_wing->tooltip(_(" "));
853 txt_203_air_tanker_fixed_wing->box(FL_DOWN_BOX);
854 txt_203_air_tanker_fixed_wing->color((Fl_Color)FL_BACKGROUND2_COLOR);
855 txt_203_air_tanker_fixed_wing->selection_color((Fl_Color)FL_SELECTION_COLOR);
856 txt_203_air_tanker_fixed_wing->labeltype(FL_NORMAL_LABEL);
857 txt_203_air_tanker_fixed_wing->labelfont(0);
858 txt_203_air_tanker_fixed_wing->labelsize(14);
859 txt_203_air_tanker_fixed_wing->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
860 txt_203_air_tanker_fixed_wing->align(FL_ALIGN_LEFT);
861 txt_203_air_tanker_fixed_wing->callback(ics_changed);
862 txt_203_air_tanker_fixed_wing->when(FL_WHEN_CHANGED);
863 } // Fl_Input2* txt_203_air_tanker_fixed_wing
864 o->end();
865 } // Fl_Group* o
866 o->end();
867 } // Fl_Group* o
868 tab_203_opsD->end();
869 } // Fl_Group* tab_203_opsD
870 { // tab_203_admin
871 tab_203_admin = new Fl_Group(0, Y+25, 570, 326, _("Admin"));
872 tab_203_admin->hide();
873 { Fl_Group* o = new Fl_Group(2, Y+32, 566, 318, _("Finance/Admin Section"));
874 o->box(FL_ENGRAVED_FRAME);
875 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
876 { Fl_Group* o = new Fl_Group(6, Y+62, 558, 215);
877 o->box(FL_THIN_DOWN_FRAME);
878 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
879 { txt_203_finance_chief = new Fl_Input2(230, Y+78, 300, 24, _("Chief"));
880 txt_203_finance_chief->tooltip(_(" "));
881 txt_203_finance_chief->box(FL_DOWN_BOX);
882 txt_203_finance_chief->color((Fl_Color)FL_BACKGROUND2_COLOR);
883 txt_203_finance_chief->selection_color((Fl_Color)FL_SELECTION_COLOR);
884 txt_203_finance_chief->labeltype(FL_NORMAL_LABEL);
885 txt_203_finance_chief->labelfont(0);
886 txt_203_finance_chief->labelsize(14);
887 txt_203_finance_chief->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
888 txt_203_finance_chief->align(FL_ALIGN_LEFT);
889 txt_203_finance_chief->callback(ics_changed);
890 txt_203_finance_chief->when(FL_WHEN_CHANGED);
891 } // Fl_Input2* txt_203_finance_chief
892 { txt_203_finance_deputy = new Fl_Input2(230, Y+110, 300, 24, _("Deputy"));
893 txt_203_finance_deputy->tooltip(_(" "));
894 txt_203_finance_deputy->box(FL_DOWN_BOX);
895 txt_203_finance_deputy->color((Fl_Color)FL_BACKGROUND2_COLOR);
896 txt_203_finance_deputy->selection_color((Fl_Color)FL_SELECTION_COLOR);
897 txt_203_finance_deputy->labeltype(FL_NORMAL_LABEL);
898 txt_203_finance_deputy->labelfont(0);
899 txt_203_finance_deputy->labelsize(14);
900 txt_203_finance_deputy->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
901 txt_203_finance_deputy->align(FL_ALIGN_LEFT);
902 txt_203_finance_deputy->callback(ics_changed);
903 txt_203_finance_deputy->when(FL_WHEN_CHANGED);
904 } // Fl_Input2* txt_203_finance_deputy
905 { txt_203_time_unit = new Fl_Input2(230, Y+142, 300, 24, _("Time Unit"));
906 txt_203_time_unit->tooltip(_(" "));
907 txt_203_time_unit->box(FL_DOWN_BOX);
908 txt_203_time_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
909 txt_203_time_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
910 txt_203_time_unit->labeltype(FL_NORMAL_LABEL);
911 txt_203_time_unit->labelfont(0);
912 txt_203_time_unit->labelsize(14);
913 txt_203_time_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
914 txt_203_time_unit->align(FL_ALIGN_LEFT);
915 txt_203_time_unit->callback(ics_changed);
916 txt_203_time_unit->when(FL_WHEN_CHANGED);
917 } // Fl_Input2* txt_203_time_unit
918 { txt_203_procurement_unit = new Fl_Input2(230, Y+174, 300, 24, _("Procurement Unit"));
919 txt_203_procurement_unit->tooltip(_(" "));
920 txt_203_procurement_unit->box(FL_DOWN_BOX);
921 txt_203_procurement_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
922 txt_203_procurement_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
923 txt_203_procurement_unit->labeltype(FL_NORMAL_LABEL);
924 txt_203_procurement_unit->labelfont(0);
925 txt_203_procurement_unit->labelsize(14);
926 txt_203_procurement_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
927 txt_203_procurement_unit->align(FL_ALIGN_LEFT);
928 txt_203_procurement_unit->callback(ics_changed);
929 txt_203_procurement_unit->when(FL_WHEN_CHANGED);
930 } // Fl_Input2* txt_203_procurement_unit
931 { txt_203_claims_unit = new Fl_Input2(230, Y+206, 300, 24, _("Compensation / Claims Unit"));
932 txt_203_claims_unit->tooltip(_(" "));
933 txt_203_claims_unit->box(FL_DOWN_BOX);
934 txt_203_claims_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
935 txt_203_claims_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
936 txt_203_claims_unit->labeltype(FL_NORMAL_LABEL);
937 txt_203_claims_unit->labelfont(0);
938 txt_203_claims_unit->labelsize(14);
939 txt_203_claims_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
940 txt_203_claims_unit->align(FL_ALIGN_LEFT);
941 txt_203_claims_unit->callback(ics_changed);
942 txt_203_claims_unit->when(FL_WHEN_CHANGED);
943 } // Fl_Input2* txt_203_claims_unit
944 { txt_203_cost_unit = new Fl_Input2(230, Y+238, 300, 24, _("Cost Unit"));
945 txt_203_cost_unit->tooltip(_(" "));
946 txt_203_cost_unit->box(FL_DOWN_BOX);
947 txt_203_cost_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
948 txt_203_cost_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
949 txt_203_cost_unit->labeltype(FL_NORMAL_LABEL);
950 txt_203_cost_unit->labelfont(0);
951 txt_203_cost_unit->labelsize(14);
952 txt_203_cost_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
953 txt_203_cost_unit->align(FL_ALIGN_LEFT);
954 txt_203_cost_unit->callback(ics_changed);
955 txt_203_cost_unit->when(FL_WHEN_CHANGED);
956 } // Fl_Input2* txt_203_cost_unit
957 o->end();
958 } // Fl_Group* o
959 o->end();
960 } // Fl_Group* o
961 tab_203_admin->end();
962 } // Fl_Group* tab_203_admin
963 tab_ics203_type->end();
964 Fl_Group::current()->resizable(tab_ics203_type);
965 tab_ics203->end();
966
967 tab_ics203->hide();
968 } // Fl_Group* tab_ics203
969