home *** CD-ROM | disk | FTP | other *** search
/ Hot Shareware 35 / hot35.iso / ficheros / LC / SIMPWN93.ZIP / SIMPWIN.ZIP / FUNG1.TXT < prev    next >
Text File  |  1997-10-22  |  1KB  |  26 lines

  1.    Simp_window() is the basic window function. It dose not mask so what is
  2. on screen a the time of call is lost. If you study the simptut code you will
  3. see that I use simp_window() as a base window and with mouse along with a 
  4. screen save. 
  5.    The parameters for this function are the corner coordinates left, top,
  6. right, bottom. The boarder and shadow styles are next. Then come the text
  7. attributes foreground and back ground. Next is the shadow location. After
  8. that come the shadow attributes fore and back. Last the boarder character
  9. if needed and the fill character.
  10.    The window coordinates are from 1 to 80 for left and right and 1 to 25
  11. for top and bottom. Boarder styles are 0 through 5: 0 for no boarder, 1 for
  12. single, 2 for double, 3 and 4 for single/double line, and 5 for any ASCII
  13. character boarder. Shadow style are 0 through 3: 0 for no shadow, 1 for
  14. wide shadow, and 3 for narrow shadow.
  15.    Color attributes for text and shadows are standard text colors 0 to 15.
  16. Colors 8 to 15 in the back ground set the blink bit. The shadow locations
  17. are 1 to 4 (see simpwn92.h for defines). And last the border and fill
  18. characters are any ASCII code 0 through 255.
  19.  
  20.    Example:
  21.  
  22.       simp_window(20,5,60,20,5,2,14,4,1,8,0,170,190);
  23.  
  24.       This will display a window 40 x 15 with a boarder of character 190 with
  25.       a narrow shadow with yellow text on a red background.
  26.