Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Components on top of a QCView?



Thanks! I'll give that a go. It will be very slick if this works. :)

Patrick

On 6/21/05, Pierre-Olivier Latour <email@hidden> wrote:
> > I'm wondering if there is a way to have components on top of a QCView?
> > I'd like to have an app with a window whose background is a QCView. I
> > will have components on top of the view with which the user will
> > interact. In my tests so far, it seems like anything on top of the
> > QCView is hidden when you run it. Is this always the case, or is there
> > a way around it?
> 
> Quartz Composer does not render in a window, but actually in an
> OpenGL surface above the window - that's why you cannot see what's
> beneath it.
> 
> The way to draw on top of a QCView is to put another NSWindow on top,
> attached as child window on the primary window (look for -[NSWindow
> addChildWindow:] or something). Then you need to have the background
> of that child window be transparent (clear it with [NSColor
> clearColor]) and tell the window server about it: -setAlpha:0.9999
> and -setOpaque:NO I believe are the NSWindow methods to use.
> 
> ________________________________________________________
> Pierre-Olivier Latour                            email@hidden
> Quartz Composer Architect                Graphics & Imaging Team
> 
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden

References: 
 >Components on top of a QCView? (From: patrick <email@hidden>)
 >Re: Components on top of a QCView? (From: Pierre-Olivier Latour <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.