This is MiscProgressBar.h in view mode; [Download] [Up]
// // MiscProgressBar.h -- a simple view class for displaying progress bar // Written and Copyright (c) 1993 by James Heiser. (jheiser@adobe.com) // Version 1.0. All rights reserved. // // OPENSTEP conversion and mods: Todd Anthony Nathan <todd@thoughtful.com> // // 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 "MiscProgressView.h" @interface MiscProgressBar : MiscProgressView { NSColor * tc; // tick color BOOL isTicsVisible; BOOL isTicsOverBar; int numTicks; int emphasis; } - initWithFrame:(NSRect) frameRect; - (NSColor *) tickColor; - (void) setTickColor:(NSColor *)color; - (void) renderTicks; - (void) renderBar; - (void) setTicsVisible:(BOOL)aBool; - (BOOL) isTicsVisible; - (void) setTicsOverBar:(BOOL)aBool; - (BOOL) isTicsOverBar; - (void) setNumTicks:(int)anInt; - (int) numTicks; - (void) setEmphasis:(int)anInt; - (int) emphasis; - (id) initWithCoder:(NSCoder *)aDecoder; - (void) encodeWithCoder:(NSCoder *)aCoder; - (NSString *) inspectorClassName; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.