1 /*******************************************************************************/
2 /*  This file is auto-generated by Azure RTOS GUIX Studio. Do not edit this    */
3 /*  file by hand. Modifications to this file should only be made by running    */
4 /*  the Azure RTOS GUIX Studio application and re-generating the application   */
5 /*  specification file(s). For more information please refer to the Azure RTOS */
6 /*  GUIX Studio User Guide, or visit our web site at azure.com/rtos            */
7 /*                                                                             */
8 /*  GUIX Studio Revision 6.1.12.0                                              */
9 /*  Date (dd.mm.yyyy): 25. 8.2022   Time (hh:mm): 18:22                        */
10 /*******************************************************************************/
11 
12 
13 #ifndef _GUIX_MEDICAL_SPECIFICATIONS_H_
14 #define _GUIX_MEDICAL_SPECIFICATIONS_H_
15 
16 #include "gx_api.h"
17 
18 /* Determine if C++ compiler is being used, if so use standard C.              */
19 #ifdef __cplusplus
20 extern   "C" {
21 #endif
22 
23 /* Define widget ids                                                           */
24 
25 #define ID_SCHEDULE_SCREEN 1
26 #define ID_ACTIVE_BALL 2
27 #define ID_PATIENTS_SCREEN 3
28 #define ID_PATIENT_LIST 4
29 #define ID_VITALS_SCREEN 5
30 #define ID_MEDTYPE1_SLIDER 6
31 #define ID_MEDTYPE3_SLIDER 7
32 #define ID_MEDTYPE2_SLIDER 8
33 #define ID_BTN_VITALS 9
34 #define ID_BTN_SCHEDULE 10
35 #define ID_BTN_PATIENTS 11
36 
37 
38 /* Define animation ids                                                        */
39 
40 #define ID_EKG_WIN_SLIDE_IN 1
41 #define ID_PULSE_WIN_SLIDE_IN 2
42 #define ID_R5_WIN_FADE_IN 3
43 #define GX_NEXT_ANIMATION_ID 4
44 
45 
46 /* Define user event ids                                                       */
47 
48 #define GX_NEXT_USER_EVENT_ID GX_FIRST_USER_EVENT
49 
50 #define GX_ACTION_FLAG_DYNAMIC_TARGET 0x01
51 #define GX_ACTION_FLAG_DYNAMIC_PARENT 0x02
52 #define GX_ACTION_FLAG_POP_TARGET     0x04
53 #define GX_ACTION_FLAG_POP_PARENT     0x08
54 
55 typedef struct GX_STUDIO_ACTION_STRUCT
56 {
57     GX_UBYTE opcode;
58     GX_UBYTE flags;
59     GX_CONST VOID *parent;
60     GX_CONST VOID *target;
61     GX_CONST GX_ANIMATION_INFO  *animation;
62 } GX_STUDIO_ACTION;
63 
64 typedef struct GX_STUDIO_EVENT_ENTRY_STRUCT
65 {
66     ULONG event_type;
67     USHORT event_sender;
68     GX_CONST GX_STUDIO_ACTION *action_list;
69 } GX_STUDIO_EVENT_ENTRY;
70 
71 typedef struct GX_STUDIO_EVENT_PROCESS_STRUCT
72 {
73     GX_CONST GX_STUDIO_EVENT_ENTRY *event_table;
74     UINT (*chain_event_handler)(GX_WIDGET *, GX_EVENT *);
75 } GX_STUDIO_EVENT_PROCESS;
76 
77 /* Declare properties structures for each utilized widget type                 */
78 
79 typedef struct GX_STUDIO_WIDGET_STRUCT
80 {
81    GX_CHAR *widget_name;
82    USHORT  widget_type;
83    USHORT  widget_id;
84    #if defined(GX_WIDGET_USER_DATA)
85    INT   user_data;
86    #endif
87    ULONG style;
88    ULONG status;
89    ULONG control_block_size;
90    GX_RESOURCE_ID normal_fill_color_id;
91    GX_RESOURCE_ID selected_fill_color_id;
92    GX_RESOURCE_ID disabled_fill_color_id;
93    UINT (*create_function) (GX_CONST struct GX_STUDIO_WIDGET_STRUCT *, GX_WIDGET *, GX_WIDGET *);
94    void (*draw_function) (GX_WIDGET *);
95    UINT (*event_function) (GX_WIDGET *, GX_EVENT *);
96    GX_RECTANGLE size;
97    GX_CONST struct GX_STUDIO_WIDGET_STRUCT *next_widget;
98    GX_CONST struct GX_STUDIO_WIDGET_STRUCT *child_widget;
99    ULONG control_block_offset;
100    GX_CONST void *properties;
101 } GX_STUDIO_WIDGET;
102 
103 typedef struct
104 {
105     GX_CONST GX_STUDIO_WIDGET *widget_information;
106     GX_WIDGET        *widget;
107 } GX_STUDIO_WIDGET_ENTRY;
108 
109 typedef struct
110 {
111     GX_RESOURCE_ID string_id;
112     GX_RESOURCE_ID font_id;
113     GX_RESOURCE_ID normal_text_color_id;
114     GX_RESOURCE_ID selected_text_color_id;
115     GX_RESOURCE_ID disabled_text_color_id;
116 } GX_TEXT_BUTTON_PROPERTIES;
117 
118 typedef struct
119 {
120     GX_RESOURCE_ID normal_pixelmap_id;
121     GX_RESOURCE_ID selected_pixelmap_id;
122     GX_RESOURCE_ID disabled_pixelmap_id;
123 } GX_PIXELMAP_BUTTON_PROPERTIES;
124 
125 typedef struct
126 {
127     GX_RESOURCE_ID normal_pixelmap_id;
128     GX_RESOURCE_ID selected_pixelmap_id;
129 } GX_ICON_PROPERTIES;
130 
131 typedef struct
132 {
133     int min_val;
134     int max_val;
135     int current_val;
136     int increment;
137     GX_VALUE min_travel;
138     GX_VALUE max_travel;
139     GX_VALUE needle_width;
140     GX_VALUE needle_height;
141     GX_VALUE needle_inset;
142     GX_VALUE needle_hotspot;
143     GX_RESOURCE_ID lower_pixelmap;
144     GX_RESOURCE_ID upper_pixelmap;
145     GX_RESOURCE_ID needle_pixelmap;
146 } GX_PIXELMAP_SLIDER_PROPERTIES;
147 
148 typedef struct
149 {
150     GX_RESOURCE_ID string_id;
151     GX_RESOURCE_ID font_id;
152     GX_RESOURCE_ID normal_text_color_id;
153     GX_RESOURCE_ID selected_text_color_id;
154     GX_RESOURCE_ID disabled_text_color_id;
155 } GX_PROMPT_PROPERTIES;
156 
157 typedef struct
158 {
159     GX_RESOURCE_ID string_id;
160     GX_RESOURCE_ID font_id;
161     GX_RESOURCE_ID normal_text_color_id;
162     GX_RESOURCE_ID selected_text_color_id;
163     GX_RESOURCE_ID disabled_text_color_id;
164     VOID (*format_func)(GX_NUMERIC_PROMPT *, INT);
165     INT            numeric_prompt_value;
166 } GX_NUMERIC_PROMPT_PROPERTIES;
167 
168 typedef struct
169 {
170     GX_RESOURCE_ID string_id;
171     GX_RESOURCE_ID font_id;
172     GX_RESOURCE_ID normal_text_color_id;
173     GX_RESOURCE_ID selected_text_color_id;
174     GX_RESOURCE_ID disabled_text_color_id;
175     GX_RESOURCE_ID left_map_id;
176     GX_RESOURCE_ID fill_map_id;
177     GX_RESOURCE_ID right_map_id;
178     GX_RESOURCE_ID selected_left_map_id;
179     GX_RESOURCE_ID selected_fill_map_id;
180     GX_RESOURCE_ID selected_right_map_id;
181 } GX_PIXELMAP_PROMPT_PROPERTIES;
182 
183 typedef struct
184 {
185     GX_RESOURCE_ID wallpaper_id;
186 } GX_WINDOW_PROPERTIES;
187 
188 typedef struct
189 {
190     GX_RESOURCE_ID wallpaper_id;
191     VOID (*callback)(GX_VERTICAL_LIST *, GX_WIDGET *, INT);
192     int total_rows;
193 } GX_VERTICAL_LIST_PROPERTIES;
194 
195 typedef struct
196 {
197    GX_CONST GX_STUDIO_WIDGET *base_info;
198    UINT (*base_create_function) (GX_CONST struct GX_STUDIO_WIDGET_STRUCT *, GX_WIDGET *, GX_WIDGET *);
199    GX_RECTANGLE size;
200 } GX_TEMPLATE_PROPERTIES;
201 
202 
203 /* Declare top-level control blocks                                            */
204 
205 typedef struct TEMPLATE_CONTROL_BLOCK_STRUCT
206 {
207     GX_WINDOW_MEMBERS_DECLARE
208     GX_ICON template_logo;
209     GX_TEXT_BUTTON template_vitals_button;
210     GX_TEXT_BUTTON template_schedule_button;
211     GX_TEXT_BUTTON template_patients_button;
212 } TEMPLATE_CONTROL_BLOCK;
213 
214 typedef struct SCHEDULE_SCREEN_CONTROL_BLOCK_STRUCT
215 {
216     TEMPLATE_CONTROL_BLOCK base;
217     GX_PROMPT schedule_screen_month;
218     GX_WINDOW schedule_screen_schedule_win;
219     GX_PROMPT schedule_screen_c1_week;
220     GX_PROMPT schedule_screen_c3_week;
221     GX_PROMPT schedule_screen_c2_week;
222     GX_PROMPT schedule_screen_c4_week;
223     GX_PROMPT schedule_screen_c5_week;
224     GX_PROMPT schedule_screen_c6_week;
225     GX_PROMPT schedule_screen_c7_week;
226     GX_NUMERIC_PROMPT schedule_screen_c1_day;
227     GX_NUMERIC_PROMPT schedule_screen_c2_day;
228     GX_NUMERIC_PROMPT schedule_screen_c3_day;
229     GX_NUMERIC_PROMPT schedule_screen_c4_day;
230     GX_NUMERIC_PROMPT schedule_screen_c5_day;
231     GX_NUMERIC_PROMPT schedule_screen_c6_day;
232     GX_NUMERIC_PROMPT schedule_screen_c7_day;
233     GX_PROMPT schedule_screen_r1_am_pm;
234     GX_NUMERIC_PROMPT schedule_screen_r1_hour;
235     GX_NUMERIC_PROMPT schedule_screen_r2_hour;
236     GX_PROMPT schedule_screen_r2_am_pm;
237     GX_NUMERIC_PROMPT schedule_screen_r3_hour;
238     GX_PROMPT schedule_screen_r3_am_pm;
239     GX_NUMERIC_PROMPT schedule_screen_r4_hour;
240     GX_PROMPT schedule_screen_r4_am_pm;
241     GX_NUMERIC_PROMPT schedule_screen_r5_hour;
242     GX_PROMPT schedule_screen_r5_am_pm;
243     GX_NUMERIC_PROMPT schedule_screen_r6_hour;
244     GX_PROMPT schedule_screen_r6_am_pm;
245     GX_NUMERIC_PROMPT schedule_screen_r7_hour;
246     GX_PROMPT schedule_screen_r7_am_pm;
247     GX_NUMERIC_PROMPT schedule_screen_r8_hour;
248     GX_PROMPT schedule_screen_r8_am_pm;
249     GX_NUMERIC_PROMPT schedule_screen_r9_hour;
250     GX_PROMPT schedule_screen_r9_am_pm;
251     GX_NUMERIC_PROMPT schedule_screen_r10_hour;
252     GX_PROMPT schedule_screen_r10_am_pm;
253     GX_NUMERIC_PROMPT schedule_screen_r11_hour;
254     GX_PROMPT schedule_screen_r11_am_pm;
255     GX_ICON schedule_screen_current_time;
256     GX_NUMERIC_PROMPT schedule_screen_hour;
257     GX_NUMERIC_PROMPT schedule_screen_minute;
258     GX_PROMPT schedule_screen_colon;
259     GX_WINDOW schedule_screen_r1_win;
260     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_3;
261     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_6;
262     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_7;
263     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_45_1;
264     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_46_1;
265     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_47_1;
266     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_93_1;
267     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_94_1;
268     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_95_1;
269     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_98_1;
270     GX_WINDOW schedule_screen_r2_win;
271     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_12;
272     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_15;
273     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_21_1;
274     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_22_1;
275     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_23_1;
276     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_49_1;
277     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_50_1;
278     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_69_1;
279     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_70_1;
280     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_71_1;
281     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_100_1;
282     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_101_1;
283     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_102_1;
284     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_103_1;
285     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_104_1;
286     GX_WINDOW schedule_screen_r3_win;
287     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_16;
288     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_25_1;
289     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_26_1;
290     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_53_1;
291     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_73_1;
292     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_74_1;
293     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_107_1;
294     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_109_1;
295     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_110_1;
296     GX_WINDOW schedule_screen_r4_win;
297     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_29_1;
298     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_56_1;
299     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_77_1;
300     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_113_1;
301     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_116_1;
302     GX_WINDOW schedule_screen_r5_win;
303     GX_ICON schedule_screen_active_circle;
304     GX_PIXELMAP_PROMPT schedule_screen_active_bar;
305     GX_PROMPT schedule_screen_patient_info;
306     GX_PIXELMAP_BUTTON schedule_screen_active_ball;
307     GX_WINDOW schedule_screen_r6_win;
308     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_18;
309     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_10_1;
310     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_11_1;
311     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_59_1;
312     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_119_1;
313     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_131_1;
314     GX_WINDOW schedule_screen_r7_win;
315     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_13_1;
316     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_14_1;
317     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_33_1;
318     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_34_1;
319     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_35_1;
320     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_60_1;
321     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_61_1;
322     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_62_1;
323     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_81_1;
324     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_82_1;
325     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_83_1;
326     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_120_1;
327     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_121_1;
328     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_122_1;
329     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_132_1;
330     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_133_1;
331     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_134_1;
332     GX_WINDOW schedule_screen_r8_win;
333     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_17_1;
334     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_37_1;
335     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_38_1;
336     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_64_1;
337     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_65_1;
338     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_85_1;
339     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_86_1;
340     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_124_1;
341     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_125_1;
342     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_136_1;
343     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_137_1;
344     GX_WINDOW schedule_screen_r9_win;
345     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_20_1;
346     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_41_1;
347     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_67_1;
348     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_68_1;
349     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_89_1;
350     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_127_1;
351     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_128_1;
352     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_140_1;
353     GX_WINDOW schedule_screen_r10_win;
354     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_44_1;
355     GX_PIXELMAP_BUTTON schedule_screen_pixelmap_button_92_1;
356     GX_NUMERIC_PROMPT schedule_screen_year;
357     GX_ICON schedule_screen_icon_1;
358     GX_ICON schedule_screen_icon_2;
359 } SCHEDULE_SCREEN_CONTROL_BLOCK;
360 
361 typedef struct PATIENTS_SCREEN_CONTROL_BLOCK_STRUCT
362 {
363     TEMPLATE_CONTROL_BLOCK base;
364     GX_PROMPT patients_screen_patient_name_label;
365     GX_PROMPT patients_screen_total_admited_label;
366     GX_NUMERIC_PROMPT patients_screen_total_admitted_count;
367     GX_PROMPT patients_screen_DOB_label;
368     GX_PROMPT patients_screen_room_label;
369     GX_PROMPT patients_screen_admission_date_label;
370     GX_PROMPT patients_screen_pa_num_label;
371     GX_VERTICAL_LIST patients_screen_patient_list;
372     GX_SCROLLBAR patients_screen_vertical_scroll;
373     GX_ICON patients_screen_icon;
374 } PATIENTS_SCREEN_CONTROL_BLOCK;
375 
376 typedef struct VITALS_SCREEN_CONTROL_BLOCK_STRUCT
377 {
378     TEMPLATE_CONTROL_BLOCK base;
379     GX_WINDOW vitals_screen_insulin_win;
380     GX_ICON vitals_screen_insulin;
381     GX_PROMPT vitals_screen_insulin_name_1;
382     GX_PROMPT vitals_screen_insulin_unit_1;
383     GX_NUMERIC_PROMPT vitals_screen_insulin_value;
384     GX_PROMPT vitals_screen_prompt_17;
385     GX_PROMPT vitals_screen_prompt_18;
386     GX_PROMPT vitals_screen_prompt_19;
387     GX_PROMPT vitals_screen_prompt_20;
388     GX_PROMPT vitals_screen_prompt_21;
389     GX_NUMERIC_PROMPT vitals_screen_glucose_value;
390     GX_PROMPT vitals_screen_prompt_22;
391     GX_PROMPT vitals_screen_prompt_1;
392     GX_PROMPT vitals_screen_prompt_2;
393     GX_WINDOW vitals_screen_ekg_win;
394     GX_ICON vitals_screen_heart_rate_icon;
395     GX_PROMPT vitals_screen_ekg_label;
396     GX_PROMPT vitals_screen_BPM_label;
397     GX_NUMERIC_PROMPT vitals_screen_hr_value;
398     GX_WINDOW vitals_screen_ekg_waveform_win;
399     GX_WINDOW vitals_screen_pulse_win;
400     GX_ICON vitals_screen_spo2_icon;
401     GX_PROMPT vitals_screen_pulse_label;
402     GX_PROMPT vitals_screen_spo2_label;
403     GX_NUMERIC_PROMPT vitals_screen_spo2_value;
404     GX_WINDOW vitals_screen_pulse_waveform_win;
405     GX_WINDOW vitals_screen_blood_pressure_win;
406     GX_PROMPT vitals_screen_prompt_23;
407     GX_PROMPT vitals_screen_prompt_24;
408     GX_PROMPT vitals_screen_prompt_25;
409     GX_NUMERIC_PROMPT vitals_screen_last_bolus_value_9;
410     GX_PROMPT vitals_screen_prompt_26;
411     GX_NUMERIC_PROMPT vitals_screen_last_bolus_value_10;
412     GX_NUMERIC_PROMPT vitals_screen_prompt_11_12;
413     GX_NUMERIC_PROMPT vitals_screen_prompt_11_13;
414     GX_NUMERIC_PROMPT vitals_screen_prompt_11_14;
415     GX_NUMERIC_PROMPT vitals_screen_prompt_11_15;
416     GX_PROMPT vitals_screen_prompt_12_3;
417     GX_PROMPT vitals_screen_prompt_12_4;
418     GX_PROMPT vitals_screen_prompt_12_5;
419     GX_NUMERIC_PROMPT vitals_screen_prompt_11_16;
420     GX_NUMERIC_PROMPT vitals_screen_prompt_11_17;
421     GX_PROMPT vitals_screen_prompt_10_6;
422     GX_PROMPT vitals_screen_prompt_10_7;
423     GX_PROMPT vitals_screen_prompt_10_8;
424     GX_NUMERIC_PROMPT vitals_screen_prompt_11_18;
425     GX_NUMERIC_PROMPT vitals_screen_prompt_11_19;
426     GX_NUMERIC_PROMPT vitals_screen_prompt_11_20;
427     GX_PROMPT vitals_screen_prompt_10_9;
428     GX_PROMPT vitals_screen_prompt_10_10;
429     GX_PROMPT vitals_screen_prompt_10_11;
430     GX_NUMERIC_PROMPT vitals_screen_prompt_11_21;
431     GX_NUMERIC_PROMPT vitals_screen_prompt_11_10_1;
432     GX_NUMERIC_PROMPT vitals_screen_prompt_11_11_1;
433     GX_PROMPT vitals_screen_prompt_26_1;
434     GX_WINDOW vitals_screen_patien_info_win;
435     GX_PROMPT vitals_screen_patient_gender;
436     GX_PROMPT vitals_screen_patient_name;
437     GX_PROMPT vitals_screen_patient_dob;
438     GX_NUMERIC_PROMPT vitals_screen_patient_age;
439     GX_PROMPT vitals_screen_patient_age_label;
440     GX_NUMERIC_PROMPT vitals_screen_patient_number;
441     GX_PROMPT vitals_screen_patient_number_label;
442     GX_PROMPT vitals_screen_patient_room_label;
443     GX_NUMERIC_PROMPT vitals_screen_patient_room_id;
444     GX_PROMPT vitals_screen_patient_bed_label;
445     GX_PROMPT vitals_screen_patient_bed_id;
446     GX_WINDOW vitals_screen_temperature_win;
447     GX_PROMPT vitals_screen_prompt_15;
448     GX_PROMPT vitals_screen_prompt_13_17;
449     GX_PROMPT vitals_screen_prompt_13_18;
450     GX_NUMERIC_PROMPT vitals_screen_prompt_14_3;
451     GX_PROMPT vitals_screen_prompt_13_13_1;
452     GX_PROMPT vitals_screen_prompt;
453     GX_PROMPT vitals_screen_prompt_5;
454     GX_PROMPT vitals_screen_prompt_13_12_2;
455     GX_PROMPT vitals_screen_prompt_13_12_3;
456     GX_WINDOW vitals_screen_medtype1_win;
457     GX_PROMPT vitals_screen_medtype1_label;
458     GX_NUMERIC_PROMPT vitals_screen_medtype1_value;
459     GX_PROMPT vitals_screen_medtype1_percentage_flag;
460     GX_WINDOW vitals_screen_medtype1_slider_win;
461     GX_PIXELMAP_SLIDER vitals_screen_medtype1_slider;
462     GX_WINDOW vitals_screen_medtype3_win;
463     GX_PROMPT vitals_screen_medtype3_label;
464     GX_NUMERIC_PROMPT vitals_screen_medtype3_value;
465     GX_PROMPT vitals_screen_medtype3_percentage_flag;
466     GX_WINDOW vitals_screen_medtype3_slider_win;
467     GX_PIXELMAP_SLIDER vitals_screen_medtype3_slider;
468     GX_WINDOW vitals_screen_medtype2_win;
469     GX_PROMPT vitals_screen_medtype2_label;
470     GX_NUMERIC_PROMPT vitals_screen_medtype2_value;
471     GX_PROMPT vitals_screen_medtype2_percentage_flag;
472     GX_WINDOW vitals_screen_medtype2_slider_win;
473     GX_PIXELMAP_SLIDER vitals_screen_medtype2_slider;
474 } VITALS_SCREEN_CONTROL_BLOCK;
475 
476 
477 /* extern statically defined control blocks                                    */
478 
479 #ifndef GUIX_STUDIO_GENERATED_FILE
480 extern SCHEDULE_SCREEN_CONTROL_BLOCK schedule_screen;
481 extern PATIENTS_SCREEN_CONTROL_BLOCK patients_screen;
482 extern VITALS_SCREEN_CONTROL_BLOCK vitals_screen;
483 extern TEMPLATE_CONTROL_BLOCK template;
484 #endif
485 
486 /* Declare event process functions, draw functions, and callback functions     */
487 
488 UINT schedule_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
489 VOID schedule_win_draw(GX_WINDOW *widget);
490 UINT patients_screen_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
491 VOID patient_row_create(GX_VERTICAL_LIST *, GX_WIDGET *, INT);
492 UINT vitals_screen_event_process(GX_WINDOW *widget, GX_EVENT *event_ptr);
493 VOID insulin_value_format(GX_NUMERIC_PROMPT *, INT);
494 UINT template_event_handler(GX_WINDOW *widget, GX_EVENT *event_ptr);
495 
496 /* Declare the GX_STUDIO_DISPLAY_INFO structure                                */
497 
498 
499 typedef struct GX_STUDIO_DISPLAY_INFO_STRUCT
500 {
501     GX_CONST GX_CHAR *name;
502     GX_CONST GX_CHAR *canvas_name;
503     GX_CONST GX_THEME **theme_table;
504     GX_CONST GX_STRING **language_table;
505     USHORT   theme_table_size;
506     USHORT   language_table_size;
507     UINT     string_table_size;
508     UINT     x_resolution;
509     UINT     y_resolution;
510     GX_DISPLAY *display;
511     GX_CANVAS  *canvas;
512     GX_WINDOW_ROOT *root_window;
513     GX_COLOR   *canvas_memory;
514     ULONG      canvas_memory_size;
515     USHORT     rotation_angle;
516 } GX_STUDIO_DISPLAY_INFO;
517 
518 
519 /* Declare Studio-generated functions for creating top-level widgets           */
520 
521 UINT gx_studio_text_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
522 UINT gx_studio_pixelmap_button_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
523 UINT gx_studio_icon_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
524 UINT gx_studio_pixelmap_slider_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
525 UINT gx_studio_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
526 UINT gx_studio_numeric_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
527 UINT gx_studio_pixelmap_prompt_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
528 UINT gx_studio_window_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
529 UINT gx_studio_vertical_list_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
530 UINT gx_studio_vertical_scrollbar_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
531 UINT gx_studio_template_create(GX_CONST GX_STUDIO_WIDGET *info, GX_WIDGET *control_block, GX_WIDGET *parent);
532 GX_WIDGET *gx_studio_widget_create(GX_BYTE *storage, GX_CONST GX_STUDIO_WIDGET *definition, GX_WIDGET *parent);
533 UINT gx_studio_named_widget_create(char *name, GX_WIDGET *parent, GX_WIDGET **new_widget);
534 UINT gx_studio_display_configure(USHORT display, UINT (*driver)(GX_DISPLAY *), GX_UBYTE language, USHORT theme, GX_WINDOW_ROOT **return_root);
535 UINT gx_studio_auto_event_handler(GX_WIDGET *widget, GX_EVENT *event_ptr, GX_CONST GX_STUDIO_EVENT_PROCESS *record);
536 
537 /* Determine if a C++ compiler is being used.  If so, complete the standard
538   C conditional started above.                                                 */
539 #ifdef __cplusplus
540 }
541 #endif
542 
543 #endif                                       /* sentry                         */
544