Re: Snap to window

2002-03-14 Thread Sean 'Shaleh' Perry
While on the topic of the workspace code I'd like to ask Shaleh, or whoever that might have a clue, why there's two linked lists of windows? I was thinking maybe Workspace::getWindow(int) could be changed to return windows from the stacklistning instead, but I suppose I might be overseeing

Re: Snap to window

2002-03-12 Thread Mattias Eklöf
IMO, windows should only snap to visible _borders_. As far as implementation goes... I'm not familiar with the bb source, or C/C++. :) A behaviour like that would make sense, but I picture it as hard to implement. I've been thinking about it for a while now and I'm not sure I can see how it

Snap to window

2002-03-11 Thread Mattias Eklöf
I've written two different implementations of a snap-to-window behaviour, but right now I have a problem I don't quite know how to deal with. As it is now a window doesn't care about how the other windows are layered and will snap to the closest window, even if the closest window is all covered

Re: Snap to window

2002-03-11 Thread Derek Cunningham
IMO, windows should only snap to visible _borders_. As far as implementation goes... I'm not familiar with the bb source, or C/C++. :) DC On Mon, Mar11,02 15:51, Mattias Eklöf wrote: I've written two different implementations of a snap-to-window behaviour, but right now I have a problem I

Re: Snap to window

2002-03-11 Thread Sean 'Shaleh' Perry
On 11-Mar-2002 Mattias Eklöf wrote: I've written two different implementations of a snap-to-window behaviour, but right now I have a problem I don't quite know how to deal with. As it is now a window doesn't care about how the other windows are layered and will snap to the closest window