home *** CD-ROM | disk | FTP | other *** search
/ Software 2000 / Software 2000 Volume 1 (Disc 1 of 2).iso / utilities / u222.dms / in.adf / DropShadow.Doc < prev    next >
Encoding:
Text File  |  1988-03-13  |  3.1 KB  |  84 lines

  1. DropShadow                     Copyright James Mackraz, 1987
  2. Version 2, Revision 0                        April 7, 1987
  3.  
  4. To run this program, you must go to this directory in CLI and type
  5. 'run ds'.  Use the sliders to change the shadow to your preferences.
  6.  
  7.     -----    -----------------------------------------   -----
  8. Notes for Version 2, Revision 0             April 7, 1987
  9.  
  10. Added the following from the wish list:
  11.  
  12. -A slider gadget is implemented to adjust the 3-dimensional
  13. distance between the planes of the windows.
  14.  
  15. -A slider gadget is implemented to adjust shadow darkness.  If
  16. desired, full independent control of the shadow colors is
  17. possible.
  18.  
  19. I had some problems with the latter, so I now increase the
  20. task priority while the darkness slider is selected.  It
  21. has not been tested thoroughly.
  22.  
  23.     -----    -----------------------------------------   -----
  24. Notes for Version 1, Revision 1                March 12,1987
  25.  
  26. When Windows are moved, created, sized, deleted, or depth-
  27. arranged, Intuition calls layers.library.  This program
  28. intercepts those calls to determine that the shadow needs
  29. to be recalculated.  Before this version, this recalculating
  30. and redrawing was done before Intuition got a chance to
  31. redraw Window borders and Gadgets.
  32.  
  33. This version of DropShadow performs the work on its schedule,
  34. and is only signaled by the code which intercepts the
  35. layers calls.  This makes for a smoother and less dangerous
  36. implementation.
  37.  
  38.     -----    -----------------------------------------   -----
  39. Notes for Version 1, Revision 0                March 1, 1987
  40.  
  41. The program on this disk creates and maintains multi-level
  42. transparent drop shadows of windows on the Workbench screen.
  43.  
  44. The program creates its own window, and is terminated by closing
  45. that window.  The program, named DropShadow, may be run from
  46. the CLI, or if associated with an icon, from the Workbench.
  47.  
  48. The shadows are created by attaching an additional bitplane to
  49. the Workbench's display bit map, but doing so in a way which
  50. is transparent to the Workbench or its application programs.
  51.  
  52. Unfortunately, this third bitplane brings the Workbench screen
  53. to a point which causes processor cycles to be stolen by the
  54. display generation hardware.  Thus, this program is probably
  55. best used only for demos and having fun, at least for users
  56. without "Fast" RAM.
  57.  
  58. Enhancements which are planned include:
  59.  
  60. -The program detects that the shadow image needs to be
  61. recalculated by monitoring the layers library.  That section
  62. of code should check that the layers activity is in fact in
  63. the Workbench screen.
  64.  
  65. -A way to detect color changes in preferences would allow the
  66. shadow colors to track user changes to the Workbench colors.
  67. In the meantime, the program must be restarted to initialize the
  68. shadow colors.  Commodities Exchange can be used for this.
  69.  
  70. -A technique of unknown type is planned for user control of
  71. the light source which casts shadows.  Shadows cast according
  72. to the position of the sun (time of day and season) are possible
  73. but unlikely.
  74.  
  75. -This program is not yet a safe Library vector stealer.  It should
  76. refuse to exit if some other program has displaced its vectors,
  77. lest that other program call DropShadow after it has exited.
  78.  
  79.  
  80.                             Jim Mackraz
  81.                             7101 Rainbow Drive #8
  82.                             San Jose, CA  95129
  83.  
  84.