home *** CD-ROM | disk | FTP | other *** search
- #import "MouseView.h"
- #import <appkit/appkit.h> //Standard for 3.0, inefficient for 2.1.
-
- @interface DemoDiagram:MouseView
-
- {
- float minX,maxX,minY,maxY;
- List *itemList;
- NXImage *bgImage;
- id mousedObject;
- NXPoint oldMouse;
-
- }
-
- - initFrame:(NXRect *)rect;
- - setBackground:(NXImage *)anImage;
- - drawSelf:(NXRect *)rect :(int)c;
- - addItem:item;
- - mouseDownAction:(NXPoint *)location;
- - mouseDraggedAction:(NXPoint *)newLocation;
- - mouseUpAction:(NXPoint *)location;
-
- @end