Re: XForms: animation callback

SHRIDHAR N. DAITHANKAR (shridhar.daithankar@tatainfotech.com)
Tue, 8 Jun 1999 11:20:27 +0530 (IST)

# To subscribers of the xforms list from "SHRIDHAR N. DAITHANKAR" <shridhar.daithankar@tatainfotech.com> :

#To subscribers of the xforms list from
Shridhar<shridhar.daithankar@tatainfotech.com>

I have tried a similar thing to display a running waveform that is
generated by a function. I advice you to try invisible timer as timer is
assured to call it's callback after the preset time. Idle callback
frequency depends upon the load on the system.

Regards
Shridhar

On Mon, 7 Jun 1999, Kudah Mushambi wrote:

> # To subscribers of the xforms list from Kudah Mushambi <kudah@ugcs.caltech.edu> :
>
>
> I'm using xforms to create a gui for an animation I've made. I hope
> someone can help with an issue I'm facing.
>
> At the start of the program, I register a redisplay callback with
> fl_set_idle_callback(). redisplay() decides whether to send a frame to the
> screen or not. I have data for every 50ms, but by using
> fl_set_idle_callback(), redisplay() will be called every from 50ms to
> 300ms (according to documentation). Currently the animation runs about 1/3
> as fast as it should. I would really like to display the animation in
> realtime.
>
> Can I get redisplay() to be called at a greater frequency?
> Is this the right approach, setting an idle callback I mean?
>
> Not ever having made a gui or done any event style programming before, I'm
> not sure whether the solution I've come up with is 'correct' or efficient,
> so I'd appreciate any response.
>
> thanks,
>
> kuda
>
>
> _________________________________________________
> To unsubscribe, send the message "unsubscribe" to
> xforms-request@bob.usuhs.mil or see
> http://bob.usuhs.mil/mailserv/xforms.html
> XForms Home Page: http://bragg.phys.uwm.edu/xforms
> List Archive: http://bob.usuhs.mil/mailserv/list-archives/
>

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/