[openbeos] Re: BBox bug

On Sat, 26 Jul 2003 00:24:55 +0200 François Revol <revol@xxxxxxx> 
wrote:
> Selon Mahmoud Al Gammal <obos@xxxxxxxxxxx>:
> 
> > that's what should happen, but if the app server cleared the 
> > background then
> > 
> > bevel would be cleared as well, unless it clips against the update 
> > rect & 
> > there's something wrong with calculating the rect to be updated...
> > 
> No, because it only clears the bg of the newly exposed area, the part 
> that wasn't "visible" before.
> The bevel was on the "visible" part before, so it's not cleared.
> 
> 
> +-------------+
> |#===========#|
> |"           "|
> |"           "|
> |#===========#|
> +-------------+
> 
> when resizing, app_server only erases the hashed part:
> +----------------+
> |#===========#///|
> |"           "///|
> |"           "///|
> |#===========#///|
> +----------------+
> 
> Then BBox draws the bevel again:
> +----------------+
> |#==============#|
> |"           "  "|
> |"           "  "|
> |#==============#|
> +----------------+
> 
> and there is still garbage.

The B_FULL_UPDATE_ON_RESIZE is to be used to avoid that.

CU, Ingo


Other related posts: