A documentation tweak on ITStatusItem.
[ITKit.git] / ITStatusItem.h
index 2824f9b..9e01155 100755 (executable)
  *
  */
 
+/*
+ *     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 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 <Cocoa/Cocoa.h>
 
 
 {
 }
 
+// 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;
 
+// These allow you to use an alternate (selected) image for your status item.
 - (NSImage*) alternateImage;
 - (void) setAlternateImage:(NSImage*)image;