X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/49f87ce455a122b803c4c30a17b94d61868551bf..7a218424c6a92eb4979564a7260f862edd46052d:/ITStatusItem.h diff --git a/ITStatusItem.h b/ITStatusItem.h old mode 100755 new mode 100644 index d8dcf51..f2f6070 --- a/ITStatusItem.h +++ b/ITStatusItem.h @@ -1,45 +1,26 @@ /* * ITKit - * ITStatusItem - * NSStatusItem subclass which reduces suckage + * ITStatusItem.h * - * Original Author : Joseph Spiros - * Responsibility : Matt Judy - * Responsibility : Joseph Spiros + * NSStatusItem subclass which attempts to approximate NSMenuExtra's + * appearance and functionality. * - * Copyright (c) 2002 iThink Software. - * All Rights Reserved + * Copyright (c) 2005 by iThink Software. + * All Rights Reserved. * - */ - -/* - * This subclass does 3 things: - * - * 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. - * - * 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. + * $Id$ * */ #import +@interface ITStatusItem : NSStatusItem { -@interface ITStatusItem : NSStatusItem -{ } -// Use this to create a new retained status item. -// It will appear in the system status bar, and -// default to YES for its highlightMode. -- (id)initWithStatusBar:(NSStatusBar*)statusBar withLength:(float)length; +- (id)initWithStatusBar:(NSStatusBar *)statusBar withLength:(float)length; -// These allow you to use an alternate (selected) image for your status item. -- (NSImage*) alternateImage; -- (void) setAlternateImage:(NSImage*)image; +- (NSImage *)alternateImage; +- (void)setAlternateImage:(NSImage *)image; -@end +@end \ No newline at end of file