// F E D I T -- definitions  (PREPRESS)
// catalog number ???
//


manifest [
//Commands to DoRectangle
	OpOn=0		
	OpOff=1
	OpToggle=2
	OpRead=3

//Menu Command codes
	MenuQuit=0
	MenuWords=1
	MenuNewWords=2
	MenuStrikeSyms=3
	MenuStrikeLC=4
	MenuStrikeUC=5
	MenuGrid=6
	MenuArea=7
	MenuSample=8
	MenuBShift=9
	MenuDelete=10
	MenuCancel=11
	MenuChar=12
  MenuMax=13		//Total number of commands.

//      Following definitions concern the screen layout of all
//	the areas.

//Display area parameters
	DisYTop=800	//Top of display area we will use.
	DisYBot=350
	DisWid=36	//Width in 16-bit words; must be even
	DisWidbits=DisWid*16	//Width in bits

//Edit area parameters
	BoxX=60		//Lower left hand corner of edit box
	BoxY=480
	BoxXSiz=300	//Size of edit box
	BoxYSiz=300
	FrameW=2	//Width of framing square
	BorderW=14	//Width of border area (for width markers)

//"Words" area parameters
	WordX=100	//Bottom left corner
	WordY=360
	WordWid=500
	WordHig=BoxY-FrameW-BorderW-WordY+1
	String1Y=WordY+10		//Y coords of string locations
	String2Y=WordY+WordHig/2+10


//Menu area dimensions
	MenuX=410		//Left of menu
	MenuW=DisWidbits-MenuX+1	//Width
	MenuH=18		//Height of individual entry
	MenuY=DisYTop-10-MenuH*MenuMax	//Bottom of menu

//Sampled character area
	SamW=30		//Number of bits wide per sampled char
	SamH=30		//Number of bits high per sampled char
	SamRowCount=6	//Number of displayed sampled chars per row
	SamYTop=MenuY-1	//Top is just below menu
	SamYBot=SamYTop-4*SamH+1
	SamXLeft=MenuX	//Left edge

//Etc.
	StdUnit=20	//Default Alto units to char unit.
//Cursor stuff
	curloc=#426		//Cursor coordinates
	butloc=#177030
	but1=4
	but2=1
	but3=2
	butall=but1+but2+but3
]


structure EFILE:	[	//Structure to hold stuff about a char file.
	window word	//window for the file.
	bc word
	ec word
	wp word		//Pointer to table of CharWidth entries
	bp word		//Pointer to table for CD entries
]

structure VIEW: [		//For holding params of a view area
	Xunit word	//These two in order for GCC
	Xnum word
	Yunit word	// ditto
	Ynum word
	Pattern word	//Bit pattern to repeat
	PatXor word	// to xor with pattern on alt scan lines
	BM word		//Beginning of bit map for view....
]