nanogui: timer


Previous by date: 4 Nov 2002 13:38:27 -0000 Timer, Christoph Kling
Next by date: 4 Nov 2002 13:38:27 -0000 GrRegisterInput, Christoph Kling
Previous in thread: 4 Nov 2002 13:38:27 -0000 Timer, Christoph Kling
Next in thread:

Subject: Re: [nanogui] Timer
From: Alex Holden ####@####.####
Date: 4 Nov 2002 13:38:27 -0000
Message-Id: <3DC6774C.60105@linuxhacker.org>

Christoph Kling wrote:
> Is it possible to install a timer, who makes after
> a specified time a event ?

Yes. The official version of microwindows contains GrTimer() which, 
IIRC, always creates a periodic timer. My CVS snapshot includes an 
enhance version of it which allows you to choose whether to create a 
one-shot or a periodic timer (and it has documentation too). I think 
Greg hasn't included it yet because it adds one parameter to the 
function. You can get my CVS snapshot from:
http://www.linuxhacker.org/pub/cvs-snapshots/microwin-aph/

It also includes two programs called oneshot and periodic which 
demonstrate how to use the function (the source to them is in demos/nanox).

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer


Previous by date: 4 Nov 2002 13:38:27 -0000 Timer, Christoph Kling
Next by date: 4 Nov 2002 13:38:27 -0000 GrRegisterInput, Christoph Kling
Previous in thread: 4 Nov 2002 13:38:27 -0000 Timer, Christoph Kling
Next in thread:


Powered by ezmlm-browse 0.20.