home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PASCAL / SUPRWIN3.ZIP / SUPERWIN.DOC next >
Encoding:
Text File  |  1980-01-01  |  3.9 KB  |  97 lines

  1.                                     SuperWin
  2.                                 by William Russell
  3.                                   version 3.0
  4.  [===========================================================================]
  5.  
  6.               This Turbo Pascal unit is shareware. It may be used on
  7.           a trial basis only. If you find SuperWin of use, a fee of
  8.           $5 would be greatly appreciated. This documentation must be
  9.           included with the unit. This unit was written in Turbo Pascal
  10.           by Borland Inc. For versions 4.0 and 5.0.
  11.  
  12.              Please send your money to the following address:
  13.  
  14.                             SuperWin c/o
  15.                             Bill Russell
  16.                             13401 Arden Way #21
  17.                             Laurel, MD
  18.  
  19.              This unit has four routines:
  20.  
  21.           ClrWin (X1, Y1, X2, Y2)
  22.  
  23.              Clears the area from the upper-left-hand corner (X1,Y1)
  24.           to the lower-right-hand corner (X2,Y2), then sets the
  25.           active window to the size of the entire 80x25 screen.
  26.  
  27.  
  28.           function StringOf (ASCIIValue, Times):TypeScreenString;
  29.  
  30.              Returns a string composed of the character whose ASCII
  31.           value is ASCIIValue made up of Times characters.
  32.  
  33.  
  34.           Solid_Window (X1, Y1, X2, Y2, Border);
  35.  
  36.              Creates a window from (X1,Y1) to (X2,Y2) on the screen.
  37.           The border of the window is made of the characters in the
  38.           string border. The first character in the string is the
  39.           upper-left corner. The second is the upper-right. The third
  40.           is the lower-left, and the fourth is the lower-right. The
  41.           fifth character is the horizontal line character and the
  42.           last character is the vertical line character. You can use
  43.           the constant array BorderType [<style>] for a variety of
  44.           different borders.
  45.  
  46.  
  47.           Explode_Window (X1,
  48.                           Y1,
  49.                           X2,
  50.                           Y2,
  51.                           Foreground,
  52.                           Background,
  53.                           Speed,
  54.                           Jump       : byte;
  55.                           Border     : string;
  56.                           EffectsOn  : boolean);
  57.  
  58.              Explodes a window onto the screen, whose final
  59.           coordinates are (X1,Y1) to (X2,Y2). Foreground and
  60.           Background are the window colors. Speed is the number of
  61.           times the border is drawn, which may be from 1 to 50.
  62.           Border is a 6-character string from which the window's
  63.           border will be made. Effectson is for sound effects. Pass
  64.           true if you want to use them false otherwise.
  65.  
  66.  
  67.  
  68.  
  69.          PieceExplode (X1,
  70.                        Y1,
  71.                        X2,
  72.                        Y2,
  73.                        Foreground,
  74.                        Background,
  75.                        Speed,
  76.                        Jump       : byte;
  77.                        Border     : string;
  78.                        EffectsOn  : boolean);
  79.  
  80.              Explodes a window onto the screen, whose final
  81.           coordinates are (X1,Y1) to (X2,Y2). Foreground and
  82.           Background are the window colors. Speed is the number of
  83.           times the border is drawn, which may be from 1 to 50.
  84.           Border is a 6-character string from which the window's
  85.           border will be made. Effectson is for sound effects. Pass
  86.           true if you want to use them false otherwise.
  87.               This procedure explods the Horizonatal sides first then
  88.           the vertical sides.
  89.  
  90.              Well, that's basically it. If you have any questions or
  91.           comments, please write me (even if you didn't register) or
  92.           call me at home during the week from 4pm - 10pm at
  93.  
  94.                             (301) 776-2182
  95.  
  96.              Have fun!
  97.