ftp.nice.ch/pub/next/connectivity/news/NewsBase.3.02.s.tar.gz#/NewsBase302.source/NNTP/TransparentWindow.h

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.

// modified by Miyai, ISR 1992.7.28

#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;
    char	iTitle[128];
    id		iIconImage;
    BOOL	iDefaultAccepted;
}

/* instance methods */
- initForImage:anImage at:(NXPoint *)windowOrigin forView:anObject;
- free;
- imageWindow;
- image;
- source;
- (const char *)title;
- dragFromMouseDown:(NXPoint *)startingPoint mouseOffset:(NXPoint *)offset;
- checkForAcceptWindow:(int)windowNumUnderMouse atPoint:(NXPoint *)point
  :(int *)windowUnderMouseChanged :(int *)previousWindowUnderMouseChanged;
- (BOOL)defaultAccepted;
- preambleForAccepted:(BOOL)flag;

@end

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