Re: smooth resize
Re: smooth resize
- Subject: Re: smooth resize
- From: Oliver Cameron <email@hidden>
- Date: Sun, 13 Jun 2004 15:01:37 +0100
In your last email, you included some code with mouseEntered in it.
What you should do is use that, and in it put [self
resizeTheWindow:nil];
This should do it. So the method would look like this:
- (void)mouseEntered:(NSEvent *)event {
//NSLog(@"Mouse Entered");
// Resize to expanded window should go here
windowAlphaCurrentIncrement = windowAlphaIncrement;
[NSTimer scheduledTimerWithTimeInterval:windowAlphaFadeRate
target:self selector:@selector(changeTransparency:) userInfo:nil
repeats:NO];
[self resizeTheWindow:nil];
}
Hope this helps,
Oliver
On 13 Jun 2004, at 14:56, Rhon Fitzwater wrote:
- (void)mouseEntered:(NSEvent *)event {
//NSLog(@"Mouse Entered");
// Resize to expanded window should go here
windowAlphaCurrentIncrement = windowAlphaIncrement;
[NSTimer scheduledTimerWithTimeInterval:windowAlphaFadeRate
target:self selector:@selector(changeTransparency:) userInfo:nil
repeats:NO];
}
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.