home *** CD-ROM | disk | FTP | other *** search
-
- #import <appkit/appkit.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*)getInspectorClassName;
-
- @end
-