| 1 |
#ifndef _GUIWIDGETS_H |
| 2 |
#define _GUIWIDGETS_H |
| 3 |
|
| 4 |
#ifndef _NO_PROTO |
| 5 |
#if !(defined(__STDC__) && __STDC__) \ |
| 6 |
&& !defined(__cplusplus) \ |
| 7 |
&& !defined(c_plusplus) \ |
| 8 |
&& !defined(FUNCPROTO) \ |
| 9 |
&& !defined(XTFUNCPROTO) \ |
| 10 |
&& !defined(XMFUNCPROTO) |
| 11 |
#define _NO_PROTO |
| 12 |
#endif |
| 13 |
#endif |
| 14 |
|
| 15 |
#ifdef __cplusplus |
| 16 |
extern "C" { |
| 17 |
#endif |
| 18 |
|
| 19 |
|
| 20 |
#include <Xm/Xm.h> |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
typedef struct _GlobalWidget { |
| 26 |
|
| 27 |
Widget help; |
| 28 |
Widget helpList; |
| 29 |
Widget demoList; |
| 30 |
Widget demo_list; |
| 31 |
Widget textDALG; |
| 32 |
Widget textField; |
| 33 |
Widget *parButton; |
| 34 |
Widget *probButton; |
| 35 |
Widget *disButton; |
| 36 |
Widget *tolButton; |
| 37 |
Widget *stepButton; |
| 38 |
Widget *limButton; |
| 39 |
Widget *conButton; |
| 40 |
Widget *runButton; |
| 41 |
Widget *outButton; |
| 42 |
|
| 43 |
Widget text; |
| 44 |
Widget cut_button; |
| 45 |
Widget copy_button; |
| 46 |
Widget paste_button; |
| 47 |
Widget clear_button; |
| 48 |
Widget open_dialog; |
| 49 |
Widget new_dialog; |
| 50 |
Widget close_warning; |
| 51 |
Widget exit_warning; |
| 52 |
Widget save_dialog; |
| 53 |
Widget print_warning; |
| 54 |
|
| 55 |
Widget mainWindow; |
| 56 |
|
| 57 |
Widget thlButton[2*MAX_NTHL]; |
| 58 |
Widget thlTg[MAX_NTHL]; |
| 59 |
Widget thuButton[2*MAX_NTHU]; |
| 60 |
Widget thuTg[MAX_NTHU]; |
| 61 |
Widget uzrButton[2*MAX_NUZR]; |
| 62 |
Widget uzrTg[MAX_NUZR]; |
| 63 |
Widget icpButton[2*MAX_NICP]; |
| 64 |
Widget icpTg[MAX_NICP]; |
| 65 |
|
| 66 |
Widget popThl,popThu,popIcp,popUzr; |
| 67 |
|
| 68 |
Widget copyFrom,copyTo; |
| 69 |
Widget moveFrom,moveTo; |
| 70 |
Widget appendFrom,appendTo; |
| 71 |
|
| 72 |
|
| 73 |
} GlobalWidget; |
| 74 |
|
| 75 |
extern GlobalWidget GW; |
| 76 |
|
| 77 |
|
| 78 |
#ifdef __cplusplus |
| 79 |
} |
| 80 |
#endif |
| 81 |
|
| 82 |
#endif |
| 83 |
|
| 84 |
|