[futurebasic] Re: [FB] gWorld

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 1999 : Group Archive : Group : All Groups

From: Derek Smith <dereksmi@...>
Date: Sat, 8 May 1999 00:26:17 -1000

On Fri, 7 May 1999 PierreSi@... wrote:

> I’m writing a drawing program and have trouble with my off screen gWorlds.
> 
> When a drawing takes place I copybit the drawing to the gworld.
> 
> But when I copybit the drawing back on the screen, the colors have changed 
> towards the last drawing’s color.
> 

This is an easy one,

change the forecolor to black and the backcolor to white before you
copybits.  Otherwise the copy will be tinted with whatever color you last
drew with.


-Derek Smith
-------------------------------------------------------------------------------
                "Getting my coworkers fired with FutureBasic"
                            FB 1, Coworkers 0
Homepage of FutureBasic resources and other pointless stuff at
http://www2.hawaii.edu/~dereksmi
------------------------------------------------------------------------------