This is RiskMapView.h in view mode; [Download] [Up]
// // $Id: RiskMapView.h,v 1.1.1.1 1997/12/09 07:18:55 nygard Exp $ // This file is a part of Risk by Mike Ferris. // #import <AppKit/AppKit.h> @class Country; @protocol RiskMapViewDelegate - (void) mouseDown:(NSEvent *)theEvent inCountry:(Country *)aCountry; - (void) mouseUp:(NSEvent *)theEvent inCountry:(Country *)aCountry; @end @interface RiskMapView : NSView { NSImage *boardBackingImage; NSMutableArray *countryArray; Country *selectedCountry; float currentScaleFactor; IBOutlet id delegate; } + (void) initialize; + (void) loadClassImages; - (void) awakeFromNib; - initWithFrame:(NSRect)frameRect; - (void) dealloc; - (BOOL) isOpaque; - (void) drawBackground:(NSRect)rect; - (void) drawRect:(NSRect)rect; - (void) drawCountry:(Country *)aCountry; - (void) mouseDown:(NSEvent *)theEvent; - (void) mouseUp:(NSEvent *)theEvent; - (NSArray *) countryArray; - (void) setCountryArray:(NSArray *)countries; - (float) scaleFactor; - (void) setScaleFactor:(float)newScaleFactor; - delegate; - (void) setDelegate:newDelegate; //- (NSString *) description; - (void) countryUpdated:(NSNotification *)aNotification; - (void) selectCountry:(Country *)aCountry; - (void) boardSetupChanged:(NSNotification *)aNotification; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.