From f182b4e2f943b03addcee6ffc89736f0fe849de8 Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Thu, 12 Aug 2010 21:58:21 +0000 Subject: [PATCH] Make _GetButtonSizeAndOffset protected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38069 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/DefaultDecorator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/servers/app/DefaultDecorator.h b/src/servers/app/DefaultDecorator.h index 039cf38cd4..dfdc5d1beb 100644 --- a/src/servers/app/DefaultDecorator.h +++ b/src/servers/app/DefaultDecorator.h @@ -76,6 +76,9 @@ protected: virtual void _GetFootprint(BRegion *region); + void _GetButtonSizeAndOffset(const BRect& tabRect, + float* offset, float* size, + float* inset) const; private: void _UpdateFont(DesktopSettings& settings); @@ -83,9 +86,6 @@ private: BRect rect); void _DrawBlendedRect(DrawingEngine *engine, BRect rect, bool down, bool focus); - void _GetButtonSizeAndOffset(const BRect& tabRect, - float* offset, float* size, - float* inset) const; void _LayoutTabItems(const BRect& tabRect); void _InvalidateBitmaps(); static ServerBitmap* _GetBitmapForButton(int32 item, bool down,