ftp.nice.ch/pub/next/developer/resources/palettesfor2.xx/CubicSlider.1.4.s.tar.gz#/CubicSlider/CubicSliderDemo/CubicSlider.m

This is CubicSlider.m in view mode; [Download] [Up]

#import "CubicSlider.h"
#import "CubicSliderCell.h"

@implementation CubicSlider

- initFrame:(const NXRect *)frameRect
{
    [CubicSlider setCellClass:[CubicSliderCell class]];
   return [super initFrame:frameRect];
}

- forward:(SEL)aSelector :(marg_list)argFrame
{
    if ( [cell respondsTo:aSelector] )
        return [cell performv:aSelector :argFrame];
    return [self doesNotRecognize:aSelector];
}

- (const char*)inspectorName
{
    NXEvent *e = [NXApp currentEvent];
    if (e->flags & NX_ALTERNATEMASK)  return "SliderInspector";
    return "CubicSliderInspector";
}

@end


These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.