ftp.nice.ch/Attic/openStep/implementation/gnustep/sources/objcX-0.87.tgz#/objcX-0.87/appkit/xtNXCachedImageRep.m

This is xtNXCachedImageRep.m in view mode; [Download] [Up]

/*
    NXCachedImageRep - wrapped for cashing images

    Copyright (c) 1994, 1995,  Adam Fedor.

    Implementation of display specific methods for X-Windows
*/

#include "NXCachedImageRep.h"
#include "Window.h"
#include "dpsclient/dpsclient.h"
#include "dpsclient/wraps.h"

const char *NXCachedImageRepInstanceName(void)
{
    return "NXCachedImageRep";
}

@implementation NXCachedImageRep(ToolKit)

/* Copy the contents of our window to the lock-focused window */
- (BOOL)_displayDraw
{
    PScomposite(NX_X(&_rect), NX_Y(&_rect), NX_WIDTH(&_rect), 
		NX_HEIGHT(&_rect), [_window gState], 0, 0, NX_SOVER);
    return YES;
}

@end

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