Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find colored indicators for use in Cocoa?

I need color indicators. Need to be able to do green, yellow and red. Anybody know how? I looked through the available icons/etc in Interface Builder but did not see anything like them.

Like this: green indicator http://allynbauer.com/permafrost/green_indicator.png

like image 899
Allyn Avatar asked Mar 05 '09 22:03

Allyn


Video Answer


1 Answers

You can find the images used in iChat/Mail/etc inside the InstantMessage.framework. The directory is /System/Library/Frameworks/InstantMessage.framework/Resources

You can get status-available.png, status-away.png, and status-idle.png

Of course, rather than needlessly including extra image files in your app, you could also include the InstantMessage.framework in your app and use [IMService imageNameForStatus:] to get the names of the system images for each status. See the IMService Class Reference

like image 107
Matt Ball Avatar answered Oct 16 '22 00:10

Matt Ball