Re: NSView's origin
Re: NSView's origin
- Subject: Re: NSView's origin
- From: Scott Stevenson <email@hidden>
- Date: Sun, 26 Nov 2006 18:21:25 -0800
On Nov 26, 2006, at 6:01 PM, Aaron Boothello wrote:
one window..... 4 NSOpenGLViews positioned with a space in between
them all. ideally i would like this space to remain fixed (ie: not
grow/shrink when the window is resized). Spring and struts just
dont seem to be able to provide that.
How about RBSplitView?
http://www.brockerhoff.net/src/rbs.html
If you really, really, really want to find your location in the
window (I think it's just busy work), you might be able to do it by
getting the window's content view and using one of the following:
- convertPoint:fromView:
- convertPoint:toView:
Feed it {0,0} as input.
Hope that helps,
- Scott
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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