home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / screen / dropshad.zoo / dropshadow.doc next >
Text File  |  1987-05-06  |  3KB  |  84 lines

  1. ------------- Slice here ----------
  2.  
  3. DropShadow (C) Copyright James Mackraz, 1987 (Mr. Intuition)
  4. this version may be freely redistibuted
  5. Version    2, Revision 0  April 7,    1987
  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.  
  42. -The program on    this disk creates and maintains    multi-level
  43.  transparent drop shadows of windows on    the Workbench screen.
  44.  
  45. -The program creates its own window, and is terminated by closing
  46.  that window.  The program, named DropShadow, may be run from
  47.  the CLI, or if    associated with    an icon, from the Workbench.
  48.  
  49. -The shadows are created by attaching an additional bitplane to
  50.  the Workbench's display bit map, but doing so in a way which
  51.  is transparent    to the Workbench or its    application programs.
  52.  
  53. -Unfortunately,    this third bitplane brings the Workbench screen
  54.  to a point which causes processor cycles to be    stolen by the
  55.  display generation hardware.  Thus, this program is probably
  56.  best used only    for demos and having fun, at least for users
  57.  without "Fast" RAM.
  58.  
  59.  Enhancements which are    planned    include:
  60.  
  61. -The program detects that the shadow image needs to be
  62.  recalculated by monitoring the    layers library.     That section
  63.  of code should    check that the layers activity is in fact in
  64.  the Workbench screen.
  65.  
  66. -A way to detect color changes in preferences would allow the
  67.  shadow    colors to track    user changes to    the Workbench colors.
  68.  In the    meantime, the program must be restarted    to initialize the
  69.  shadow    colors.     Commodities Exchange can be used for this.
  70.  
  71. -A technique of    unknown    type is    planned    for user control of
  72.  the light source which    casts shadows.    Shadows    cast according
  73.  to the    position of the    sun (time of day and season) are possible
  74.  but unlikely.
  75.  
  76. -This program is not yet a safe    Library    vector stealer.     It should
  77.  refuse    to exit    if some    other program has displaced its    vectors,
  78.  lest that other program call DropShadow after it has exited.
  79.  
  80.  Jim Mackraz
  81.  7101 Rainbow Drive #8
  82.  San Jose, CA  95129
  83.  
  84.