Am 17/12/2013 06:58, schrieb looncraz:
You can convert from screen coordinates to the view coordinate space form within the app_server, however, and it occurs many times in existing code. app_server's View.h has ConvertTo/From Screen, etc... All you need is the view's pointer - not sure if that is a problem for your uses or not.
We were talking about mouse events, not drawing code.And no, the app_server cannot convert to View coordinates there, as I explained earlier: it doesn't even know the target view, and a single message can have multiple target views.
Bye, Axel.