home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d509 / multi_player.lha / Multi_Player / sources / requ_window.h < prev    next >
C/C++ Source or Header  |  1991-06-29  |  4KB  |  116 lines

  1.  
  2. SHORT RequBorderVectors1[] = {
  3.     0,0,
  4.     98,0,
  5.     98,13,
  6.     0,13,
  7.     0,0
  8. };
  9. struct Border RequBorder1 = {
  10.     -1,-1,    /* XY origin relative to container TopLeft */
  11.     3,0,JAM1,    /* front pen, back pen and drawmode */
  12.     5,    /* number of XY vectors */
  13.     RequBorderVectors1,    /* pointer to XY vectors */
  14.     NULL    /* next border in list */
  15. };
  16.  
  17. struct IntuiText RequIText1 = {
  18.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  19.     39,2,    /* XY origin relative to container TopLeft */
  20.     NULL,    /* font pointer or NULL for default */
  21.     "OK",    /* pointer to text */
  22.     NULL    /* next IntuiText structure */
  23. };
  24.  
  25. struct Gadget RequGadget1 = {
  26.     NULL,    /* next gadget */
  27.     164,83,    /* origin XY of hit box relative to window TopLeft */
  28.     97,12,    /* hit box width and height */
  29.     NULL,    /* gadget flags */
  30.     RELVERIFY,    /* activation flags */
  31.     BOOLGADGET,    /* gadget type flags */
  32.     (APTR)&RequBorder1,    /* gadget border or image to be rendered */
  33.     NULL,    /* alternate imagery for selection */
  34.     &RequIText1,    /* first IntuiText structure */
  35.     NULL,    /* gadget mutual-exclude long word */
  36.     NULL,    /* SpecialInfo structure */
  37.     NULL,    /* user-definable data */
  38.     NULL    /* pointer to user-definable data */
  39. };
  40.  
  41. #define RequGadgetList1 RequGadget1
  42.  
  43. struct IntuiText RequIText8 = {
  44.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  45.     95,65,    /* XY origin relative to container TopLeft */
  46.     NULL,    /* font pointer or NULL for default */
  47.     "NTSC",    /* pointer to text */
  48.     NULL    /* next IntuiText structure */
  49. };
  50.  
  51. struct IntuiText RequIText7 = {
  52.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  53.     14,65,    /* XY origin relative to container TopLeft */
  54.     NULL,    /* font pointer or NULL for default */
  55.     "Screen is     ",    /* pointer to text */
  56.     &RequIText8    /* next IntuiText structure */
  57. };
  58.  
  59. struct IntuiText RequIText6 = {
  60.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  61.     15,54,    /* XY origin relative to container TopLeft */
  62.     NULL,    /* font pointer or NULL for default */
  63.     "Replay Used:                      ",    /* pointer to text */
  64.     &RequIText7    /* next IntuiText structure */
  65. };
  66.  
  67. struct IntuiText RequIText5 = {
  68.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  69.     15,44,    /* XY origin relative to container TopLeft */
  70.     NULL,    /* font pointer or NULL for default */
  71.     "Module Size:                       ",    /* pointer to text */
  72.     &RequIText6    /* next IntuiText structure */
  73. };
  74.  
  75. struct IntuiText RequIText4 = {
  76.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  77.     15,35,    /* XY origin relative to container TopLeft */
  78.     NULL,    /* font pointer or NULL for default */
  79.     "Module name:                       ",    /* pointer to text */
  80.     &RequIText5    /* next IntuiText structure */
  81. };
  82.  
  83. struct IntuiText RequIText3 = {
  84.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  85.     92,23,    /* XY origin relative to container TopLeft */
  86.     NULL,    /* font pointer or NULL for default */
  87.     "Beta Version 1.0 (31/03/91)",    /* pointer to text */
  88.     &RequIText4    /* next IntuiText structure */
  89. };
  90.  
  91. struct IntuiText RequIText2 = {
  92.     3,0,JAM2,    /* front and back text pens, drawmode and fill byte */
  93.     93,14,    /* XY origin relative to container TopLeft */
  94.     NULL,    /* font pointer or NULL for default */
  95.     "Written by Thomas LANDSPURG",    /* pointer to text */
  96.     &RequIText3    /* next IntuiText structure */
  97. };
  98.  
  99. #define RequIntuiTextList1 RequIText2
  100.  
  101. struct NewWindow RequNewWindowStructure1 = {
  102.     74,85,    /* window XY origin relative to TopLeft of screen */
  103.     391,102,    /* window width and height */
  104.     0,1,    /* detail and block pens */
  105.     GADGETDOWN+GADGETUP+REQSET+CLOSEWINDOW+REQVERIFY+REQCLEAR,    /* IDCMP flags */
  106.     WINDOWDRAG+ACTIVATE+NOCAREREFRESH,    /* other window flags */
  107.     &RequGadget1,    /* first gadget in gadget list */
  108.     NULL,    /* custom CHECKMARK imagery */
  109.     "Multi player...",    /* window title */
  110.     NULL,    /* custom screen pointer */
  111.     NULL,    /* custom bitmap */
  112.     5,5,    /* minimum width and height */
  113.     -1,-1,    /* maximum width and height */
  114.     WBENCHSCREEN    /* destination screen type */
  115. };
  116.