|
Hi again...
for mouse tracking I needed the visible poriton of a views client area (e.g.
when inside scrollingDecorator). I could not find any method for it, is
there any in the base system? Or if not maybe in windows?
I wrote the appended one for now, in case anyone has a similar requirement.
Ciao
...Jochen
---------
visibleClientRectangle
| r v |
r := self clientRectangle.
v := self.
[v isTopView] whileFalse:
[v := v parentView.
r := r intersect: (v mapRectangle: v clientRectangle to: self)].
^r
|