This is DragView.h in view mode; [Download] [Up]
/**************************************************
* SynthBuilder
* Copyright 1993 Nick Porcaro All Rights Reserved
**************************************************/
#import <objc/Object.h>
@interface DragView : View
{
id theViewController;
id theImage;
NXPoint whereGrabbed; // Used for dragging.
id thePatch;
}
- setPatch:aPatch;
- getPatch;
- setViewController:aVC;
- showImage:anImage;
- blank;
- drawSelf:(const NXRect *)rects :(int)rectCount;
- mouseDown:(NXEvent *)theEvent;
- mouseDragged:(NXEvent *)theEvent;
- mouseUp:(NXEvent *)theEvent;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.