[fxruby-users] Autorefresh of FXGLViewer

angico angico at angico.org
Sat Jul 12 17:31:35 EDT 2008


Em Sáb, 2008-07-12 às 13:36 -0700, tomg313 escreveu:
> I'm using an FXGLViewer and I want to manually control when it updates. 
> Right now, it updates a number of times a second - which uses a lot of my
> CPU processor time just to redraw the same image over and over.  Does anyone
> know how to stop this from occurring?  Thanks in advance!!


Have you already tried to handle their SEL_PAINT message? Try to dump
message data to the console. type and code may help you to find the
origins of repaintings.

Hope this help.

Regards,

-- 
angico
------
home page: www.angico.org
Gnu/Linux, FLOSS, Espiritismo, e eu por mim mesmo 8^I
------
contatos:
email: angico at angico.org
skype: angico00
------



More information about the fxruby-users mailing list