X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/49f87ce455a122b803c4c30a17b94d61868551bf..079b33aed3d1c849f1f46022040813d6394100f2:/ITStatusItem.h?ds=sidebyside diff --git a/ITStatusItem.h b/ITStatusItem.h index d8dcf51..4116107 100755 --- a/ITStatusItem.h +++ b/ITStatusItem.h @@ -4,28 +4,31 @@ * NSStatusItem subclass which reduces suckage * * Original Author : Joseph Spiros + * Original Author : Matt Judy * Responsibility : Matt Judy * Responsibility : Joseph Spiros * - * Copyright (c) 2002 iThink Software. + * Copyright (c) 2002 - 2003 iThink Software. * All Rights Reserved * */ /* - * This subclass does 3 things: + * This subclass does 4 things to approximate NSMenuExtra's functionality: * * 1. Makes the status item smarter about highlighting. - * 2. Allows you to set an inverted (alternate) image. - * 3. Eliminates the ugly shadow behind a normal status item. + * 2. Allows you to set an alternate (inverted) image. + * 3. Eliminates the pre-Jaguar shadow behind a normal status item. + * 4. If you use an image AND title, the text will be made slightly smaller + * to resemble the visual interface of an NSMenuExtra. * - * Note: In order to have the shadow not suck, Apple moves the - * image up one pixel. We have chosen not to address this - * here, so please adjust your images DOWN one pixel to - * compensate for this. + * Note: In order to have the shadow not overlap the bottom of the + * menubar, Apple moves the image up one pixel. Since that shadow is + * no longer drawn, please adjust your images DOWN one pixel to compensate. * */ + #import @@ -42,4 +45,5 @@ - (NSImage*) alternateImage; - (void) setAlternateImage:(NSImage*)image; + @end