🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #458

Re: Forcing a Draw immediately after Patch->redraw

#458
From: Steven McCanne
Date: Wed, 12 Aug 1992 19:06
10 lines
928 bytes
sriram@brc.uconn.edu (Chittathoor M. Sriram) writes:
>Is it Possible to force the canvas to redraw itself immediately after I call
>patch->redraw().

You can use Patch::canvas()->window()->repair() to force a draw traversal.
Patch::redraw only damages the area of canvas spanned by the patch.
Normally, repair is deferred until the next Display::get call (i.e., until 
the next X event is read).

Steve
Technical Details
Message-ID: <25432@dog.ee.lbl.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!caen!hellgate.utah.edu!dog.ee.lbl.gov!horse.ee.lbl.gov!mccanne
References: <9208121600.AA22820@sparc0.brc.uconn.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!caen!hellgate.utah.edu!dog.ee.lbl.gov!horse.ee.lbl.gov!mccanne
From: mccanne@horse.ee.lbl.gov (Steven McCanne)
Newsgroups: comp.windows.interviews
Subject: Re: Forcing a Draw immediately after Patch->redraw
Date: 12 Aug 1992 19:06:40 GMT
Organization: Lawrence Berkeley Laboratory, Berkeley
Lines: 11
Message-ID: <25432@dog.ee.lbl.gov>
References: <9208121600.AA22820@sparc0.brc.uconn.edu>
Reply-To: mccanne@ee.lbl.gov (Steven McCanne)
NNTP-Posting-Host: 128.3.112.15