ftp.nice.ch/Attic/openStep/developer/resources/MiscKit.2.0.5.m.NIS.b.tgz#/MiscKit.2.0.5.m.NIS.b/MiscAppKit.framework/Versions/A/Headers/MiscProgressView.h

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

//
//	MiscProgressView.h -- a simple view class for displaying progress
//		Written originally by Don Yacktman Copyright (c) 1993 by James Heiser.
//				Modified from an example in the NeXT documentation.
//				This file is maintained by James Heiser, jheiser@adobe.com.
//				Version 1.0.  All rights reserved.
//
//		This notice may not be removed from this source code.
//
//	This object is included in the MiscKit by permission from the author
//	and its use is governed by the MiscKit license, found in the file
//	"LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
//	for a list of all applicable permissions and restrictions.
//	

#import <AppKit/AppKit.h>

#define MISC_PROGRESS_DEFAULTSTEPSIZE 5
#define MISC_PROGRESS_MAXSIZE 100

@interface MiscProgressView:NSView <NSCoding>
{
	int total, count, stepSize;
	float ratio;
	NSColor *bg, *fg, *bd; // foreground, background, border colors
}

- initWithFrame:(NSRect)frameRect;
- (void)renderBackground;
- (void)renderBar;
- (void)renderBorder;
- (void)drawRect:(NSRect)rect;
- (void)setStepSize:(int)value;
- (int)stepSize;
- (NSColor *)backgroundColor;
- (NSColor *)foregroundColor;
- (NSColor *)borderColor;
- (void)setBackgroundColor:(NSColor *)color;
- (void)setForegroundColor:(NSColor *)color;
- (void)setBorderColor:(NSColor *)color;
- (void)setRatio:(float)newRatio;
- (void)takeIntValueFrom:(id)sender;
- (void)increment:(id)sender;
- (void)takeFloatValueFrom:(id)sender;
- (NSString *)inspectorClassName;
- (void)clear:(id)sender;

@end

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