/*
 * Source generated by GenGui V2.1
 * which is (c)1995 by Matthias Meixner
 */

#include <gengui.h>

/*
#define NAMESTR    0
#define NAMEBUT    1
#define GOBUT      2
#define QBUT       3
*/
#include "XHandler_Def.h"
extern char HName[120];
struct Gadget *XH_Gadgets[5];

ULONG XHTags3[]={
   TAG_DONE
};

struct GadInfo XH3={
   {
      /* kind,rx,ry,cx,cy,px,py */
      GG_PLAINTEXT_KIND,1,1,0,0,0+0,0+0,
      /* mincx,mincy,minpx,minpy */
      0,0,0,0,
      /* srx,sry,spx,spy*/
      65535,0,0,0,
      /* x/yspace,left/right/top/bottom-char/pixspace,flags */
      INTERWIDTH,INTERHEIGHT,0,0,0,0,0,0,0,0,0
   },
   0,NULL,NULL,
   "%C2Handler Name" ,0,((0)<<16)|GG_HCentered |GG_Bottom ,0,NULL,XHTags3
};

struct Box *XHV2[]={
   (struct Box *)&XH3,
   NULL
};

struct Box XH2={
   {
      /* kind,rx,ry,cx,cy,px,py */
      GG_HBOX,1,1,0,0,0+0,0+0,
      /* mincx,mincy,minpx,minpy */
      0,0,0,0,
      /* srx,sry,spx,spy*/
      65535,0,0,0,
      /* x/yspace,left/right/top/bottom-char/pixspace,flags */
      INTERWIDTH,INTERHEIGHT,0,0,0,0,0,0,0,0,0
   },
   NULL,XHV2
};

#define NAMESTR 0
#define XH_NAMESTR 1
#define XH_GadInfo_NAMESTR XH5

ULONG XHTags5[]={
   GTST_MaxChars,119 ,GTST_String,(ULONG)HName ,TAG_DONE
};

struct GadInfo XH5={
   {
      /* kind,rx,ry,cx,cy,px,py */
      STRING_KIND,6,1,0,0,0+0,0+0,
      /* mincx,mincy,minpx,minpy */
      0,1,0,4,
      /* srx,sry,spx,spy*/
      65535,0,0,0,
      /* x/yspace,left/right/top/bottom-char/pixspace,flags */
      1,INTERHEIGHT,0,0,0,0,0,0,0,0,GG_FLAG_STRING
   },
   1,NULL,NULL,
   "",NAMESTR,((0)<<16)|0,0,NULL,XHTags5
};

#define NAMEBUT 1
#define XH_NAMEBUT 2
#define XH_GadInfo_NAMEBUT XH6

ULONG XHTags6[]={
   TAG_DONE
};

struct GadInfo XH6={
   {
      /* kind,rx,ry,cx,cy,px,py */
      BUTTON_KIND,1,1,0,0,0+0,0+0,
      /* mincx,mincy,minpx,minpy */
      0,1,0,4,
      /* srx,sry,spx,spy*/
      65535,0,0,0,
      /* x/yspace,left/right/top/bottom-char/pixspace,flags */
      1,INTERHEIGHT,0,0,0,0,0,0,0,0,0
   },
   2,NULL,NULL,
   "Get" ,NAMEBUT,((0)<<16)|0,0,NULL,XHTags6
};

struct Box *XHV4[]={
   (struct Box *)&XH5,
   (struct Box *)&XH6,
   NULL
};

struct Box XH4={
   {
      /* kind,rx,ry,cx,cy,px,py */
      GG_HBOX,1,1,0,0,0+0,0+0,
      /* mincx,mincy,minpx,minpy */
      0,0,0,0,
      /* srx,sry,spx,spy*/
      65535,0,0,0,
      /* x/yspace,left/right/top/bottom-char/pixspace,flags */
      INTERWIDTH,INTERHEIGHT,0,0,0,0,0,0,0,0,0
   },
   NULL,XHV4
};

struct Box *XHV1[]={
   &XH2,
   &XH4,
   NULL
};

struct Box XH1={
   {
      /* kind,rx,ry,cx,cy,px,py */
      GG_VBOX,1,2,0,0,0+0,0+0,
      /* mincx,mincy,minpx,minpy */
      0,0,0,0,
      /* srx,sry,spx,spy*/
      65535,0,0,0,
      /* x/yspace,left/right/top/bottom-char/pixspace,flags */
      INTERWIDTH,INTERHEIGHT,0,0,0,0,0,0,0,0,GG_FLAG_RAISED
   },
   NULL,XHV1
};

struct Box XH7={
      {
      /* kind,rx,ry,cx,cy,px,py */
      GG_HBOX,1,0,0,0+0+0,0+0,2+0+0+(0),
      /* mincx,mincy,minpx,minpy */
      0,0,0,0,
      /* srx,sry,spx,spy*/
      65535,0,0,0,
      /* x/yspace,left/right/top/bottom-char/pixspace,flags */
      0,0,0,0,0,0,0,0,0,0,GG_FLAG_BAR
   },
   NULL,NULL
};

#define GOBUT 2
#define XH_GOBUT 3
#define XH_GadInfo_GOBUT XH9

ULONG XHTags9[]={
   TAG_DONE
};

struct GadInfo XH9={
   {
      /* kind,rx,ry,cx,cy,px,py */
      BUTTON_KIND,1,0,0,1+0+0,0+0,4+0+0+INTERHEIGHT,
      /* mincx,mincy,minpx,minpy */
      0,1,0,4,
      /* srx,sry,spx,spy*/
      65535,0,0,0,
      /* x/yspace,left/right/top/bottom-char/pixspace,flags */
      INTERWIDTH,INTERHEIGHT,0,0,0,0,0,0,0,0,0
   },
   3,NULL,NULL,
   "Go!" ,GOBUT,((0)<<16)|0,0,NULL,XHTags9
};

#define QBUT 3
#define XH_QBUT 4
#define XH_GadInfo_QBUT XH10

ULONG XHTags10[]={
   TAG_DONE
};

struct GadInfo XH10={
   {
      /* kind,rx,ry,cx,cy,px,py */
      BUTTON_KIND,1,0,0,1+0+0,0+0,4+0+0+INTERHEIGHT,
      /* mincx,mincy,minpx,minpy */
      0,1,0,4,
      /* srx,sry,spx,spy*/
      65535,0,0,0,
      /* x/yspace,left/right/top/bottom-char/pixspace,flags */
      INTERWIDTH,INTERHEIGHT,0,0,0,0,0,0,0,0,0
   },
   4,NULL,NULL,
   "Quit" ,QBUT,((0)<<16)|0,0,NULL,XHTags10
};

struct Box *XHV8[]={
   (struct Box *)&XH9,
   (struct Box *)&XH10,
   NULL
};

struct Box XH8={
   {
      /* kind,rx,ry,cx,cy,px,py */
      GG_HBOX,1,1,0,0,0+0,0+0,
      /* mincx,mincy,minpx,minpy */
      0,0,0,0,
      /* srx,sry,spx,spy*/
      65535,0,0,0,
      /* x/yspace,left/right/top/bottom-char/pixspace,flags */
      INTERWIDTH,INTERHEIGHT,0,0,0,0,0,0,0,0,0
   },
   NULL,XHV8
};

struct Box *XHV0[]={
   &XH1,
   &XH7,
   &XH8,
   NULL
};

struct Box XH0={
   {
      /* kind,rx,ry,cx,cy,px,py */
      GG_VBOX,1,1,0,0,0+0,0+0,
      /* mincx,mincy,minpx,minpy */
      0,0,0,0,
      /* srx,sry,spx,spy*/
      65535,0,0,0,
      /* x/yspace,left/right/top/bottom-char/pixspace,flags */
      INTERWIDTH,INTERHEIGHT,0,0,0,0,0,0,0,0,0
   },
   NULL,XHV0
};

struct WinInfo XH = {
   &XH0,XH_Gadgets
};

