home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula
/
nebula.bin
/
SourceCode
/
Palettes
/
JoyStick
/
JoyStick.h
< prev
next >
Wrap
Text File
|
1992-10-29
|
740b
|
42 lines
#import <appkit/View.h>
@interface JoyStick:View
{
float x,y;
float xmax,ymax;
DPSTimedEntry timer;
int track;
float tracktime;
float fadetime;
}
- (float)getYVal:sender;
- (float)getXVal:sender;
-setXMax:(float)val;
-setYMax:(float)val;
-(float)xMax;
-(float)yMax;
-setTrackTime:(float)val;
-setFadeTime:(float)val;
-(float)trackTime;
-(float)fadeTime;
- drawSelf:(const NXRect *)rects :(int)rectCount;
- initFrame:(const NXRect *)frameRect;
-sizeTo:(NXCoord)width:(NXCoord)height;
-free;
-mouseDown:(NXEvent *)theEvent;
-mouseUp:(NXEvent *)theEvent;
- (BOOL)acceptsFirstMouse;
- setPos:(NXPoint)mouseLoc;
-write:(NXTypedStream *)stream;
-read:(NXTypedStream *)stream;
- (const char*) inspectorName;
@end