SHORT BorderVectors1[] = { 0,0, 45,0, 45,11, 0,11, 0,0 }; struct Border Border1 = { -1,-1, /* XY origin relative to container TopLeft */ 1,0,JAM1, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors1, /* pointer to XY vectors */ NULL /* next border in list */ }; struct IntuiText IText1 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 3,1, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"ABORT", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget ABORT = { NULL, /* next gadget */ 195,100, /* origin XY of hit box relative to window TopLeft */ 44,10, /* hit box width and height */ NULL, /* gadget flags */ GADGIMMEDIATE, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border1, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText1, /* first IntuiText structure */ 0L, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ 7, /* user-definable data */ NULL /* pointer to user-definable data */ }; struct IntuiText IText2 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 13,1, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"OK", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget OK = { &ABORT, /* next gadget */ 25,99, /* origin XY of hit box relative to window TopLeft */ 43,11, /* hit box width and height */ NULL, /* gadget flags */ GADGIMMEDIATE, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border1, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText2, /* first IntuiText structure */ 0L, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ 6, /* user-definable data */ NULL /* pointer to user-definable data */ }; UBYTE PATHSIBuff[20]; struct StringInfo PATHSInfo = { PATHSIBuff, /* buffer where text will be edited */ NULL, /* optional undo buffer */ 0, /* character position in buffer */ 20, /* maximum number of characters to allow */ 0, /* first displayed character buffer position */ 0,0,0,0,0, /* Intuition initialized and maintained variables */ 0, /* Rastport of gadget */ 0, /* initial value for integer gadgets */ NULL /* alternate keymap (fill in if you set the flag) */ }; SHORT BorderVectors3[] = { 0,0, 115,0, 115,11, 0,11, 0,0 }; struct Border Border3 = { -1,-1, /* XY origin relative to container TopLeft */ 1,0,JAM1, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors3, /* pointer to XY vectors */ NULL /* next border in list */ }; struct Gadget PATH = { &OK, /* next gadget */ 70,70, /* origin XY of hit box relative to window TopLeft */ 114,10, /* hit box width and height */ NULL, /* gadget flags */ GADGIMMEDIATE, /* activation flags */ STRGADGET, /* gadget type flags */ (APTR)&Border3, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ NULL, /* first IntuiText structure */ 0L, /* gadget mutual-exclude long word */ (APTR)&PATHSInfo, /* SpecialInfo structure */ 5, /* user-definable data */ NULL /* pointer to user-definable data */ }; struct IntuiText IText3 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 19,1, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"B", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget B = { &PATH, /* next gadget */ 20,40, /* origin XY of hit box relative to window TopLeft */ 44,10, /* hit box width and height */ GADGHCOMP, /* gadget flags */ GADGIMMEDIATE+TOGGLESELECT, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border1, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText3, /* first IntuiText structure */ 0L, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ 4, /* user-definable data */ NULL /* pointer to user-definable data */ }; struct IntuiText IText4 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 13,1, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"CR", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget CR = { &B, /* next gadget */ 80,40, /* origin XY of hit box relative to window TopLeft */ 44,10, /* hit box width and height */ GADGHCOMP, /* gadget flags */ GADGIMMEDIATE+TOGGLESELECT, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border1, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText4, /* first IntuiText structure */ 0L, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ 3, /* user-definable data */ NULL /* pointer to user-definable data */ }; struct IntuiText IText5 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 13,1, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"NC", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget NC = { &CR, /* next gadget */ 140,40, /* origin XY of hit box relative to window TopLeft */ 44,10, /* hit box width and height */ GADGHCOMP, /* gadget flags */ GADGIMMEDIATE+TOGGLESELECT, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border1, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText5, /* first IntuiText structure */ 0L, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ 2, /* user-definable data */ NULL /* pointer to user-definable data */ }; struct IntuiText IText6 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 6,0, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"none", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget none = { &NC, /* next gadget */ 200,40, /* origin XY of hit box relative to window TopLeft */ 44,10, /* hit box width and height */ GADGHCOMP, /* gadget flags */ GADGIMMEDIATE+TOGGLESELECT, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border1, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText6, /* first IntuiText structure */ 0L, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ 1, /* user-definable data */ NULL /* pointer to user-definable data */ }; #define GadgetList1 none struct IntuiText IText17 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 335,145, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"Germany", /* pointer to text */ NULL /* next IntuiText structure */ }; struct IntuiText IText16 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 335,130, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"(W) 3000 Hannover 1", /* pointer to text */ &IText17 /* next IntuiText structure */ }; struct IntuiText IText15 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 335,115, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"Jägerstr. 3-5", /* pointer to text */ &IText16 /* next IntuiText structure */ }; struct IntuiText IText14 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 335,100, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"Peter Vorwerk", /* pointer to text */ &IText15 /* next IntuiText structure */ }; struct IntuiText IText13 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 300,70, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *) "please send $10 (or 10DM) to", /* pointer to text */ &IText14 /* next IntuiText structure */ }; struct IntuiText IText12 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 300,60, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *) "find it usefull and use it regular", /* pointer to text */ &IText13 /* next IntuiText structure */ }; struct IntuiText IText11 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 300,50, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *) "This program is Shareware. If you", /* pointer to text */ &IText12 /* next IntuiText structure */ }; struct IntuiText IText9 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 390,30, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ NULL, /* pointer to text */ &IText11 /* next IntuiText structure */ }; struct IntuiText IText8 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 107,58, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"PC path", /* pointer to text */ &IText9 /* next IntuiText structure */ }; struct IntuiText IText7 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 107,28, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"Options", /* pointer to text */ &IText8 /* next IntuiText structure */ }; #define IntuiTextList1 IText7 struct NewWindow NewWindowStructure1 = { 0,10, /* window XY origin relative to TopLeft of screen */ 640,190, /* window width and height */ 0,1, /* detail and block pens */ GADGETDOWN+GADGETUP+CLOSEWINDOW, /* IDCMP flags */ WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE+ACTIVATE+NOCAREREFRESH, /* other window flags */ &none, /* first gadget in gadget list */ NULL, /* custom CHECKMARK imagery */ NULL, /* window title */ NULL, /* custom screen pointer */ NULL, /* custom bitmap */ 5,5, /* minimum width and height */ -1,-1, /* maximum width and height */ WBENCHSCREEN /* destination screen type */ }; /* end of PowerWindows source generation */