home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 573a.lha / AT_copy_v2.22 / NewIntroD.h < prev    next >
Text File  |  1991-06-29  |  11KB  |  315 lines

  1.  
  2.  SHORT BorderVectors1[] = {
  3.     0,0,
  4.     45,0,
  5.     45,11,
  6.     0,11,
  7.     0,0
  8. };
  9.  struct Border Border1 = {
  10.     -1,-1,    /* XY origin relative to container TopLeft */
  11.     1,0,JAM1,    /* front pen, back pen and drawmode */
  12.     5,    /* number of XY vectors */
  13.     BorderVectors1,    /* pointer to XY vectors */
  14.     NULL    /* next border in list */
  15. };
  16.  
  17.  struct IntuiText IText1 = {
  18.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  19.     7,1,    /* XY origin relative to container TopLeft */
  20.     NULL,    /* font pointer or NULL for default */
  21.     (UBYTE *)"ENDE",    /* pointer to text */
  22.     NULL    /* next IntuiText structure */
  23. };
  24.  
  25.  struct Gadget ABORT = {
  26.     NULL,    /* next gadget */
  27.     195,100,    /* origin XY of hit box relative to window TopLeft */
  28.     44,10,    /* hit box width and height */
  29.     NULL,    /* gadget flags */
  30.     GADGIMMEDIATE,    /* activation flags */
  31.     BOOLGADGET,    /* gadget type flags */
  32.     (APTR)&Border1,    /* gadget border or image to be rendered */
  33.     NULL,    /* alternate imagery for selection */
  34.     &IText1,    /* first IntuiText structure */
  35.     0L,    /* gadget mutual-exclude long word */
  36.     NULL,    /* SpecialInfo structure */
  37.     7,    /* user-definable data */
  38.     NULL    /* pointer to user-definable data */
  39. };
  40.  
  41.  struct IntuiText IText2 = {
  42.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  43.     13,1,    /* XY origin relative to container TopLeft */
  44.     NULL,    /* font pointer or NULL for default */
  45.     (UBYTE *)"OK",    /* pointer to text */
  46.     NULL    /* next IntuiText structure */
  47. };
  48.  
  49.  struct Gadget OK = {
  50.     &ABORT,    /* next gadget */
  51.     25,99,    /* origin XY of hit box relative to window TopLeft */
  52.     43,11,    /* hit box width and height */
  53.     NULL,    /* gadget flags */
  54.     GADGIMMEDIATE,    /* activation flags */
  55.     BOOLGADGET,    /* gadget type flags */
  56.     (APTR)&Border1,    /* gadget border or image to be rendered */
  57.     NULL,    /* alternate imagery for selection */
  58.     &IText2,    /* first IntuiText structure */
  59.     0L,    /* gadget mutual-exclude long word */
  60.     NULL,    /* SpecialInfo structure */
  61.     6,    /* user-definable data */
  62.     NULL    /* pointer to user-definable data */
  63. };
  64.  
  65.  UBYTE PATHSIBuff[20];
  66.  struct StringInfo PATHSInfo = {
  67.     PATHSIBuff,    /* buffer where text will be edited */
  68.     NULL,    /* optional undo buffer */
  69.     0,    /* character position in buffer */
  70.     20,    /* maximum number of characters to allow */
  71.     0,    /* first displayed character buffer position */
  72.     0,0,0,0,0,    /* Intuition initialized and maintained variables */
  73.     0,    /* Rastport of gadget */
  74.     0,    /* initial value for integer gadgets */
  75.     NULL    /* alternate keymap (fill in if you set the flag) */
  76. };
  77.  
  78.  SHORT BorderVectors3[] = {
  79.     0,0,
  80.     115,0,
  81.     115,11,
  82.     0,11,
  83.     0,0
  84. };
  85.  struct Border Border3 = {
  86.     -1,-1,    /* XY origin relative to container TopLeft */
  87.     1,0,JAM1,    /* front pen, back pen and drawmode */
  88.     5,    /* number of XY vectors */
  89.     BorderVectors3,    /* pointer to XY vectors */
  90.     NULL    /* next border in list */
  91. };
  92.  
  93.  struct Gadget PATH = {
  94.     &OK,    /* next gadget */
  95.     70,70,    /* origin XY of hit box relative to window TopLeft */
  96.     114,10,    /* hit box width and height */
  97.     NULL,    /* gadget flags */
  98.     GADGIMMEDIATE,    /* activation flags */
  99.     STRGADGET,    /* gadget type flags */
  100.     (APTR)&Border3,    /* gadget border or image to be rendered */
  101.     NULL,    /* alternate imagery for selection */
  102.     NULL,    /* first IntuiText structure */
  103.     0L,    /* gadget mutual-exclude long word */
  104.     (APTR)&PATHSInfo,    /* SpecialInfo structure */
  105.     5,    /* user-definable data */
  106.     NULL    /* pointer to user-definable data */
  107. };
  108.  
  109.  struct IntuiText IText3 = {
  110.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  111.     19,1,    /* XY origin relative to container TopLeft */
  112.     NULL,    /* font pointer or NULL for default */
  113.     (UBYTE *)"B",    /* pointer to text */
  114.     NULL    /* next IntuiText structure */
  115. };
  116.  
  117.  struct Gadget B = {
  118.     &PATH,    /* next gadget */
  119.     20,40,    /* origin XY of hit box relative to window TopLeft */
  120.     44,10,    /* hit box width and height */
  121.     GADGHCOMP,    /* gadget flags */
  122.     GADGIMMEDIATE+TOGGLESELECT,    /* activation flags */
  123.     BOOLGADGET,    /* gadget type flags */
  124.     (APTR)&Border1,    /* gadget border or image to be rendered */
  125.     NULL,    /* alternate imagery for selection */
  126.     &IText3,    /* first IntuiText structure */
  127.     0L,    /* gadget mutual-exclude long word */
  128.     NULL,    /* SpecialInfo structure */
  129.     4,    /* user-definable data */
  130.     NULL    /* pointer to user-definable data */
  131. };
  132.  
  133.  struct IntuiText IText4 = {
  134.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  135.     13,1,    /* XY origin relative to container TopLeft */
  136.     NULL,    /* font pointer or NULL for default */
  137.     (UBYTE *)"CR",    /* pointer to text */
  138.     NULL    /* next IntuiText structure */
  139. };
  140.  
  141.  struct Gadget CR = {
  142.     &B,    /* next gadget */
  143.     80,40,    /* origin XY of hit box relative to window TopLeft */
  144.     44,10,    /* hit box width and height */
  145.     GADGHCOMP,    /* gadget flags */
  146.     GADGIMMEDIATE+TOGGLESELECT,    /* activation flags */
  147.     BOOLGADGET,    /* gadget type flags */
  148.     (APTR)&Border1,    /* gadget border or image to be rendered */
  149.     NULL,    /* alternate imagery for selection */
  150.     &IText4,    /* first IntuiText structure */
  151.     0L,    /* gadget mutual-exclude long word */
  152.     NULL,    /* SpecialInfo structure */
  153.     3,    /* user-definable data */
  154.     NULL    /* pointer to user-definable data */
  155. };
  156.  
  157.  struct IntuiText IText5 = {
  158.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  159.     13,1,    /* XY origin relative to container TopLeft */
  160.     NULL,    /* font pointer or NULL for default */
  161.     (UBYTE *)"NC",    /* pointer to text */
  162.     NULL    /* next IntuiText structure */
  163. };
  164.  
  165.  struct Gadget NC = {
  166.     &CR,    /* next gadget */
  167.     140,40,    /* origin XY of hit box relative to window TopLeft */
  168.     44,10,    /* hit box width and height */
  169.     GADGHCOMP,    /* gadget flags */
  170.     GADGIMMEDIATE+TOGGLESELECT,    /* activation flags */
  171.     BOOLGADGET,    /* gadget type flags */
  172.     (APTR)&Border1,    /* gadget border or image to be rendered */
  173.     NULL,    /* alternate imagery for selection */
  174.     &IText5,    /* first IntuiText structure */
  175.     0L,    /* gadget mutual-exclude long word */
  176.     NULL,    /* SpecialInfo structure */
  177.     2,    /* user-definable data */
  178.     NULL    /* pointer to user-definable data */
  179. };
  180.  
  181.  struct IntuiText IText6 = {
  182.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  183.     3,0,    /* XY origin relative to container TopLeft */
  184.     NULL,    /* font pointer or NULL for default */
  185.     (UBYTE *)"keine",    /* pointer to text */
  186.     NULL    /* next IntuiText structure */
  187. };
  188.  
  189.  struct Gadget none = {
  190.     &NC,    /* next gadget */
  191.     200,40,    /* origin XY of hit box relative to window TopLeft */
  192.     44,10,    /* hit box width and height */
  193.     GADGHCOMP,    /* gadget flags */
  194.     GADGIMMEDIATE+TOGGLESELECT,    /* activation flags */
  195.     BOOLGADGET,    /* gadget type flags */
  196.     (APTR)&Border1,    /* gadget border or image to be rendered */
  197.     NULL,    /* alternate imagery for selection */
  198.     &IText6,    /* first IntuiText structure */
  199.     0L,    /* gadget mutual-exclude long word */
  200.     NULL,    /* SpecialInfo structure */
  201.     1,    /* user-definable data */
  202.     NULL    /* pointer to user-definable data */
  203. };
  204.  
  205. #define GadgetList1 none
  206.  
  207.  struct IntuiText IText17 = {
  208.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  209.     335,145,    /* XY origin relative to container TopLeft */
  210.     NULL,    /* font pointer or NULL for default */
  211.     (UBYTE *)"Germany",    /* pointer to text */
  212.     NULL    /* next IntuiText structure */
  213. };
  214.  
  215.  struct IntuiText IText16 = {
  216.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  217.     335,130,    /* XY origin relative to container TopLeft */
  218.     NULL,    /* font pointer or NULL for default */
  219.     (UBYTE *)"(W) 3000 Hannover 1",    /* pointer to text */
  220.     &IText17    /* next IntuiText structure */
  221. };
  222.  
  223.  struct IntuiText IText15 = {
  224.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  225.     335,115,    /* XY origin relative to container TopLeft */
  226.     NULL,    /* font pointer or NULL for default */
  227.     (UBYTE *)"Jägerstr. 3-5",    /* pointer to text */
  228.     &IText16    /* next IntuiText structure */
  229. };
  230.  
  231.  struct IntuiText IText14 = {
  232.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  233.     335,100,    /* XY origin relative to container TopLeft */
  234.     NULL,    /* font pointer or NULL for default */
  235.     (UBYTE *)"Peter Vorwerk",    /* pointer to text */
  236.     &IText15    /* next IntuiText structure */
  237. };
  238.  
  239.  struct IntuiText IText13 = {
  240.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  241.     300,75,    /* XY origin relative to container TopLeft */
  242.     NULL,    /* font pointer or NULL for default */
  243.     (UBYTE *)"untenstehende Adresse senden.",    /* pointer to text */
  244.     &IText14    /* next IntuiText structure */
  245. };
  246.  
  247.  struct IntuiText IText12 = {
  248.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  249.     300,65,    /* XY origin relative to container TopLeft */
  250.     NULL,    /* font pointer or NULL for default */
  251.     (UBYTE *)"Betrag von DM10,- oder $10 an die",    /* pointer to text */
  252.     &IText13    /* next IntuiText structure */
  253. };
  254.  
  255.  struct IntuiText IText11 = {
  256.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  257.     300,55,    /* XY origin relative to container TopLeft */
  258.     NULL,    /* font pointer or NULL for default */
  259.     (UBYTE *)"regelmäßiger Benutzung bitte einen",    /* pointer to text */
  260.     &IText12    /* next IntuiText structure */
  261. };
  262.  
  263.  struct IntuiText IText10 = {
  264.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  265.     300,45,    /* XY origin relative to container TopLeft */
  266.     NULL,    /* font pointer or NULL for default */
  267.     (UBYTE *)"Dieses Programm ist Shareware. Bei",    /* pointer to text */
  268.     &IText11    /* next IntuiText structure */
  269. };
  270.  
  271.  struct IntuiText IText9 = {
  272.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  273.     390,25,    /* XY origin relative to container TopLeft */
  274.     NULL,    /* font pointer or NULL for default */
  275.     NULL,    /* pointer to text */
  276.     &IText10    /* next IntuiText structure */
  277. };
  278.  
  279.  struct IntuiText IText8 = {
  280.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  281.     72,58,    /* XY origin relative to container TopLeft */
  282.     NULL,    /* font pointer or NULL for default */
  283.     (UBYTE *)"PC Verzeichnis",    /* pointer to text */
  284.     &IText9    /* next IntuiText structure */
  285. };
  286.  
  287.  struct IntuiText IText7 = {
  288.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  289.     107,28,    /* XY origin relative to container TopLeft */
  290.     NULL,    /* font pointer or NULL for default */
  291.     (UBYTE *)"Optionen",    /* pointer to text */
  292.     &IText8    /* next IntuiText structure */
  293. };
  294.  
  295. #define IntuiTextList1 IText7
  296.  
  297.  struct NewWindow NewWindowStructure1 = {
  298.     0,10,    /* window XY origin relative to TopLeft of screen */
  299.     640,190,    /* window width and height */
  300.     0,1,    /* detail and block pens */
  301.     GADGETDOWN+GADGETUP+CLOSEWINDOW,    /* IDCMP flags */
  302.     WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE+ACTIVATE+NOCAREREFRESH,    /* other window flags */
  303.     &none,    /* first gadget in gadget list */
  304.     NULL,    /* custom CHECKMARK imagery */
  305.     NULL,    /* window title */
  306.     NULL,    /* custom screen pointer */
  307.     NULL,    /* custom bitmap */
  308.     5,5,    /* minimum width and height */
  309.     -1,-1,    /* maximum width and height */
  310.     WBENCHSCREEN    /* destination screen type */
  311. };
  312.  
  313.  
  314. /* end of PowerWindows source generation */
  315.