|
|
Sample Programs from NeXSTEP 3.3
#import <appkit/View.h>
#import "Thinker.h"
typedef struct { float l,b,r,t; } BRECT;
@interface WorldSpaceView:View
{
float xpos;
float ypos;
BRECT old;
NXPoint ballTo;
NXPoint maxCoord;
NXPoint redrawTo;
NXRect redraw;
NXSize oldSize;
id buffer;
id mySpaceView;
NXRect avoid;
int numberOfFrames;
int framesPerSecond;
int currentFrame;
NXSize imageSize;
id imageList;
id currentImage;
BStimeval now, then;
BStimeval nextRotationTime;
id sharedInspectorPanel;
}
- oneStep;
- sizeTo:(NXCoord)width :(NXCoord)height;
- drawSelf:(const NXRect *)rects :(int)rectCount;
- newViewSize;
- incrementImageNumber;
- (const char *)windowTitle;
@end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.