summaryrefslogtreecommitdiff
path: root/src/gui/widgets/scrollarea.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-14 15:39:43 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-14 15:39:43 +0300
commitb21d07cdcaa227f439e705feeb618948458163bc (patch)
treeacb0239b6329cb26ba17f7b9ee3846fb2e858e3e /src/gui/widgets/scrollarea.h
parent34a5f3077937317febd9fa3fc2dc6f2a2473521c (diff)
downloadplus-b21d07cdcaa227f439e705feeb618948458163bc.tar.gz
plus-b21d07cdcaa227f439e705feeb618948458163bc.tar.bz2
plus-b21d07cdcaa227f439e705feeb618948458163bc.tar.xz
plus-b21d07cdcaa227f439e705feeb618948458163bc.zip
improve scrollarea.
Diffstat (limited to 'src/gui/widgets/scrollarea.h')
-rw-r--r--src/gui/widgets/scrollarea.h8
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