home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 301.lha / hyperhelp / help / amiga / windowrefresh < prev   
Encoding:
Text File  |  1980-12-03  |  1.4 KB  |  32 lines

  1. (@pindent 0@)(@title Refresh Modes for Amiga Windows@)There are several ways in which the Amiga handles window
  2. refreshing. Window refresh is the operation of redrawing parts of window
  3. that were obscured, and then made visible again. The modes are called
  4. SIMPLE_REFRESH, SMART_REFRESH, and SUPER_BITMAP.
  5.  
  6.  
  7.  
  8. (@indent 2@)o SIMPLE_REFRESH  -- This is the simplest mode (as the name implies) for the
  9. Amiga operating system to support. When a window becomes unobscured, the
  10. Amiga simply tells the window that it needs redrawing. This is the default
  11. mode for HyperHelp windows since it uses the least amout of memory, at the
  12. expence of some speed.
  13.  
  14.  
  15.  
  16. o SMART_REFRESH -- A window of this type is automatically refresh by the
  17. AmigaOS. Whenever a part of a window is covered, the Amiga allocates a
  18. piece of memory (called a buffer) to hold of portion of the window not
  19. visible. This mode is the most common, since it is the simplest for
  20. programs to use, since they do not need to worry about redrawing their
  21. windows. It uses considerable amounts of CHIP memory, but it is very fast.
  22.  
  23.  
  24.  
  25. o SUPER_BITMAP -- This mode is very similar to SMART_REFRESH in that it
  26. uses a buffer to remember the contents of the window. The difference is
  27. that the buffer is always allocated, and is big enough to hold the entire
  28. contents of the window. This can be used to put a big picture in a small
  29. window, and allow different parts of the picture to be displayed in the
  30. window.
  31.  
  32.