Re: subclassed NSOpenGLView won't draw in subclassed NSView
Re: subclassed NSOpenGLView won't draw in subclassed NSView
- Subject: Re: subclassed NSOpenGLView won't draw in subclassed NSView
- From: Carl Gieringer <email@hidden>
- Date: Mon, 7 Feb 2005 17:45:52 -0900
Actually, I am using an NSOpenGLView. In one case I drag it from the
IB Palette, and then in another I programmatically create it to be an
ivar.
I can't find any discussion of IB NSOpenGLView problems on the list;
what sort of problems have you encountered?
On Feb 7, 2005, at 16:56, Henry Maddocks wrote:
Are you using the opengl view from Interface builder. If you are
don't, because it almost never does what you want. Use a custom view
and set it's custom class to be NSOpenGLView.
It doesn't sound like it from your description but I thought I'd check.
On 08/02/2005, at 2:46 PM, Carl Gieringer wrote:
I am almost certain that this isn't an OpenGL error per se, but maybe
an error related to subclassing NSOpenGLView and then placing it in a
subclassed NSView: before I had the labeled axes, I only instantiated
HistoryGraphView (the NSOpenGLView subclass that now doesn't display
unless I constantly resize the window) in the nib and it drew itself
correctly then.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden