[haiku-commits] Re: r37939 - haiku/trunk/src/servers/app

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 7 Aug 2010 13:14:20 +0200

2010/8/7 Stephan Assmus <superstippi@xxxxxx>:
>

> Yes, refactoring that would be cool. It's been a while that I looked closely
> at this code, but I would have to to give a decent answer. I am leaning
> towards ServerWindow, but I am at the same time wondering why it can't be in
> DrawingEngine. There is probably a reason... :-}
>

Because before drawing, we need to handle the coordinate conversion,
and in general do some housekeeping. From what I saw, DrawingEngine
expects screen coordinates already.

Other related posts: