ftp.nice.ch/pub/next/connectivity/news/NewsBase.3.02.s.tar.gz#/NewsBase302.source/NNTP/IFolderScrollView.m

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

/* Generated by Interface Builder */

#import "IFolderScrollView.h"
#import "IFolderScrollMatrix.h"

@implementation IFolderScrollView

- initFrame:(NXRect *)frameRect
{
    [super initFrame:frameRect];
    [self setBorderType:NX_BEZEL];
    [self setHorizScrollerRequired:YES];
    
    return self;
}

- reflectScroll:cView
{
    int		trow, tcol, i;
    
    // do normal stuff
    //[super reflectScroll:cView];
    
    
    [oFolderView getNumRows:&trow numCols:&tcol];
    for (i = 0; i <= (tcol-1); ++i) {
	[oFolderView registerCellAt:0 :i window:nil];
    }
    //return self;
    return ([super reflectScroll:cView]);
}

@end

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