|
|
1.1 root 1:
2: #import <appkit/View.h>
3: #import "Thinker.h"
4:
5: typedef struct { float l,b,r,t; } BRECT;
6:
7: @interface WorldSpaceView:View
8: {
9: float xpos;
10: float ypos;
11:
12: BRECT old;
13: NXPoint ballTo;
14: NXPoint maxCoord;
15: NXPoint redrawTo;
16: NXRect redraw;
17: NXSize oldSize;
18:
19: id buffer;
20:
21: id mySpaceView;
22: NXRect avoid;
23:
24: int numberOfFrames;
25: int framesPerSecond;
26: int currentFrame;
27: NXSize imageSize;
28: id imageList;
29: id currentImage;
30: BStimeval now, then;
31:
32: BStimeval nextRotationTime;
33: id sharedInspectorPanel;
34: }
35:
36: - oneStep;
37: - sizeTo:(NXCoord)width :(NXCoord)height;
38: - drawSelf:(const NXRect *)rects :(int)rectCount;
39: - newViewSize;
40: - incrementImageNumber;
41: - (const char *)windowTitle;
42:
43: @end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.