Thread View: comp.sys.next.programmer
3 messages
3 total messages
Started by Michael Pizolato
Thu, 07 Jan 1993 15:21
Workspace ghosting rules
Author: Michael Pizolato
Date: Thu, 07 Jan 1993 15:21
Date: Thu, 07 Jan 1993 15:21
32 lines
1618 bytes
1618 bytes
I'm working on some drag 'n' drop stuff where I intend to use ghosting,
a la File Viewer. I have an example app called ToolInspector that
ghosts by compositing 50% NX_LTGRAY over the icon, and that's not
bad. However, in studying File Viewer closely I've noticed that the
ghosting behavior is more complex than that:
1. When dragging a file icon over an empty shelf slot, the ghosting
leaves light gray and white alone, turns black into dark gray
and dark gray into light gray.
2. A file that I have no permissions for appears on the shelf always
ghosted, but differently than as described in 1.
3. I have access to a color machine, but I have no idea how to
describe how the ghosting is done there, although there is still
a difference between an icon being dragged over an empty shelf
slot and an icon for a file I have no permissions to.
I'm a compositing beginner, and I was not able to duplicate any of the
above by experimenting with CompositeLab. Before I kill more brain
cells trying to figure this out, does anyone know the rules for these?
I'd like to have my ghosting behavior identical to File Viewer if
possible.
Thanx,
Michael
--
Michael_Pizolato@afs.com
~18 kyu
Q16
NeXTMail appreciated
Re: Workspace ghosting rules
Author: Michael Pizolato
Date: Fri, 08 Jan 1993 16:13
Date: Fri, 08 Jan 1993 16:13
24 lines
1156 bytes
1156 bytes
In article <1993Jan7.152148.285@afs.com> Michael_Pizolato@afs.com (Michael Pizolato) writes: > I'm working on some drag 'n' drop stuff where I intend to use ghosting, > a la File Viewer. [rest deleted] I just discovered an icon called "badFolder.tiff" in /usr/lib/NextStep/Workspace.app/WM.app, so that's how the "ghosting" is done for folders the user has no permission to see. Also, I received a suggestion to try 1/3 alpha and NX_WHITE sover'd over the icon for ghosting during drag, but while it's much closer than the 50% NX_LTGRAY I was using (thanx Scott!) it's still not identical to what File Viewer does. BTW, I forgot to mention that I'm running NeXTSTEP V3.0. Still searching, Michael -- Michael_Pizolato@afs.com ~18 kyu Q16 NeXTMail appreciated
Re: Workspace ghosting rules
Author: Jonathan Hendry
Date: Sat, 09 Jan 1993 19:33
Date: Sat, 09 Jan 1993 19:33
34 lines
1889 bytes
1889 bytes
In article <1993Jan8.161309.1075@afs.com>, Michael_Pizolato@afs.com (Michael Pizolato) writes: |> In article <1993Jan7.152148.285@afs.com> Michael_Pizolato@afs.com (Michael |> Pizolato) writes: |> > I'm working on some drag 'n' drop stuff where I intend to use ghosting, |> > a la File Viewer. [rest deleted] |> |> I just discovered an icon called "badFolder.tiff" in |> /usr/lib/NextStep/Workspace.app/WM.app, so that's how the "ghosting" |> is done for folders the user has no permission to see. |> |> Also, I received a suggestion to try 1/3 alpha and NX_WHITE sover'd |> over the icon for ghosting during drag, but while it's much closer |> than the 50% NX_LTGRAY I was using (thanx Scott!) it's still not |> identical to what File Viewer does. |> |> BTW, I forgot to mention that I'm running NeXTSTEP V3.0. |> |> Still searching, |> Michael |> |> -- |> Michael_Pizolato@afs.com |> ~18 kyu |> Q16 |> NeXTMail appreciated Ah. I see you`ve learned your lesson about flaming. :) -- Jonathan W. Hendry Drexel University College Of Information Studies Anderson Financial Systems "Programmer-in-Exile" :) hendryjw@duvm.ocs.drexel.edu (No NEXTMail :( )
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads