X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/35167b10d151b0ae09f0f807670c318bc4d3de53..22a86e1af594d77fde7f056cf5152478f14dafbf:/ITTableCornerView.h diff --git a/ITTableCornerView.h b/ITTableCornerView.h new file mode 100755 index 0000000..a8b582c --- /dev/null +++ b/ITTableCornerView.h @@ -0,0 +1,36 @@ +/* + * ITKit + * ITTableCornerView + * NSPopUpButton subclass for corner views in a table view. + * + * Original Author : Joseph Spiros + * Responsibility : Matt Judy + * Responsibility : Joseph Spiros + * + * Copyright (c) 2002 - 2003 iThink Software. + * All Rights Reserved + * + */ + +/* + * 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 + +@interface ITTableCornerView : NSPopUpButton { + NSTableHeaderCell *headerCell; +} +@end +