home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / programm / 8021 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.5 KB  |  43 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!psinntp!afs!michael
  3. From: Michael_Pizolato@afs.com (Michael Pizolato)
  4. Subject: Workspace ghosting rules
  5. Message-ID: <1993Jan7.152148.285@afs.com>
  6. Sender: Michael_Pizolato@afs.com
  7. Reply-To: Michael_Pizolato@afs.com
  8. Date: Thu, 7 Jan 1993 15:21:48 GMT
  9. Lines: 32
  10.  
  11. I'm working on some drag 'n' drop stuff where I intend to use ghosting,
  12. a la File Viewer.  I have an example app called ToolInspector that
  13. ghosts by compositing 50% NX_LTGRAY over the icon, and that's not
  14. bad.  However, in studying File Viewer closely I've noticed that the
  15. ghosting behavior is more complex than that:
  16.  
  17.    1. When dragging a file icon over an empty shelf slot, the ghosting
  18.       leaves light gray and white alone, turns black into dark gray
  19.       and dark gray into light gray.
  20.  
  21.    2. A file that I have no permissions for appears on the shelf always
  22.       ghosted, but differently than as described in 1.
  23.  
  24.    3. I have access to a color machine, but I have no idea how to
  25.       describe how the ghosting is done there, although there is still
  26.       a difference between an icon being dragged over an empty shelf
  27.       slot and an icon for a file I have no permissions to.
  28.  
  29. I'm a compositing beginner, and I was not able to duplicate any of the
  30. above by experimenting with CompositeLab.  Before I kill more brain
  31. cells trying to figure this out, does anyone know the rules for these? 
  32. I'd like to have my ghosting behavior identical to File Viewer if
  33. possible.   
  34.  
  35. Thanx,
  36. Michael
  37.  
  38. --
  39. Michael_Pizolato@afs.com
  40. ~18 kyu
  41. Q16
  42. NeXTMail appreciated
  43.