Re: compositing views into one window
Re: compositing views into one window
- Subject: Re: compositing views into one window
- From: Alex Reynolds <email@hidden>
- Date: Fri, 3 Dec 2004 11:07:45 -0500
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
I would like the WebView to be the backdrop, with the second and third
instances to lie on top of the webview. The second instance may have
transparency effects. I'd like to pour all of this into an NSWindow
(display).
Right now I can capture displays and feed the WebView into them. That
works fine. I'd like to add views 2 and 3 (or more, in general).
I guess I'm asking for the general technique of how this is done, like
an NSSubView class (?) or a subview method of NSView?
Thanks,
Alex
On Dec 3, 2004, at 10:43 AM, Ricky Sharp wrote:
On Friday, December 03, 2004, at 09:30AM, Alex Reynolds
<email@hidden> wrote:
How does one generally make a composite or layering of NSView
instances
into one NSWindow instance?
What are you specifically asking for?
Assuming you are talking about custom NSView instances here, you
basically want to ensure you do the right thing in each class
regarding what isOpaque will return. You also want to ensure that you
properly embed views (as subviews) when necessary. You don't want to
have overlapping sibling views.
--
Rick Sharp
Instant Interactive(tm)
_______________________________________________
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