Graphics under Linux X Window System.

Copyleft: GNU-GPL

Before compile verify if were installed: X Window System development package and g++.
Verify if the X Window library path is correct on makefile.
Optionaly, enable/disable some compiling flags editing the makefile.

To compile use make:
 # make
Run the demo under X Window.

Files:
README         this text
xtut           demo executable with share memory
xtut_noshm     demo executable without share memory
main.cc        init the demo, open one window and pass the control to it
makefile       compile the demo
xwinapp.cc     implement the aplication window: create one window, draw on it,
               receive system messages, set palette, call user handler functions,
               set/reset the key table when one key was pressed/relesed,
               close the window, emulate palette mode on more than 8BPP systems.
xwinapp.h      declare the aplication window class
defs.h         macros to define other types: BYTE, DWORD,...
keyboard.cc    implement the key table, the key table is used to flag if
               one or more keys were pressed/relesed at same time, without keyboard
               repeat delays.
keyboard.h     declare the key table class
keycodes.h     has the raw scan codes for some keys

This package come with 2 executables: xtut and xtut_noshm; xtut is faster than
xtut_noshm because is compiled using share memory (it's one X feature that makes
window output faster). The problem is share memory isn't available on all systems,
making xtut crash.

Good luck and, please, report bugs to me.

Leandro Bernsmuller, jan 1999
e-mail: lebe@geocities.com
site  : http://www.geocities.com/SiliconValley/Bay/1704
