ftp.nice.ch/Attic/openStep/tools/workspace/TheShelf.0.3.3.sd.tgz#/TheShelf.0.3.3.sd/Source/TSShelfWindow.h

This is TSShelfWindow.h in view mode; [Download] [Up]

/* TSShelfWindow.h created by tsengel on Thu 14-Aug-1997 */

// The current window levels are defined like this... keeping them in mind might make it easier
// to choose our level later on...so I'll keep this part here...
//
// NSNormalWindowLevel			= 0,
// NSFloatingWindowLevel		= 3,
// NSDockWindowLevel			= 5,
// NSSubmenuWindowLevel			= 10,
// NSMainMenuWindowLevel		= 20


#import <AppKit/AppKit.h>

enum
{
    TSShelfBackgroundWindowLevel = NSNormalWindowLevel - 1,
    TSShelfNormalWindowLevel = NSNormalWindowLevel,
    TSShelfForegroundWindowLevel = NSFloatingWindowLevel + 1
};


@interface TSShelfWindow : NSWindow
{
    float		grabBorderHeight;
    float		_lowestYOrigin;
    NSSize		_maxSize;

    BOOL		doesAutoraise;
    BOOL		fullyHidden;
    BOOL		fullyVisible;
}

- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag;
- (void)awakeFromNib;
- (void)awake;

- (void)setGrabBorder:(float)height;
- (void)setFrame:(NSRect)frameRect display:(BOOL)flag;

- (void)setAutoRaiseEnabled:(BOOL)flag;
- (BOOL)isAutoRaiseEnabled;
- (void)shouldAutoRaise;
- (void)shouldAutoHide;

- (void)dropToLowerLevel;
- (void)raiseToHigherLevel;

@end

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