|
|
1.1 root 1:
2: #import <appkit/View.h>
3:
4: @interface AnimalView:View
5: {
6: id image; /* NXBitmapImageRep of current picture */
7: NXPoint scaleFactor; /* current scaling factor of image */
8: }
9:
10: /* INIT/FREE METHODS */
11:
12: - initFrame:(NXRect *)frameRect;
13: - free;
14:
15:
16: /* TARGET/ACTION METHODS */
17:
18: - changeAnimal:sender; /* connect to string value control */
19: - rotateLeft:sender; /* connect to any control */
20: - flipHorizontal:sender; /* connect to any control */
21: - flipVertical:sender; /* connect to any control */
22: - rotateRight:sender; /* connect to any control */
23:
24:
25: /* PRIVATE METHODS */
26:
27: - setImageToAnimal:(const char *)imageName;
28: - drawSelf:(NXRect *)rects :(int)rectCount;
29:
30: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.