Message-ID: <030f01be8765$28359740$78023ace@alpha1> From: "Brian Bacon" To: Subject: Re: Help needed! windowing system Date: Thu, 15 Apr 1999 10:26:53 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com I would suggest either dirty rectangles (I'm pretty sure they would work well, but I don't know how to use them) or a ZBuffer, or a 1/4 ZBuffer (a zbuffer half the the size in both directions that represents a block of 4 pixels). With the first method you would only need to draw the all the windows once, then only draw the areas that change, the second, you would need to sort your windows (front to back) and draw each one, doing a Z-compare on the per-pixel basis (pretty slow unless you really really work hard to optimize it).... Anyways, I'd look into dirty rectangles first... TTYL -Brian -----Original Message----- From: Jonathan Gross Newsgroups: comp.os.msdos.djgpp To: djgpp AT delorie DOT com Date: Wednesday, April 14, 1999 12:53 AM Subject: Help needed! windowing system >I'm trying to build a graphic windowing system for dos. >I need a way to draw all the windows fast, without drawing all of the >windows from bottom to top. > thanx. >