diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-10 13:36:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-10 13:36:54 +0300 |
commit | 9b84665e4d2a3c069179cde38f32ce023b37542a (patch) | |
tree | 3e0b1579c0d74a5f2bb70aa30ece2031619aa431 | |
parent | c1a4a6367821b2af15c3bfd1e3ca767abe25902e (diff) | |
download | plus-9b84665e4d2a3c069179cde38f32ce023b37542a.tar.gz plus-9b84665e4d2a3c069179cde38f32ce023b37542a.tar.bz2 plus-9b84665e4d2a3c069179cde38f32ce023b37542a.tar.xz plus-9b84665e4d2a3c069179cde38f32ce023b37542a.zip |
Remove unused methods in scrollarea class.
-rw-r--r-- | src/gui/widgets/scrollarea.cpp | 20 | ||||
-rw-r--r-- | src/gui/widgets/scrollarea.h | 4 |
2 files changed, 0 insertions, 24 deletions
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; |