[fpc-pascal]Any examples using x11 units?
s001 at hotbox.ru
Wed Jul 24 02:30:01 CEST 2002
Tuesday, 23 July, 2002, 23:01:05, Anton Tichawa wrote:
> I've written a small example program that opens a window, displays a rotating
> line, listens for mouse movement and keyboard messages and displays mouse
> positions and key codes. The program uses (imports) just X, Xlib, and Linux.
Ok. Thanks for replying.
I've just finished something like that, but even simpler. Approx one
page of code. (I mean, it also works ;)
And, it looks like xlib.pp is not quite valid. For example, TXPointer
is used almost everywhere instead of PXPointer, which breaks stuff.
As far as I understood, x11 package is pure autotranslated, so no
big surprise. I just wonder how do people use it?
Question 1: Is anyone going to fix it?
Question 2: If no, should I submit patches?
> I have not yet included timers, so I still use delays, and the program
> consumes much of the CPU performance.
> If you want to have a copy, just send me an email.
> Best regards,
> Anton Tichawa
> On Tuesday 23 July 2002 02:46, you wrote:
>> Hi all,
>> (I appologise if this is not exactly the right place to ask,)
>> are there any fpc projects/examples/demos/whatever using x11 units
>> rather than wrapping to some toolkits?
>> I've looked through contribs and found none.
>> Any hints or refs appreciated.
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
More information about the fpc-pascal