nanogui: updating window


Previous by date: 8 Mar 2006 21:05:52 +0000 Re: Window Mapping & Unmapping Revisited, Aaron J. Grier
Next by date: 8 Mar 2006 21:05:52 +0000 Re: updating window, Robbie
Previous in thread: 8 Mar 2006 21:05:52 +0000 Re: updating window, Aaron J. Grier
Next in thread: 8 Mar 2006 21:05:52 +0000 Re: updating window, Robbie

Subject: RE: [nanogui] updating window
From: "Robbie" ####@####.####
Date: 8 Mar 2006 21:05:52 +0000
Message-Id: <20060308210506.2AB1A7E4B0@xprdmxin.myway.com>

If I do that, I'll have to set the background of the pixmap to a specified colour. I wasn't aware you can do that. can you?

Thanks. 

> -----Original Message-----
> From: Aaron J. Grier ####@####.####
> Sent: Wednesday, March 08, 2006 1:05 PM
> To: ####@####.####
> Subject: [nanogui] Re: updating window
> 
> On Wed, Mar 08, 2006 at 10:21:01AM -0500, Robbie wrote:
> > I don't think this question was asked before but I'm wondering if
> > there is anyway to update a window without causing a noticable
> > flicker. Is there? If not, is there a way to update a portion of the
> > window?
> >
> > For instance, if I want to add items to a displayed list, or icons for
> > that matter, is their a way to update just the portion affected and
> > not the entire window?
> 
> double-buffer.  create an offscreen pixmap, do all your updates there,
> and then perform a single blit to the visible window.
> 
> since you're not performing any erase/redraw operations to the visible
> screen, the flicker is minimized.
> 
> --
>   Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  ####@####.####
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



Previous by date: 8 Mar 2006 21:05:52 +0000 Re: Window Mapping & Unmapping Revisited, Aaron J. Grier
Next by date: 8 Mar 2006 21:05:52 +0000 Re: updating window, Robbie
Previous in thread: 8 Mar 2006 21:05:52 +0000 Re: updating window, Aaron J. Grier
Next in thread: 8 Mar 2006 21:05:52 +0000 Re: updating window, Robbie


Powered by ezmlm-browse 0.20.