This is DragView.h in view mode; [Download] [Up]
#import <appkit/appkit.h> @interface DragView:View { id epsIcon; BOOL framed; BOOL drawBackground; NXRect hotRect; } /*-------------------- methods to get things set up */ - initFrame:(const NXRect *)theFrame; - awakeFromNib; /*-------------------- methods to be the source of a dragging operation */ - mouseDown:(NXEvent *)theEvent; - draggedImage:(NXImage *)image beganAt:(NXPoint *)screenPoint; - (NXDragOperation)draggingSourceOperationMaskForLocal:(BOOL)flag; /*-------------------- methods to display, and other useful stuff */ - (BOOL)acceptsFirstMouse; - (BOOL)acceptsFirstResponder; - (BOOL)shouldDelayWindowOrderingForEvent:(NXEvent *)theEvent; - setImage:(id)anImage; - drawSelf:(const NXRect *)rects :(int)num; - copy:sender; - free; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.