[openbeos] Re: BBox bug

  • From: François Revol <revol@xxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Sat, 26 Jul 2003 00:24:55 +0200

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.

François.

Other related posts: