ftp.nice.ch/pub/next/tools/screen/BackSpace.1.02.N.bs.tar.gz#/BackSpace/backspace/BackWindow.m

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

#import "BackWindow.h"
#import "SpaceView.h"
#import <appkit/Application.h>
#import <dpsclient/dpsNeXT.h>
#include <sys/resource.h>
#import <appkit/publicWraps.h>
#import <dpsclient/wraps.h>
#import <appkit/defaults.h>

// This class supplies a borderless window as big as the screen.  It
// makes an assumption that all screens are the same size as the main
// screen, which I don't like, so we'll just have to see if it still
// works if and when we get a bunch of screens of different sizes.
// (minor Yuck) -sam

@implementation BackWindow

+ getFrameRect:(NXRect *)fRect forContentRect:(const NXRect *)cRect
	 style:(int)aStyle
{
  fRect->origin.x=fRect->origin.y=0;
  [NXApp getScreenSize:&(fRect->size)];
  return self;
}

+ getContentRect:(NXRect *)cRect forFrameRect:(const NXRect *)fRect
	   style:(int)aStyle
{
  cRect->origin.x=cRect->origin.y=0;
  [NXApp getScreenSize:&(cRect->size)];
  return self;
}

+ (NXCoord)minFrameWidth:(const char *)aTitle forStyle:(int)aStyle
	      buttonMask:(int)aMask;
{
  NXSize s;
  [NXApp getScreenSize:&s];
  return s.width;
}


@end

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