|
|
Sample Programs from NeXSTEP 3.3
#import <appkit/View.h>
@interface AnimalView:View
{
id image; /* NXBitmapImageRep of current picture */
NXPoint scaleFactor; /* current scaling factor of image */
}
/* INIT/FREE METHODS */
- initFrame:(NXRect *)frameRect;
- free;
/* TARGET/ACTION METHODS */
- changeAnimal:sender; /* connect to string value control */
- rotateLeft:sender; /* connect to any control */
- flipHorizontal:sender; /* connect to any control */
- flipVertical:sender; /* connect to any control */
- rotateRight:sender; /* connect to any control */
/* PRIVATE METHODS */
- setImageToAnimal:(const char *)imageName;
- drawSelf:(NXRect *)rects :(int)rectCount;
@end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.