[fpc-pascal] Simple X11 program

Graeme Geldenhuys graemeg.lists at gmail.com
Sat Mar 15 10:09:20 CET 2008

On 14/03/2008, Rainer Stratmann <RainerStratmann at t-online.de> wrote:
>  How is it possible to draw (put) Bitmaps in this Window?
>  Here is a 800x600 pixel Bitmap (array[0..800x600-1] of dword) which I want to
>  put in the Window (or parts of the Bitmap). With 24 bit color depth (32
>  bit/pixel).
>  Exists there documentation of the (for example) XNextEvent's ?

You should really look for the X11 Programmers Guide which explains
pretty much everything Xlib.
I think some of those books are now freely available on the net.



The above link explains every line of that example program in details.
You can view the 'Basic Window Program' (chapter 3) freely online.

  - Graeme -

fpGUI - a cross-platform Free Pascal GUI toolkit

More information about the fpc-pascal mailing list