nanogui: API for refreshing windows under nanox ?
Subject:
Re: [nanogui] API for refreshing windows under nanox ?
From:
Alex Holden ####@####.####
Date:
31 Jul 2002 22:01:53 -0000
Message-Id: <3D485B18.90908@linuxhacker.org>
Michael Zhu wrote:
>Who knows the API functions for refreshing windows
>under nanox? Or how to post a message, like EXPOSURE,
>make it refresh automatically?
>
>
I'm not quite sure what you're asking, but if you want to force another
window to redraw, you can do:
GrClearArea(wid, 0, 0, 0, 0, GR_TRUE);
Where wid is the ID of the window to clear and generate an exposure
event for. This isn't something you normally need to do as exposure
events are generated automatically when part of a window is exposed.