• 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: compositing views into one window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >compositing views into one window (From: Alex Reynolds <email@hidden>)
 >Re: compositing views into one window (From: Ricky Sharp <email@hidden>)
 >Re: compositing views into one window (From: Alex Reynolds <email@hidden>)
 >Re: compositing views into one window (From: Guy English <email@hidden>)

  • Prev by Date: Re: NSBezierCurve and Line Width
  • Next by Date: Re: SuperScript to baseline offset
  • Previous by thread: Re: compositing views into one window
  • Next by thread: Re: compositing views into one window
  • Index(es):
    • Date
    • Thread