[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
updating window
From: "Robbie" ####@####.#### Date: 8 Mar 2006 15:21:06 +0000 Message-Id: <20060308152101.4A0B9BD6A5@xprdmxin.myway.com> Hi all, 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? Much thanks. Robbie _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: updating window
From: "Aaron J. Grier" ####@####.#### Date: 8 Mar 2006 19:04:51 +0000 Message-Id: <20060308190442.GF20104@mordor.unix.fryenet> 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 | ####@####.#### | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
RE: [nanogui] updating window
From: "Robbie" ####@####.#### Date: 8 Mar 2006 22:04:57 +0000 Message-Id: <20060308220456.51B4B7E44A@xprdmxin.myway.com> GrFill dah!. Sorry. > -----Original Message----- > From: Robbie ####@####.#### > Sent: Wednesday, March 08, 2006 3:05 PM > To: ####@####.#### > Subject: RE: [nanogui] updating window > Importance: High > > > 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! > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ####@####.#### > For additional commands, e-mail: ####@####.#### _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |