home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15272 < prev    next >
Encoding:
Text File  |  1992-09-10  |  1.9 KB  |  46 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!camex!sunfs3!kent
  3. From: kent@sunfs3.Camex.COM (Kent Borg)
  4. Subject: Re: Animated Cursor
  5. Message-ID: <1992Sep09.184232.14592@sunfs3.Camex.COM>
  6. Organization: Camex Inc., Boston MA
  7. References: <1992Sep4.175646.10103@magnus.acs.ohio-state.edu> <BuBnpJ.AEu@unix.amherst.edu>
  8. Date: Wed, 09 Sep 1992 18:42:32 EDT
  9. Lines: 35
  10.  
  11. In article <BuBnpJ.AEu@unix.amherst.edu> mbabramo@unix.amherst.edu (MICHAEL BERNARD ABRAMOWICZ) writes:
  12. >Another possible approach is to use the Vertical Retrace Manager.
  13. >This is pretty easy if you have New Inside Macintosh: Processes,
  14. >since full source code is conveniently provided. 
  15. >
  16. >Michael Abramowicz
  17. >
  18. >Disclaimer: I wrote the first version of the chapter as an Apple
  19. >summer intern, so I am somewhat biased. But it really is easy.
  20.  
  21. And I didn't like it when I saw it.  No, I have no gripes (or opinions
  22. actually) with the quality of the code, my complaint (often repeated
  23. here) is that a VBL task should *not* be used to spin a cursor.  It is
  24. dishonest.
  25.  
  26. Spinning cursors are not just there to be cute, they are to assure the
  27. user that things are still progressing, their speed and cadence can
  28. convey information about the progress of short procedures.  (Long
  29. procedures should get cancelable progress thermometers, not spinning
  30. cursors.)
  31.  
  32. If you use an effort-saving VBL to spin your cursor you are unlikely
  33. to put in the extra work needed to make the cursor representative of
  34. whether there really *is* any progress going on.  
  35.  
  36. Spinning cursors is not a background task, it is part of the Real Work
  37. of your application, do it in the Real Code.  Save VBLs for background
  38. activities.
  39.  
  40.  
  41. --
  42. Kent Borg            kent@camex.com or (when it is *working*) kentborg@aol.com
  43.                                             H:(617) 776-6899  W:(617) 426-3577
  44. As always, things look better when some costs are left out.
  45.                               -Economist 3-28-92 p. 94
  46.