nanogui: Thread: API for refreshing windows under nanox ?


[<<] [<] Page 1 of 1 [>] [>>]
Subject: API for refreshing windows under nanox ?
From: Michael Zhu ####@####.####
Date: 31 Jul 2002 17:57:44 -0000
Message-Id: <20020731174400.21129.qmail@web14708.mail.yahoo.com>

Hi all,

Who knows the API functions for refreshing windows
under nanox? Or how to post a message, like EXPOSURE,
make it refresh automatically?

Any help is appreciated.


Michael 

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
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.

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.