Newbie Q: Is it possible to draw functional "Cocoa Controls" in an OpenGL context?
Newbie Q: Is it possible to draw functional "Cocoa Controls" in an OpenGL context?
- Subject: Newbie Q: Is it possible to draw functional "Cocoa Controls" in an OpenGL context?
- From: Matt Trinneer <email@hidden>
- Date: Wed, 14 Feb 2007 16:33:04 -0500
Hello,
I've been trying to figure this out for a while but am having a
little trouble, being new to Cocoa, and OO programming in general.
Here goes: Is it possible to draw Interface Builder controls such as
buttons, sliders, etc. in an OpenGL view? I've figured out how to
capture bitmap representations of controls and render those in OpenGL
space. What I'd like to do is create 2D representations of these
controls in a 3D OpenGL context, while retaining the ability to
respond to user inputs using the interface elements built in event
handling, action, and output functionality . From my reading so far
OpenGL seems like a suitable candidate for the 3D rendering
environment. However I can't figure out if there is built-in Cocoa
functionality to accomplish this, or, if I'd have to build it myself.
Thanks for any suggestions you may be able to offer.
Matt
This e-mail and any attachments may contain
confidential and privileged information. If you are
not the intended recipient, please notify the sender
immediately by return e-mail, delete this e-mail
and destroy any copies. Any dissemination or use
of this information by a person other than the
intended recipient is unauthorized and may be
illegal. Unless otherwise stated, opinions expressed
in this e-mail are those of the author and are not
endorsed by the author's employer.
--
Le présent message, ainsi que tout fichier qui y est
joint, est envoyé à l'intention exclusive de son ou
de ses destinataires; il est de nature confidentielle
et peut constituer une information privilégiée. Nous
avertissons toute personne autre que le
destinataire prévu que tout examen,
réacheminement, impression, copie, distribution ou
autre utilisation de ce message et de tout fichier
qui y est joint est strictement interdit.
Si vous n'êtes pas le destinataire prévu, veuillez en
aviser immédiatement l'expéditeur par retour de
courriel et supprimer ce message et tout document
joint de votre système. Sauf indication contraire,
les opinions exprimées dans le présent message
sont celles de lauteur et ne sont pas avalisées par
lemployeur de lauteur.
_______________________________________________
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