summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-10 13:36:54 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-10 13:36:54 +0300
commit9b84665e4d2a3c069179cde38f32ce023b37542a (patch)
tree3e0b1579c0d74a5f2bb70aa30ece2031619aa431
parentc1a4a6367821b2af15c3bfd1e3ca767abe25902e (diff)
downloadmanaplus-9b84665e4d2a3c069179cde38f32ce023b37542a.tar.gz
manaplus-9b84665e4d2a3c069179cde38f32ce023b37542a.tar.bz2
manaplus-9b84665e4d2a3c069179cde38f32ce023b37542a.tar.xz
manaplus-9b84665e4d2a3c069179cde38f32ce023b37542a.zip
Remove unused methods in scrollarea class.
-rw-r--r--src/gui/widgets/scrollarea.cpp20
-rw-r--r--src/gui/widgets/scrollarea.h4
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;