realbasic-games
[Top] [All Lists]

Re: Canvases sometimes black

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: Canvases sometimes black
From: Lars Jensen <larsjensen at rcn dot com>
Date: Sun, 26 Jun 2005 21:27:06 -0400
Delivered-to: realbasic-games at lists dot realsoftware dot com
> However to make it work, I have to keep sprinkling
> GD.GameCanvas1.PaintBuffered() throughout. Is this normal, or am I just doing
> something pretty screwed up?

The second one.  :)

You shouldn't need to call PaintBuffered at all. Just switch your Canvas's
Super to AutoBufferingCanvas and implement its Paint event as usual.

lj
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>