Author: czeidler Date: 2010-09-02 05:30:14 +0200 (Thu, 02 Sep 2010) New Revision: 38510 Changeset: http://dev.haiku-os.org/changeset/38510 Modified: haiku/trunk/src/add-ons/decorators/SATDecorator/SATDecorator.cpp haiku/trunk/src/add-ons/decorators/SATDecorator/SATDecorator.h Log: Remove unused function. Modified: haiku/trunk/src/add-ons/decorators/SATDecorator/SATDecorator.cpp =================================================================== --- haiku/trunk/src/add-ons/decorators/SATDecorator/SATDecorator.cpp 2010-09-02 03:10:55 UTC (rev 38509) +++ haiku/trunk/src/add-ons/decorators/SATDecorator/SATDecorator.cpp 2010-09-02 03:30:14 UTC (rev 38510) @@ -97,18 +97,6 @@ } -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) { Modified: haiku/trunk/src/add-ons/decorators/SATDecorator/SATDecorator.h =================================================================== --- haiku/trunk/src/add-ons/decorators/SATDecorator/SATDecorator.h 2010-09-02 03:10:55 UTC (rev 38509) +++ haiku/trunk/src/add-ons/decorators/SATDecorator/SATDecorator.h 2010-09-02 03:30:14 UTC (rev 38510) @@ -34,8 +34,6 @@ 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; }