Re: Strange toolbar/view/resize cursor interaction
Re: Strange toolbar/view/resize cursor interaction
- Subject: Re: Strange toolbar/view/resize cursor interaction
- From: Noah Desch <email@hidden>
- Date: Mon, 21 Apr 2014 13:37:21 -0700
I have an NSOpenGL view in a window with a nib-based toolbar that behaves correctly, so I don't think the OpenGL machinery is completely ignorant of toolbars.
Noah Desch
>
> 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