Re: Animated split view collapsing
Re: Animated split view collapsing
- Subject: Re: Animated split view collapsing
- From: "Lawrence Sanbourne" <email@hidden>
- Date: Fri, 28 Apr 2006 15:17:15 -0500
On 4/28/06, Matt Neuburg <email@hidden> wrote:
On Fri, 28 Apr 2006 02:05:21 -0500, "Lawrence Sanbourne"
<email@hidden> said:
>Interesting. I did notice some strange results with different curves,
>but only when the "direction" of the animation didn't correspond with
>the right curve. However, I tried not specifying an animation curve,
>and I have the same display bug.
>> Here's the current version of my animated split view hiding code. It's
>> working beautifully for collapsing the view. However, it displays the
>> window background and jumps to the endFrame position when
>> un-collapsing
As I said before, I found it necessary to sprinkle my routines with
"display" calls. setNeedsDisplay was not enough. (Maybe this is some kind of
interaction with the new screen buffering.) m.
I can't call this during the animation because I'm using
NSViewAnimation. However, before I write all the code to switch to a
custom NSAnimation subclass, I thought I'd try calling -display
instead of -setNeedsDisplay: at the end of my method (after the
animation is done). This change the end result at all, so I think
adding -display calls isn't the answer. Did I reason that correctly?
Larry
_______________________________________________
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