nanogui: GrRefresh() and other problems
Subject:
Re: Re: [nanogui] GrRefresh() and other problems
From:
"Linux PPC" ####@####.####
Date:
17 Oct 2002 07:46:02 -0000
Message-Id: <20021017074431.17614.qmail@webmail30.rediffmail.com>
On Wed, 16 Oct 2002 Greg Haerr wrote :
>All GrRefresh() would do if implemented is
>send a GR_EVENT_TYPE_EXPOSURE event
>to each application. Your application is not
>processing the exposure event when the window
>is moved, and that's why the image is not re-displayed.
Let me rephrase the question: is there a way to
refresh the image window after moving it? I could
put the code in the while(1) loop, while waiting
for events, but GrGetNextEvent() doesn't seem to
get the `window movement' events. Any other way
around it?
>: windows. One of the windows has bouncing colored
>: balls.
>I'm not familiar with this demo. Did you write it?
I am sorry. It is the demo application. The source
code has it in src/demos/demo.c
>You might try changing the VTSWITCH=Y
>option in the config file, or changing the drivers/vtswitch.c
>code. It's a bit of a kluge and tries to use /dev/tty0.
I'll try this and report.
Thanks,
__________________________________________________________
Give your Company an email address like
ravi @ ravi-exports.com. Sign up for Rediffmail Pro today!
Know more. http://www.rediffmailpro.com/signup/