Author: czeidler Date: 2010-08-05 21:21:37 +0200 (Thu, 05 Aug 2010) New Revision: 37930 Changeset: http://dev.haiku-os.org/changeset/37930 Modified: haiku/trunk/src/servers/app/DefaultDecorator.h Log: Group header by type. Thanks Axel. Modified: haiku/trunk/src/servers/app/DefaultDecorator.h =================================================================== --- haiku/trunk/src/servers/app/DefaultDecorator.h 2010-08-05 13:39:44 UTC (rev 37929) +++ haiku/trunk/src/servers/app/DefaultDecorator.h 2010-08-05 19:21:37 UTC (rev 37930) @@ -75,6 +75,22 @@ virtual void _GetFootprint(BRegion *region); + +private: + void _UpdateFont(DesktopSettings& settings); + void _DrawButtonBitmap(ServerBitmap* bitmap, + 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, + bool focus, int32 width, int32 height, + DefaultDecorator* object); + protected: rgb_color fButtonHighColor; rgb_color fButtonLowColor; @@ -116,21 +132,6 @@ int32 fTruncatedTitleLength; private: - void _UpdateFont(DesktopSettings& settings); - void _DrawButtonBitmap(ServerBitmap* bitmap, - 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, - bool focus, int32 width, int32 height, - DefaultDecorator* object); - bigtime_t fLastClicked; bool fWasDoubleClick; };