
/* <<AT&T C++ Translator 2.0 06/30/89>> */
/* < swatch.C > */

char *__vec_new ();

char __vec_delete ();
typedef int (*__vptp)();
struct __mptr {short d; short i; __vptp f; };


typedef unsigned char u_char ;
typedef unsigned short u_short ;
typedef unsigned int u_int ;
typedef unsigned long u_long ;
typedef unsigned short ushort ;

typedef struct _quad quad ;
typedef long daddr_t ;
typedef char *caddr_t ;
typedef u_long ino_t ;
typedef long swblk_t ;
typedef long ______size_t ;
typedef long time_t ;
typedef short dev_t ;
typedef long off_t ;
typedef u_short uid_t ;
typedef u_short gid_t ;

typedef char prio_t ;

typedef long fd_mask ;

typedef struct fd_set fd_set ;

typedef caddr_t queue_t ;

typedef unsigned long XID ;

typedef XID Window ;
typedef XID Drawable ;
typedef XID Font ;
typedef XID Pixmap ;
typedef XID Cursor ;
typedef XID Colormap ;
typedef XID GContext ;
typedef XID KeySym ;

typedef unsigned long Mask ;

typedef unsigned long Atom ;

typedef unsigned long VisualID ;

typedef unsigned long Time ;

typedef unsigned char KeyCode ;

typedef struct _XExtData XExtData ;

typedef struct XExtCodes XExtCodes ;

struct XExtCodes {	/* sizeof XExtCodes == 16 */

int extension__9XExtCodes ;
int major_opcode__9XExtCodes ;
int first_event__9XExtCodes ;
int first_error__9XExtCodes ;
};

typedef struct _XExten _XExtension ;

typedef struct XPixmapFormatValues XPixmapFormatValues ;

typedef struct XGCValues XGCValues ;

struct XGCValues {	/* sizeof XGCValues == 92 */

int function__9XGCValues ;
unsigned long plane_mask__9XGCValues ;
unsigned long foreground__9XGCValues ;
unsigned long background__9XGCValues ;
int line_width__9XGCValues ;
int line_style__9XGCValues ;
int cap_style__9XGCValues ;

int join_style__9XGCValues ;
int fill_style__9XGCValues ;

int fill_rule__9XGCValues ;
int arc_mode__9XGCValues ;
Pixmap tile__9XGCValues ;
Pixmap stipple__9XGCValues ;
int ts_x_origin__9XGCValues ;
int ts_y_origin__9XGCValues ;
Font font__9XGCValues ;
int subwindow_mode__9XGCValues ;
int graphics_exposures__9XGCValues ;
int clip_x_origin__9XGCValues ;
int clip_y_origin__9XGCValues ;
Pixmap clip_mask__9XGCValues ;
int dash_offset__9XGCValues ;
char dashes__9XGCValues ;
};

typedef struct _XGC *GC ;

typedef struct Visual Visual ;

typedef struct Depth Depth ;

typedef struct Screen Screen ;

typedef struct ScreenFormat ScreenFormat ;

typedef struct XSetWindowAttributes XSetWindowAttributes ;

typedef struct XWindowAttributes XWindowAttributes ;

typedef struct XHostAddress XHostAddress ;

struct funcs {	/* sizeof funcs == 24 */

struct _XImage *(*create_image__5funcs )();

int (*destroy_image__5funcs )();
unsigned long (*get_pixel__5funcs )();
int (*put_pixel__5funcs )();
struct _XImage *(*sub_image__5funcs )();
int (*add_pixel__5funcs )();
};

typedef struct _XImage XImage ;

typedef struct XWindowChanges XWindowChanges ;

typedef struct XColor XColor ;

typedef struct XSegment XSegment ;

typedef struct XPoint XPoint ;

typedef struct XRectangle XRectangle ;

typedef struct XArc XArc ;

typedef struct XKeyboardControl XKeyboardControl ;

typedef struct XKeyboardState XKeyboardState ;

typedef struct XTimeCoord XTimeCoord ;

typedef struct XModifierKeymap XModifierKeymap ;

struct __C21 {	/* sizeof __C21 == 12 */

long sequence_number ;
int (*old_handler )();
int succeeded ;
};

typedef struct _XDisplay Display ;

typedef struct XKeyEvent XKeyEvent ;
typedef struct XKeyEvent XKeyPressedEvent ;
typedef struct XKeyEvent XKeyReleasedEvent ;

typedef struct XButtonEvent XButtonEvent ;
typedef struct XButtonEvent XButtonPressedEvent ;
typedef struct XButtonEvent XButtonReleasedEvent ;

typedef struct XMotionEvent XMotionEvent ;
typedef struct XMotionEvent XPointerMovedEvent ;

typedef struct XCrossingEvent XCrossingEvent ;
typedef struct XCrossingEvent XEnterWindowEvent ;
typedef struct XCrossingEvent XLeaveWindowEvent ;

typedef struct XFocusChangeEvent XFocusChangeEvent ;
typedef struct XFocusChangeEvent XFocusInEvent ;
typedef struct XFocusChangeEvent XFocusOutEvent ;

typedef struct XKeymapEvent XKeymapEvent ;

typedef struct XExposeEvent XExposeEvent ;

typedef struct XGraphicsExposeEvent XGraphicsExposeEvent ;

typedef struct XNoExposeEvent XNoExposeEvent ;

typedef struct XVisibilityEvent XVisibilityEvent ;

typedef struct XCreateWindowEvent XCreateWindowEvent ;

typedef struct XDestroyWindowEvent XDestroyWindowEvent ;

typedef struct XUnmapEvent XUnmapEvent ;

typedef struct XMapEvent XMapEvent ;

typedef struct XMapRequestEvent XMapRequestEvent ;

typedef struct XReparentEvent XReparentEvent ;

typedef struct XConfigureEvent XConfigureEvent ;

typedef struct XGravityEvent XGravityEvent ;

typedef struct XResizeRequestEvent XResizeRequestEvent ;

typedef struct XConfigureRequestEvent XConfigureRequestEvent ;

typedef struct XCirculateEvent XCirculateEvent ;

typedef struct XCirculateRequestEvent XCirculateRequestEvent ;

typedef struct XPropertyEvent XPropertyEvent ;

typedef struct XSelectionClearEvent XSelectionClearEvent ;

typedef struct XSelectionRequestEvent XSelectionRequestEvent ;

typedef struct XSelectionEvent XSelectionEvent ;

typedef struct XColormapEvent XColormapEvent ;

union __C50 {	/* sizeof __C50 == 20 */

char b [20];
short s [10];
long l [5];
};

typedef struct XClientMessageEvent XClientMessageEvent ;

typedef struct XMappingEvent XMappingEvent ;

typedef struct XErrorEvent XErrorEvent ;

typedef struct XAnyEvent XAnyEvent ;

struct XAnyEvent {	/* sizeof XAnyEvent == 20 */

int type__9XAnyEvent ;
unsigned long serial__9XAnyEvent ;
int send_event__9XAnyEvent ;
struct _XDisplay *display__9XAnyEvent ;
Window window__9XAnyEvent ;
};

struct XKeyEvent {	/* sizeof XKeyEvent == 60 */

int type__9XKeyEvent ;
unsigned long serial__9XKeyEvent ;
int send_event__9XKeyEvent ;
struct _XDisplay *display__9XKeyEvent ;
Window window__9XKeyEvent ;
Window root__9XKeyEvent ;
Window subwindow__9XKeyEvent ;
Time time__9XKeyEvent ;
int x__9XKeyEvent ;

int y__9XKeyEvent ;
int x_root__9XKeyEvent ;

int y_root__9XKeyEvent ;
unsigned int state__9XKeyEvent ;
unsigned int keycode__9XKeyEvent ;
int same_screen__9XKeyEvent ;
};

struct XButtonEvent {	/* sizeof XButtonEvent == 60 */

int type__12XButtonEvent ;
unsigned long serial__12XButtonEvent ;
int send_event__12XButtonEvent ;
struct _XDisplay *display__12XButtonEvent ;
Window window__12XButtonEvent ;
Window root__12XButtonEvent ;
Window subwindow__12XButtonEvent ;
Time time__12XButtonEvent ;
int x__12XButtonEvent ;

int y__12XButtonEvent ;
int x_root__12XButtonEvent ;

int y_root__12XButtonEvent ;
unsigned int state__12XButtonEvent ;
unsigned int button__12XButtonEvent ;
int same_screen__12XButtonEvent ;
};

struct XMotionEvent {	/* sizeof XMotionEvent == 60 */

int type__12XMotionEvent ;
unsigned long serial__12XMotionEvent ;
int send_event__12XMotionEvent ;
struct _XDisplay *display__12XMotionEvent ;
Window window__12XMotionEvent ;
Window root__12XMotionEvent ;
Window subwindow__12XMotionEvent ;
Time time__12XMotionEvent ;
int x__12XMotionEvent ;

int y__12XMotionEvent ;
int x_root__12XMotionEvent ;

int y_root__12XMotionEvent ;
unsigned int state__12XMotionEvent ;
char is_hint__12XMotionEvent ;
int same_screen__12XMotionEvent ;
};

struct XCrossingEvent {	/* sizeof XCrossingEvent == 68 */

int type__14XCrossingEvent ;
unsigned long serial__14XCrossingEvent ;
int send_event__14XCrossingEvent ;
struct _XDisplay *display__14XCrossingEvent ;
Window window__14XCrossingEvent ;
Window root__14XCrossingEvent ;
Window subwindow__14XCrossingEvent ;
Time time__14XCrossingEvent ;
int x__14XCrossingEvent ;

int y__14XCrossingEvent ;
int x_root__14XCrossingEvent ;

int y_root__14XCrossingEvent ;
int mode__14XCrossingEvent ;
int detail__14XCrossingEvent ;

int same_screen__14XCrossingEvent ;
int focus__14XCrossingEvent ;
unsigned int state__14XCrossingEvent ;
};

struct XFocusChangeEvent {	/* sizeof XFocusChangeEvent == 28 */

int type__17XFocusChangeEvent ;
unsigned long serial__17XFocusChangeEvent ;
int send_event__17XFocusChangeEvent ;
struct _XDisplay *display__17XFocusChangeEvent ;
Window window__17XFocusChangeEvent ;
int mode__17XFocusChangeEvent ;
int detail__17XFocusChangeEvent ;
};

struct XExposeEvent {	/* sizeof XExposeEvent == 40 */

int type__12XExposeEvent ;
unsigned long serial__12XExposeEvent ;
int send_event__12XExposeEvent ;
struct _XDisplay *display__12XExposeEvent ;
Window window__12XExposeEvent ;
int x__12XExposeEvent ;

int y__12XExposeEvent ;
int width__12XExposeEvent ;

int height__12XExposeEvent ;
int count__12XExposeEvent ;
};

struct XGraphicsExposeEvent {	/* sizeof XGraphicsExposeEvent == 48 */

int type__20XGraphicsExposeEvent ;
unsigned long serial__20XGraphicsExposeEvent ;
int send_event__20XGraphicsExposeEvent ;
struct _XDisplay *display__20XGraphicsExposeEvent ;
Drawable drawable__20XGraphicsExposeEvent ;
int x__20XGraphicsExposeEvent ;

int y__20XGraphicsExposeEvent ;
int width__20XGraphicsExposeEvent ;

int height__20XGraphicsExposeEvent ;
int count__20XGraphicsExposeEvent ;
int major_code__20XGraphicsExposeEvent ;
int minor_code__20XGraphicsExposeEvent ;
};

struct XNoExposeEvent {	/* sizeof XNoExposeEvent == 28 */

int type__14XNoExposeEvent ;
unsigned long serial__14XNoExposeEvent ;
int send_event__14XNoExposeEvent ;
struct _XDisplay *display__14XNoExposeEvent ;
Drawable drawable__14XNoExposeEvent ;
int major_code__14XNoExposeEvent ;
int minor_code__14XNoExposeEvent ;
};

struct XVisibilityEvent {	/* sizeof XVisibilityEvent == 24 */

int type__16XVisibilityEvent ;
unsigned long serial__16XVisibilityEvent ;
int send_event__16XVisibilityEvent ;
struct _XDisplay *display__16XVisibilityEvent ;
Window window__16XVisibilityEvent ;
int state__16XVisibilityEvent ;
};

struct XCreateWindowEvent {	/* sizeof XCreateWindowEvent == 48 */

int type__18XCreateWindowEvent ;
unsigned long serial__18XCreateWindowEvent ;
int send_event__18XCreateWindowEvent ;
struct _XDisplay *display__18XCreateWindowEvent ;
Window parent__18XCreateWindowEvent ;
Window window__18XCreateWindowEvent ;
int x__18XCreateWindowEvent ;

int y__18XCreateWindowEvent ;
int width__18XCreateWindowEvent ;

int height__18XCreateWindowEvent ;
int border_width__18XCreateWindowEvent ;
int override_redirect__18XCreateWindowEvent ;
};

struct XDestroyWindowEvent {	/* sizeof XDestroyWindowEvent == 24 */

int type__19XDestroyWindowEvent ;
unsigned long serial__19XDestroyWindowEvent ;
int send_event__19XDestroyWindowEvent ;
struct _XDisplay *display__19XDestroyWindowEvent ;
Window event__19XDestroyWindowEvent ;
Window window__19XDestroyWindowEvent ;
};

struct XUnmapEvent {	/* sizeof XUnmapEvent == 28 */

int type__11XUnmapEvent ;
unsigned long serial__11XUnmapEvent ;
int send_event__11XUnmapEvent ;
struct _XDisplay *display__11XUnmapEvent ;
Window event__11XUnmapEvent ;
Window window__11XUnmapEvent ;
int from_configure__11XUnmapEvent ;
};

struct XMapEvent {	/* sizeof XMapEvent == 28 */

int type__9XMapEvent ;
unsigned long serial__9XMapEvent ;
int send_event__9XMapEvent ;
struct _XDisplay *display__9XMapEvent ;
Window event__9XMapEvent ;
Window window__9XMapEvent ;
int override_redirect__9XMapEvent ;
};

struct XMapRequestEvent {	/* sizeof XMapRequestEvent == 24 */

int type__16XMapRequestEvent ;
unsigned long serial__16XMapRequestEvent ;
int send_event__16XMapRequestEvent ;
struct _XDisplay *display__16XMapRequestEvent ;
Window parent__16XMapRequestEvent ;
Window window__16XMapRequestEvent ;
};

struct XReparentEvent {	/* sizeof XReparentEvent == 40 */

int type__14XReparentEvent ;
unsigned long serial__14XReparentEvent ;
int send_event__14XReparentEvent ;
struct _XDisplay *display__14XReparentEvent ;
Window event__14XReparentEvent ;
Window window__14XReparentEvent ;
Window parent__14XReparentEvent ;
int x__14XReparentEvent ;

int y__14XReparentEvent ;
int override_redirect__14XReparentEvent ;
};

struct XConfigureEvent {	/* sizeof XConfigureEvent == 52 */

int type__15XConfigureEvent ;
unsigned long serial__15XConfigureEvent ;
int send_event__15XConfigureEvent ;
struct _XDisplay *display__15XConfigureEvent ;
Window event__15XConfigureEvent ;
Window window__15XConfigureEvent ;
int x__15XConfigureEvent ;

int y__15XConfigureEvent ;
int width__15XConfigureEvent ;

int height__15XConfigureEvent ;
int border_width__15XConfigureEvent ;
Window above__15XConfigureEvent ;
int override_redirect__15XConfigureEvent ;
};

struct XGravityEvent {	/* sizeof XGravityEvent == 32 */

int type__13XGravityEvent ;
unsigned long serial__13XGravityEvent ;
int send_event__13XGravityEvent ;
struct _XDisplay *display__13XGravityEvent ;
Window event__13XGravityEvent ;
Window window__13XGravityEvent ;
int x__13XGravityEvent ;

int y__13XGravityEvent ;
};

struct XResizeRequestEvent {	/* sizeof XResizeRequestEvent == 28 */

int type__19XResizeRequestEvent ;
unsigned long serial__19XResizeRequestEvent ;
int send_event__19XResizeRequestEvent ;
struct _XDisplay *display__19XResizeRequestEvent ;
Window window__19XResizeRequestEvent ;
int width__19XResizeRequestEvent ;

int height__19XResizeRequestEvent ;
};

struct XConfigureRequestEvent {	/* sizeof XConfigureRequestEvent == 56 */

int type__22XConfigureRequestEvent ;
unsigned long serial__22XConfigureRequestEvent ;
int send_event__22XConfigureRequestEvent ;
struct _XDisplay *display__22XConfigureRequestEvent ;
Window parent__22XConfigureRequestEvent ;
Window window__22XConfigureRequestEvent ;
int x__22XConfigureRequestEvent ;

int y__22XConfigureRequestEvent ;
int width__22XConfigureRequestEvent ;

int height__22XConfigureRequestEvent ;
int border_width__22XConfigureRequestEvent ;
Window above__22XConfigureRequestEvent ;
int detail__22XConfigureRequestEvent ;
unsigned long value_mask__22XConfigureRequestEvent ;
};

struct XCirculateEvent {	/* sizeof XCirculateEvent == 28 */

int type__15XCirculateEvent ;
unsigned long serial__15XCirculateEvent ;
int send_event__15XCirculateEvent ;
struct _XDisplay *display__15XCirculateEvent ;
Window event__15XCirculateEvent ;
Window window__15XCirculateEvent ;
int place__15XCirculateEvent ;
};

struct XCirculateRequestEvent {	/* sizeof XCirculateRequestEvent == 28 */

int type__22XCirculateRequestEvent ;
unsigned long serial__22XCirculateRequestEvent ;
int send_event__22XCirculateRequestEvent ;
struct _XDisplay *display__22XCirculateRequestEvent ;
Window parent__22XCirculateRequestEvent ;
Window window__22XCirculateRequestEvent ;
int place__22XCirculateRequestEvent ;
};

struct XPropertyEvent {	/* sizeof XPropertyEvent == 32 */

int type__14XPropertyEvent ;
unsigned long serial__14XPropertyEvent ;
int send_event__14XPropertyEvent ;
struct _XDisplay *display__14XPropertyEvent ;
Window window__14XPropertyEvent ;
Atom atom__14XPropertyEvent ;
Time time__14XPropertyEvent ;
int state__14XPropertyEvent ;
};

struct XSelectionClearEvent {	/* sizeof XSelectionClearEvent == 28 */

int type__20XSelectionClearEvent ;
unsigned long serial__20XSelectionClearEvent ;
int send_event__20XSelectionClearEvent ;
struct _XDisplay *display__20XSelectionClearEvent ;
Window window__20XSelectionClearEvent ;
Atom selection__20XSelectionClearEvent ;
Time time__20XSelectionClearEvent ;
};

struct XSelectionRequestEvent {	/* sizeof XSelectionRequestEvent == 40 */

int type__22XSelectionRequestEvent ;
unsigned long serial__22XSelectionRequestEvent ;
int send_event__22XSelectionRequestEvent ;
struct _XDisplay *display__22XSelectionRequestEvent ;
Window owner__22XSelectionRequestEvent ;
Window requestor__22XSelectionRequestEvent ;
Atom selection__22XSelectionRequestEvent ;
Atom target__22XSelectionRequestEvent ;
Atom property__22XSelectionRequestEvent ;
Time time__22XSelectionRequestEvent ;
};

struct XSelectionEvent {	/* sizeof XSelectionEvent == 36 */

int type__15XSelectionEvent ;
unsigned long serial__15XSelectionEvent ;
int send_event__15XSelectionEvent ;
struct _XDisplay *display__15XSelectionEvent ;
Window requestor__15XSelectionEvent ;
Atom selection__15XSelectionEvent ;
Atom target__15XSelectionEvent ;
Atom property__15XSelectionEvent ;
Time time__15XSelectionEvent ;
};

struct XColormapEvent {	/* sizeof XColormapEvent == 32 */

int type__14XColormapEvent ;
unsigned long serial__14XColormapEvent ;
int send_event__14XColormapEvent ;
struct _XDisplay *display__14XColormapEvent ;
Window window__14XColormapEvent ;
Colormap colormap__14XColormapEvent ;

int c_new__14XColormapEvent ;

int state__14XColormapEvent ;
};

struct XClientMessageEvent {	/* sizeof XClientMessageEvent == 48 */

int type__19XClientMessageEvent ;
unsigned long serial__19XClientMessageEvent ;
int send_event__19XClientMessageEvent ;
struct _XDisplay *display__19XClientMessageEvent ;
Window window__19XClientMessageEvent ;
Atom message_type__19XClientMessageEvent ;
int format__19XClientMessageEvent ;

union __C50 data__19XClientMessageEvent ;
};

struct XMappingEvent {	/* sizeof XMappingEvent == 32 */

int type__13XMappingEvent ;
unsigned long serial__13XMappingEvent ;
int send_event__13XMappingEvent ;
struct _XDisplay *display__13XMappingEvent ;
Window window__13XMappingEvent ;
int request__13XMappingEvent ;

int first_keycode__13XMappingEvent ;
int count__13XMappingEvent ;
};

struct XErrorEvent {	/* sizeof XErrorEvent == 20 */

int type__11XErrorEvent ;
struct _XDisplay *display__11XErrorEvent ;
XID resourceid__11XErrorEvent ;
unsigned long serial__11XErrorEvent ;
unsigned char error_code__11XErrorEvent ;
unsigned char request_code__11XErrorEvent ;
unsigned char minor_code__11XErrorEvent ;
};

struct XKeymapEvent {	/* sizeof XKeymapEvent == 52 */

int type__12XKeymapEvent ;
unsigned long serial__12XKeymapEvent ;
int send_event__12XKeymapEvent ;
struct _XDisplay *display__12XKeymapEvent ;
Window window__12XKeymapEvent ;
char key_vector__12XKeymapEvent [32];
};

typedef union _XEvent XEvent ;

union _XEvent {	/* sizeof _XEvent == 96 */

int type__7_XEvent ;
struct XAnyEvent xany__7_XEvent ;
struct XKeyEvent xkey__7_XEvent ;
struct XButtonEvent xbutton__7_XEvent ;
struct XMotionEvent xmotion__7_XEvent ;
struct XCrossingEvent xcrossing__7_XEvent ;
struct XFocusChangeEvent xfocus__7_XEvent ;
struct XExposeEvent xexpose__7_XEvent ;
struct XGraphicsExposeEvent xgraphicsexpose__7_XEvent ;
struct XNoExposeEvent xnoexpose__7_XEvent ;
struct XVisibilityEvent xvisibility__7_XEvent ;
struct XCreateWindowEvent xcreatewindow__7_XEvent ;
struct XDestroyWindowEvent xdestroywindow__7_XEvent ;
struct XUnmapEvent xunmap__7_XEvent ;
struct XMapEvent xmap__7_XEvent ;
struct XMapRequestEvent xmaprequest__7_XEvent ;
struct XReparentEvent xreparent__7_XEvent ;
struct XConfigureEvent xconfigure__7_XEvent ;
struct XGravityEvent xgravity__7_XEvent ;
struct XResizeRequestEvent xresizerequest__7_XEvent ;
struct XConfigureRequestEvent xconfigurerequest__7_XEvent ;
struct XCirculateEvent xcirculate__7_XEvent ;
struct XCirculateRequestEvent xcirculaterequest__7_XEvent ;
struct XPropertyEvent xproperty__7_XEvent ;
struct XSelectionClearEvent xselectionclear__7_XEvent ;
struct XSelectionRequestEvent xselectionrequest__7_XEvent ;
struct XSelectionEvent xselection__7_XEvent ;
struct XColormapEvent xcolormap__7_XEvent ;
struct XClientMessageEvent xclient__7_XEvent ;
struct XMappingEvent xmapping__7_XEvent ;
struct XErrorEvent xerror__7_XEvent ;
struct XKeymapEvent xkeymap__7_XEvent ;
long pad__7_XEvent [24];
};

typedef struct _XSQEvent _XQEvent ;

typedef struct XCharStruct XCharStruct ;

typedef struct XFontProp XFontProp ;

struct XCharStruct {	/* sizeof XCharStruct == 12 */

short lbearing__11XCharStruct ;
short rbearing__11XCharStruct ;
short width__11XCharStruct ;
short ascent__11XCharStruct ;
short descent__11XCharStruct ;
unsigned short attributes__11XCharStruct ;
};

typedef struct XFontStruct XFontStruct ;

typedef struct XTextItem XTextItem ;

typedef struct XChar2b XChar2b ;

typedef struct XTextItem16 XTextItem16 ;

typedef union XEDataObject XEDataObject ;

typedef int (*XErrorHandler )();

typedef int (*XIOErrorHandler )();

struct __C62 {	/* sizeof __C62 == 8 */

int x ;
int y ;
};

typedef struct XSizeHints XSizeHints ;

typedef struct XWMHints XWMHints ;

typedef struct XTextProperty XTextProperty ;

typedef struct XIconSize XIconSize ;

typedef struct XClassHint XClassHint ;

typedef struct _XComposeStatus XComposeStatus ;

typedef struct _XRegion *Region ;

typedef struct XVisualInfo XVisualInfo ;

typedef struct XStandardColormap XStandardColormap ;

typedef int XContext ;

typedef int XrmQuark ;

typedef int *XrmQuarkList ;

typedef char *XrmString ;
enum XrmBinding { XrmBindTightly, XrmBindLoosely} ;

typedef int XrmBinding ;

typedef int *XrmBindingList ;

typedef XrmQuark XrmName ;
typedef XrmQuarkList XrmNameList ;

typedef XrmQuark XrmClass ;
typedef XrmQuarkList XrmClassList ;

typedef XrmQuark XrmRepresentation ;

typedef struct XrmValue XrmValue ;

typedef struct XrmValue *XrmValuePtr ;

typedef struct _XrmHashBucketRec *XrmHashBucket ;
typedef XrmHashBucket *XrmHashTable ;
typedef XrmHashTable XrmSearchList [];
typedef struct _XrmHashBucketRec *XrmDatabase ;
enum XrmOptionKind { XrmoptionNoArg, XrmoptionIsArg, XrmoptionStickyArg, XrmoptionSepArg, XrmoptionResArg, XrmoptionSkipArg, XrmoptionSkipLine, XrmoptionSkipNArgs} ;

typedef int XrmOptionKind ;

typedef struct XrmOptionDescRec XrmOptionDescRec ;

typedef struct XrmOptionDescRec *XrmOptionDescList ;

struct timeval {	/* sizeof timeval == 8 */

long tv_sec__7timeval ;
long tv_usec__7timeval ;
};

typedef char *String ;

typedef struct _WidgetClassRec *WidgetClass ;

typedef struct _XtActionsRec *XtActionList ;
typedef struct _XtEventRec *XtEventTable ;

typedef struct ObjectRec *Object ;
typedef struct RectObjRec *RectObj ;
typedef struct Core *Widget ;
typedef Widget *WidgetList ;
typedef struct WindowObjRec *WindowObj ;
typedef struct ApplicationContext *XtAppContext ;

typedef unsigned long XtValueMask ;
typedef unsigned long XtIntervalId ;
typedef unsigned long XtInputId ;
typedef unsigned long XtWorkProcId ;
typedef unsigned int XtGeometryMask ;
typedef unsigned long XtGCMask ;
typedef unsigned long Pixel ;
typedef int XtCacheType ;

typedef char Boolean ;
typedef long XtArgVal ;
typedef unsigned char XtEnum ;

typedef unsigned int Cardinal ;
typedef unsigned short Dimension ;
typedef short Position ;
typedef char *XtPointer ;

typedef XtPointer Opaque ;

typedef struct _TranslationData *XtTranslations ;
typedef struct _TranslationData *XtAccelerators ;
typedef unsigned int Modifiers ;

typedef char (*XtActionProc )();

typedef XtActionProc *XtBoundActions ;

typedef struct _XtActionsRec XtActionsRec ;
enum XtAddressMode { XtAddress, XtBaseOffset, XtImmediate, XtResourceString, XtResourceQuark, XtWidgetBaseOffset, XtProcedureArg} ;

typedef int XtAddressMode ;

typedef struct XtConvertArgRec XtConvertArgRec ;

typedef struct XtConvertArgRec *XtConvertArgList ;

typedef char (*XtConvertArgProc )();

typedef struct XtWidgetGeometry XtWidgetGeometry ;

typedef char (*XtConverter )();

typedef Boolean (*XtTypeConverter )();

typedef char (*XtDestructor )();

typedef Opaque XtCacheRef ;

typedef Opaque XtActionHookId ;

typedef char (*XtActionHookProc )();

typedef char (*XtKeyProc )();

typedef char (*XtCaseProc )();

typedef char (*XtEventHandler )();

typedef unsigned long EventMask ;
enum XtListPosition { XtListHead, XtListTail} ;
typedef int XtListPosition ;

typedef unsigned long XtInputMask ;

typedef char (*XtTimerCallbackProc )();

typedef char (*XtInputCallbackProc )();

typedef struct Arg Arg ;

typedef struct Arg *ArgList ;

typedef XtPointer XtVarArgsList ;

typedef char (*XtCallbackProc )();

typedef struct _XtCallbackRec XtCallbackRec ;

typedef struct _XtCallbackRec *XtCallbackList ;
enum XtCallbackStatus { XtCallbackNoList, XtCallbackHasNone, XtCallbackHasSome} ;

typedef int XtCallbackStatus ;
enum XtGeometryResult { XtGeometryYes, XtGeometryNo, XtGeometryAlmost, XtGeometryDone} ;

typedef int XtGeometryResult ;
enum XtGrabKind { XtGrabNone, XtGrabNonexclusive, XtGrabExclusive} ;
typedef int XtGrabKind ;

typedef struct XtPopdownIDRec XtPopdownIDRec ;

typedef struct XtPopdownIDRec *XtPopdownID ;

typedef struct _XtResource XtResource ;

typedef struct _XtResource *XtResourceList ;

typedef char (*XtResourceDefaultProc )();

typedef char (*XtErrorMsgHandler )();

typedef char (*XtErrorHandler )();

typedef Boolean (*XtWorkProc )();

typedef struct SubstitutionRec SubstitutionRec ;

typedef struct SubstitutionRec *Substitution ;

typedef Boolean (*XtFilePredicate )();

typedef XtPointer XtRequestId ;

typedef Boolean (*XtConvertSelectionProc )();

typedef char (*XtLoseSelectionProc )();

typedef char (*XtSelectionDoneProc )();

typedef char (*XtSelectionCallbackProc )();

typedef char (*XtLoseSelectionIncrProc )();

typedef char (*XtSelectionDoneIncrProc )();

typedef Boolean (*XtConvertSelectionIncrProc )();

typedef char (*XtCancelConvertSelectionProc )();

extern struct XtConvertArgRec colorConvertArgs [];
extern struct XtConvertArgRec screenConvertArg [];

typedef struct _XtTypedArg *XtTypedArgList ;

typedef long Fd_mask ;

typedef struct Fd_set Fd_set ;

typedef struct _ProcessContextRec *ProcessContext ;
typedef struct _CallbackRec *CallbackList ;
typedef struct _TimerEventRec *TimerEvent ;

typedef struct _ConverterRec **ConverterTable ;

struct Fd_set {	/* sizeof Fd_set == 32 */

Fd_mask fds_bits__6Fd_set [8];
};

typedef struct _XtActionsRec ActionArray [];

struct FdStruct {	/* sizeof FdStruct == 104 */

struct Fd_set rmask__8FdStruct ;
struct Fd_set wmask__8FdStruct ;
struct Fd_set emask__8FdStruct ;
int nfds__8FdStruct ;
int count__8FdStruct ;
};

struct Heap {	/* sizeof Heap == 12 */

char *start__4Heap ;
char *current__4Heap ;
int bytes_remaining__4Heap ;
};

struct ApplicationContext {	/* sizeof ApplicationContext == 220 */

XtAppContext next__18ApplicationContext ;
ProcessContext process__18ApplicationContext ;
CallbackList destroy_callbacks__18ApplicationContext ;
struct _XDisplay **list__18ApplicationContext ;
TimerEvent timerQueue__18ApplicationContext ;
struct _WorkProcRec *workQueue__18ApplicationContext ;
struct _InputEvent **input_list__18ApplicationContext ;
struct _InputEvent *outstandingQueue__18ApplicationContext ;
XrmDatabase errorDB__18ApplicationContext ;
XtErrorMsgHandler errorMsgHandler__18ApplicationContext ;

XtErrorMsgHandler warningMsgHandler__18ApplicationContext ;
XtErrorHandler errorHandler__18ApplicationContext ;

XtErrorHandler warningHandler__18ApplicationContext ;
struct _ActionListRec *action_table__18ApplicationContext ;
ConverterTable converterTable__18ApplicationContext ;
unsigned long selectionTimeout__18ApplicationContext ;
struct FdStruct fds__18ApplicationContext ;
short count__18ApplicationContext ;
short max__18ApplicationContext ;
short last__18ApplicationContext ;
Boolean sync__18ApplicationContext ;

Boolean being_destroyed__18ApplicationContext ;

Boolean error_inited__18ApplicationContext ;

Boolean identify_windows__18ApplicationContext ;

struct Heap heap__18ApplicationContext ;
String *fallback_resources__18ApplicationContext ;
struct _ActionHookRec *action_hook_list__18ApplicationContext ;
int destroy_list_size__18ApplicationContext ;
int destroy_count__18ApplicationContext ;
int dispatch_level__18ApplicationContext ;
struct _DestroyRec *destroy_list__18ApplicationContext ;
Widget in_phase2_destroy__18ApplicationContext ;
};

extern Boolean inited__18ApplicationContext ;

extern char XtToolkitInitialize ();

extern XtAppContext XtCreateApplicationContextP ();

extern char *__nw__FUi ();

extern char XtAppProcessEvent ();

extern char XtAppMainLoop ();

extern XtIntervalId XtAppAddTimeOut ();

extern char XtRemoveTimeOut ();

extern XtInputId XtAppAddInput ();

extern char XtAppNextEvent ();

extern Boolean XtAppPeekEvent ();

extern XtInputMask XtAppPending ();

struct _XtActionsRec {	/* sizeof _XtActionsRec == 8 */

char *string__13_XtActionsRec ;
XtActionProc proc__13_XtActionsRec ;
};

extern char XtAppAddActions ();

extern char XtDisplayInitialize ();

extern struct _XDisplay *XtOpenDisplay ();

extern char XtDestroyApplicationContext ();

extern char __dl__FPv ();

extern XtWorkProcId XtAppAddWorkProc ();

struct ObjectRec {	/* sizeof ObjectRec == 28 */

Widget self__9ObjectRec ;
WidgetClass widget_class__9ObjectRec ;
Widget parent__9ObjectRec ;
XrmName xrm_name__9ObjectRec ;
Boolean being_destroyed__9ObjectRec ;
XtCallbackList destroy_callbacks__9ObjectRec ;
XtPointer constraints__9ObjectRec ;
};

typedef struct StateRec *StatePtr ;

typedef struct XtTMRec *XtTM ;

extern int _XtInheritTranslations ;

struct RectObjRec {	/* sizeof RectObjRec == 44 */

Widget self__9ObjectRec ;
WidgetClass widget_class__9ObjectRec ;
Widget parent__9ObjectRec ;
XrmName xrm_name__9ObjectRec ;
Boolean being_destroyed__9ObjectRec ;
XtCallbackList destroy_callbacks__9ObjectRec ;
XtPointer constraints__9ObjectRec ;

Position x__10RectObjRec ;
Position y__10RectObjRec ;
Dimension width__10RectObjRec ;
Dimension height__10RectObjRec ;
Dimension border_width__10RectObjRec ;
Boolean managed__10RectObjRec ;
Boolean sensitive__10RectObjRec ;
Boolean ancestor_sensitive__10RectObjRec ;
};

struct XtTMRec {	/* sizeof XtTMRec == 16 */

XtTranslations translations__7XtTMRec ;
XtBoundActions proc_table__7XtTMRec ;
StatePtr current_state__7XtTMRec ;
unsigned long lastEventTime__7XtTMRec ;
};

extern WidgetClass widgetClass ;

struct WindowObjRec {	/* sizeof WindowObjRec == 116 */

Widget self__9ObjectRec ;
WidgetClass widget_class__9ObjectRec ;
Widget parent__9ObjectRec ;
XrmName xrm_name__9ObjectRec ;
Boolean being_destroyed__9ObjectRec ;
XtCallbackList destroy_callbacks__9ObjectRec ;
XtPointer constraints__9ObjectRec ;

Position x__10RectObjRec ;
Position y__10RectObjRec ;
Dimension width__10RectObjRec ;
Dimension height__10RectObjRec ;
Dimension border_width__10RectObjRec ;
Boolean managed__10RectObjRec ;
Boolean sensitive__10RectObjRec ;
Boolean ancestor_sensitive__10RectObjRec ;
char __W85[3];

XtEventTable event_table__12WindowObjRec ;
struct XtTMRec tm__12WindowObjRec ;
XtTranslations accelerators__12WindowObjRec ;
Pixel border_pixel__12WindowObjRec ;
Pixmap border_pixmap__12WindowObjRec ;
WidgetList popup_list__12WindowObjRec ;
Cardinal num_popups__12WindowObjRec ;
String name__12WindowObjRec ;
struct Screen *screen__12WindowObjRec ;
Colormap colormap__12WindowObjRec ;
Window window__12WindowObjRec ;
Cardinal depth__12WindowObjRec ;
Pixel background_pixel__12WindowObjRec ;
Pixmap background_pixmap__12WindowObjRec ;
Boolean visible__12WindowObjRec ;
Boolean mapped_when_managed__12WindowObjRec ;
};

extern Widget XtCreateWidgetP ();

struct Core {	/* sizeof Core == 116 */

Widget self__9ObjectRec ;
WidgetClass widget_class__9ObjectRec ;
Widget parent__9ObjectRec ;
XrmName xrm_name__9ObjectRec ;
Boolean being_destroyed__9ObjectRec ;
XtCallbackList destroy_callbacks__9ObjectRec ;
XtPointer constraints__9ObjectRec ;

Position x__10RectObjRec ;
Position y__10RectObjRec ;
Dimension width__10RectObjRec ;
Dimension height__10RectObjRec ;
Dimension border_width__10RectObjRec ;
Boolean managed__10RectObjRec ;
Boolean sensitive__10RectObjRec ;
Boolean ancestor_sensitive__10RectObjRec ;
char __W86[3];

XtEventTable event_table__12WindowObjRec ;
struct XtTMRec tm__12WindowObjRec ;
XtTranslations accelerators__12WindowObjRec ;
Pixel border_pixel__12WindowObjRec ;
Pixmap border_pixmap__12WindowObjRec ;
WidgetList popup_list__12WindowObjRec ;
Cardinal num_popups__12WindowObjRec ;
String name__12WindowObjRec ;
struct Screen *screen__12WindowObjRec ;
Colormap colormap__12WindowObjRec ;
Window window__12WindowObjRec ;
Cardinal depth__12WindowObjRec ;
Pixel background_pixel__12WindowObjRec ;
Pixmap background_pixmap__12WindowObjRec ;
Boolean visible__12WindowObjRec ;
Boolean mapped_when_managed__12WindowObjRec ;
char __W87[2];
};

struct Screen {	/* sizeof Screen == 80 */

struct _XExtData *ext_data__6Screen ;
struct _XDisplay *display__6Screen ;
Window root__6Screen ;
int width__6Screen ;

int height__6Screen ;
int mwidth__6Screen ;

int mheight__6Screen ;
int ndepths__6Screen ;
struct Depth *depths__6Screen ;
int root_depth__6Screen ;
struct Visual *root_visual__6Screen ;
GC default_gc__6Screen ;
Colormap cmap__6Screen ;
unsigned long white_pixel__6Screen ;
unsigned long black_pixel__6Screen ;
int max_maps__6Screen ;

int min_maps__6Screen ;
int backing_store__6Screen ;
int save_unders__6Screen ;
long root_input_mask__6Screen ;
};

extern char XtDestroyWidget ();

extern char XtManageChild ();

extern char XtUnmanageChild ();



extern int XMapWindow ();



extern int XUnmapWindow ();

extern Boolean XtIsSubclass ();

extern char XtRealizeWidget ();

extern char XtUnrealizeWidget ();

extern char XtSetSensitive ();

extern char XtSetMappedWhenManaged ();

extern Widget XtNameToWidget ();

extern char XtAddCallback ();

extern char XtRemoveAllCallbacks ();

extern char XtCallCallbacks ();

extern int XtHasCallbacks ();

extern char XtTranslateCoords ();

extern char XtPopup ();

extern char XtPopdown ();

extern XtAppContext XtWidgetToApplicationContext ();

extern char XtSetValues ();

extern char XtVaSetValues ();

extern char XtGetValues ();

extern GC XtGetGC ();

extern char XtDestroyGC ();

extern WidgetClass compositeWidgetClass ;

typedef Cardinal (*XtOrderProc )();


struct CompositeWidget {	/* sizeof CompositeWidget == 132 */

Widget self__9ObjectRec ;
WidgetClass widget_class__9ObjectRec ;
Widget parent__9ObjectRec ;
XrmName xrm_name__9ObjectRec ;
Boolean being_destroyed__9ObjectRec ;
XtCallbackList destroy_callbacks__9ObjectRec ;
XtPointer constraints__9ObjectRec ;

Position x__10RectObjRec ;
Position y__10RectObjRec ;
Dimension width__10RectObjRec ;
Dimension height__10RectObjRec ;
Dimension border_width__10RectObjRec ;
Boolean managed__10RectObjRec ;
Boolean sensitive__10RectObjRec ;
Boolean ancestor_sensitive__10RectObjRec ;
char __W88[3];

XtEventTable event_table__12WindowObjRec ;
struct XtTMRec tm__12WindowObjRec ;
XtTranslations accelerators__12WindowObjRec ;
Pixel border_pixel__12WindowObjRec ;
Pixmap border_pixmap__12WindowObjRec ;
WidgetList popup_list__12WindowObjRec ;
Cardinal num_popups__12WindowObjRec ;
String name__12WindowObjRec ;
struct Screen *screen__12WindowObjRec ;
Colormap colormap__12WindowObjRec ;
Window window__12WindowObjRec ;
Cardinal depth__12WindowObjRec ;
Pixel background_pixel__12WindowObjRec ;
Pixmap background_pixmap__12WindowObjRec ;
Boolean visible__12WindowObjRec ;
Boolean mapped_when_managed__12WindowObjRec ;
char __W89[2];

WidgetList children__15CompositeWidget ;
Cardinal num_children__15CompositeWidget ;
Cardinal num_slots__15CompositeWidget ;
XtOrderProc insert_position__15CompositeWidget ;
};



extern char XtManageChildren ();

extern WidgetClass constraintWidgetClass ;



struct ConstraintWidget {	/* sizeof ConstraintWidget == 136 */

Widget self__9ObjectRec ;
WidgetClass widget_class__9ObjectRec ;
Widget parent__9ObjectRec ;
XrmName xrm_name__9ObjectRec ;
Boolean being_destroyed__9ObjectRec ;
XtCallbackList destroy_callbacks__9ObjectRec ;
XtPointer constraints__9ObjectRec ;

Position x__10RectObjRec ;
Position y__10RectObjRec ;
Dimension width__10RectObjRec ;
Dimension height__10RectObjRec ;
Dimension border_width__10RectObjRec ;
Boolean managed__10RectObjRec ;
Boolean sensitive__10RectObjRec ;
Boolean ancestor_sensitive__10RectObjRec ;
char __W90[3];

XtEventTable event_table__12WindowObjRec ;
struct XtTMRec tm__12WindowObjRec ;
XtTranslations accelerators__12WindowObjRec ;
Pixel border_pixel__12WindowObjRec ;
Pixmap border_pixmap__12WindowObjRec ;
WidgetList popup_list__12WindowObjRec ;
Cardinal num_popups__12WindowObjRec ;
String name__12WindowObjRec ;
struct Screen *screen__12WindowObjRec ;
Colormap colormap__12WindowObjRec ;
Window window__12WindowObjRec ;
Cardinal depth__12WindowObjRec ;
Pixel background_pixel__12WindowObjRec ;
Pixmap background_pixmap__12WindowObjRec ;
Boolean visible__12WindowObjRec ;
Boolean mapped_when_managed__12WindowObjRec ;
char __W91[2];

WidgetList children__15CompositeWidget ;
Cardinal num_children__15CompositeWidget ;
Cardinal num_slots__15CompositeWidget ;
XtOrderProc insert_position__15CompositeWidget ;

XtPointer mumble__16ConstraintWidget ;
};




extern WidgetClass simpleWidgetClass ;



struct SimpleWidget {	/* sizeof SimpleWidget == 124 */

Widget self__9ObjectRec ;
WidgetClass widget_class__9ObjectRec ;
Widget parent__9ObjectRec ;
XrmName xrm_name__9ObjectRec ;
Boolean being_destroyed__9ObjectRec ;
XtCallbackList destroy_callbacks__9ObjectRec ;
XtPointer constraints__9ObjectRec ;

Position x__10RectObjRec ;
Position y__10RectObjRec ;
Dimension width__10RectObjRec ;
Dimension height__10RectObjRec ;
Dimension border_width__10RectObjRec ;
Boolean managed__10RectObjRec ;
Boolean sensitive__10RectObjRec ;
Boolean ancestor_sensitive__10RectObjRec ;
char __W92[3];

XtEventTable event_table__12WindowObjRec ;
struct XtTMRec tm__12WindowObjRec ;
XtTranslations accelerators__12WindowObjRec ;
Pixel border_pixel__12WindowObjRec ;
Pixmap border_pixmap__12WindowObjRec ;
WidgetList popup_list__12WindowObjRec ;
Cardinal num_popups__12WindowObjRec ;
String name__12WindowObjRec ;
struct Screen *screen__12WindowObjRec ;
Colormap colormap__12WindowObjRec ;
Window window__12WindowObjRec ;
Cardinal depth__12WindowObjRec ;
Pixel background_pixel__12WindowObjRec ;
Pixmap background_pixmap__12WindowObjRec ;
Boolean visible__12WindowObjRec ;
Boolean mapped_when_managed__12WindowObjRec ;
char __W93[2];

Cursor cursor__12SimpleWidget ;
Pixmap insensitive_border__12SimpleWidget ;
};




typedef int XtGravity ;
enum XtJustify { XtJustifyLeft, XtJustifyCenter, XtJustifyRight} ;

typedef int XtJustify ;
enum XtOrientation { XtorientHorizontal, XtorientVertical} ;

typedef int XtOrientation ;

extern WidgetClass labelWidgetClass ;

struct LabelWidget {	/* sizeof LabelWidget == 192 */

Widget self__9ObjectRec ;
WidgetClass widget_class__9ObjectRec ;
Widget parent__9ObjectRec ;
XrmName xrm_name__9ObjectRec ;
Boolean being_destroyed__9ObjectRec ;
XtCallbackList destroy_callbacks__9ObjectRec ;
XtPointer constraints__9ObjectRec ;

Position x__10RectObjRec ;
Position y__10RectObjRec ;
Dimension width__10RectObjRec ;
Dimension height__10RectObjRec ;
Dimension border_width__10RectObjRec ;
Boolean managed__10RectObjRec ;
Boolean sensitive__10RectObjRec ;
Boolean ancestor_sensitive__10RectObjRec ;
char __W96[3];

XtEventTable event_table__12WindowObjRec ;
struct XtTMRec tm__12WindowObjRec ;
XtTranslations accelerators__12WindowObjRec ;
Pixel border_pixel__12WindowObjRec ;
Pixmap border_pixmap__12WindowObjRec ;
WidgetList popup_list__12WindowObjRec ;
Cardinal num_popups__12WindowObjRec ;
String name__12WindowObjRec ;
struct Screen *screen__12WindowObjRec ;
Colormap colormap__12WindowObjRec ;
Window window__12WindowObjRec ;
Cardinal depth__12WindowObjRec ;
Pixel background_pixel__12WindowObjRec ;
Pixmap background_pixmap__12WindowObjRec ;
Boolean visible__12WindowObjRec ;
Boolean mapped_when_managed__12WindowObjRec ;
char __W97[2];

Cursor cursor__12SimpleWidget ;
Pixmap insensitive_border__12SimpleWidget ;

Pixel foreground__11LabelWidget ;
struct XFontStruct *font__11LabelWidget ;
char *_label__11LabelWidget ;
int justify__11LabelWidget ;
Dimension internal_width__11LabelWidget ;
Dimension internal_height__11LabelWidget ;
Pixmap pixmap__11LabelWidget ;
Boolean resize__11LabelWidget ;
Pixmap left_bitmap__11LabelWidget ;

GC normal_GC__11LabelWidget ;
GC gray_GC__11LabelWidget ;
Pixmap stipple__11LabelWidget ;
Position label_x__11LabelWidget ;
Position label_y__11LabelWidget ;
Dimension label_width__11LabelWidget ;
Dimension label_height__11LabelWidget ;
Dimension label_len__11LabelWidget ;
int lbm_y__11LabelWidget ;
unsigned int lbm_width__11LabelWidget ;

unsigned int lbm_height__11LabelWidget ;
};






typedef long streampos ;
typedef long streamoff ;
enum io_state { goodbit__io_state, eofbit__io_state, failbit__io_state, badbit__io_state, hardfail__io_state} ;
enum open_mode { in__open_mode, out__open_mode, ate__open_mode, app__open_mode, trunc__open_mode, nocreate__open_mode, noreplace__open_mode} ;
enum seek_dir { beg__seek_dir, cur__seek_dir, end__seek_dir} ;
enum __E98 { skipws____E98, left____E98, right____E98, internal____E98, dec____E98, oct____E98, hex____E98, showbase____E98, showpoint____E98, uppercase____E98, showpos____E98, scientific____E98, fixed____E98, unitbuf____E98,
stdio____E98} ;
enum __E99 { skipping____E99, tied____E99} ;
struct ios {	/* sizeof ios == 60 */

int nuser__3ios ;

union ios_user_union *x_user__3ios ;

struct streambuf *bp__3ios ;

int state__3ios ;
int ispecial__3ios ;
int ospecial__3ios ;
int isfx_special__3ios ;
int osfx_special__3ios ;
int delbuf__3ios ;
struct ostream *x_tie__3ios ;
long x_flags__3ios ;
short x_precision__3ios ;
char x_fill__3ios ;
short x_width__3ios ;

int assign_private__3ios ;

struct __mptr *__vptr__3ios ;
};

extern long basefield__3ios ;

extern long adjustfield__3ios ;

extern long floatfield__3ios ;

extern long nextbit__3ios ;
extern long nextword__3ios ;

extern char (*stdioflush__3ios )();

struct streambuf {	/* sizeof streambuf == 40 */

short alloc__9streambuf ;
short x_unbuf__9streambuf ;
char *x_base__9streambuf ;
char *x_pbase__9streambuf ;
char *x_pptr__9streambuf ;
char *x_epptr__9streambuf ;
char *x_gptr__9streambuf ;
char *x_egptr__9streambuf ;
char *x_eback__9streambuf ;
int x_blen__9streambuf ;

struct __mptr *__vptr__9streambuf ;
};


int doallocate__9streambufFv ();

int underflow__9streambufFv ();

int x_snextc__9streambufFv ();

int pbackfail__9streambufFi ();

int overflow__9streambufFi ();

extern char *memcpy ();


int xsputn__9streambufFPCci ();


int xsgetn__9streambufFPci ();

struct istream {	/* sizeof istream == 72 */

int x_gcount__7istream ;

struct __mptr *__vptr__7istream ;
struct ios *Pios;
struct ios Oios;
};

int do_ipfx__7istreamFi ();




char xget__7istreamFPc ();















struct istream *read__7istreamFPci ();

int sync__9streambufFv ();

struct ostream {	/* sizeof ostream == 68 */

struct __mptr *__vptr__7ostream ;
struct ios *Pios;
struct ios Oios;
};

int do_opfx__7ostreamFv ();
char do_osfx__7ostreamFv ();





static struct ostream *put__7ostreamFc (__0this , __0c )
register struct ostream *__0this ;
char __0c ;

{ 
if (( (__0this -> Pios-> ospecial__3ios ?do_opfx__7ostreamFv ( __0this ) :1 )) ){ 
if (( ((__0this -> Pios-> bp__3ios ->
x_pptr__9streambuf >= __0this -> Pios-> bp__3ios -> x_epptr__9streambuf )?((*(((int (*)())(__0this -> Pios-> bp__3ios -> __vptr__9streambuf [2]).f))))( ((struct streambuf *)((((char *)__0this -> Pios-> bp__3ios ))+
(__0this -> Pios-> bp__3ios -> __vptr__9streambuf [2]).d)), ((int )__0c )& 0377 ) :((((*(__0this -> Pios-> bp__3ios -> x_pptr__9streambuf ++ )))= ((int )__0c ))&
0377 ))) == -1){ 
( ( (((struct ios *)__0this -> Pios)-> state__3ios |= (3& 0377 )), ( (((struct ios *)__0this ->
Pios)-> ispecial__3ios |= (3& (~ 512))), (((struct ios *)__0this -> Pios)-> ispecial__3ios |= 3)) ) , (((char )0 )))
;
}
( (__0this -> Pios-> osfx_special__3ios ?( do_osfx__7ostreamFv ( __0this ) , 0 ) :( 0 ) )) ;
}
return (struct ostream *)__0this ;
}




struct ostream *__ls__7ostreamFi ();




struct iostream {	/* sizeof iostream == 80 */

int x_gcount__7istream ;

struct __mptr *__vptr__7istream ;
struct ios *Pios;
struct ostream Oostream;
};

extern struct istream_withassign cin ;
extern struct ostream_withassign cout ;
extern struct ostream_withassign cerr ;
extern struct ostream_withassign clog ;

struct Iostream_init {	/* sizeof Iostream_init == 1 */

char __W106__13Iostream_init ;
};

extern int stdstatus__13Iostream_init ;
extern int initcount__13Iostream_init ;

char __dt__13Iostream_initFv ();

struct Iostream_init *__ct__13Iostream_initFv ();

static struct Iostream_init iostream_init ;

typedef int (*GPT )();

struct smanip_int {	/* sizeof smanip_int == 8 */
struct ios *(*fct__10smanip_int )();

int arg__10smanip_int ;
};

struct sapply_int {	/* sizeof sapply_int == 4 */
struct ios *(*fct__10sapply_int )();
};

struct imanip_int {	/* sizeof imanip_int == 8 */
struct istream *(*fct__10imanip_int )();

int arg__10imanip_int ;
};

struct iapply_int {	/* sizeof iapply_int == 4 */
struct istream *(*fct__10iapply_int )();
};

struct omanip_int {	/* sizeof omanip_int == 8 */
struct ostream *(*fct__10omanip_int )();

int arg__10omanip_int ;
};

struct oapply_int {	/* sizeof oapply_int == 4 */
struct ostream *(*fct__10oapply_int )();
};

struct iomanip_int {	/* sizeof iomanip_int == 8 */
struct iostream *(*fct__11iomanip_int )();

int arg__11iomanip_int ;
};

struct ioapply_int {	/* sizeof ioapply_int == 4 */
struct iostream *(*fct__11ioapply_int )();
};


struct smanip_long {	/* sizeof smanip_long == 8 */
struct ios *(*fct__11smanip_long )();

long arg__11smanip_long ;
};

struct sapply_long {	/* sizeof sapply_long == 4 */
struct ios *(*fct__11sapply_long )();
};

struct imanip_long {	/* sizeof imanip_long == 8 */
struct istream *(*fct__11imanip_long )();

long arg__11imanip_long ;
};

struct iapply_long {	/* sizeof iapply_long == 4 */
struct istream *(*fct__11iapply_long )();
};

struct omanip_long {	/* sizeof omanip_long == 8 */
struct ostream *(*fct__11omanip_long )();

long arg__11omanip_long ;
};

struct oapply_long {	/* sizeof oapply_long == 4 */
struct ostream *(*fct__11oapply_long )();
};

struct iomanip_long {	/* sizeof iomanip_long == 8 */
struct iostream *(*fct__12iomanip_long )();

long arg__12iomanip_long ;
};

struct ioapply_long {	/* sizeof ioapply_long == 4 */
struct iostream *(*fct__12ioapply_long )();
};


extern int errno ;
extern char *sys_errlist [];
extern int sys_nerr ;

extern int errno ;

extern int sys_nerr ;
extern char *sys_errlist [];

extern struct _iobuf _iob [];

struct stdiobuf {	/* sizeof stdiobuf == 52 */

short alloc__9streambuf ;
short x_unbuf__9streambuf ;
char *x_base__9streambuf ;
char *x_pbase__9streambuf ;
char *x_pptr__9streambuf ;
char *x_epptr__9streambuf ;
char *x_gptr__9streambuf ;
char *x_egptr__9streambuf ;
char *x_eback__9streambuf ;
int x_blen__9streambuf ;

struct __mptr *__vptr__9streambuf ;

struct _iobuf *fp__8stdiobuf ;
int last_op__8stdiobuf ;
char buf__8stdiobuf [2];
};

struct filebuf {	/* sizeof filebuf == 64 */

short alloc__9streambuf ;
short x_unbuf__9streambuf ;
char *x_base__9streambuf ;
char *x_pbase__9streambuf ;
char *x_pptr__9streambuf ;
char *x_epptr__9streambuf ;
char *x_gptr__9streambuf ;
char *x_egptr__9streambuf ;
char *x_eback__9streambuf ;
int x_blen__9streambuf ;

struct __mptr *__vptr__9streambuf ;

int xfd__7filebuf ;
int mode__7filebuf ;
char opened__7filebuf ;
streampos last_seek__7filebuf ;
char *in_start__7filebuf ;

char lahead__7filebuf [2];
};

extern int openprot__7filebuf ;

struct fstreambase {	/* sizeof fstreambase == 132 */

struct filebuf buf__11fstreambase ;

struct __mptr *__vptr__11fstreambase ;
struct ios *Pios;
struct ios Oios;
};





















typedef int state_value ;
enum WatchState { Running__WatchState, Stopped__WatchState} ;

struct StopWatch {	/* sizeof StopWatch == 236 */

Widget self__9ObjectRec ;
WidgetClass widget_class__9ObjectRec ;
Widget parent__9ObjectRec ;
XrmName xrm_name__9ObjectRec ;
Boolean being_destroyed__9ObjectRec ;
XtCallbackList destroy_callbacks__9ObjectRec ;
XtPointer constraints__9ObjectRec ;

Position x__10RectObjRec ;
Position y__10RectObjRec ;
Dimension width__10RectObjRec ;
Dimension height__10RectObjRec ;
Dimension border_width__10RectObjRec ;
Boolean managed__10RectObjRec ;
Boolean sensitive__10RectObjRec ;
Boolean ancestor_sensitive__10RectObjRec ;
char __W124[3];

XtEventTable event_table__12WindowObjRec ;
struct XtTMRec tm__12WindowObjRec ;
XtTranslations accelerators__12WindowObjRec ;
Pixel border_pixel__12WindowObjRec ;
Pixmap border_pixmap__12WindowObjRec ;
WidgetList popup_list__12WindowObjRec ;
Cardinal num_popups__12WindowObjRec ;
String name__12WindowObjRec ;
struct Screen *screen__12WindowObjRec ;
Colormap colormap__12WindowObjRec ;
Window window__12WindowObjRec ;
Cardinal depth__12WindowObjRec ;
Pixel background_pixel__12WindowObjRec ;
Pixmap background_pixmap__12WindowObjRec ;
Boolean visible__12WindowObjRec ;
Boolean mapped_when_managed__12WindowObjRec ;
char __W125[2];

Cursor cursor__12SimpleWidget ;
Pixmap insensitive_border__12SimpleWidget ;

Pixel foreground__11LabelWidget ;
struct XFontStruct *font__11LabelWidget ;
char *_label__11LabelWidget ;
int justify__11LabelWidget ;
Dimension internal_width__11LabelWidget ;
Dimension internal_height__11LabelWidget ;
Pixmap pixmap__11LabelWidget ;
Boolean resize__11LabelWidget ;
Pixmap left_bitmap__11LabelWidget ;

GC normal_GC__11LabelWidget ;
GC gray_GC__11LabelWidget ;
Pixmap stipple__11LabelWidget ;
Position label_x__11LabelWidget ;
Position label_y__11LabelWidget ;
Dimension label_width__11LabelWidget ;
Dimension label_height__11LabelWidget ;
Dimension label_len__11LabelWidget ;
int lbm_y__11LabelWidget ;
unsigned int lbm_width__11LabelWidget ;

unsigned int lbm_height__11LabelWidget ;

long elapsed_time__9StopWatch ;
long start_time__9StopWatch ;
long current_time__9StopWatch ;
XtIntervalId iid__9StopWatch ;
long update_interval__9StopWatch ;
char string__9StopWatch [13];

int state__9StopWatch ;
struct ofstream *file__9StopWatch ;
};

char Stop__9StopWatchFv ();

char Save__9StopWatchFv ();


extern long time ();

char update__9StopWatchFl ();

struct swatch_helper {	/* sizeof swatch_helper == 1 */

char __W127__13swatch_helper ;
};

struct swatch_helper sh = { 0 } ;


char clock_tick__FPcPUl (__0client_data , __0id )
XtPointer __0client_data ;

XtIntervalId *__0id ;
{ 
struct StopWatch *__1sw ;

struct swatch_helper *__0__Xthis00aiafbiig ;

long __1__Xt00aiafbief ;

__1sw = (((struct StopWatch *)(((struct StopWatch *)__0client_data ))));
( (__0__Xthis00aiafbiig = (& sh )), ( time ( & __1__Xt00aiafbief ) , update__9StopWatchFl ( __1sw , __1__Xt00aiafbief ) ) )
;
}

char Go__9StopWatchFv (__0this )
register struct StopWatch *__0this ;

{ 
if ((__0this -> iid__9StopWatch == 0 )&& (__0this -> state__9StopWatch == 1))
{ long __2ct ;

__0this -> state__9StopWatch = 0;

time ( & __2ct ) ;

__0this -> start_time__9StopWatch = __2ct ;

update__9StopWatchFl ( __0this , __2ct ) ;
}
}

char Stop__9StopWatchFv (__0this )
register struct StopWatch *__0this ;

{ 
if (__0this -> state__9StopWatch == 0)
{ 
XtRemoveTimeOut ( __0this -> iid__9StopWatch ) ;

__0this -> state__9StopWatch = 1;

__0this -> iid__9StopWatch = 0 ;
__0this -> elapsed_time__9StopWatch += (__0this -> current_time__9StopWatch - __0this -> start_time__9StopWatch );
}
}

struct ostream_withassign {	/* sizeof ostream_withassign == 68 */

struct __mptr *__vptr__7ostream ;
struct ios *Pios;
struct ios Oios;
};

struct ostream *__ls__7ostreamFPCc ();

char PrintState__9StopWatchFPc (__0this , __0str )
register struct StopWatch *__0this ;

char *__0str ;
{ 
__ls__7ostreamFPCc ( (struct ostream *)__ls__7ostreamFPCc ( (struct ostream *)__ls__7ostreamFPCc ( (struct ostream *)(& cerr ), (char *)"State(")
, (char *)__0str ) , (char *)"): ") ;
if (__0this -> state__9StopWatch == 1)
__ls__7ostreamFPCc ( (struct ostream *)(& cerr ), (char *)"Stopped\n") ;
else 
if (__0this -> state__9StopWatch == 0)
__ls__7ostreamFPCc ( (struct ostream *)(& cerr ), (char *)"Running\n")
;
else 
__ls__7ostreamFPCc ( (struct ostream *)__ls__7ostreamFi ( (struct ostream *)__ls__7ostreamFPCc ( (struct ostream *)(& cerr ), (char *)"?=")
, ((int )__0this -> state__9StopWatch )) , (char *)"\n") ;
}

struct ofstream {	/* sizeof ofstream == 140 */

struct filebuf buf__11fstreambase ;

struct __mptr *__vptr__11fstreambase ;
struct ios *Pios;
struct ostream Oostream;
};

extern char *ctime ();

struct ostream *flush__7ostreamFv ();

char update_string__9StopWatchFl ();

char Save__9StopWatchFv (__0this )
register struct StopWatch *__0this ;

{ 
long __1ct ;
int __1cs ;

__1cs = __0this -> state__9StopWatch ;
Stop__9StopWatchFv ( __0this ) ;
time ( & __1ct ) ;
__ls__7ostreamFPCc ( (struct ostream *)__ls__7ostreamFPCc ( (struct ostream *)__ls__7ostreamFPCc ( (struct ostream *)__ls__7ostreamFPCc ( (struct ostream *)(& (*__0this -> file__9StopWatch ). Oostream), (char *)ctime (
(long *)(& __1ct )) ) , (char *)"   ") , (char *)__0this ->
string__9StopWatch ) , (char *)"\n") ;
flush__7ostreamFv ( (struct ostream *)(& (*__0this -> file__9StopWatch ). Oostream)) ;
__ls__7ostreamFPCc ( (struct ostream *)(& cerr ), (char *)"Stop Watch Saving...\n") ;
__0this -> elapsed_time__9StopWatch = 0 ;
update_string__9StopWatchFl ( __0this , ((long )0 )) ;
time ( & __0this -> start_time__9StopWatch ) ;
if (__1cs == 0)
Go__9StopWatchFv ( __0this ) ;
}


extern char *strcpy ();

struct StopWatch *__ct__9StopWatchFP4CoreR8ofstreaml (__0this , __0parent , __0f , __0interval )
register struct StopWatch *__0this ;

Widget __0parent ;

struct ofstream *__0f ;

long __0interval ;

{ 
struct Core *__0__Xthis00aieyaimi ;

struct Core *__0__Xparent00aieyaimi ;

struct _WidgetClassRec *__0__Xwc00aieyaimi ;
if (__0this || (__0this = (struct StopWatch *)__nw__FUi ( sizeof (struct StopWatch)) )){ ( ( ( ( ( (__0this =
(struct StopWatch *)( (((((struct LabelWidget *)__0this ))|| (__nw__FUi ( sizeof (struct LabelWidget)) ))?( ( (( (((((struct SimpleWidget *)(((struct LabelWidget *)__0this ))))|| (__nw__FUi (
sizeof (struct SimpleWidget)) ))?(( (((((struct Core *)(((struct SimpleWidget *)(((struct LabelWidget *)__0this ))))))|| (__nw__FUi ( sizeof (struct Core)) ))?0 :0 ), (((((struct Core *)(((struct SimpleWidget *)(((struct
LabelWidget *)__0this ))))))))) ):0 ), (((((struct SimpleWidget *)(((struct LabelWidget *)__0this ))))))) ), ( (__0__Xthis00aieyaimi = (struct Core *)(((struct LabelWidget *)__0this ))), ( (__0__Xparent00aieyaimi = __0parent ),
( (__0__Xwc00aieyaimi = labelWidgetClass ), ( XtCreateWidgetP ( ((char *)__0__Xthis00aieyaimi ), ((char *)"stopwatch"), __0__Xwc00aieyaimi ,
__0__Xparent00aieyaimi , ((struct Arg *)0 ), ((unsigned int )0 )) , (((char )0 ))) ) ) ) ) ,
0 ) :( 0 ) ), (((((struct LabelWidget *)__0this ))))) ), (__0this -> elapsed_time__9StopWatch = 0 )) , (__0this -> iid__9StopWatch = 0 ))
, (__0this -> update_interval__9StopWatch = __0interval )) , (__0this -> state__9StopWatch = 0)) , (__0this -> file__9StopWatch = __0f )) ;

(time ( & __0this -> start_time__9StopWatch ) );
strcpy ( (char *)__0this -> string__9StopWatch , (char *)"00h 00m 00s") ;

time ( & __0this -> start_time__9StopWatch ) ;
update__9StopWatchFl ( __0this , __0this -> start_time__9StopWatch ) ;
} return __0this ;
}

struct tm {	/* sizeof tm == 44 */

int tm_sec__2tm ;
int tm_min__2tm ;
int tm_hour__2tm ;
int tm_mday__2tm ;
int tm_mon__2tm ;
int tm_year__2tm ;
int tm_wday__2tm ;
int tm_yday__2tm ;
int tm_isdst__2tm ;
long tm_gmtoff__2tm ;
char *tm_zone__2tm ;
};


char update_string__9StopWatchFl (__0this , __0diff )
register struct StopWatch *__0this ;

long __0diff ;
{ 
struct tm __1tm ;

int __1mins ;

char *__0__Xname00aqsyaiig ;

char *__0__Xname200aqsyaiig ;

char *__0__Xname300aqsyaiig ;

__1tm . tm_sec__2tm = (((int )(__0diff % 60 )));
__1mins = (((int )(__0diff / 60 )));
__1tm . tm_min__2tm = (__1mins % 60 );
__1tm . tm_hour__2tm = (__1mins / 60 );

(__0this -> string__9StopWatch [1])= (48 + (__1tm . tm_hour__2tm % 10 ));

(__0this -> string__9StopWatch [0 ])= (((__1tm . tm_hour__2tm - (__1tm . tm_hour__2tm % 10 ))/ 10 )+ 48 );
;

(__0this -> string__9StopWatch [5])= (48 + (__1tm . tm_min__2tm % 10 ));

(__0this -> string__9StopWatch [4 ])= (((__1tm . tm_min__2tm - (__1tm . tm_min__2tm % 10 ))/ 10 )+ 48 );
;

(__0this -> string__9StopWatch [9])= (48 + (__1tm . tm_sec__2tm % 10 ));

(__0this -> string__9StopWatch [8 ])= (((__1tm . tm_sec__2tm - (__1tm . tm_sec__2tm % 10 ))/ 10 )+ 48 );
;

( (__0__Xname00aqsyaiig = "label"), ( (__0__Xname200aqsyaiig = "label"),
( (__0__Xname300aqsyaiig = 0 ), ( XtVaSetValues ( ((struct Core *)__0this ), __0__Xname00aqsyaiig , (((long )__0this -> string__9StopWatch )), __0__Xname200aqsyaiig , (((long )__0this ->
string__9StopWatch )), __0__Xname300aqsyaiig , ((long )0 ), 0 ) ) ) ) ) ;
}


char update__9StopWatchFl (__0this , __0ct )
register struct StopWatch *__0this ;

long __0ct ;
{ 
long __1diff ;

__0this -> iid__9StopWatch = XtAppAddTimeOut ( ( XtWidgetToApplicationContext ( ((struct Core *)__0this )) ) , (unsigned long )(__0this -> update_interval__9StopWatch * 1000 ),
clock_tick__FPcPUl , ((char *)__0this )) ;
__0this -> current_time__9StopWatch = __0ct ;
__1diff = (__0this -> current_time__9StopWatch - __0this -> start_time__9StopWatch );
__1diff += __0this -> elapsed_time__9StopWatch ;

update_string__9StopWatchFl ( __0this , __1diff ) ;
}

char __sti__swatch_C_sh_ ()
{ __ct__13Iostream_initFv ( & iostream_init ) ;
}

char __std__swatch_C_sh_ ()
{ __dt__13Iostream_initFv ( & iostream_init , (int )0 ) ;
}

int openprot__7filebuf ;


int initcount__13Iostream_init ;

int stdstatus__13Iostream_init ;

char (*stdioflush__3ios )();

long nextword__3ios ;

long nextbit__3ios ;

long floatfield__3ios ;

long adjustfield__3ios ;

long basefield__3ios ;

Boolean inited__18ApplicationContext ;


/* the end */
