[haiku-appserver] Re: broken coordinate conversion

  • From: Adi Oanca <adioanca@xxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Sat, 05 Nov 2005 09:07:25 +0200

Stephan Aßmus wrote:

Hi gang,

I have noticed that coordinate conversion to/from screen is broken for scrolled Layers. Even BView::Bounds() seems to be broken. I don't know which commit caused this. Any clues?

Yes. But I'm not entirely sure.
Bounds() was relative to LayerData.Origin(). Axel, fixing this, broke the bounds rectangle, a thing which is OK, because Bounds() was not using the right stuff for calculation the bounds rectangle.

bye, Adi.

Other related posts: