From ca945c9bd62318109246443c6d43091885e817b1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 19 Jul 2011 21:18:14 +0300 Subject: Optimisations in scrollarea class. --- src/guichan/include/guichan/widgets/scrollarea.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/guichan/include') diff --git a/src/guichan/include/guichan/widgets/scrollarea.hpp b/src/guichan/include/guichan/widgets/scrollarea.hpp index 0b2ccad92..29f95ad85 100644 --- a/src/guichan/include/guichan/widgets/scrollarea.hpp +++ b/src/guichan/include/guichan/widgets/scrollarea.hpp @@ -433,42 +433,42 @@ namespace gcn * * @return the dimension of the up button. */ - Rectangle getUpButtonDimension(); + Rectangle getUpButtonDimension() const; /** * Gets the down button dimension. * * @return the dimension of the down button. */ - Rectangle getDownButtonDimension(); + Rectangle getDownButtonDimension() const; /** * Gets the left button dimension. * * @return the dimension of the left button. */ - Rectangle getLeftButtonDimension(); + Rectangle getLeftButtonDimension() const; /** * Gets the right button dimension. * * @return the dimension of the right button. */ - Rectangle getRightButtonDimension(); + Rectangle getRightButtonDimension() const; /** * Gets the vertical scrollbar dimension. * * @return the dimension of the vertical scrollbar. */ - Rectangle getVerticalBarDimension(); + Rectangle getVerticalBarDimension() const; /** * Gets the horizontal scrollbar dimension. * * @return the dimension of the horizontal scrollbar. */ - Rectangle getHorizontalBarDimension(); + Rectangle getHorizontalBarDimension() const; /** * Gets the vertical marker dimension. @@ -483,7 +483,7 @@ namespace gcn * @return the dimension of the horizontal marker. */ Rectangle getHorizontalMarkerDimension(); - + /** * Holds the vertical scroll amount. */ -- cgit v1.2.3-70-g09d2