summaryrefslogtreecommitdiff
path: root/src/gui/interface/ScrollPanel.h
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-07-21 19:59:51 (GMT)
committer jacob1 <jfu614@gmail.com>2013-07-21 19:59:51 (GMT)
commita63f5b875b9d31f8932ca62537ae7b863ef7f8b8 (patch)
tree09e917a515cf0ed03a09e14f6782ad964ae3c7ad /src/gui/interface/ScrollPanel.h
parenta9352008cf3765070a0634cb198820ebda9427f1 (diff)
downloadpowder-a63f5b875b9d31f8932ca62537ae7b863ef7f8b8.zip
powder-a63f5b875b9d31f8932ca62537ae7b863ef7f8b8.tar.gz
when scrolling up through comments, it starts at the bottom of the page instead of the top
Diffstat (limited to 'src/gui/interface/ScrollPanel.h')
-rw-r--r--src/gui/interface/ScrollPanel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/interface/ScrollPanel.h b/src/gui/interface/ScrollPanel.h
index 08b5069..0d48658 100644
--- a/src/gui/interface/ScrollPanel.h
+++ b/src/gui/interface/ScrollPanel.h
@@ -21,6 +21,7 @@ namespace ui
ScrollPanel(Point position, Point size);
int GetScrollLimit();
+ void SetScrollPosition(int position);
virtual void Draw(const Point& screenPos);
virtual void XTick(float dt);