I am not access to CVS repository, and I make a lot of
modifications, so I post my current version.
I have replaced include file (xlib.h) by include files
of Xfree86 project. You can compile X11 applications
without modification.
I develop some functions of color management and you
can compile libxpm with X.
You can test this, for example with :
- the game star warrior (resolution 24 or 32 bits)
(http://www.chez.com/juvigny/guerrier.html),
- the browser weblinks (resolution 24 bits)
(http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/index.html)
- xv (resolution 24 or 32 bits)
(http://www.trilon.com/xv/downloads.html).
Weblink sources does not support 32 bits resolution of
screen.
I never test the lower resolution (8 and 16 bits).
You can look tcl/tk project
(http://www.tcl.tk/software/tcltk/), because it have
ported to windows. It provides some X11 functions in
Win32 api.
To compile libw11 with VC++ 6, you must define in
preprocessor __STDC__ and _WIN32_WINNT=0x0400
If you have any problem to compile or use my tarball,
contact me.
In the future, I think we must rewrite the translation
step between Windows and X messages, and the
propagation step of X messages through X windows.
Samuel
version 2003-05-11