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; }