ftp.nice.ch/pub/next/graphics/vector/MapMaker.0.9.N.bs.tar.gz#/MapMaker/InputView.h

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

/* Generated by Interface Builder */

#import <appkit/View.h>
#import "pointdata.h"

#define POINTRADIUS 0.1

typedef enum {WAITING,INSERTING,DELETING,MOVING,DMOVING} DrawState;

@interface InputView:View
{
	id savePanel;
	id openPanel;
	
	id inputMode;
	id inputX;
	id inputY;
	id inputPen;
	
	NXPoint *location;
	DrawState state;
	id caller;   /* small kludge... need to be able to tell controlObject that It has to update inputlist. */
	PointList currentPoints;
	int MoveIndex;
	int InsertIndex;
	BOOL GridOn;
	BOOL instanceDrawing;
}

- setItUp:sender;
- drawGrid;
- (BOOL)gridState;
- setGridState:(BOOL)newGridState;
- drawSelf:(const NXRect *)rects :(int)rectCount;

-saveFile;
- openFile:(const char *)filename;
-openFile;
-clearFile;
- map:(PointList **)pl;
- mouseDown:(NXEvent *)theEvent;
- mouseDragged:(NXEvent *)theEvent;
- mouseUp:(NXEvent *)theEvent;
- flagsChanged:(NXEvent *)theEvent;
- movePoint:(NXEvent *)theEvent;
- addPoint:(NXEvent *)theEvent;
- doInstanceDragSwitch;
- insertPoint:(NXEvent *)theEvent;
- deletePoint:(NXEvent *)theEvent;
- mouseMoved:(NXEvent *)theEvent;
- fixState:(NXEvent *)theEvent;

@end

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