This is PlotViewInspector.m in view mode; [Download] [Up]
/* Generated by Interface Builder */
#import "PlotViewInspector.h"
#import "PlotView.h"
#import <appkit/Application.h>
#import <appkit/Slider.h>
#import <appkit/TextField.h>
@implementation PlotViewInspector
+ finishLoading:(struct mach_header *)header
{
NIBDidLoadClass(self, header);
return nil;
}
+ startUnloading
{
NIBWillUnloadClass(self);
return nil;
}
- init
{
[super init];
[NXApp loadNibSection:"PlotViewInspector.nib" owner:self];
lastRadius = [theSlider floatValue];
return self;
}
- ok:sender
{
lastRadius = [theSlider floatValue];
[object setRadius:lastRadius];
return self;
}
- revert:sender
{
[theSlider setFloatValue:lastRadius];
[theTextField setFloatValue:lastRadius];
[object setRadius:lastRadius];
return self;
}
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.