code: 9ferno

ref: 6bb619c8db2867ddd9cd19c0aec05065f5ee0cae
dir: /module/brutus.m/

View raw version
Brutus: module
{
	# Font tags are given as (font*NSIZE + size)
	Size6, Size8, Size10, Size12, Size16, NSIZE: con iota;
	Roman, Italic, Bold, Type, NFONT: con iota;
	NFONTTAG: con NFONT*NSIZE;
	Example, Caption, List, Listelem, Label, Labelref, Exercise, Heading,
		Nofill, Author, Title, Index, Indextopic, NTAG: con NFONTTAG + iota;
	DefFont: con Roman;
	DefSize: con Size10;
	TitleFont: con Bold;
	TitleSize: con Size16;
	HeadingFont: con Bold;
	HeadingSize: con Size12;

	fontname: array of string;
	sizename: array of string;
	tagname: array of string;
	tagconfig: array of string;

	init:	fn(ctxt: ref Draw->Context, args: list of string);
};