Re: Using OpenGL to create a custom interface
Re: Using OpenGL to create a custom interface
- Subject: Re: Using OpenGL to create a custom interface
- From: Cynthia Maxwell <email@hidden>
- Date: Fri, 16 Nov 2007 14:43:24 -0800
On Nov 16, 2007, at 2:31 PM, paul Fultz wrote:
hi,
so i have my plug-in inherit from NSOpenGLView instead
of NSView, then i override drawRect to do my drawing.
But now im getting a linking error when i compile
saying that symbols such as "_glutInit" are
Are you linking with the GLUT.framework?
unresolved. Im not sure why, i added the OpenGl
framework to my project, this usually works in other
projects ive done with opengl, is there something im
missing here? also i override drawRect to do the
drawing, but what do i need to override to handle
mouse motion and actions(such as clicking)?
Take a look at the functions that CAOpenGLTrackballView implements.
thanks,
paul
____________________________________________________________________________________
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden