• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: window rotation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: window rotation
      • From: Wade Tregaskis <email@hidden>
    • Re: window rotation
      • From: Chilton Webb <email@hidden>
References: 
 >window rotation (From: Claus Atzenbeck <email@hidden>)
 >Re: window rotation (From: Claus Atzenbeck <email@hidden>)

  • Prev by Date: Easiest way to convert an NSImage to a JPEG
  • Next by Date: Re: Easiest way to convert an NSImage to a JPEG
  • Previous by thread: Re: window rotation
  • Next by thread: Re: window rotation
  • Index(es):
    • Date
    • Thread