Re: animating the dock icon
Re: animating the dock icon
- Subject: Re: animating the dock icon
- From: Nathan Day <email@hidden>
- Date: Fri, 16 May 2003 12:55:18 +0930
You will have to create a new image for each fade step. Copy one image
and then lock focus on it and draw the other image over top with the
method -[NSImage dissolveToPoint:fraction:] with different fraction
amounts for each fade step.
On Tuesday, May 13, 2003, at 12:27 PM, Nebagakid wrote:
Hey all,
So, so far, I have this simple code that switches the dock icon from
one image to another, and it works great
id myimage = [NSImage imageNamed: @"shoutservernormal.icns"];
[NSApp setApplicationIconImage: myimage];
what i was wondering is how I would animate a quick dissolve from the
one old image to the new one?
Is this possible?
-Danny Cohen
homepage.mac.com/nebagakid/software
_______________________________________________
Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
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.