• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa controls on top of an OpenGL view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa controls on top of an OpenGL view


  • Subject: Re: Cocoa controls on top of an OpenGL view
  • From: Ian was here <email@hidden>
  • Date: Sun, 3 Jun 2007 11:52:15 -0700 (PDT)

The way my app was set up was where I have a window
with a QTMovieView as it's content view, then I
created a transparent window with the same dimensions
and added it as a child window. This way, the user
could add images, lines, text, etc... Even QuickTime
movie objects on the transparent window, while having
a QuickTime movie playing in the background. The
performance was better than I had expected.




--- John Stiles <email@hidden> wrote:

> Excellent, this was exactly my plan. It's good to
> hear that it's been
> tried before and it worked out well. Was performance
> OK?
>
> Ian was here wrote:
> > The only way I know of in Cocoa is to create a
> > transparent window with your cocoa controls on it
> and
> > add it as a child window above your OpenGL window.
> > I've done something similar to this and it worked
> out
> > OK.
> >
> >
> >
> >
> > --- John Stiles <email@hidden> wrote:
> >
> >
> >> Is there a recommended way to float Cocoa
> controls
> >> on top of an
> >> NSOpenGLView?
> >>
> >> In Carbon, we were able to do this by creating
> one
> >> window which
> >> contained an AGL surface, and then a separate
> Carbon
> >> window. We
> >> "combined" the two windows with window groups and
> >> the visual effect worked.
> >>
> >> I'd be OK with this but I don't know if there is
> a
> >> Cocoa equivalent to
> >> window groups, and if there is a simpler way, I'd
> >> like to know more. I
> >> do know that, in general, Cocoa does not support
> >> Z-ordering for
> >> controls, so that seems like a potential
> stumbling
> >> block.
> >>
> >> _______________________________________________
> >>
> >> 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
> >>
> >>
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Finding fabulous fares is fun.
> > Let Yahoo! FareChase search your favorite travel
> sites to find flight and hotel bargains.
> > http://farechase.yahoo.com/promo-generic-14795097
> >
>




____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search
that gives answers, not web links.
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
_______________________________________________

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

References: 
 >Re: Cocoa controls on top of an OpenGL view (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Cocoa controls on top of an OpenGL view
  • Next by Date: Re: RTF to unicode conversion
  • Previous by thread: Re: Cocoa controls on top of an OpenGL view
  • Next by thread: Re: Cocoa controls on top of an OpenGL view
  • Index(es):
    • Date
    • Thread