summaryrefslogtreecommitdiff
path: root/src/gui/progressbar.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-15 11:06:32 -0700
committerIra Rice <irarice@gmail.com>2009-01-15 11:06:32 -0700
commit10a9dbacd9334caede10f1b21d42cdf7e1efcd03 (patch)
treedef2baead68de5a9ccc842e25b3cdcfe9a638c9b /src/gui/progressbar.h
parente7f4e78f76972ca3882b9d2763ae9cab31675d3a (diff)
downloadmana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.gz
mana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.bz2
mana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.xz
mana-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.zip
Style cleanups throughout most of the code. Splitting function type from
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/progressbar.h')
-rw-r--r--src/gui/progressbar.h24
1 files changed, 8 insertions, 16 deletions
diff --git a/src/gui/progressbar.h b/src/gui/progressbar.h
index a20c901f..d2ace66c 100644
--- a/src/gui/progressbar.h
+++ b/src/gui/progressbar.h
@@ -52,50 +52,42 @@ class ProgressBar : public gcn::Widget {
/**
* Performs progress bar logic (fading colors)
*/
- void
- logic();
+ void logic();
/**
* Draws the progress bar.
*/
- void
- draw(gcn::Graphics *graphics);
+ void draw(gcn::Graphics *graphics);
/**
* Sets the current progress.
*/
- void
- setProgress(float progress);
+ void setProgress(float progress);
/**
* Returns the current progress.
*/
- float
- getProgress() { return mProgress; }
+ float getProgress() { return mProgress; }
/**
* Change the filling of the progress bar.
*/
- void
- setColor(Uint8, Uint8 green, Uint8 blue);
+ void setColor(Uint8, Uint8 green, Uint8 blue);
/**
* Get The red value of color
*/
- Uint8
- getRed() { return mRed; }
+ Uint8 getRed() { return mRed; }
/**
* Get The red value of color
*/
- Uint8
- getGreen() { return mGreen; }
+ Uint8 getGreen() { return mGreen; }
/**
* Get The red value of color
*/
- Uint8
- getBlue() { return mBlue; }
+ Uint8 getBlue() { return mBlue; }
private:
float mProgress;