summaryrefslogtreecommitdiff
path: root/src/gui/widgets/spacer.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-10-21 20:54:54 +0200
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2011-10-23 10:55:29 +0200
commit9c5791d3e3b413d8b703f1530f67de8936a3434c (patch)
treedd718ab5e09a0128f94509fed3c8b241c23e8dfa /src/gui/widgets/spacer.h
parent659b1eac4fc9e733fcfd233020bac78701c30640 (diff)
downloadmana-9c5791d3e3b413d8b703f1530f67de8936a3434c.tar.gz
mana-9c5791d3e3b413d8b703f1530f67de8936a3434c.tar.bz2
mana-9c5791d3e3b413d8b703f1530f67de8936a3434c.tar.xz
mana-9c5791d3e3b413d8b703f1530f67de8936a3434c.zip
Fixed a certain class of Doxygen warnings
All cases of documentation for non-existing parameters are now fixed. Also marked a few getters as 'const', removed some superfluous 'inline' keywords and removed the unused 'forceQuantity' option from ItemContainer. Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src/gui/widgets/spacer.h')
-rw-r--r--src/gui/widgets/spacer.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/spacer.h b/src/gui/widgets/spacer.h
index cc171890..4756b452 100644
--- a/src/gui/widgets/spacer.h
+++ b/src/gui/widgets/spacer.h
@@ -37,17 +37,17 @@ class Spacer : public gcn::Widget
/**
* Constructor.
*
- * @note Can be called empty, will default to a 5x5 px space
+ * @note Can be called empty, will default to a space of 5x5 pixels.
*
- * @param w - width in px.
- * @param h - height in px.
+ * @param w width in pixels.
+ * @param h height in pixels.
*/
- Spacer(int x = 5, int y = 5);
+ Spacer(int w = 5, int h = 5);
/**
- * Draws the Space.
+ * Draws nothing.
*/
- void draw(gcn::Graphics *g){}
+ void draw(gcn::Graphics *g) {}
};
#endif // SPACER_H