This is DemoDiagram.h in view mode; [Download] [Up]
#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
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.