This is TransparentWindow.h in view mode; [Download] [Up]
// TransparentWindow.h // By Jayson Adams, NeXT Developer Support Team // 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 <dpsclient/event.h> #import <objc/Object.h> @interface TransparentWindow:Object { id image, source, previousWindowUnderMouse, animator; NXSize windowSize; int iWindow, bgWindow, niWindow, gWindow, igstate, bggstate, nigstate, imageGstate, ggstate, previousWindowNumUnderMouse, frames; NXPoint increment, currentPoint, stoppingPoint, mouseOffset; } /* instance methods */ - initForImage:anImage at:(NXPoint *)windowOrigin forView:anObject; - free; - image; - dragFromMouseDown:(NXPoint *)startingPoint mouseOffset:(NXPoint *)offset; - checkForAcceptWindow:(int)windowNumUnderMouse atPoint:(NXPoint *)point :(int *)windowUnderMouseChanged :(int *)previousWindowUnderMouseChanged; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.