[futurebasic] Re: _wUpdate coordinates

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 1998 : Group Archive : Group : All Groups

From: Charlie Dickman <charlied@...>
Date: Sat, 11 Apr 1998 23:33:32 -0400
>I can't see redrawing the whole
>screen(copybitting the entire screen) when I can just copybit the
>coordinates that need refreshing; saving valuable time...

The address of the region of the window that requires updating is given by
[WINDOW(_wndPointer)+_visRgn]
so, if rgn& = [WINDOW(_wndPointer)+_visRgn]
then rgn&+_rgnBBox is the address of the rect containing the region and you
can use this rect to COPYBITS just what needs updating.

Charlie Dickman
charlied@...