File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / BusyBox / AnimalView.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:27 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.