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_hics203 = (Fl_Group *)0;
29
30 Fl_Tabs *tab_hics203_type = (Fl_Tabs *)0;
31
32 Fl_Group *tab_hics203_1 = (Fl_Group *)0;
33 Fl_Input2 *txt_hics203_incident = (Fl_Input2 *)0;
34 Fl_Input2 *txt_hics203_date = (Fl_Input2 *)0;
35 Fl_Button *btn_hics203_date = (Fl_Button *)0;
36 Fl_Input2 *txt_hics203_time = (Fl_Input2 *)0;
37 Fl_Button *btn_hics203_time = (Fl_Button *)0;
38 Fl_Input2 *txt_hics203_op_period = (Fl_Input2 *)0;
39
40 Fl_Input2 *txt_hics203_incident_commander = (Fl_Input2 *)0;
41 Fl_Input2 *txt_hics203_incident_safety_officer = (Fl_Input2 *)0;
42 Fl_Input2 *txt_hics203_incident_info_officer = (Fl_Input2 *)0;
43 Fl_Input2 *txt_hics203_liaison_officer = (Fl_Input2 *)0;
44 Fl_Input2 *txt_hics203_prepared_by = (Fl_Input2 *)0;
45 Fl_Input2 *txt_hics203_facility = (Fl_Input2 *)0;
46
47 Fl_Group *tab_hics203_tech_spec = (Fl_Group *)0;
48 Fl_Input2 *txt_hics203_tech_spc[6]={(Fl_Input2 *)0};
49
50 Fl_Group *tab_hics203_planning = (Fl_Group *)0;
51 Fl_Input2 *txt_hics203_planning_chief = (Fl_Input2 *)0;
52 Fl_Input2 *txt_hics203_planning_other = (Fl_Input2 *)0;
53 Fl_Input2 *txt_hics203_res_unit = (Fl_Input2 *)0;
54 Fl_Input2 *txt_hics203_sit_unit = (Fl_Input2 *)0;
55 Fl_Input2 *txt_hics203_doc_unit = (Fl_Input2 *)0;
56 Fl_Input2 *txt_hics203_dem_unit = (Fl_Input2 *)0;
57
58 Fl_Group *tab_hics203_logisthics = (Fl_Group *)0;
59 Fl_Input2 *txt_hics203_log_chief = (Fl_Input2 *)0;
60 Fl_Input2 *txt_hics203_log_other = (Fl_Input2 *)0;
61 Fl_Input2 *txt_hics203_log_sup_brch = (Fl_Input2 *)0;
62
63 Fl_Group *tab_hics203_ops = (Fl_Group *)0;
64 Fl_Input2 *txt_hics203_ops_chief = (Fl_Input2 *)0;
65 Fl_Input2 *txt_hics203_bus_brch = (Fl_Input2 *)0;
66 Fl_Input2 *txt_hics203_stg_mgr = (Fl_Input2 *)0;
67 Fl_Input2 *txt_hics203_med_care_brch = (Fl_Input2 *)0;
68 Fl_Input2 *txt_hics203_infr_brch = (Fl_Input2 *)0;
69 Fl_Input2 *txt_hics203_sec_brch = (Fl_Input2 *)0;
70 Fl_Input2 *txt_hics203_hazmat_brch = (Fl_Input2 *)0;
71 Fl_Input2 *txt_hics203_ops_other = (Fl_Input2 *)0;
72
73 Fl_Input2 *txt_hics203_hcc_agency = (Fl_Input2 *)0;
74 Fl_Input2 *txt_hics203_svc_brch = (Fl_Input2 *)0;
75 Fl_Input2 *txt_hics203_hcc_rep = (Fl_Input2 *)0;
76 Fl_Input2 *txt_hics203_ext_loc = (Fl_Input2 *)0;
77 Fl_Input2 *txt_hics203_ext_rep = (Fl_Input2 *)0;
78
79 Fl_Group *tab_hics203_admin = (Fl_Group *)0;
80 Fl_Input2 *txt_hics203_fin_chief = (Fl_Input2 *)0;
81 Fl_Input2 *txt_hics203_fin_other = (Fl_Input2 *)0;
82 Fl_Input2 *txt_hics203_time_unit = (Fl_Input2 *)0;
83 Fl_Input2 *txt_hics203_proc_unit = (Fl_Input2 *)0;
84 Fl_Input2 *txt_hics203_comp_unit = (Fl_Input2 *)0;
85 Fl_Input2 *txt_hics203_cost_unit = (Fl_Input2 *)0;
86
cb_btn_hics203_date(Fl_Button *,void *)87 static void cb_btn_hics203_date(Fl_Button*, void*) {
88 cb_hics203_set_date();
89 }
90
cb_btn_hics203_time(Fl_Button *,void *)91 static void cb_btn_hics203_time(Fl_Button*, void*) {
92 cb_hics203_set_time();
93 }
94
create_hics203_tab()95 void create_hics203_tab()
96 {
97 int Y = tab_top;
98 tab_hics203 = new Fl_Group(0, Y, 570, 390);
99 tab_hics203->align(FL_ALIGN_TOP);
100
101 tab_hics203_type = new Fl_Tabs(0, Y, 570, 387);
102 tab_hics203_type->selection_color((Fl_Color)246);
103
104 { // tab_hics203_orglist
105 tab_hics203_1 = new Fl_Group(0, Y+25, 570, 360, _("Org"));
106 { // group_hics203_orglist_1
107 Fl_Group* group_hics203_orglist_1 = new Fl_Group(2, Y+31, 566, 115);
108 group_hics203_orglist_1->box(FL_ENGRAVED_FRAME);
109 group_hics203_orglist_1->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
110
111 txt_hics203_incident = new Fl_Input2(135, Y+36, 425, 24, _("1. Incident Name"));
112 txt_hics203_incident->tooltip(_("Incident name"));
113 txt_hics203_incident->box(FL_DOWN_BOX);
114 txt_hics203_incident->color((Fl_Color)FL_BACKGROUND2_COLOR);
115 txt_hics203_incident->selection_color((Fl_Color)FL_SELECTION_COLOR);
116 txt_hics203_incident->labeltype(FL_NORMAL_LABEL);
117 txt_hics203_incident->labelfont(0);
118 txt_hics203_incident->labelsize(14);
119 txt_hics203_incident->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
120 txt_hics203_incident->align(FL_ALIGN_LEFT);
121 txt_hics203_incident->callback(hics_changed);
122 txt_hics203_incident->when(FL_WHEN_CHANGED);
123
124 txt_hics203_date = new Fl_Input2(135, Y+62, 155, 24, _("2. Date Prepared"));
125 txt_hics203_date->tooltip(_("Date prepared"));
126 txt_hics203_date->box(FL_DOWN_BOX);
127 txt_hics203_date->color((Fl_Color)FL_BACKGROUND2_COLOR);
128 txt_hics203_date->selection_color((Fl_Color)FL_SELECTION_COLOR);
129 txt_hics203_date->labeltype(FL_NORMAL_LABEL);
130 txt_hics203_date->labelfont(0);
131 txt_hics203_date->labelsize(14);
132 txt_hics203_date->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
133 txt_hics203_date->align(FL_ALIGN_LEFT);
134 txt_hics203_date->callback(hics_changed);
135 txt_hics203_date->when(FL_WHEN_CHANGED);
136
137 btn_hics203_date = new Fl_Button(294, Y+64, 20, 20, _("..."));
138 btn_hics203_date->tooltip(_("Set today"));
139 btn_hics203_date->callback((Fl_Callback*)cb_btn_hics203_date);
140
141 txt_hics203_time = new Fl_Input2(135, Y+88, 103, 24, _("3. Time Prepared"));
142 txt_hics203_time->tooltip(_("Time prepared"));
143 txt_hics203_time->box(FL_DOWN_BOX);
144 txt_hics203_time->color((Fl_Color)FL_BACKGROUND2_COLOR);
145 txt_hics203_time->selection_color((Fl_Color)FL_SELECTION_COLOR);
146 txt_hics203_time->labeltype(FL_NORMAL_LABEL);
147 txt_hics203_time->labelfont(0);
148 txt_hics203_time->labelsize(14);
149 txt_hics203_time->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
150 txt_hics203_time->align(FL_ALIGN_LEFT);
151 txt_hics203_time->callback(hics_changed);
152 txt_hics203_time->when(FL_WHEN_CHANGED);
153
154 btn_hics203_time = new Fl_Button(247, Y+90, 20, 20, _("..."));
155 btn_hics203_time->tooltip(_("Set time now"));
156 btn_hics203_time->callback((Fl_Callback*)cb_btn_hics203_time);
157
158 txt_hics203_op_period = new Fl_Input2(135, Y+116, 425, 24, _("4. Oper\' Period"));
159 txt_hics203_op_period->tooltip(_("Date / Time"));
160 txt_hics203_op_period->box(FL_DOWN_BOX);
161 txt_hics203_op_period->color((Fl_Color)FL_BACKGROUND2_COLOR);
162 txt_hics203_op_period->selection_color((Fl_Color)FL_SELECTION_COLOR);
163 txt_hics203_op_period->labeltype(FL_NORMAL_LABEL);
164 txt_hics203_op_period->labelfont(0);
165 txt_hics203_op_period->labelsize(14);
166 txt_hics203_op_period->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
167 txt_hics203_op_period->align(FL_ALIGN_LEFT);
168 txt_hics203_op_period->callback(hics_changed);
169 txt_hics203_op_period->when(FL_WHEN_CHANGED);
170
171 group_hics203_orglist_1->end();
172 } // group_hics203_orglist_1
173
174 { // group_hics203_orglist_2
175 Fl_Group* group_hics203_orglist_2 = new Fl_Group(2, Y+147, 566, 138, "");
176 group_hics203_orglist_2->box(FL_ENGRAVED_FRAME);
177 group_hics203_orglist_2->align(FL_ALIGN_TOP|FL_ALIGN_INSIDE);
178
179 txt_hics203_incident_commander = new Fl_Input2(133, Y+152, 425, 24, _("Commander"));
180 txt_hics203_incident_commander->tooltip(_("name"));
181 txt_hics203_incident_commander->box(FL_DOWN_BOX);
182 txt_hics203_incident_commander->color((Fl_Color)FL_BACKGROUND2_COLOR);
183 txt_hics203_incident_commander->selection_color((Fl_Color)FL_SELECTION_COLOR);
184 txt_hics203_incident_commander->labeltype(FL_NORMAL_LABEL);
185 txt_hics203_incident_commander->labelfont(0);
186 txt_hics203_incident_commander->labelsize(14);
187 txt_hics203_incident_commander->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
188 txt_hics203_incident_commander->align(FL_ALIGN_LEFT);
189 txt_hics203_incident_commander->callback(hics_changed);
190 txt_hics203_incident_commander->when(FL_WHEN_CHANGED);
191
192 txt_hics203_incident_safety_officer = new Fl_Input2(133, Y+178, 425, 24, _("Safety Officer"));
193 txt_hics203_incident_safety_officer->tooltip(_("name"));
194 txt_hics203_incident_safety_officer->box(FL_DOWN_BOX);
195 txt_hics203_incident_safety_officer->color((Fl_Color)FL_BACKGROUND2_COLOR);
196 txt_hics203_incident_safety_officer->selection_color((Fl_Color)FL_SELECTION_COLOR);
197 txt_hics203_incident_safety_officer->labeltype(FL_NORMAL_LABEL);
198 txt_hics203_incident_safety_officer->labelfont(0);
199 txt_hics203_incident_safety_officer->labelsize(14);
200 txt_hics203_incident_safety_officer->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
201 txt_hics203_incident_safety_officer->align(FL_ALIGN_LEFT);
202 txt_hics203_incident_safety_officer->callback(hics_changed);
203 txt_hics203_incident_safety_officer->when(FL_WHEN_CHANGED);
204
205 txt_hics203_incident_info_officer = new Fl_Input2(133, Y+205, 425, 24, _("Information Off\'"));
206 txt_hics203_incident_info_officer->tooltip(_("name"));
207 txt_hics203_incident_info_officer->box(FL_DOWN_BOX);
208 txt_hics203_incident_info_officer->color((Fl_Color)FL_BACKGROUND2_COLOR);
209 txt_hics203_incident_info_officer->selection_color((Fl_Color)FL_SELECTION_COLOR);
210 txt_hics203_incident_info_officer->labeltype(FL_NORMAL_LABEL);
211 txt_hics203_incident_info_officer->labelfont(0);
212 txt_hics203_incident_info_officer->labelsize(14);
213 txt_hics203_incident_info_officer->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
214 txt_hics203_incident_info_officer->align(FL_ALIGN_LEFT);
215 txt_hics203_incident_info_officer->callback(hics_changed);
216 txt_hics203_incident_info_officer->when(FL_WHEN_CHANGED);
217
218 txt_hics203_liaison_officer = new Fl_Input2(133, Y+230, 425, 24, _("Liaison Officer"));
219 txt_hics203_liaison_officer->tooltip(_("name"));
220 txt_hics203_liaison_officer->box(FL_DOWN_BOX);
221 txt_hics203_liaison_officer->color((Fl_Color)FL_BACKGROUND2_COLOR);
222 txt_hics203_liaison_officer->selection_color((Fl_Color)FL_SELECTION_COLOR);
223 txt_hics203_liaison_officer->labeltype(FL_NORMAL_LABEL);
224 txt_hics203_liaison_officer->labelfont(0);
225 txt_hics203_liaison_officer->labelsize(14);
226 txt_hics203_liaison_officer->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
227 txt_hics203_liaison_officer->align(FL_ALIGN_LEFT);
228 txt_hics203_liaison_officer->callback(hics_changed);
229 txt_hics203_liaison_officer->when(FL_WHEN_CHANGED);
230
231 group_hics203_orglist_2->end();
232 } // group_hics203_orglist_2
233
234 { // group_hics203_orglist_3
235 Fl_Group* group_hics203_orglist_3 = new Fl_Group(2, Y+286, 565, 60);
236 group_hics203_orglist_3->box(FL_ENGRAVED_FRAME);
237
238 txt_hics203_prepared_by = new Fl_Input2(133, Y+292, 425, 24, _("Prepared By"));
239 txt_hics203_prepared_by->tooltip(_("preparer"));
240 txt_hics203_prepared_by->box(FL_DOWN_BOX);
241 txt_hics203_prepared_by->color((Fl_Color)FL_BACKGROUND2_COLOR);
242 txt_hics203_prepared_by->selection_color((Fl_Color)FL_SELECTION_COLOR);
243 txt_hics203_prepared_by->labeltype(FL_NORMAL_LABEL);
244 txt_hics203_prepared_by->labelfont(0);
245 txt_hics203_prepared_by->labelsize(14);
246 txt_hics203_prepared_by->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
247 txt_hics203_prepared_by->align(FL_ALIGN_LEFT);
248 txt_hics203_prepared_by->callback(hics_changed);
249 txt_hics203_prepared_by->when(FL_WHEN_CHANGED);
250
251 txt_hics203_facility = new Fl_Input2(133, Y+318, 425, 24, _("Facility"));
252 txt_hics203_facility->tooltip(_("facility name"));
253 txt_hics203_facility->box(FL_DOWN_BOX);
254 txt_hics203_facility->color((Fl_Color)FL_BACKGROUND2_COLOR);
255 txt_hics203_facility->selection_color((Fl_Color)FL_SELECTION_COLOR);
256 txt_hics203_facility->labeltype(FL_NORMAL_LABEL);
257 txt_hics203_facility->labelfont(0);
258 txt_hics203_facility->labelsize(14);
259 txt_hics203_facility->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
260 txt_hics203_facility->align(FL_ALIGN_LEFT);
261 txt_hics203_facility->callback(hics_changed);
262 txt_hics203_facility->when(FL_WHEN_CHANGED);
263
264 group_hics203_orglist_3->end();
265 } // group_hics203_orglist_3
266 tab_hics203_1->end();
267 } // Fl_Group* tab_hics203_orglist
268
269 { // tab_hics203_tech_spec
270 tab_hics203_tech_spec = new Fl_Group(0, Y+25, 570, 360, _("Med/Tech"));
271 {
272 Fl_Group* o = new Fl_Group(2, Y+36, 566, 314, _("Medical / Technical Specialists"));
273 o->box(FL_ENGRAVED_FRAME);
274 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
275 for (int i = 0; i < 6; i++) {
276 txt_hics203_tech_spc[i] = new Fl_Input2(135, Y+62 + 30*i, 425, 24, _("Specialist"));
277 txt_hics203_tech_spc[i]->tooltip(_("med / tech spec."));
278 txt_hics203_tech_spc[i]->box(FL_DOWN_BOX);
279 txt_hics203_tech_spc[i]->color((Fl_Color)FL_BACKGROUND2_COLOR);
280 txt_hics203_tech_spc[i]->selection_color((Fl_Color)FL_SELECTION_COLOR);
281 txt_hics203_tech_spc[i]->labeltype(FL_NORMAL_LABEL);
282 txt_hics203_tech_spc[i]->labelfont(0);
283 txt_hics203_tech_spc[i]->labelsize(14);
284 txt_hics203_tech_spc[i]->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
285 txt_hics203_tech_spc[i]->align(FL_ALIGN_LEFT);
286 txt_hics203_tech_spc[i]->callback(hics_changed);
287 txt_hics203_tech_spc[i]->when(FL_WHEN_CHANGED);
288 }
289 o->end();
290 } // Fl_Group* o
291 tab_hics203_tech_spec->end();
292 } // Fl_Group* tab_hics203_tech_spec
293 tab_hics203_tech_spec->hide();
294
295 { // tab_hics203_ops
296 tab_hics203_ops = new Fl_Group(0, Y+25, 570, 360, _("Ops"));
297
298 txt_hics203_ops_chief = new Fl_Input2(135, Y+40, 425, 24, _("Chief"));
299 txt_hics203_ops_chief->tooltip("");
300 txt_hics203_ops_chief->box(FL_DOWN_BOX);
301 txt_hics203_ops_chief->color((Fl_Color)FL_BACKGROUND2_COLOR);
302 txt_hics203_ops_chief->selection_color((Fl_Color)FL_SELECTION_COLOR);
303 txt_hics203_ops_chief->labeltype(FL_NORMAL_LABEL);
304 txt_hics203_ops_chief->labelfont(0);
305 txt_hics203_ops_chief->labelsize(14);
306 txt_hics203_ops_chief->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
307 txt_hics203_ops_chief->align(FL_ALIGN_LEFT);
308 txt_hics203_ops_chief->callback(hics_changed);
309 txt_hics203_ops_chief->when(FL_WHEN_CHANGED);
310
311 txt_hics203_bus_brch = new Fl_Input2(135, Y+66, 425, 24, _("Bus'/Cont' branch"));
312 txt_hics203_bus_brch->tooltip(_("business continuity"));
313 txt_hics203_bus_brch->box(FL_DOWN_BOX);
314 txt_hics203_bus_brch->color((Fl_Color)FL_BACKGROUND2_COLOR);
315 txt_hics203_bus_brch->selection_color((Fl_Color)FL_SELECTION_COLOR);
316 txt_hics203_bus_brch->labeltype(FL_NORMAL_LABEL);
317 txt_hics203_bus_brch->labelfont(0);
318 txt_hics203_bus_brch->labelsize(14);
319 txt_hics203_bus_brch->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
320 txt_hics203_bus_brch->align(FL_ALIGN_LEFT);
321 txt_hics203_bus_brch->callback(hics_changed);
322 txt_hics203_bus_brch->when(FL_WHEN_CHANGED);
323
324 txt_hics203_stg_mgr = new Fl_Input2(135, Y+92, 425, 24, _("Staging manager"));
325 txt_hics203_stg_mgr->tooltip(_("staging"));
326 txt_hics203_stg_mgr->box(FL_DOWN_BOX);
327 txt_hics203_stg_mgr->color((Fl_Color)FL_BACKGROUND2_COLOR);
328 txt_hics203_stg_mgr->selection_color((Fl_Color)FL_SELECTION_COLOR);
329 txt_hics203_stg_mgr->labeltype(FL_NORMAL_LABEL);
330 txt_hics203_stg_mgr->labelfont(0);
331 txt_hics203_stg_mgr->labelsize(14);
332 txt_hics203_stg_mgr->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
333 txt_hics203_stg_mgr->align(FL_ALIGN_LEFT);
334 txt_hics203_stg_mgr->callback(hics_changed);
335 txt_hics203_stg_mgr->when(FL_WHEN_CHANGED);
336
337 txt_hics203_med_care_brch = new Fl_Input2(135, Y+118, 425, 24, _("Med' care branch"));
338 txt_hics203_med_care_brch->tooltip(_("medical care"));
339 txt_hics203_med_care_brch->box(FL_DOWN_BOX);
340 txt_hics203_med_care_brch->color((Fl_Color)FL_BACKGROUND2_COLOR);
341 txt_hics203_med_care_brch->selection_color((Fl_Color)FL_SELECTION_COLOR);
342 txt_hics203_med_care_brch->labeltype(FL_NORMAL_LABEL);
343 txt_hics203_med_care_brch->labelfont(0);
344 txt_hics203_med_care_brch->labelsize(14);
345 txt_hics203_med_care_brch->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
346 txt_hics203_med_care_brch->align(FL_ALIGN_LEFT);
347 txt_hics203_med_care_brch->callback(hics_changed);
348 txt_hics203_med_care_brch->when(FL_WHEN_CHANGED);
349
350 txt_hics203_infr_brch = new Fl_Input2(135, Y+144, 425, 24, _("Infra' branch"));
351 txt_hics203_infr_brch->tooltip(_("infrastructure"));
352 txt_hics203_infr_brch->box(FL_DOWN_BOX);
353 txt_hics203_infr_brch->color((Fl_Color)FL_BACKGROUND2_COLOR);
354 txt_hics203_infr_brch->selection_color((Fl_Color)FL_SELECTION_COLOR);
355 txt_hics203_infr_brch->labeltype(FL_NORMAL_LABEL);
356 txt_hics203_infr_brch->labelfont(0);
357 txt_hics203_infr_brch->labelsize(14);
358 txt_hics203_infr_brch->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
359 txt_hics203_infr_brch->align(FL_ALIGN_LEFT);
360 txt_hics203_infr_brch->callback(hics_changed);
361 txt_hics203_infr_brch->when(FL_WHEN_CHANGED);
362
363 txt_hics203_sec_brch = new Fl_Input2(135, Y+170, 425, 24, _("Security branch"));
364 txt_hics203_sec_brch->tooltip(_("security"));
365 txt_hics203_sec_brch->box(FL_DOWN_BOX);
366 txt_hics203_sec_brch->color((Fl_Color)FL_BACKGROUND2_COLOR);
367 txt_hics203_sec_brch->selection_color((Fl_Color)FL_SELECTION_COLOR);
368 txt_hics203_sec_brch->labeltype(FL_NORMAL_LABEL);
369 txt_hics203_sec_brch->labelfont(0);
370 txt_hics203_sec_brch->labelsize(14);
371 txt_hics203_sec_brch->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
372 txt_hics203_sec_brch->align(FL_ALIGN_LEFT);
373 txt_hics203_sec_brch->callback(hics_changed);
374 txt_hics203_sec_brch->when(FL_WHEN_CHANGED);
375
376 txt_hics203_hazmat_brch = new Fl_Input2(135, Y+196, 425, 24, _("Hazmat branch"));
377 txt_hics203_hazmat_brch->tooltip(_("hazardous materials"));
378 txt_hics203_hazmat_brch->box(FL_DOWN_BOX);
379 txt_hics203_hazmat_brch->color((Fl_Color)FL_BACKGROUND2_COLOR);
380 txt_hics203_hazmat_brch->selection_color((Fl_Color)FL_SELECTION_COLOR);
381 txt_hics203_hazmat_brch->labeltype(FL_NORMAL_LABEL);
382 txt_hics203_hazmat_brch->labelfont(0);
383 txt_hics203_hazmat_brch->labelsize(14);
384 txt_hics203_hazmat_brch->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
385 txt_hics203_hazmat_brch->align(FL_ALIGN_LEFT);
386 txt_hics203_hazmat_brch->callback(hics_changed);
387 txt_hics203_hazmat_brch->when(FL_WHEN_CHANGED);
388
389 txt_hics203_ops_other = new Fl_Input2(135, Y+222, 425, 24, _("Other"));
390 txt_hics203_ops_other->tooltip("");
391 txt_hics203_ops_other->box(FL_DOWN_BOX);
392 txt_hics203_ops_other->color((Fl_Color)FL_BACKGROUND2_COLOR);
393 txt_hics203_ops_other->selection_color((Fl_Color)FL_SELECTION_COLOR);
394 txt_hics203_ops_other->labeltype(FL_NORMAL_LABEL);
395 txt_hics203_ops_other->labelfont(0);
396 txt_hics203_ops_other->labelsize(14);
397 txt_hics203_ops_other->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
398 txt_hics203_ops_other->align(FL_ALIGN_LEFT);
399 txt_hics203_ops_other->callback(hics_changed);
400 txt_hics203_ops_other->when(FL_WHEN_CHANGED);
401
402 tab_hics203_ops->end();
403 } // Fl_Group* tab_hics203_ops
404 tab_hics203_ops->hide();
405
406 { // tab_hics203_planning
407 tab_hics203_planning = new Fl_Group(0, Y+25, 570, 360, _("Plan'/Log'"));
408 {
409 Fl_Group* o = new Fl_Group(2, Y+31, 566, 184, _("Planning"));
410 o->box(FL_ENGRAVED_FRAME);
411 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
412
413 txt_hics203_planning_chief = new Fl_Input2(135, Y+46, 425, 24, _("Chief"));
414 txt_hics203_planning_chief->tooltip("");
415 txt_hics203_planning_chief->box(FL_DOWN_BOX);
416 txt_hics203_planning_chief->color((Fl_Color)FL_BACKGROUND2_COLOR);
417 txt_hics203_planning_chief->selection_color((Fl_Color)FL_SELECTION_COLOR);
418 txt_hics203_planning_chief->labeltype(FL_NORMAL_LABEL);
419 txt_hics203_planning_chief->labelfont(0);
420 txt_hics203_planning_chief->labelsize(14);
421 txt_hics203_planning_chief->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
422 txt_hics203_planning_chief->align(FL_ALIGN_LEFT);
423 txt_hics203_planning_chief->callback(hics_changed);
424 txt_hics203_planning_chief->when(FL_WHEN_CHANGED);
425
426 txt_hics203_res_unit = new Fl_Input2(135, Y+72, 425, 24, _("Resources Unit"));
427 txt_hics203_res_unit->tooltip(_("resources"));
428 txt_hics203_res_unit->box(FL_DOWN_BOX);
429 txt_hics203_res_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
430 txt_hics203_res_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
431 txt_hics203_res_unit->labeltype(FL_NORMAL_LABEL);
432 txt_hics203_res_unit->labelfont(0);
433 txt_hics203_res_unit->labelsize(14);
434 txt_hics203_res_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
435 txt_hics203_res_unit->align(FL_ALIGN_LEFT);
436 txt_hics203_res_unit->callback(hics_changed);
437 txt_hics203_res_unit->when(FL_WHEN_CHANGED);
438
439 txt_hics203_sit_unit = new Fl_Input2(135, Y+98, 425, 24, _("Situation Unit"));
440 txt_hics203_sit_unit->tooltip(_("situation"));
441 txt_hics203_sit_unit->box(FL_DOWN_BOX);
442 txt_hics203_sit_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
443 txt_hics203_sit_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
444 txt_hics203_sit_unit->labeltype(FL_NORMAL_LABEL);
445 txt_hics203_sit_unit->labelfont(0);
446 txt_hics203_sit_unit->labelsize(14);
447 txt_hics203_sit_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
448 txt_hics203_sit_unit->align(FL_ALIGN_LEFT);
449 txt_hics203_sit_unit->callback(hics_changed);
450 txt_hics203_sit_unit->when(FL_WHEN_CHANGED);
451
452 txt_hics203_doc_unit = new Fl_Input2(135, Y+124, 425, 24, _("Doc' Unit"));
453 txt_hics203_doc_unit->tooltip(_("documentation"));
454 txt_hics203_doc_unit->box(FL_DOWN_BOX);
455 txt_hics203_doc_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
456 txt_hics203_doc_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
457 txt_hics203_doc_unit->labeltype(FL_NORMAL_LABEL);
458 txt_hics203_doc_unit->labelfont(0);
459 txt_hics203_doc_unit->labelsize(14);
460 txt_hics203_doc_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
461 txt_hics203_doc_unit->align(FL_ALIGN_LEFT);
462 txt_hics203_doc_unit->callback(hics_changed);
463 txt_hics203_doc_unit->when(FL_WHEN_CHANGED);
464
465 txt_hics203_dem_unit = new Fl_Input2(135, Y+150, 425, 24, _("Demob' Unit"));
466 txt_hics203_dem_unit->tooltip(_("demobilization"));
467 txt_hics203_dem_unit->box(FL_DOWN_BOX);
468 txt_hics203_dem_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
469 txt_hics203_dem_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
470 txt_hics203_dem_unit->labeltype(FL_NORMAL_LABEL);
471 txt_hics203_dem_unit->labelfont(0);
472 txt_hics203_dem_unit->labelsize(14);
473 txt_hics203_dem_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
474 txt_hics203_dem_unit->align(FL_ALIGN_LEFT);
475 txt_hics203_dem_unit->callback(hics_changed);
476 txt_hics203_dem_unit->when(FL_WHEN_CHANGED);
477
478 txt_hics203_planning_other = new Fl_Input2(135, Y+176, 425, 24, _("Other branch"));
479 txt_hics203_planning_other->tooltip("");
480 txt_hics203_planning_other->box(FL_DOWN_BOX);
481 txt_hics203_planning_other->color((Fl_Color)FL_BACKGROUND2_COLOR);
482 txt_hics203_planning_other->selection_color((Fl_Color)FL_SELECTION_COLOR);
483 txt_hics203_planning_other->labeltype(FL_NORMAL_LABEL);
484 txt_hics203_planning_other->labelfont(0);
485 txt_hics203_planning_other->labelsize(14);
486 txt_hics203_planning_other->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
487 txt_hics203_planning_other->align(FL_ALIGN_LEFT);
488 txt_hics203_planning_other->callback(hics_changed);
489 txt_hics203_planning_other->when(FL_WHEN_CHANGED);
490
491 o->end();
492 } // Fl_Group* o
493
494 {
495 Fl_Group* o = new Fl_Group(2, Y+215, 566, 140, _("Logistics"));
496 o->box(FL_ENGRAVED_FRAME);
497 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
498
499 txt_hics203_log_chief = new Fl_Input2(135, Y+240, 425, 24, _("Chief"));
500 txt_hics203_log_chief->tooltip("");
501 txt_hics203_log_chief->box(FL_DOWN_BOX);
502 txt_hics203_log_chief->color((Fl_Color)FL_BACKGROUND2_COLOR);
503 txt_hics203_log_chief->selection_color((Fl_Color)FL_SELECTION_COLOR);
504 txt_hics203_log_chief->labeltype(FL_NORMAL_LABEL);
505 txt_hics203_log_chief->labelfont(0);
506 txt_hics203_log_chief->labelsize(14);
507 txt_hics203_log_chief->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
508 txt_hics203_log_chief->align(FL_ALIGN_LEFT);
509 txt_hics203_log_chief->callback(hics_changed);
510 txt_hics203_log_chief->when(FL_WHEN_CHANGED);
511
512 txt_hics203_svc_brch = new Fl_Input2(135, Y+266, 425, 24, _("Services branch"));
513 txt_hics203_svc_brch->tooltip("");
514 txt_hics203_svc_brch->box(FL_DOWN_BOX);
515 txt_hics203_svc_brch->color((Fl_Color)FL_BACKGROUND2_COLOR);
516 txt_hics203_svc_brch->selection_color((Fl_Color)FL_SELECTION_COLOR);
517 txt_hics203_svc_brch->labeltype(FL_NORMAL_LABEL);
518 txt_hics203_svc_brch->labelfont(0);
519 txt_hics203_svc_brch->labelsize(14);
520 txt_hics203_svc_brch->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
521 txt_hics203_svc_brch->align(FL_ALIGN_LEFT);
522 txt_hics203_svc_brch->callback(hics_changed);
523 txt_hics203_svc_brch->when(FL_WHEN_CHANGED);
524
525 txt_hics203_log_sup_brch = new Fl_Input2(135, Y+292, 425, 24, _("Support branch"));
526 txt_hics203_log_sup_brch->tooltip("");
527 txt_hics203_log_sup_brch->box(FL_DOWN_BOX);
528 txt_hics203_log_sup_brch->color((Fl_Color)FL_BACKGROUND2_COLOR);
529 txt_hics203_log_sup_brch->selection_color((Fl_Color)FL_SELECTION_COLOR);
530 txt_hics203_log_sup_brch->labeltype(FL_NORMAL_LABEL);
531 txt_hics203_log_sup_brch->labelfont(0);
532 txt_hics203_log_sup_brch->labelsize(14);
533 txt_hics203_log_sup_brch->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
534 txt_hics203_log_sup_brch->align(FL_ALIGN_LEFT);
535 txt_hics203_log_sup_brch->callback(hics_changed);
536 txt_hics203_log_sup_brch->when(FL_WHEN_CHANGED);
537
538 txt_hics203_log_other = new Fl_Input2(135, Y+318, 425, 24, _("Other branch"));
539 txt_hics203_log_other->tooltip("");
540 txt_hics203_log_other->box(FL_DOWN_BOX);
541 txt_hics203_log_other->color((Fl_Color)FL_BACKGROUND2_COLOR);
542 txt_hics203_log_other->selection_color((Fl_Color)FL_SELECTION_COLOR);
543 txt_hics203_log_other->labeltype(FL_NORMAL_LABEL);
544 txt_hics203_log_other->labelfont(0);
545 txt_hics203_log_other->labelsize(14);
546 txt_hics203_log_other->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
547 txt_hics203_log_other->align(FL_ALIGN_LEFT);
548 txt_hics203_log_other->callback(hics_changed);
549 txt_hics203_log_other->when(FL_WHEN_CHANGED);
550
551 o->end();
552 } // Fl_Group* o
553 tab_hics203_planning->end();
554 } // tab_hics203_planning
555 tab_hics203_planning->hide();
556
557 { // tab_hics203_admin
558 tab_hics203_admin = new Fl_Group(0, Y+31, 570, 326, _("Admin"));
559 {
560 Fl_Group* o = new Fl_Group(2, Y+32, 566, 176, _("Finance/Admin Section"));
561 o->box(FL_ENGRAVED_FRAME);
562 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
563
564 txt_hics203_fin_chief = new Fl_Input2(135, Y+50, 425, 24, _("Chief"));
565 txt_hics203_fin_chief->tooltip("");
566 txt_hics203_fin_chief->box(FL_DOWN_BOX);
567 txt_hics203_fin_chief->color((Fl_Color)FL_BACKGROUND2_COLOR);
568 txt_hics203_fin_chief->selection_color((Fl_Color)FL_SELECTION_COLOR);
569 txt_hics203_fin_chief->labeltype(FL_NORMAL_LABEL);
570 txt_hics203_fin_chief->labelfont(0);
571 txt_hics203_fin_chief->labelsize(14);
572 txt_hics203_fin_chief->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
573 txt_hics203_fin_chief->align(FL_ALIGN_LEFT);
574 txt_hics203_fin_chief->callback(hics_changed);
575 txt_hics203_fin_chief->when(FL_WHEN_CHANGED);
576
577 txt_hics203_time_unit = new Fl_Input2(135, Y+76, 425, 24, _("Time"));
578 txt_hics203_time_unit->tooltip("time unit");
579 txt_hics203_time_unit->box(FL_DOWN_BOX);
580 txt_hics203_time_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
581 txt_hics203_time_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
582 txt_hics203_time_unit->labeltype(FL_NORMAL_LABEL);
583 txt_hics203_time_unit->labelfont(0);
584 txt_hics203_time_unit->labelsize(14);
585 txt_hics203_time_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
586 txt_hics203_time_unit->align(FL_ALIGN_LEFT);
587 txt_hics203_time_unit->callback(hics_changed);
588 txt_hics203_time_unit->when(FL_WHEN_CHANGED);
589
590 txt_hics203_proc_unit = new Fl_Input2(135, Y+102, 425, 24, _("Procurement"));
591 txt_hics203_proc_unit->tooltip("procurement unit");
592 txt_hics203_proc_unit->box(FL_DOWN_BOX);
593 txt_hics203_proc_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
594 txt_hics203_proc_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
595 txt_hics203_proc_unit->labeltype(FL_NORMAL_LABEL);
596 txt_hics203_proc_unit->labelfont(0);
597 txt_hics203_proc_unit->labelsize(14);
598 txt_hics203_proc_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
599 txt_hics203_proc_unit->align(FL_ALIGN_LEFT);
600 txt_hics203_proc_unit->callback(hics_changed);
601 txt_hics203_proc_unit->when(FL_WHEN_CHANGED);
602
603 txt_hics203_comp_unit = new Fl_Input2(135, Y+128, 425, 24, _("Comp' / Claims"));
604 txt_hics203_comp_unit->tooltip("compensation/claims unit");
605 txt_hics203_comp_unit->box(FL_DOWN_BOX);
606 txt_hics203_comp_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
607 txt_hics203_comp_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
608 txt_hics203_comp_unit->labeltype(FL_NORMAL_LABEL);
609 txt_hics203_comp_unit->labelfont(0);
610 txt_hics203_comp_unit->labelsize(14);
611 txt_hics203_comp_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
612 txt_hics203_comp_unit->align(FL_ALIGN_LEFT);
613 txt_hics203_comp_unit->callback(hics_changed);
614 txt_hics203_comp_unit->when(FL_WHEN_CHANGED);
615
616 txt_hics203_cost_unit = new Fl_Input2(135, Y+154, 425, 24, _("Cost Unit"));
617 txt_hics203_cost_unit->tooltip("");
618 txt_hics203_cost_unit->box(FL_DOWN_BOX);
619 txt_hics203_cost_unit->color((Fl_Color)FL_BACKGROUND2_COLOR);
620 txt_hics203_cost_unit->selection_color((Fl_Color)FL_SELECTION_COLOR);
621 txt_hics203_cost_unit->labeltype(FL_NORMAL_LABEL);
622 txt_hics203_cost_unit->labelfont(0);
623 txt_hics203_cost_unit->labelsize(14);
624 txt_hics203_cost_unit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
625 txt_hics203_cost_unit->align(FL_ALIGN_LEFT);
626 txt_hics203_cost_unit->callback(hics_changed);
627 txt_hics203_cost_unit->when(FL_WHEN_CHANGED);
628
629 txt_hics203_fin_other = new Fl_Input2(135, Y+180, 425, 24, _("Other branch"));
630 txt_hics203_fin_other->tooltip("");
631 txt_hics203_fin_other->box(FL_DOWN_BOX);
632 txt_hics203_fin_other->color((Fl_Color)FL_BACKGROUND2_COLOR);
633 txt_hics203_fin_other->selection_color((Fl_Color)FL_SELECTION_COLOR);
634 txt_hics203_fin_other->labeltype(FL_NORMAL_LABEL);
635 txt_hics203_fin_other->labelfont(0);
636 txt_hics203_fin_other->labelsize(14);
637 txt_hics203_fin_other->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
638 txt_hics203_fin_other->align(FL_ALIGN_LEFT);
639 txt_hics203_fin_other->callback(hics_changed);
640 txt_hics203_fin_other->when(FL_WHEN_CHANGED);
641
642 o->end();
643 } // Fl_Group* o
644
645 { Fl_Group* o = new Fl_Group(2, Y+208, 566, 144, _("Representatives"));
646 o->box(FL_ENGRAVED_FRAME);
647 o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
648
649 txt_hics203_hcc_agency = new Fl_Input2(135, Y+238, 425, 24, _("Hospital CC"));
650 txt_hics203_hcc_agency->tooltip(_("hospital command center"));
651 txt_hics203_hcc_agency->box(FL_DOWN_BOX);
652 txt_hics203_hcc_agency->color((Fl_Color)FL_BACKGROUND2_COLOR);
653 txt_hics203_hcc_agency->selection_color((Fl_Color)FL_SELECTION_COLOR);
654 txt_hics203_hcc_agency->labeltype(FL_NORMAL_LABEL);
655 txt_hics203_hcc_agency->labelfont(0);
656 txt_hics203_hcc_agency->labelsize(14);
657 txt_hics203_hcc_agency->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
658 txt_hics203_hcc_agency->align(FL_ALIGN_LEFT);
659 txt_hics203_hcc_agency->callback(hics_changed);
660 txt_hics203_hcc_agency->when(FL_WHEN_CHANGED);
661
662 txt_hics203_hcc_rep = new Fl_Input2(135, Y+264, 425, 24, _("Representative"));
663 txt_hics203_hcc_rep->tooltip(_("HCC representative"));
664 txt_hics203_hcc_rep->box(FL_DOWN_BOX);
665 txt_hics203_hcc_rep->color((Fl_Color)FL_BACKGROUND2_COLOR);
666 txt_hics203_hcc_rep->selection_color((Fl_Color)FL_SELECTION_COLOR);
667 txt_hics203_hcc_rep->labeltype(FL_NORMAL_LABEL);
668 txt_hics203_hcc_rep->labelfont(0);
669 txt_hics203_hcc_rep->labelsize(14);
670 txt_hics203_hcc_rep->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
671 txt_hics203_hcc_rep->align(FL_ALIGN_LEFT);
672 txt_hics203_hcc_rep->callback(hics_changed);
673 txt_hics203_hcc_rep->when(FL_WHEN_CHANGED);
674
675 txt_hics203_ext_loc = new Fl_Input2(135, Y+290, 425, 24, _("Ext Location"));
676 txt_hics203_ext_loc->tooltip(_("external location"));
677 txt_hics203_ext_loc->box(FL_DOWN_BOX);
678 txt_hics203_ext_loc->color((Fl_Color)FL_BACKGROUND2_COLOR);
679 txt_hics203_ext_loc->selection_color((Fl_Color)FL_SELECTION_COLOR);
680 txt_hics203_ext_loc->labeltype(FL_NORMAL_LABEL);
681 txt_hics203_ext_loc->labelfont(0);
682 txt_hics203_ext_loc->labelsize(14);
683 txt_hics203_ext_loc->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
684 txt_hics203_ext_loc->align(FL_ALIGN_LEFT);
685 txt_hics203_ext_loc->callback(hics_changed);
686 txt_hics203_ext_loc->when(FL_WHEN_CHANGED);
687
688 txt_hics203_ext_rep = new Fl_Input2(135, Y+318, 425, 24, _("Representative"));
689 txt_hics203_ext_rep->tooltip(_("external representative"));
690 txt_hics203_ext_rep->box(FL_DOWN_BOX);
691 txt_hics203_ext_rep->color((Fl_Color)FL_BACKGROUND2_COLOR);
692 txt_hics203_ext_rep->selection_color((Fl_Color)FL_SELECTION_COLOR);
693 txt_hics203_ext_rep->labeltype(FL_NORMAL_LABEL);
694 txt_hics203_ext_rep->labelfont(0);
695 txt_hics203_ext_rep->labelsize(14);
696 txt_hics203_ext_rep->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
697 txt_hics203_ext_rep->align(FL_ALIGN_LEFT);
698 txt_hics203_ext_rep->callback(hics_changed);
699 txt_hics203_ext_rep->when(FL_WHEN_CHANGED);
700
701 o->end();
702 } // Fl_Group* o
703
704 tab_hics203_admin->end();
705 } // Fl_Group* tab_hics203_admin
706 tab_hics203_admin->hide();
707
708 tab_hics203_type->end();
709
710 Fl_Group::current()->resizable(tab_hics203_type);
711 tab_hics203->end();
712
713 tab_hics203->hide();
714 } // Fl_Group* tab_hics203
715