Re: GC graphics_exposures

Tor Lillqvist <[email protected]> Fri, 24 Jan 2003 21:44:31 +0000
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
Peter Zelezny writes:
 > I don't think that'll work, because ScrollWindowEx doesn't take into
 > account obscured parts of the window. It only invalidates the parts
 > that will scroll from off-screen and need to be redrawn.

Yes, but I was thinking of using the returned invalidated region in a
clever "backwards" way: If the returned invalidated region equals what
it would be if the whole source rectangle was visible, no
GraphicsExpose equivalent needed. But if it less (or empty even),
doesn't this mean that part or all of the source was obscured, and for
the corresponding part of the destination rectangle needs to be
generated a GraphicsExpose equivalent event?

> Is there a mainloop event that tells you a window is being obscured?
> It could be recorded and used later.

Too much hassle, and potential race problems anyway?

--tml



To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/