ftp.nice.ch/pub/next/developer/objc/api/MetroToolsAPI.s.tar.gz#/MetroTools API/SampleToolProject/HexViewer/IconView.h

This is IconView.h in view mode; [Download] [Up]

// IconView.h
// By Jayson Adams, NeXT Developer Support Team
// You may freely copy, distribute and reuse the code in this example.
// NeXT disclaims any warranty of any kind, expressed or implied, as to its
// fitness for any particular use.

#import <sys/param.h>
#import <appkit/View.h>

@interface IconView:View
{
    id    iconImage;
    BOOL  multipleFiles, showFile;
    char  filename[MAXPATHLEN];
}

/* instance methods */
- initFrame:(NXRect *)frameRect;
- (BOOL)acceptsFirstMouse;
- setFilename:(const char *)name multipleSelected:(BOOL)multipleSelected;
- takeIconFromWindow:(int)windowNumber :(float)x :(float)y :(float)width
  :(float)height;
- clear;
- drawSelf:(NXRect *)rects :(int)rectCount;
@end

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