home *** CD-ROM | disk | FTP | other *** search
- //
- // PointsView
- //
- // This is an Objective-C class that is a view that plots points.
- //
- // History:
- //
- // 1992 MAY 04 EDT 19:17: GNP Genesis.
- //
- // Copyright (C) 1992 Contemporary Design Studios.
- //
-
-
- #import <appkit/View.h>
- #import <appkit/Application.h>
-
-
- @interface PointsView:View
-
-
- {
- id startButton;
- id stopButton;
- id randGen;
- NXModalSession mySession;
- BOOL initial;
- BOOL plottingPoints;
- }
-
-
- - initFrame:(const NXRect *)frameRect;
-
- - start:sender;
- - stop:sender;
- - clear:sender;
- - plotPoints:sender;
- - plotLines:sender;
-
- - plotX:(double)x y:(double)y;
- - plotLine:(double)x1 :(double)y1 :(double)x2 :(double)y2;
-
- - drawSelf:(const NXRect *)rects :(int)rectCount;
-
-
- @end
-
-
- //
- // End of file.
- //