This is HideableClockView.m in view mode; [Download] [Up]
#import "HideableClockView.h"
@implementation HideableClockView
- drawSelf:(const NXRect *)rects :(int)rectCount
{
if(!hidden)
return [super drawSelf:rects :rectCount];
PSsetgray(NX_LTGRAY);
NXRectFill(&bounds);
return self;
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.