Re: compositing views into one window
Re: compositing views into one window
- Subject: Re: compositing views into one window
- From: Ryan Stevens <email@hidden>
- Date: Fri, 3 Dec 2004 10:42:49 -0800
On Dec 3, 2004, at 8:12 AM, Guy English wrote:
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.
What he said.
I'll add that there was a semi-recent discussion about this on
CocoaDev. <http://www.cocoadev.com/index.pl?FadeAViewAndItsContents>
_______________________________________________
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