Added functionality to make ITStatusItems which have both an image and a
[ITKit.git] / ITStatusItem.h
index d8dcf51..382b48c 100755 (executable)
  *
  *  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.
+ *  3. Eliminates the pre-Jaguar 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.
+ *  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.
  *
  */
 
@@ -42,4 +41,9 @@
 - (NSImage*) alternateImage;
 - (void) setAlternateImage:(NSImage*)image;
 
+// The following have been redefined as to supply compliance with Jaguar (10.2)'s MenuExtras that have both titles and images. Continue to use them as though you would on a NSStatusItem, everything will be done for you automatically.
+- (void) setImage:(NSImage*)image;
+- (NSString*) title;
+- (void) setTitle:(NSString*)title;
+
 @end