This is GrayCell.m in view mode; [Download] [Up]
#import <appkit/appkit.h>
#import "GrayCell.h"
@implementation GrayCell
- setDrawGray:(BOOL)dg
{
drawGray=dg;
return self;
}
- setTextAttributes:textObj
{
[super setTextAttributes:textObj];
if (drawGray==TRUE)
[textObj setTextGray:NX_DKGRAY];
else
[textObj setTextGray:NX_BLACK];
return textObj;
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.