summaryrefslogtreecommitdiff
path: root/src/gui/label.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-25 23:42:57 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-25 23:42:57 +0100
commitcd20fb3432498b8871401bdd65a143197e2a6538 (patch)
tree1edd3e20e3501de5315fa5bfc46b8673ad40d5dd /src/gui/label.cpp
parent4ba8c80791c15c144d66e6a9b23e878d3313fa26 (diff)
downloadmana-client-cd20fb3432498b8871401bdd65a143197e2a6538.tar.gz
mana-client-cd20fb3432498b8871401bdd65a143197e2a6538.tar.bz2
mana-client-cd20fb3432498b8871401bdd65a143197e2a6538.tar.xz
mana-client-cd20fb3432498b8871401bdd65a143197e2a6538.zip
A host of code style fixes
Mostly putting & and * in the right place and making some getters const.
Diffstat (limited to 'src/gui/label.cpp')
-rw-r--r--src/gui/label.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/label.cpp b/src/gui/label.cpp
index 68195659..d2fba12b 100644
--- a/src/gui/label.cpp
+++ b/src/gui/label.cpp
@@ -18,6 +18,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+
#include "label.h"
#include "palette.h"
@@ -26,12 +27,12 @@ Label::Label() :
{
}
-Label::Label(const std::string& caption) :
+Label::Label(const std::string &caption) :
gcn::Label(caption)
{
}
-void Label::draw(gcn::Graphics* graphics)
+void Label::draw(gcn::Graphics *graphics)
{
setForegroundColor(guiPalette->getColor(Palette::TEXT));
gcn::Label::draw(static_cast<gcn::Graphics*>(graphics));