SHORT BorderVectors1[] = { 0,0, 98,0, 98,20, 0,20, 0,1 }; struct Border Border1 = { -1,-1, 1,0,JAM1, 5, BorderVectors1, NULL }; struct IntuiText IText1 = { 1,0,JAM1, 26,6, NULL, "Cancel", NULL }; struct Gadget Gadget10 = { NULL, 346,99, 97,19, NULL, RELVERIFY, BOOLGADGET, (APTR)&Border1, NULL, &IText1, NULL, NULL, 10, NULL }; SHORT BorderVectors2[] = { 0,0, 98,0, 98,20, 0,20, 0,1 }; struct Border Border2 = { -1,-1, 1,0,JAM1, 5, BorderVectors2, NULL }; struct IntuiText IText2 = { 1,0,JAM1, 41,6, NULL, "OK", NULL }; struct Gadget Gadget9 = { &Gadget10, 11,99, 97,19, NULL, RELVERIFY, BOOLGADGET, (APTR)&Border2, NULL, &IText2, NULL, NULL, 9, NULL }; UBYTE Name4SIBuff[80]; struct StringInfo Name4SInfo = { prefs.Name[3], NULL, 0, 80, 0, 0,0,0,0,0, 0, 0, NULL }; SHORT BorderVectors3[] = { 0,0, 202,0, 202,10, 0,10, 0,0 }; struct Border Border3 = { -2,-1, 1,0,JAM1, 5, BorderVectors3, NULL }; struct Gadget Name4 = { &Gadget9, 243,85, 199,9, NULL, NULL, STRGADGET, (APTR)&Border3, NULL, NULL, NULL, (APTR)&Name4SInfo, NULL, NULL }; UBYTE Name3SIBuff[80]; struct StringInfo Name3SInfo = { prefs.Name[2], NULL, 0, 80, 0, 0,0,0,0,0, 0, 0, NULL }; SHORT BorderVectors4[] = { 0,0, 202,0, 202,10, 0,10, 0,0 }; struct Border Border4 = { -2,-1, 1,0,JAM1, 5, BorderVectors4, NULL }; struct Gadget Name3 = { &Name4, 243,64, 199,9, NULL, NULL, STRGADGET, (APTR)&Border4, NULL, NULL, NULL, (APTR)&Name3SInfo, NULL, NULL }; UBYTE Macro4SIBuff[80]; struct StringInfo Macro4SInfo = { prefs.Macro[3], NULL, 0, 80, 0, 0,0,0,0,0, 0, 0, NULL }; SHORT BorderVectors5[] = { 0,0, 202,0, 202,10, 0,10, 0,0 }; struct Border Border5 = { -2,-1, 1,0,JAM1, 5, BorderVectors5, NULL }; struct Gadget Macro4 = { &Name3, 12,85, 199,9, NULL, NULL, STRGADGET, (APTR)&Border5, NULL, NULL, NULL, (APTR)&Macro4SInfo, NULL, NULL }; UBYTE Macro3SIBuff[80]; struct StringInfo Macro3SInfo = { prefs.Macro[2], NULL, 0, 80, 0, 0,0,0,0,0, 0, 0, NULL }; SHORT BorderVectors6[] = { 0,0, 202,0, 202,10, 0,10, 0,0 }; struct Border Border6 = { -2,-1, 1,0,JAM1, 5, BorderVectors6, NULL }; struct Gadget Macro3 = { &Macro4, 12,64, 199,9, NULL, NULL, STRGADGET, (APTR)&Border6, NULL, NULL, NULL, (APTR)&Macro3SInfo, NULL, NULL }; UBYTE Name2SIBuff[80]; struct StringInfo Name2SInfo = { prefs.Name[1], NULL, 0, 80, 0, 0,0,0,0,0, 0, 0, NULL }; SHORT BorderVectors7[] = { 0,0, 202,0, 202,10, 0,10, 0,0 }; struct Border Border7 = { -2,-1, 1,0,JAM1, 5, BorderVectors7, NULL }; struct Gadget Name2 = { &Macro3, 243,43, 199,9, NULL, NULL, STRGADGET, (APTR)&Border7, NULL, NULL, NULL, (APTR)&Name2SInfo, NULL, NULL }; UBYTE Name1SIBuff[80]; struct StringInfo Name1SInfo = { prefs.Name[0], NULL, 0, 80, 0, 0,0,0,0,0, 0, 0, NULL }; SHORT BorderVectors8[] = { 0,0, 202,0, 202,10, 0,10, 0,0 }; struct Border Border8 = { -2,-1, 1,0,JAM1, 5, BorderVectors8, NULL }; struct Gadget Name1 = { &Name2, 243,22, 199,9, NULL, NULL, STRGADGET, (APTR)&Border8, NULL, NULL, NULL, (APTR)&Name1SInfo, NULL, NULL }; UBYTE Macro2SIBuff[80]; struct StringInfo Macro2SInfo = { prefs.Macro[1], NULL, 0, 80, 0, 0,0,0,0,0, 0, 0, NULL }; SHORT BorderVectors9[] = { 0,0, 202,0, 202,10, 0,10, 0,0 }; struct Border Border9 = { -2,-1, 1,0,JAM1, 5, BorderVectors9, NULL }; struct Gadget Macro2 = { &Name1, 12,43, 199,9, NULL, NULL, STRGADGET, (APTR)&Border9, NULL, NULL, NULL, (APTR)&Macro2SInfo, NULL, NULL }; UBYTE Macro1SIBuff[80]; struct StringInfo Macro1SInfo = { prefs.Macro[0], NULL, 0, 80, 0, 0,0,0,0,0, 0, 0, NULL }; SHORT BorderVectors10[] = { 0,0, 202,0, 202,10, 0,10, 0,0 }; struct Border Border10 = { -2,-1, 1,0,JAM1, 5, BorderVectors10, NULL }; struct Gadget Macro1 = { &Macro2, 12,22, 199,9, NULL, NULL, STRGADGET, (APTR)&Border10, NULL, NULL, NULL, (APTR)&Macro1SInfo, NULL, NULL }; #define GadgetList1 Macro1 struct IntuiText IText7 = { 1,0,JAM1, 11,76, NULL, "Fourth macro:", NULL }; struct IntuiText IText6 = { 1,0,JAM1, 11,55, NULL, "Third macro:", &IText7 }; struct IntuiText IText5 = { 1,0,JAM1, 11,34, NULL, "Second macro:", &IText6 }; struct IntuiText IText4 = { 1,0,JAM1, 242,13, NULL, "Menu names:", &IText5 }; struct IntuiText IText3 = { 1,0,JAM1, 11,13, NULL, "First macro:", &IText4 }; #define IntuiTextList1 IText3 struct NewWindow NewWindowStructure1 = { 102,34, 458,124, 0,1, GADGETUP, WINDOWDRAG+ACTIVATE, &Macro1, NULL, "ARexx macro definitions", NULL, NULL, 5,5, 640,200, CUSTOMSCREEN };