Re: compositing views into one window
Re: compositing views into one window
- Subject: Re: compositing views into one window
- From: Guy English <email@hidden>
- Date: Fri, 3 Dec 2004 11:12:52 -0500
On Fri, 3 Dec 2004 11:07:45 -0500, Alex Reynolds <email@hidden> wrote:
> My NSWindow is a captured display.
>
> Let's say I have several NSViews:
>
> 1. WebView instance
> 2. NSView instance with some text in it that will scroll across the
> screen
> 3. NSView instance that contains other text
You're doing some kind of kiosk thing I guess? Why bother making
subviews and all that - just make the two other views borderless
windows and position 'em above the webview using the window layering
stuff. Then you can adjust the alpha, slide the windows around, get
shadows automagically, put whatever you'd like in 'em with out making
the code more complicated and all sorts of other good stuff. Let the
window manager worry about compositing it all - it's good at it. Plus
it's easier and easy is nice.
Later,
Guy
_______________________________________________
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