Re: window rotation
Re: window rotation
- Subject: Re: window rotation
- From: Sam McCandlish <email@hidden>
- Date: Wed, 19 May 2004 21:57:06 -0400
I know a really easy way to transform the point, I just need a way to
transform it before it gets to the window. Can anyone help me out?
Sam
On May 18, 2004, at 10:41 PM, Wade Tregaskis wrote:
Looks funky, but with the demo download, it seems that the mouse
pointer is not transformed as when it is small or rotating, the
controls aren't registering the clicks.
See:
For all who are interested: Wade has written a prototype of a window
which can rotate and zoom (even both at the same time) and is full
functional (except the problem that mouse actions are not mapped
correctly).
Everything still functions fine, it's just that the window still
treats it's location as unmodified, from the point of view of events.
So if you can visualise the original position of the window in your
mind, you can still use it normally - just click wherever the given
button/control was. Note that you can't click outside the window -
the window server is smart enough to transform the window's hit rect,
but sadly not it's events. I'm still looking at the best way to do
this (or, better yet, some window server function to do it
automatically).
Wade Tregaskis (aim: wadetregaskis)
-- Sed quis custodiet ipsos custodes?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.