Removing the use of private CoreGraphics APIs to draw shadows, and replacing with...
[ITKit.git] / ITTableCornerView.h
old mode 100755 (executable)
new mode 100644 (file)
index a8b582c..30e0afd
@@ -1,36 +1,18 @@
 /*
  *     ITKit
- *  ITTableCornerView
- *    NSPopUpButton subclass for corner views in a table view.
+ *     ITTableCornerView.h
  *
- *  Original Author : Joseph Spiros <joseph.spiros@ithinksw.com>
- *   Responsibility : Matt Judy <mjudy@ithinksw.com>
- *   Responsibility : Joseph Spiros <joseph.spiros@ithinksw.com>
+ *     NSPopUpButton subclass for use as a cornerView in NSTableView instances.
  *
- *  Copyright (c) 2002 - 2003 iThink Software.
- *  All Rights Reserved
+ *     Copyright (c) 2005 iThink Software
  *
  */
 
-/*
- *     This subclass does 4 things to approximate NSMenuExtra's functionality:
- *
- *  1. Makes the status item smarter about highlighting.
- *  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 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 <AppKit/AppKit.h>
+#import <Cocoa/Cocoa.h>
 
 @interface ITTableCornerView : NSPopUpButton {
-    NSTableHeaderCell *headerCell;
+       NSImage *image;
+       NSTableHeaderCell *headerCell;
 }
-@end
 
+@end
\ No newline at end of file