File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / BackspaceViews / WorldSpace / WorldSpaceView.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:32 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>
#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

unix.superglobalmegacorp.com

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