On 14/03/2008, Rainer Stratmann <[EMAIL PROTECTED]> wrote: > Exists there documentation about X11 interface? > Or an example program? > I want to start with simply draw a bitmap and handle keyboard events.
It takes some practice to use Xlib directly but it's not to bad. The C documentation is plenty on the web, which is what I use. Alternatively, you could use fpGUI, which talks directly to Xlib (*unix) and GDI (windows) and has done all the hard work for you. Because it talks directly to the underlying graphics subsystem, you have no large library requirements like Qt, GTK etc... Just run the apps. fpGUI also contains a Visual Forms Designer to speed up your UI development. If you don't want to use fpGUI, you can always look at it's X11 backend to see how to interface with Xlib from FPC. You can find more information about fpGUI at the following website. The source code is available on SourceForge.net and I highly recommend you use svn to get the latest source which already contains many bug fixes since the last v0.6 release. http://opensoft.homeip.net/fpgui/ Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal