extern UBYTE cap_name[];

extern struct setup install;

SHORT Brdr1[] = {0, 0, 72, 0, 72, 12, 0, 12, 0, 0};
struct Border Border1 = { -2, -1, 3, 0, JAM1, sizeof(Brdr1)/4, Brdr1, NULL};

UBYTE  prt_status[]   = (UBYTE *)"OFF";
UBYTE  cap_status[]   = (UBYTE *)"OFF";
UBYTE  mem_chip[14]   = (UBYTE *)"";
UBYTE  mem_fast[14]   = (UBYTE *)"";
UBYTE  stat_title[33] = (UBYTE *)"";
UBYTE  cap_file[40]   = (UBYTE *)"";

struct IntuiText STSus   = {2, 0, JAM1,  90, 22, NULL, cap_status  ,        NULL    };
struct IntuiText STon    = {2, 0, JAM1,  90, 12, NULL, prt_status,          &STSus  };
struct IntuiText STram   = {2, 0, JAM1,  40, 34, NULL, cap_file,            &STon   };
struct IntuiText STprint = {2, 0, JAM1,  20, 12, NULL, (UBYTE *)"Printer:", &STram  };
struct IntuiText STcapt  = {2, 0, JAM1,  20, 22, NULL, (UBYTE *)"Capture:", &STprint};
struct IntuiText STfast  = {2, 0, JAM1, 150, 22, NULL, mem_fast,            &STcapt };
struct IntuiText STchip  = {2, 0, JAM1, 150, 12, NULL, mem_chip,            &STfast };

struct IntuiText STDone  = {2, 0, JAM1, 20,  2, NULL, (UBYTE *)"Done",      NULL};
struct IntuiText STDelay = {2, 0, JAM1,  3,-10, NULL, (UBYTE *)"F    Send Delay    S",NULL};

struct Image knob;

struct PropInfo propinfo = {
   AUTOKNOB | FREEHORIZ,
   0,0,
   MAXPOT / 10,0,
   0,0,0,0,0,0
};


struct Gadget delay_prop = {
      NULL,                   /* next gadget */
      22,80,                  /* left, top */
      170,PROPSIZE-1,         /* width, height */
GADGIMAGE | GADGHNONE,        /* Flags */
      RELVERIFY,              /* Activation */
      PROPGADGET,             /* type */
      (APTR)&knob,            /* render */
      NULL,                   /* select render */
      &STDelay,               /* text */
      NULL,                   /* mutual exclude */
      (APTR)&propinfo,        /* special info */
      NULL,                   /* id */
      NULL                    /* user info */
};

struct Gadget STDoneGad = {
    &delay_prop,200,75,70,11,GADGHCOMP,RELVERIFY,BOOLGADGET,(APTR)&Border1,
    NULL,&STDone,0,NULL,0,NULL
};

struct NewWindow STwindow = {
    260,40,290,90,0,1,
    NULL,
    ACTIVATE | WINDOWDRAG | NOCAREREFRESH,
    NULL,NULL,
    install.version,
    NULL,NULL,
    0,0,0,0,
    CUSTOMSCREEN
};

