home *** CD-ROM | disk | FTP | other *** search
-
- #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
-