From af89e8106aa260b1e53b5bdc000fb32cd9bd5ff0 Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Thu, 2 Sep 2010 03:30:14 +0000 Subject: [PATCH] Remove unused function. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38510 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/decorators/SATDecorator/SATDecorator.cpp | 12 ------------ src/add-ons/decorators/SATDecorator/SATDecorator.h | 2 -- 2 files changed, 14 deletions(-) diff --git a/src/add-ons/decorators/SATDecorator/SATDecorator.cpp b/src/add-ons/decorators/SATDecorator/SATDecorator.cpp index 4298a15c30..8cdeb6a0c4 100644 --- a/src/add-ons/decorators/SATDecorator/SATDecorator.cpp +++ b/src/add-ons/decorators/SATDecorator/SATDecorator.cpp @@ -97,18 +97,6 @@ SATDecorator::SATDecorator(DesktopSettings& settings, BRect frame, } -float -SATDecorator::GetZoomOffsetToRight() -{ - float offset; - float size; - float inset; - _GetButtonSizeAndOffset(fTabRect, &offset, &size, &inset); - - return 2 * offset + size; -} - - void SATDecorator::HighlightTab(bool active, BRegion* dirty) { diff --git a/src/add-ons/decorators/SATDecorator/SATDecorator.h b/src/add-ons/decorators/SATDecorator/SATDecorator.h index 5a35178254..9ce20ca8c3 100644 --- a/src/add-ons/decorators/SATDecorator/SATDecorator.h +++ b/src/add-ons/decorators/SATDecorator/SATDecorator.h @@ -34,8 +34,6 @@ public: SATDecorator(DesktopSettings& settings, BRect frame, window_look look, uint32 flags); - float GetZoomOffsetToRight(); - void HighlightTab(bool active, BRegion* dirty); void HighlightBorders(bool active, BRegion* dirty); bool IsTabHighlighted() { return fTabHighlighted; }