On Apr 20, 2014, at 23:53 , Graham Cox <graham....@bigpond.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to