nanogui: Timer Event
Subject:
Timer Event
From:
Srinivas Rao ####@####.####
Date:
1 Apr 2002 08:14:17 -0000
Message-Id: <Pine.GSO.4.21.0204011601520.2162-100000@sf3.comp.nus.edu.sg>
Hello
I want to generate Timer events after specified
amount of time. So i tried using GrCreateTimer.
When I receive the particular timer event, I call
GrDestroyTimer to remove it.
However this doesnot seem to be working as GrDestroyTimer
is not effectively removing the timer event. Hence I end
up getting numerous timer events.
To fix this problem, I changed the source code of
GrCreateTimer() so that it calls GdAddTimer instead of
GdAddPeriodic Timer.
this hack works!
However, is there any better way of doing it?
Thanks
Srinivas