home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / languages / panebasic / lib / basiclib / !Squares / !Help next >
Encoding:
Text File  |  1991-02-18  |  1.1 KB  |  32 lines

  1. SQUARES
  2. =======
  3.  
  4. REDIRECTION TO A SPRITE IN A WIMP APPLICATION
  5. =============================================
  6.  
  7. This little application tells you how to implement a very useful technique
  8. in a WIMP application: redirection of VDU output to a sprite. As you know,
  9. the redrawing of a window in a WIMP application is always a pain, especially
  10. if a lot has to be redrawn. In that case your application grabs a lot of
  11. processor time, which is quite anti-social! So if you write a WIMP
  12. application in which you use a graphics window in which a lot has to be
  13. redrawn, you'd better use a smart technique to avoid the redrawing of your
  14. graphics every time the window gets a redraw request. The most useful
  15. technique in this case is the redirection of VDU output to a sprite. The VDU
  16. drivers can be directed to put their output into a sprite instead of the
  17. screen. OS_SpriteOp 60 will switch output to a sprite (or back to the
  18. screen). See pages 440 and 441 of the PRM.
  19.  
  20.  
  21. Walther Schoonenberg
  22.  
  23.  
  24. If you have suggestions or bugs to offer, please
  25. write to:
  26. Walther Schoonenberg
  27. Brouwersgracht 190C
  28. 1013 HC Amsterdam
  29. The Netherlands
  30.  
  31. or phone: 020-208302
  32.