UBYTE UNDOBUFFER[24]; SHORT BorderVectors2[] = { 0,0, 189,0, 189,15, 0,15, 0,0 }; struct Border Border2 = { 20,130, /* XY origin relative to container TopLeft */ 2,0,JAM1, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors2, /* pointer to XY vectors */ NULL /* next border in list */ }; SHORT BorderVectors1[] = { 0,0, 78,0, 78,57, 0,57, 0,0 }; struct Border Border1 = { 244,49, /* XY origin relative to container TopLeft */ 2,0,JAM1, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors1, /* pointer to XY vectors */ &Border2 /* next border in list */ }; struct Gadget Gadget14 = { NULL, /* next gadget */ 0,0, /* origin XY of hit box relative to window TopLeft */ 1,1, /* hit box width and height */ GADGHBOX+GADGHIMAGE, /* gadget flags */ NULL, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border1, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ NULL, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; SHORT BorderVectors3[] = { 0,0, 53,0, 53,13, 0,13, 0,0 }; struct Border Border3 = { -2,-1, /* XY origin relative to container TopLeft */ 3,0,JAM1, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors3, /* pointer to XY vectors */ NULL /* next border in list */ }; struct TextAttr TOPAZ60 = { (STRPTR)"topaz.font", TOPAZ_SIXTY,0,0 }; struct IntuiText IText1 = { 2,0,JAM2, /* front and back text pens, drawmode and fill byte */ 7,2, /* XY origin relative to container TopLeft */ &TOPAZ60, /* font pointer or NULL for default */ (UBYTE *)"STOP", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget Stop_Gad = { &Gadget14, /* next gadget */ 259,132, /* origin XY of hit box relative to window TopLeft */ 50,12, /* hit box width and height */ NULL, /* gadget flags */ RELVERIFY, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border3, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText1, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; SHORT BorderVectors4[] = { 0,0, 53,0, 53,13, 0,13, 0,0 }; struct Border Border4 = { -2,-1, /* XY origin relative to container TopLeft */ 3,0,JAM1, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors4, /* pointer to XY vectors */ NULL /* next border in list */ }; struct TextAttr TOPAZ80 = { (STRPTR)"topaz.font", TOPAZ_EIGHTY,0,0 }; struct IntuiText IText2 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 7,2, /* XY origin relative to container TopLeft */ &TOPAZ80, /* font pointer or NULL for default */ (UBYTE *)"PRINT", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget Print_Gad = { &Stop_Gad, /* next gadget */ 259,114, /* origin XY of hit box relative to window TopLeft */ 50,12, /* hit box width and height */ NULL, /* gadget flags */ RELVERIFY, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border4, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText2, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; SHORT BorderVectors5[] = { 0,0, 73,0, 73,13, 0,13, 0,0 }; struct Border Border5 = { -2,-1, /* XY origin relative to container TopLeft */ 3,0,JAM1, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors5, /* pointer to XY vectors */ NULL /* next border in list */ }; struct IntuiText IText3 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 12,2, /* XY origin relative to container TopLeft */ &TOPAZ80, /* font pointer or NULL for default */ (UBYTE *)"5-LINE", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget Line5_Gad = { &Print_Gad, /* next gadget */ 248,91, /* origin XY of hit box relative to window TopLeft */ 70,12, /* hit box width and height */ NULL, /* gadget flags */ GADGIMMEDIATE, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border5, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText3, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; SHORT BorderVectors6[] = { 0,0, 73,0, 73,13, 0,13, 0,0 }; struct Border Border6 = { -2,-1, /* XY origin relative to container TopLeft */ 3,0,JAM1, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors6, /* pointer to XY vectors */ NULL /* next border in list */ }; struct IntuiText IText4 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 12,2, /* XY origin relative to container TopLeft */ &TOPAZ80, /* font pointer or NULL for default */ (UBYTE *)"4-LINE", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget Line4_Gad = { &Line5_Gad, /* next gadget */ 248,72, /* origin XY of hit box relative to window TopLeft */ 70,12, /* hit box width and height */ NULL, /* gadget flags */ GADGIMMEDIATE, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border6, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText4, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; SHORT BorderVectors7[] = { 0,0, 73,0, 73,13, 0,13, 0,0 }; struct Border Border7 = { -2,-1, /* XY origin relative to container TopLeft */ 3,0,JAM1, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors7, /* pointer to XY vectors */ NULL /* next border in list */ }; struct IntuiText IText5 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 12,2, /* XY origin relative to container TopLeft */ &TOPAZ80, /* font pointer or NULL for default */ (UBYTE *)"3-LINE", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget Line3_Gad = { &Line4_Gad, /* next gadget */ 248,53, /* origin XY of hit box relative to window TopLeft */ 70,12, /* hit box width and height */ SELECTED, /* gadget flags */ GADGIMMEDIATE, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border7, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText5, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; UBYTE Copies_GadSIBuff[5] = "1"; struct StringInfo Copies_GadSInfo = { Copies_GadSIBuff, /* buffer where text will be edited */ UNDOBUFFER, /* optional undo buffer */ 0, /* character position in buffer */ 5, /* 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 BorderVectors8[] = { 0,0, 73,0, 73,15, 0,15, 0,1 }; struct Border Border8 = { -1,-4, /* XY origin relative to container TopLeft */ 3,0,JAM1, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors8, /* pointer to XY vectors */ NULL /* next border in list */ }; struct Gadget Copies_Gad = { &Line3_Gad, /* next gadget */ 246,28, /* origin XY of hit box relative to window TopLeft */ 64,10, /* hit box width and height */ NULL, /* gadget flags */ STRINGCENTER+LONGINT, /* activation flags */ STRGADGET, /* gadget type flags */ (APTR)&Border8, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ NULL, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ (APTR)&Copies_GadSInfo, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; SHORT BorderVectors9[] = { 0,0, 83,0, 83,11, 0,11, 0,0 }; struct Border Border9 = { -2,-1, /* XY origin relative to container TopLeft */ 3,0,JAM1, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors9, /* pointer to XY vectors */ NULL /* next border in list */ }; struct IntuiText IText6 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 12,1, /* XY origin relative to container TopLeft */ &TOPAZ80, /* font pointer or NULL for default */ (UBYTE *)"19-CHAR", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget Char19_Gad = { &Copies_Gad, /* next gadget */ 124,133, /* origin XY of hit box relative to window TopLeft */ 80,10, /* hit box width and height */ NULL, /* gadget flags */ GADGIMMEDIATE, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border9, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText6, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; SHORT BorderVectors10[] = { 0,0, 83,0, 83,11, 0,11, 0,0 }; struct Border Border10 = { -2,-1, /* XY origin relative to container TopLeft */ 3,0,JAM1, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors10, /* pointer to XY vectors */ NULL /* next border in list */ }; struct IntuiText IText7 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 12,1, /* XY origin relative to container TopLeft */ &TOPAZ80, /* font pointer or NULL for default */ (UBYTE *)"23-CHAR", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget Char23_Gad = { &Char19_Gad, /* next gadget */ 26,133, /* origin XY of hit box relative to window TopLeft */ 80,10, /* hit box width and height */ SELECTED, /* gadget flags */ GADGIMMEDIATE, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border10, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText7, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; UBYTE TextL5_GadSIBuff[24]; struct StringInfo TextL5_GadSInfo = { TextL5_GadSIBuff, /* buffer where text will be edited */ UNDOBUFFER, /* optional undo buffer */ 0, /* character position in buffer */ 24, /* 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 BorderVectors11[] = { 0,0, 202,0, 202,15, 0,15, 0,1 }; struct Border Border11 = { -2,-4, /* XY origin relative to container TopLeft */ 3,0,COMPLEMENT, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors11, /* pointer to XY vectors */ NULL /* next border in list */ }; struct Gadget TextL5_Gad = { &Char23_Gad, /* next gadget */ 17,110, /* origin XY of hit box relative to window TopLeft */ 197,8, /* hit box width and height */ GADGDISABLED, /* gadget flags */ NULL, /* activation flags */ STRGADGET, /* gadget type flags */ (APTR)&Border11, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ NULL, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ (APTR)&TextL5_GadSInfo, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; UBYTE TextL4_GadSIBuff[24]; struct StringInfo TextL4_GadSInfo = { TextL4_GadSIBuff, /* buffer where text will be edited */ UNDOBUFFER, /* optional undo buffer */ 0, /* character position in buffer */ 24, /* 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 BorderVectors12[] = { 0,0, 202,0, 202,15, 0,15, 0,1 }; struct Border Border12 = { -2,-4, /* XY origin relative to container TopLeft */ 3,0,COMPLEMENT, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors12, /* pointer to XY vectors */ NULL /* next border in list */ }; struct Gadget TextL4_Gad = { &TextL5_Gad, /* next gadget */ 17,90, /* origin XY of hit box relative to window TopLeft */ 197,8, /* hit box width and height */ GADGDISABLED, /* gadget flags */ NULL, /* activation flags */ STRGADGET, /* gadget type flags */ (APTR)&Border12, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ NULL, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ (APTR)&TextL4_GadSInfo, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; UBYTE TextL3_GadSIBuff[24]; struct StringInfo TextL3_GadSInfo = { TextL3_GadSIBuff, /* buffer where text will be edited */ UNDOBUFFER, /* optional undo buffer */ 0, /* character position in buffer */ 24, /* 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 BorderVectors13[] = { 0,0, 202,0, 202,15, 0,15, 0,1 }; struct Border Border13 = { -2,-4, /* XY origin relative to container TopLeft */ 3,0,COMPLEMENT, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors13, /* pointer to XY vectors */ NULL /* next border in list */ }; struct Gadget TextL3_Gad = { &TextL4_Gad, /* next gadget */ 17,70, /* origin XY of hit box relative to window TopLeft */ 197,8, /* hit box width and height */ NULL, /* gadget flags */ NULL, /* activation flags */ STRGADGET, /* gadget type flags */ (APTR)&Border13, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ NULL, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ (APTR)&TextL3_GadSInfo, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; UBYTE TextL2_GadSIBuff[24]; struct StringInfo TextL2_GadSInfo = { TextL2_GadSIBuff, /* buffer where text will be edited */ UNDOBUFFER, /* optional undo buffer */ 0, /* character position in buffer */ 24, /* 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 BorderVectors14[] = { 0,0, 202,0, 202,15, 0,15, 0,1 }; struct Border Border14 = { -2,-4, /* XY origin relative to container TopLeft */ 3,0,COMPLEMENT, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors14, /* pointer to XY vectors */ NULL /* next border in list */ }; struct Gadget TextL2_Gad = { &TextL3_Gad, /* next gadget */ 17,49, /* origin XY of hit box relative to window TopLeft */ 197,8, /* hit box width and height */ NULL, /* gadget flags */ NULL, /* activation flags */ STRGADGET, /* gadget type flags */ (APTR)&Border14, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ NULL, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ (APTR)&TextL2_GadSInfo, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; UBYTE TextL1_GadSIBuff[24]; struct StringInfo TextL1_GadSInfo = { TextL1_GadSIBuff, /* buffer where text will be edited */ UNDOBUFFER, /* optional undo buffer */ 0, /* character position in buffer */ 24, /* 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 BorderVectors15[] = { 0,0, 202,0, 202,15, 0,15, 0,1 }; struct Border Border15 = { -2,-4, /* XY origin relative to container TopLeft */ 3,0,COMPLEMENT, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors15, /* pointer to XY vectors */ NULL /* next border in list */ }; struct Gadget TextL1_Gad = { &TextL2_Gad, /* next gadget */ 17,28, /* origin XY of hit box relative to window TopLeft */ 197,8, /* hit box width and height */ NULL, /* gadget flags */ NULL, /* activation flags */ STRGADGET, /* gadget type flags */ (APTR)&Border15, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ NULL, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ (APTR)&TextL1_GadSInfo, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; #define GadgetList1 TextL1_Gad struct IntuiText IText8 = { 3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */ 19,0, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"Epson", /* pointer to text */ NULL /* next IntuiText structure */ }; struct MenuItem SubItem2 = { NULL, /* next SubItem structure */ 75,0, /* XY of Item hitbox relative to TopLeft of parent hitbox */ 69,8, /* hit box width and height */ CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */ 1, /* each bit mutually-excludes a same-level Item */ (APTR)&IText8, /* Item render (IntuiText or Image or NULL) */ NULL, /* Select render */ NULL, /* alternate command-key */ NULL, /* no SubItem list for SubItems */ MENUNULL /* filled in by Intuition for drag selections */ }; struct IntuiText IText9 = { 3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */ 19,0, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"Amiga", /* pointer to text */ NULL /* next IntuiText structure */ }; struct MenuItem SubItem1 = { &SubItem2, /* next SubItem structure */ 75,-8, /* XY of Item hitbox relative to TopLeft of parent hitbox */ 69,8, /* hit box width and height */ CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP+CHECKED, /* Item flags */ 2, /* each bit mutually-excludes a same-level Item */ (APTR)&IText9, /* Item render (IntuiText or Image or NULL) */ NULL, /* Select render */ NULL, /* alternate command-key */ NULL, /* no SubItem list for SubItems */ MENUNULL /* filled in by Intuition for drag selections */ }; struct IntuiText IText10 = { 3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */ 0,0, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"Printer", /* pointer to text */ NULL /* next IntuiText structure */ }; struct MenuItem MenuItem2 = { NULL, /* next MenuItem structure */ 0,9, /* XY of Item hitbox relative to TopLeft of parent hitbox */ 90,8, /* hit box width and height */ ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */ 0, /* each bit mutually-excludes a same-level Item */ (APTR)&IText10, /* Item render (IntuiText or Image or NULL) */ NULL, /* Select render */ NULL, /* alternate command-key */ &SubItem1, /* SubItem list */ MENUNULL /* filled in by Intuition for drag selections */ }; struct IntuiText IText11 = { 3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */ 19,0, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"Off", /* pointer to text */ NULL /* next IntuiText structure */ }; struct MenuItem SubItem4 = { NULL, /* next SubItem structure */ 75,0, /* XY of Item hitbox relative to TopLeft of parent hitbox */ 49,8, /* hit box width and height */ CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP+CHECKED, /* Item flags */ 1, /* each bit mutually-excludes a same-level Item */ (APTR)&IText11, /* Item render (IntuiText or Image or NULL) */ NULL, /* Select render */ NULL, /* alternate command-key */ NULL, /* no SubItem list for SubItems */ MENUNULL /* filled in by Intuition for drag selections */ }; struct IntuiText IText12 = { 3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */ 19,0, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"On", /* pointer to text */ NULL /* next IntuiText structure */ }; struct MenuItem SubItem3 = { &SubItem4, /* next SubItem structure */ 75,-8, /* XY of Item hitbox relative to TopLeft of parent hitbox */ 49,8, /* hit box width and height */ CHECKIT+ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */ 2, /* each bit mutually-excludes a same-level Item */ (APTR)&IText12, /* Item render (IntuiText or Image or NULL) */ NULL, /* Select render */ NULL, /* alternate command-key */ NULL, /* no SubItem list for SubItems */ MENUNULL /* filled in by Intuition for drag selections */ }; struct IntuiText IText13 = { 3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */ 0,0, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"Centering", /* pointer to text */ NULL /* next IntuiText structure */ }; struct MenuItem MenuItem1 = { &MenuItem2, /* next MenuItem structure */ 0,0, /* XY of Item hitbox relative to TopLeft of parent hitbox */ 90,8, /* hit box width and height */ ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */ 0, /* each bit mutually-excludes a same-level Item */ (APTR)&IText13, /* Item render (IntuiText or Image or NULL) */ NULL, /* Select render */ NULL, /* alternate command-key */ &SubItem3, /* SubItem list */ MENUNULL /* filled in by Intuition for drag selections */ }; struct Menu Menu2 = { NULL, /* next Menu structure */ 82,0, /* XY origin of Menu hit box relative to screen TopLeft */ 75,0, /* Menu hit box width and height */ MENUENABLED, /* Menu flags */ "Options", /* text of Menu name */ &MenuItem1 /* MenuItem linked list pointer */ }; struct IntuiText IText14 = { 3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */ 0,0, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"Quit", /* pointer to text */ NULL /* next IntuiText structure */ }; struct MenuItem MenuItem5 = { NULL, /* next MenuItem structure */ 0,18, /* XY of Item hitbox relative to TopLeft of parent hitbox */ 90,8, /* hit box width and height */ ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */ 0, /* each bit mutually-excludes a same-level Item */ (APTR)&IText14, /* Item render (IntuiText or Image or NULL) */ NULL, /* Select render */ NULL, /* alternate command-key */ NULL, /* SubItem list */ MENUNULL /* filled in by Intuition for drag selections */ }; struct IntuiText IText15 = { 3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */ 0,0, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"About", /* pointer to text */ NULL /* next IntuiText structure */ }; struct MenuItem MenuItem4 = { &MenuItem5, /* next MenuItem structure */ 0,9, /* XY of Item hitbox relative to TopLeft of parent hitbox */ 90,8, /* hit box width and height */ ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP, /* Item flags */ 0, /* each bit mutually-excludes a same-level Item */ (APTR)&IText15, /* Item render (IntuiText or Image or NULL) */ NULL, /* Select render */ 'a', /* alternate command-key */ NULL, /* SubItem list */ MENUNULL /* filled in by Intuition for drag selections */ }; struct IntuiText IText16 = { 3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */ 0,0, /* XY origin relative to container TopLeft */ NULL, /* font pointer or NULL for default */ (UBYTE *)"Help", /* pointer to text */ NULL /* next IntuiText structure */ }; struct MenuItem MenuItem3 = { &MenuItem4, /* next MenuItem structure */ 0,0, /* XY of Item hitbox relative to TopLeft of parent hitbox */ 90,8, /* hit box width and height */ ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP, /* Item flags */ 0, /* each bit mutually-excludes a same-level Item */ (APTR)&IText16, /* Item render (IntuiText or Image or NULL) */ NULL, /* Select render */ 'h', /* alternate command-key */ NULL, /* SubItem list */ MENUNULL /* filled in by Intuition for drag selections */ }; struct Menu Menu1 = { &Menu2, /* next Menu structure */ 0,0, /* XY origin of Menu hit box relative to screen TopLeft */ 75,0, /* Menu hit box width and height */ MENUENABLED, /* Menu flags */ "Project", /* text of Menu name */ &MenuItem3 /* MenuItem linked list pointer */ }; #define MenuList1 Menu1 struct IntuiText IText23 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 260,13, /* XY origin relative to container TopLeft */ &TOPAZ80, /* font pointer or NULL for default */ (UBYTE *)"Copies", /* pointer to text */ NULL /* next IntuiText structure */ }; struct IntuiText IText22 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 4,110, /* XY origin relative to container TopLeft */ &TOPAZ60, /* font pointer or NULL for default */ (UBYTE *)"5", /* pointer to text */ &IText23 /* next IntuiText structure */ }; struct IntuiText IText21 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 4,90, /* XY origin relative to container TopLeft */ &TOPAZ60, /* font pointer or NULL for default */ (UBYTE *)"4", /* pointer to text */ &IText22 /* next IntuiText structure */ }; struct IntuiText IText20 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 4,71, /* XY origin relative to container TopLeft */ &TOPAZ60, /* font pointer or NULL for default */ (UBYTE *)"3", /* pointer to text */ &IText21 /* next IntuiText structure */ }; struct IntuiText IText19 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 4,50, /* XY origin relative to container TopLeft */ &TOPAZ60, /* font pointer or NULL for default */ (UBYTE *)"2", /* pointer to text */ &IText20 /* next IntuiText structure */ }; struct IntuiText IText18 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 4,27, /* XY origin relative to container TopLeft */ &TOPAZ60, /* font pointer or NULL for default */ (UBYTE *)"1", /* pointer to text */ &IText19 /* next IntuiText structure */ }; struct IntuiText IText17 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 50,13, /* XY origin relative to container TopLeft */ &TOPAZ60, /* font pointer or NULL for default */ (UBYTE *)"Lines of Text", /* pointer to text */ &IText18 /* next IntuiText structure */ }; #define IntuiTextList1 IText17 struct NewWindow NewWindowStructure1 = { 77,40, /* window XY origin relative to TopLeft of screen */ 338,156, /* window width and height */ 0,1, /* detail and block pens */ GADGETDOWN+GADGETUP+MENUPICK+CLOSEWINDOW, /* IDCMP flags */ WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE+ACTIVATE, /* other window flags */ &TextL1_Gad, /* first gadget in gadget list */ NULL, /* custom CHECKMARK imagery */ (UBYTE *)"Super Return Labels", /* window title */ NULL, /* custom screen pointer */ NULL, /* custom bitmap */ 5,5, /* minimum width and height */ 640,200, /* maximum width and height */ WBENCHSCREEN /* destination screen type */ }; SHORT BorderVectors16[] = { 0,0, 80,0, 80,17, 0,17, 0,0 }; struct Border Border16 = { -2,-1, /* XY origin relative to container TopLeft */ 3,0,JAM1, /* front pen, back pen and drawmode */ 5, /* number of XY vectors */ BorderVectors16, /* pointer to XY vectors */ NULL /* next border in list */ }; struct IntuiText IText24 = { 3,0,JAM2, /* front and back text pens, drawmode and fill byte */ 20,4, /* XY origin relative to container TopLeft */ &TOPAZ60, /* font pointer or NULL for default */ (UBYTE *)"DONE", /* pointer to text */ NULL /* next IntuiText structure */ }; struct Gadget HelpDone_Gad = { NULL, /* next gadget */ 283,157, /* origin XY of hit box relative to window TopLeft */ 77,16, /* hit box width and height */ NULL, /* gadget flags */ RELVERIFY, /* activation flags */ BOOLGADGET, /* gadget type flags */ (APTR)&Border16, /* gadget border or image to be rendered */ NULL, /* alternate imagery for selection */ &IText24, /* first IntuiText structure */ NULL, /* gadget mutual-exclude long word */ NULL, /* SpecialInfo structure */ NULL, /* user-definable data */ NULL /* pointer to user-definable data */ }; #define GadgetList2 HelpDone_Gad struct NewWindow NewWindowStructure2 = { 0,11, /* window XY origin relative to TopLeft of screen */ 640,185, /* window width and height */ 0,1, /* detail and block pens */ GADGETUP, /* IDCMP flags */ WINDOWDRAG+WINDOWDEPTH, /* other window flags */ &HelpDone_Gad, /* first gadget in gadget list */ NULL, /* custom CHECKMARK imagery */ (UBYTE *)"Super Return Labels Help", /* window title */ NULL, /* custom screen pointer */ NULL, /* custom bitmap */ 5,5, /* minimum width and height */ 640,200, /* maximum width and height */ WBENCHSCREEN /* destination screen type */ };