This is RightSubView.h in view mode; [Download] [Up]
/* * RightSubView.m * * Purpose: * This object simply blasts an image to itself. Knows the name of the * image, too. * * 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. * * Written by: Mary McNabb * Created: Apr 91 * */ #import <appkit/View.h> #define MAXLEN 20 @interface RightSubView:View { char animalName[MAXLEN]; } - drawSelf:(const NXRect *)r :(int)c; - setAnimalPicture:(char *)path; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.