[fpc-pascal] Timer in X11
    Henry Vermaak 
    henry.vermaak at gmail.com
       
    Wed Dec 21 16:53:04 CET 2011
    
    
  
On 21/12/11 14:53, Felipe Monteiro de Carvalho wrote:
> wow, I started taking a look at how to do it and as always with
> anything related to X11 it is terribly complicated ... but luckly I am
> not alone here using FPC, so I shamelessly stole code from fpgui,
> hammered it a little bit to fit TTimer and TCDTimer and already have a
> initial TTimer for X11. If anyone wants to know how I did:
>
> http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=34350
Spinning like this is bad news for efficiency and battery life of 
embedded devices.
Henry
    
    
More information about the fpc-pascal
mailing list