Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!uflorida!gatech!rutgers!apple!jrg
From: jrg@Apple.COM (John R. Galloway)
Newsgroups: comp.windows.x
Subject: Re: unexpose events?
Message-ID: <21703@apple.Apple.COM>
Date: 5 Dec 88 20:45:04 GMT
References: <7978@pasteur.Berkeley.EDU>
Organization: Galloway Research, a COG Ltd affilate
Lines: 16

In article <7978@pasteur.Berkeley.EDU> anton@postgres.UUCP (Jeff Anton) writes:
>  What I would like to do is to have my program be informed
>when its window becomes obscured in a certain region so I don't have
>to waste computrons on unexposed window regions. 
>					Jeff Anton

Instead of initializing to computing for all pixels and getting events
for regions not to work on, just do the reverse: assume there is nothing
to do, and as you get expose events add the region specified in the event
to the list of stuff to work on (compressing rectangles, and avoiding
duplicates etc.).


apple!jrg	John R. Galloway, Jr.       contract programmer, San Jose, Ca

These are my views, NOT Apple's, I am a GUEST here, not an employee!!