To recompile the sources you need djgpp v2+ and TWS 1.21. Two changes have to be
made to TWS: to the file "include/tws/edit.h" add the line "friend class Spin;"
after the class declaration:

...
#define EDIT_TYPE_NEG_NUM     4
#define EDIT_TYPE_FLOAT_NUM   5

class EditText:public Window {
friend class Spin;			<--- Add this line
	public:
		EditText(Window *parent,ControlID ID,const char *title,...
...

The other change involves using your favourite hex editor to patch "libtws.a".
Change the byte at 0x26c31 to 0xd0 (it should have been 0xd1). This enables the
E_BOXUNCHECKED event to work.

I've included my makefile and RHIDE info (mine.g*). I don't know how portable
the RHIDE files are, but I'm sure you'll figure it out. The difference between
them is that the makefile produces a more optimised, stripped executable; the
RHIDE version has debugging and symbol information left in.

To recompile "palette" just use:

gcc -O3 -fomit-frame-pointer -m486 palette.cc -s -o palette.exe -ltws -lgr


If you make any changes to the sources, please let me know.

Jason Hood, hoodj@topaz.cqu.edu.au.
6 March, 1997.
