From 9b84665e4d2a3c069179cde38f32ce023b37542a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 Feb 2013 13:36:54 +0300 Subject: Remove unused methods in scrollarea class. --- src/gui/widgets/scrollarea.cpp | 20 -------------------- src/gui/widgets/scrollarea.h | 4 ---- 2 files changed, 24 deletions(-) (limited to 'src/gui') diff --git a/src/gui/widgets/scrollarea.cpp b/src/gui/widgets/scrollarea.cpp index d7b588749..ce67794a2 100644 --- a/src/gui/widgets/scrollarea.cpp +++ b/src/gui/widgets/scrollarea.cpp @@ -438,26 +438,6 @@ void ScrollArea::calcButton(gcn::Graphics *const graphics, } } -void ScrollArea::drawUpButton(gcn::Graphics *const graphics) -{ - drawButton(graphics, UP); -} - -void ScrollArea::drawDownButton(gcn::Graphics *const graphics) -{ - drawButton(graphics, DOWN); -} - -void ScrollArea::drawLeftButton(gcn::Graphics *const graphics) -{ - drawButton(graphics, LEFT); -} - -void ScrollArea::drawRightButton(gcn::Graphics *const graphics) -{ - drawButton(graphics, RIGHT); -} - void ScrollArea::drawVBar(gcn::Graphics *const graphics) { const gcn::Rectangle &dim = getVerticalBarDimension(); diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h index efc119190..58df259ba 100644 --- a/src/gui/widgets/scrollarea.h +++ b/src/gui/widgets/scrollarea.h @@ -141,10 +141,6 @@ class ScrollArea final : public gcn::ScrollArea, void drawButton(gcn::Graphics *const graphics, const BUTTON_DIR dir); void calcButton(gcn::Graphics *const graphics, const BUTTON_DIR dir); - void drawUpButton(gcn::Graphics *const graphics) override; - void drawDownButton(gcn::Graphics *const graphics) override; - void drawLeftButton(gcn::Graphics *const graphics) override; - void drawRightButton(gcn::Graphics *const graphics) override; void drawVBar(gcn::Graphics *const graphics) override; void drawHBar(gcn::Graphics *const graphics) override; void drawVMarker(gcn::Graphics *const graphics) override; -- cgit v1.2.3-70-g09d2