home *** CD-ROM | disk | FTP | other *** search
- SQUARES
- =======
-
- REDIRECTION TO A SPRITE IN A WIMP APPLICATION
- =============================================
-
- This little application tells you how to implement a very useful technique
- in a WIMP application: redirection of VDU output to a sprite. As you know,
- the redrawing of a window in a WIMP application is always a pain, especially
- if a lot has to be redrawn. In that case your application grabs a lot of
- processor time, which is quite anti-social! So if you write a WIMP
- application in which you use a graphics window in which a lot has to be
- redrawn, you'd better use a smart technique to avoid the redrawing of your
- graphics every time the window gets a redraw request. The most useful
- technique in this case is the redirection of VDU output to a sprite. The VDU
- drivers can be directed to put their output into a sprite instead of the
- screen. OS_SpriteOp 60 will switch output to a sprite (or back to the
- screen). See pages 440 and 441 of the PRM.
-
-
- Walther Schoonenberg
-
-
- If you have suggestions or bugs to offer, please
- write to:
- Walther Schoonenberg
- Brouwersgracht 190C
- 1013 HC Amsterdam
- The Netherlands
-
- or phone: 020-208302
-