struct Window *FNWindow; #define Rp FNWindow->RPort UBYTE yf_DIRUNDOBUFFER[150]; UBYTE yf_FNUNDOBUFFER[33]; UBYTE yf_EXTUNDOBUFFER[18]; struct PropInfo yf_SliderSInfo = { AUTOKNOB+FREEVERT, -1,661, 655,655, }; struct Image yf_Image1 = { 0,1, 15,4, 0, NULL, 0x0000,0x0000, NULL }; struct Gadget yf_Slider = { NULL, 217,35, 23,110, NULL, FOLLOWMOUSE, PROPGADGET, (APTR)&yf_Image1, NULL, NULL, NULL, (APTR)&yf_SliderSInfo, 16, NULL }; USHORT chip yf_ImageData2[] = { 0xFFFF,0xFFFF,0xFFFE,0xC000,0x0000,0x0006,0xC006,0x0007, 0x0006,0xC000,0x000D,0x8006,0xC00E,0x1F0C,0x0F06,0xC006, 0x199E,0x1986,0xC006,0x198C,0x1986,0xC606,0x198C,0x1986, 0xC60F,0x199E,0x0F06,0xC000,0x0000,0x0006,0xFFFF,0xFFFF, 0xFFFE }; struct Image yf_Image2 = { 0,0, 47,11, 2, yf_ImageData2, 0x0001,0x0000, NULL }; USHORT chip yf_ImageData3[] = { 0x1FFF,0xFFFF,0xFFF0,0xC000,0x0000,0x0006,0xC006,0x0007, 0x0006,0xC000,0x000C,0x0006,0xC00E,0x0700,0x0F06,0xC006, 0x181E,0x1986,0xC006,0x0180,0x1986,0xC600,0x198C,0x1986, 0xC60F,0x199E,0x0006,0xC000,0x0000,0x0006,0x1FFF,0xFFFF, 0xFFF0,0xE000,0x0000,0x000E,0x1E00,0x0000,0x00F0,0x01F0, 0x0000,0x1F00,0x000F,0x8003,0xE000,0x0000,0x783C,0x0000, 0x0000,0x07C0,0x0000,0x0000,0x783C,0x0000,0x000F,0x8003, 0xE000,0x01F0,0x0000,0x1F00,0x1E00,0x0000,0x00F0,0xE000, 0x0000,0x000E }; struct Image yf_Image3 = { 0,0, 47,11, 2, yf_ImageData3, 0x0003,0x0000, NULL }; struct Gadget yf_Info = { &yf_Slider, 165,11, 47,11, GADGHIMAGE+GADGIMAGE, GADGIMMEDIATE+TOGGLESELECT, BOOLGADGET, (APTR)&yf_Image2, (APTR)&yf_Image3, NULL, NULL, NULL, 18, NULL }; UBYTE yf_filenameSIBuff[33]; struct StringInfo yf_filenameSInfo = { yf_filenameSIBuff, yf_FNUNDOBUFFER, 0, 33, 0, 0,0,0,0,0, 0, 0, NULL }; SHORT yf_BorderVectors1[] = { 0,0, 217,0, 217,10, 0,10, 0,0 }; struct Border yf_Border1 = { -2,-1, 1,0,JAM1, 5, yf_BorderVectors1, NULL }; struct Gadget yf_filename = { &yf_Info, 86,159, 214,9, NULL, RELVERIFY, STRGADGET, (APTR)&yf_Border1, NULL, NULL, NULL, (APTR)&yf_filenameSInfo, 12, NULL }; UBYTE yf_ExtNameSIBuff[18]; struct StringInfo yf_ExtNameSInfo = { yf_ExtNameSIBuff, yf_EXTUNDOBUFFER, 0, 18, 0, 0,0,0,0,0, 0, 0, NULL }; SHORT yf_BorderVectors2[] = { 0,0, 155,0, 155,10, 0,10, 0,0 }; struct Border yf_Border2 = { -2,-1, 1,0,JAM1, 5, yf_BorderVectors2, NULL }; struct Gadget yf_ExtName = { &yf_filename, 86,147, 152,9, NULL, RELVERIFY, STRGADGET, (APTR)&yf_Border2, NULL, NULL, NULL, (APTR)&yf_ExtNameSInfo, 18, NULL }; SHORT yf_BorderVectors3[] = { 0,0, 89,0, 89,12, 0,12, 0,1 }; struct Border yf_Border3 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors3, NULL }; struct IntuiText yf_IText23 = { 1,0,JAM1, 37,2, NULL, "Ok", NULL }; struct Gadget yf_ok = { &yf_ExtName, 6,172, 88,11, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border3, NULL, &yf_IText23, NULL, NULL, 13, NULL }; SHORT yf_BorderVectors4[] = { 0,0, 84,0, 84,10, 0,10, 0,1 }; struct Border yf_Border4 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors4, NULL }; struct IntuiText yf_IText24 = { 1,0,JAM1, 19,1, NULL, "Parent", NULL }; struct Gadget yf_parent = { &yf_ok, 218,12, 83,9, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border4, NULL, &yf_IText24, NULL, NULL, 15, NULL }; SHORT yf_BorderVectors5[] = { 0,0, 89,0, 89,12, 0,12, 0,1 }; struct Border yf_Border5 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors5, NULL }; struct IntuiText yf_IText25 = { 1,0,JAM1, 21,2, NULL, "Cancel", NULL }; struct Gadget yf_cancel = { &yf_parent, 213,172, 88,11, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border5, NULL, &yf_IText25, NULL, NULL, 14, NULL }; SHORT yf_BorderVectors6[] = { 0,0, 57,0, 57,10, 0,10, 0,1 }; struct Border yf_Border6 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors6, NULL }; struct IntuiText yf_IText26 = { 1,0,JAM1, 10,1, NULL, "pipe:", NULL }; struct Gadget yf_pipe = { &yf_cancel, 245,147, 56,9, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border6, NULL, &yf_IText26, NULL, NULL, 10, NULL }; SHORT yf_BorderVectors7[] = { 0,0, 57,0, 57,10, 0,10, 0,1 }; struct Border yf_Border7 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors7, NULL }; struct IntuiText yf_IText27 = { 1,0,JAM1, 13,1, NULL, "RAD:", NULL }; struct Gadget yf_rad = { &yf_pipe, 245,135, 56,9, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border7, NULL, &yf_IText27, NULL, NULL, 9, NULL }; SHORT yf_BorderVectors8[] = { 0,0, 57,0, 57,10, 0,10, 0,1 }; struct Border yf_Border8 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors8, NULL }; struct IntuiText yf_IText28 = { 1,0,JAM1, 13,1, NULL, "RAM:", NULL }; struct Gadget yf_Ram = { &yf_rad, 245,124, 56,9, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border8, NULL, &yf_IText28, NULL, NULL, 8, NULL }; SHORT yf_BorderVectors9[] = { 0,0, 57,0, 57,10, 0,10, 0,1 }; struct Border yf_Border9 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors9, NULL }; struct IntuiText yf_IText29 = { 1,0,JAM1, 13,1, NULL, "VDK:", NULL }; struct Gadget yf_vdk = { &yf_Ram, 245,113, 56,9, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border9, NULL, &yf_IText29, NULL, NULL, 7, NULL }; SHORT yf_BorderVectors10[] = { 0,0, 57,0, 57,10, 0,10, 0,1 }; struct Border yf_Border10 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors10, NULL }; struct IntuiText yf_IText30 = { 1,0,JAM1, 13,1, NULL, "VD0:", NULL }; struct Gadget yf_vd0 = { &yf_vdk, 245,102, 56,9, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border10, NULL, &yf_IText30, NULL, NULL, 6, NULL }; SHORT yf_BorderVectors11[] = { 0,0, 57,0, 57,10, 0,10, 0,1 }; struct Border yf_Border11 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors11, NULL }; struct IntuiText yf_IText31 = { 1,0,JAM1, 13,1, NULL, "DH2:", NULL }; struct Gadget yf_dh2 = { &yf_vd0, 245,91, 56,9, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border11, NULL, &yf_IText31, NULL, NULL, 5, NULL }; SHORT yf_BorderVectors12[] = { 0,0, 57,0, 57,10, 0,10, 0,1 }; struct Border yf_Border12 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors12, NULL }; struct IntuiText yf_IText32 = { 1,0,JAM1, 13,1, NULL, "DH1:", NULL }; struct Gadget yf_dh1 = { &yf_dh2, 245,80, 56,9, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border12, NULL, &yf_IText32, NULL, NULL, 4, NULL }; SHORT yf_BorderVectors13[] = { 0,0, 57,0, 57,10, 0,10, 0,1 }; struct Border yf_Border13 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors13, NULL }; struct IntuiText yf_IText33 = { 1,0,JAM1, 13,1, NULL, "DF2:", NULL }; struct Gadget yf_df2 = { &yf_dh1, 245,58, 56,9, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border13, NULL, &yf_IText33, NULL, NULL, 2, NULL }; SHORT yf_BorderVectors14[] = { 0,0, 57,0, 57,10, 0,10, 0,1 }; struct Border yf_Border14 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors14, NULL }; struct IntuiText yf_IText34 = { 1,0,JAM1, 13,1, NULL, "DH0:", NULL }; struct Gadget yf_dh0 = { &yf_df2, 245,69, 56,9, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border14, NULL, &yf_IText34, NULL, NULL, 3, NULL }; SHORT yf_BorderVectors15[] = { 0,0, 57,0, 57,10, 0,10, 0,1 }; struct Border yf_Border15 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors15, NULL }; struct IntuiText yf_IText35 = { 1,0,JAM1, 13,1, NULL, "DF1:", NULL }; struct Gadget yf_df1 = { &yf_dh0, 245,47, 56,9, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border15, NULL, &yf_IText35, NULL, NULL, 1, NULL }; SHORT yf_BorderVectors16[] = { 0,0, 57,0, 57,10, 0,10, 0,1 }; struct Border yf_Border16 = { -1,-1, 1,0,JAM1, 5, yf_BorderVectors16, NULL }; struct IntuiText yf_IText36 = { 1,0,JAM1, 13,1, NULL, "DF0:", NULL }; struct Gadget yf_df0 = { &yf_df1, 245,36, 56,9, NULL, RELVERIFY, BOOLGADGET, (APTR)&yf_Border16, NULL, &yf_IText36, NULL, NULL, 0, NULL }; SHORT yf_BorderVectors17[] = { 0,0, 207,0, 207,109, 0,109, 0,0 }; struct Border yf_Border17 = { -2,-1, 1,0,JAM1, 5, yf_BorderVectors17, NULL }; struct Gadget yf_filenamebox = { &yf_df0, 6,36, 204,108, GADGHBOX+GADGHIMAGE, GADGIMMEDIATE, BOOLGADGET, (APTR)&yf_Border17, NULL, NULL, NULL, NULL, 17, NULL }; UBYTE yf_DirNameSIBuff[150]; struct StringInfo yf_DirNameSInfo = { yf_DirNameSIBuff, yf_DIRUNDOBUFFER, 0, 150, 0, 0,0,0,0,0, 0, 0, NULL }; SHORT yf_BorderVectors18[] = { 0,0, 297,0, 297,10, 0,10, 0,0 }; struct Border yf_Border18 = { -2,-1, 1,0,JAM1, 5, yf_BorderVectors18, NULL }; struct Gadget yf_DirName = { &yf_filenamebox, 6,24, 294,9, NULL, RELVERIFY, STRGADGET, (APTR)&yf_Border18, NULL, NULL, NULL, (APTR)&yf_DirNameSInfo, 11, NULL }; #define GadgetList2 yf_DirName struct IntuiText yf_IText39 = { 1,0,JAM1, 6,148, NULL, "Extension", NULL }; struct IntuiText yf_IText38 = { 1,0,JAM1, 6,159, NULL, "Filename", &yf_IText39 }; struct IntuiText yf_IText37 = { 1,0,JAM1, 5,13, NULL, "Directory", &yf_IText38 }; #define IntuiTextList2 yf_IText37 struct NewWindow NewFNWindow = { 6,9, 307,187, 0,1, MOUSEMOVE+GADGETDOWN+GADGETUP, WINDOWDRAG+ACTIVATE, &yf_DirName, NULL, "Enter filename", NULL, NULL, 5,5, 640,200, WBENCHSCREEN };