• 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: Strange toolbar/view/resize cursor interaction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange toolbar/view/resize cursor interaction


  • Subject: Re: Strange toolbar/view/resize cursor interaction
  • From: Quincey Morris <email@hidden>
  • Date: Mon, 21 Apr 2014 00:43:25 -0700

On Apr 20, 2014, at 23:53 , Graham Cox <email@hidden> wrote:

> The toolbar view is actually added as a PEER of the window's content view, and the content view is resized to accommodate the toolbar when it is shown or hidden.

That sounds correct, but IIRC the methods that convert between a window’s content size and its frame size don’t take the toolbar into account, which means that they work with a "content size” that isn’t actually the content *view* size, and correcting the calculation requires the assumption of extrinsic information. It strikes me as plausible that an OpenGL view might need to make such a conversion, and that it was never implemented to deal with the presence of a toolbar.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Strange toolbar/view/resize cursor interaction
      • From: Eric Shepherd <email@hidden>
    • Re: Strange toolbar/view/resize cursor interaction
      • From: Noah Desch <email@hidden>
References: 
 >Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Ken Thomases <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Ken Thomases <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Eric Shepherd <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Quincey Morris <email@hidden>)
 >Re: Strange toolbar/view/resize cursor interaction (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Strange toolbar/view/resize cursor interaction
  • Next by Date: Re: ARC Retain Cycles
  • Previous by thread: Re: Strange toolbar/view/resize cursor interaction
  • Next by thread: Re: Strange toolbar/view/resize cursor interaction
  • Index(es):
    • Date
    • Thread