Re: Sliding views around
Re: Sliding views around
- Subject: Re: Sliding views around
- From: Rainer Brockerhoff <email@hidden>
- Date: Thu, 24 Mar 2005 16:35:12 -0300
At 6:21 AM -0800 3/24/05, email@hidden wrote:
>From: Michael Becker <email@hidden>
>Date: Thu, 24 Mar 2005 15:15:27 +0100
>Message-ID: <email@hidden>
>
>Does anybody know how exactly Apple created the effect of sliding-inviews? I am talking about the magic that happens e.g. when you click onthe eye-shaped "Browse"-button in iTunes. A Splitview "slides out". Isuppose they are subclassing NSSplitView so they can collapse itprogrammatically, including a nice size-changing slide-animation.
>
>But when the SplitView is collapsed, there is no "handle" to drag it.Is that all just done via subclassing?
iTunes is still a Carbon app, so it doesn't use or subclass NSSplitView, at least as far as I know. I don't know how the equivalent Carbon widget works. But...
<shameless self-promotion>
Except for the disappearing handle, all this is easily done with RBSplitView 1.0.4:
http://www.brockerhoff.net/src/rbs.html
</shameless self-promotion>
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"The three chief virtues of a programmer are: Laziness, Impatience and Hubris" - Larry Wall
Weblog: http://www.brockerhoff.net/bb/viewtopic.php
_______________________________________________
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