[haiku-development] Re: Detect overlapping window
- From: Stephan Assmus <superstippi@xxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Mon, 28 Apr 2008 15:53:43 +0200
Mohmed Hammassani wrote:
> Hi all,
> I'mwondering if anyone can help ...
>
> Ive been trying to modify the window.cpp code so that when a window is
> moved it can detect whether there is another window under it. I have
> tried looking into the window dragging code in window.cpp to try and
> capture when a window has moved on top of another one. I have also tried
> working with a list of windows that i retrieved from Desktop.cpp but when
> i use that list in the window.cpp file the virtual machine gives me an
> error. Am I looking at the right areas or is there another section of
> code i should be looking at?
>
> any help would be appreciated..
The Desktop class definitely has the knowledge of windows overlapping each
other. And dragging happens in Window.cpp. So you are looking at the right
code.
What are you trying to do from a 10 000 ft view? Maybe we have an idea how
it could be done best.
Best regards,
-Stephan
- Follow-Ups:
- [haiku-development] Re: Detect overlapping window
- From: Mohmed Hammassani
- References:
- [haiku-development] Detect overlapping window
- From: Mohmed Hammassani
Other related posts:
- » [haiku-development] Detect overlapping window
- » [haiku-development] Re: Detect overlapping window
- » [haiku-development] Re: Detect overlapping window
- » [haiku-development] Re: Detect overlapping window
- » [haiku-development] Re: Detect overlapping window
- [haiku-development] Re: Detect overlapping window
- From: Mohmed Hammassani
- [haiku-development] Detect overlapping window
- From: Mohmed Hammassani