ftp.nice.ch/pub/next/developer/objc/appkit/DragDemo.1.1.s.tar.gz#/DragDemo_1.1/MouseView.h

This is MouseView.h in view mode; [Download] [Up]

/*
 *	MouseView --  John Glover, adapted from MouseTracker by Randy Nelson
 *	An abstract class that manages a modal loop for tracking the mouse
 *
 *	You may freely copy, distribute and reuse the code in this example.
 *	NeXT disclaims any warranty of any kind, expressed or implied, as to
 *	its fitness for any particular use.
 */

#import <appkit/appkit.h>  //Standard for 3.0, inefficient for 2.1.

@interface MouseView:View
{
}

- setTrackingRect:sender;
- mouseEntered:(NXEvent *)e;
- mouseExited:(NXEvent *)e;

- mouseDownAction:(NXPoint *)currentLocation;
- mouseDraggedAction:(NXPoint *)currentLocation;
- mouseUpAction:(NXPoint *)currentLocation;

@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.