Group header by type. Thanks Axel.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37930 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2010-08-05 19:21:37 +00:00
parent 0f2ec5c270
commit a52ec87162
1 changed files with 16 additions and 15 deletions

View File

@ -75,6 +75,22 @@ protected:
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 @@ protected:
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;
};