www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/15/13:23:17

Message-ID: <030f01be8765$28359740$78023ace@alpha1>
From: "Brian Bacon" <lbiggs AT coho DOT net>
To: <djgpp AT delorie DOT com>
Subject: Re: Help needed! windowing system
Date: Thu, 15 Apr 1999 10:26:53 -0700
MIME-Version: 1.0
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 <jgross AT ort DOT org DOT il>
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com <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.
>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019