diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-14 15:39:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-14 15:39:43 +0300 |
commit | b21d07cdcaa227f439e705feeb618948458163bc (patch) | |
tree | acb0239b6329cb26ba17f7b9ee3846fb2e858e3e /src/gui/widgets/scrollarea.h | |
parent | 34a5f3077937317febd9fa3fc2dc6f2a2473521c (diff) | |
download | mv-b21d07cdcaa227f439e705feeb618948458163bc.tar.gz mv-b21d07cdcaa227f439e705feeb618948458163bc.tar.bz2 mv-b21d07cdcaa227f439e705feeb618948458163bc.tar.xz mv-b21d07cdcaa227f439e705feeb618948458163bc.zip |
improve scrollarea.
Diffstat (limited to 'src/gui/widgets/scrollarea.h')
-rw-r--r-- | src/gui/widgets/scrollarea.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h index 6455d1af8..d488a7422 100644 --- a/src/gui/widgets/scrollarea.h +++ b/src/gui/widgets/scrollarea.h @@ -120,7 +120,7 @@ class ScrollArea final : public gcn::ScrollArea, void mouseReleased(gcn::MouseEvent& event) override; - void mouseDragged(gcn::MouseEvent &event); + void mouseDragged(gcn::MouseEvent &event) override; void widgetResized(const gcn::Event &event) override; @@ -185,15 +185,15 @@ class ScrollArea final : public gcn::ScrollArea, int mX, mY; int mClickX, mClickY; - bool mHasMouse; - bool mOpaque; ImageCollection *mVertexes; ImageCollection *mVertexes2; - bool mRedraw; int mXOffset; int mYOffset; int mDrawWidth; int mDrawHeight; + bool mHasMouse; + bool mOpaque; + bool mRedraw; }; #endif // GUI_WIDGETS_SCROLLAREA_H |