[haiku-commits] Re: r38069 - haiku/trunk/src/servers/app

  • From: "Clemens Zeidler" <clemens.zeidler@xxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 18 Aug 2010 15:22:00 +1200

Am 13.08.2010, 21:49 Uhr, schrieb Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>:

clemens.zeidler@xxxxxxxxxxxxxx wrote:
Log:
Make _GetButtonSizeAndOffset protected.

BTW only private methods have the underscore prefix.

Bye,
   Axel.


Hm got the following problem: In the decorator I buffer the decorator footprint. Therefore I implemented the buffering in the base class and call the derived implementation from there e.g.:


void
Decorator::SetLook(DesktopSettings& settings, window_look look,
        BRegion* updateRect)
{
        _SetLook(settings, look, updateRect);
        _InvalidateFootprint();
                // the border very likely changed
}


So any good idea / convention how I should rename the protected _SetLook function?

thanks
        Clemens

Other related posts: