diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-03 18:59:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-03 19:03:30 +0300 |
commit | 98db78be9552b039090ce5dfc53803df2dd54b41 (patch) | |
tree | efda1a43723e8e11e075dcfef2776fe38c7cb3da /src/gui/widgets/progressbar.h | |
parent | d7cbb663f5f8e19ccfa7162ef7d1d4e3b4020335 (diff) | |
download | ManaVerse-98db78be9552b039090ce5dfc53803df2dd54b41.tar.gz ManaVerse-98db78be9552b039090ce5dfc53803df2dd54b41.tar.bz2 ManaVerse-98db78be9552b039090ce5dfc53803df2dd54b41.tar.xz ManaVerse-98db78be9552b039090ce5dfc53803df2dd54b41.zip |
Add some missing getters.
Diffstat (limited to 'src/gui/widgets/progressbar.h')
-rw-r--r-- | src/gui/widgets/progressbar.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/progressbar.h b/src/gui/widgets/progressbar.h index 163310245..603df6157 100644 --- a/src/gui/widgets/progressbar.h +++ b/src/gui/widgets/progressbar.h @@ -73,7 +73,8 @@ class ProgressBar : public gcn::Widget, public gcn::WidgetListener /** * Returns the current progress. */ - float getProgress() const { return mProgress; } + float getProgress() const + { return mProgress; } /** * Change the ProgressPalette for this ProgressBar to follow or -1 to @@ -89,7 +90,8 @@ class ProgressBar : public gcn::Widget, public gcn::WidgetListener /** * Returns the color of the progress bar. */ - const gcn::Color &getColor() const { return mColor; } + const gcn::Color &getColor() const + { return mColor; } /** * Sets the text shown on the progress bar. |