
This software is being provided by MASSCOMP and Richard Carling.

It demonstrates using the XToolkit in a
simple application. It is by no means a finished product
but a simple experimental widget editor which
demonstrates some techniques for pickling and
unpickling ascii display list widgets. It has bugs and
is not finished. It was written by Richard Carling who
is now off doing other things.

The following three directories contain an implementation
of "display list" widgets for the XToolkit.

This software compiles on a Sun 3 in B/W and Color. 
Color is more desirable for demonstration of these techniques.

extensions - is a set of core routines to support this environment
	it includes

	:: Ascii Pickling and Unpickling

	AsciiLoad.c - routines to load ascii widget hierarchies
	AsciiSave.c - routines to save ascii widget hierarchies
	Parser.c - routines to call the routines in inst.c in a clean manner,
		handles most major display list events, load, save draw & resize.
	Inst.c - the routines to handle the set of instructions supported.

        :: widgets ::

	DLCommand.c - display list Command.c widget.
	DLLabel.c - display list Label.c widget.
	DLObedient.c - display list Obedient.c widget.
	Xw.c - a general purpose X Window widget (used to implement the colormap).

	:: misc ::

	Assoc.c - misc. routines for the widget editor, handle simple widget associations.
	Util.c - routines to perform one point and two point selections

qp - quick paint, a simple application which demonstrates loading this form of
     ascii pickling and the use of display list widgets.
	
	qp.c - main application setup and loop.
	ui.c - somewhat application specific user interface routines.
	cmds.c - the commands that embody the application.


wedit - simple widget editor, a simple widget editor 
	 which demonstrates creating, loading, and saving display list widgets.
	
	README - explains all the bugs left to be fixed
		(I am not sure they are all mine).
	wedit.c - main application setup and loop.
	ui.c - somewhat application specific user interface routines.
	cmds.c - the commands that embody the application.

	      

Richard Carling