Re: customizing a drive (or partition) icon
Re: customizing a drive (or partition) icon
- Subject: Re: customizing a drive (or partition) icon
- From: Brian Ganninger <email@hidden>
- Date: Fri, 30 Sep 2005 00:18:12 -0500
You can read the file in easily enough using the open-source
IconFamily class(es) and the volume's path (/Volumes/
VolumeName/.VolumeIcon.icns) and then manipulate it as an NSImage and
write it back out to this location once modified. If you'd like an
example of this would be DriveGauge's functionality (http://
www.infinitenexus.com/dg/) If you need further clarification on the
process let me know and I'll see if I can dredge up some relevant
code. IconFamily has been often discussed and the archives likely
have plenty of info and its easy enough to use in my experience.
On Sep 29, 2005, at 11:58 PM, Herbert wrote:
Does anyone know how to do this? Sample code?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
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