diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 13:37:10 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 14:34:30 +0100 |
commit | 057e55c47ef3194ad56a09128eaa959984f2fd4a (patch) | |
tree | 41a85443835e0f4f680144b280895843eb96ffe6 /src/gui/skin.cpp | |
parent | 9d68ee18a9d1f37cbdf4b984d6db72f7fc59cf51 (diff) | |
download | mana-057e55c47ef3194ad56a09128eaa959984f2fd4a.tar.gz mana-057e55c47ef3194ad56a09128eaa959984f2fd4a.tar.bz2 mana-057e55c47ef3194ad56a09128eaa959984f2fd4a.tar.xz mana-057e55c47ef3194ad56a09128eaa959984f2fd4a.zip |
Fixed copyright notices of skin.{h,cpp} files
Also some code prettyfication.
Diffstat (limited to 'src/gui/skin.cpp')
-rw-r--r-- | src/gui/skin.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gui/skin.cpp b/src/gui/skin.cpp index 0d62fea5..b16bdfe6 100644 --- a/src/gui/skin.cpp +++ b/src/gui/skin.cpp @@ -1,8 +1,9 @@ /* - * Aethyra + * Gui Skinning + * Copyright (C) 2008 The Legend of Mazzeroth Development Team * Copyright (C) 2009 Aethyra Development Team * - * This file is part of Aethyra. + * This file is part of The Mana World. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -46,7 +47,9 @@ class SkinConfigListener : public ConfigListener } }; -Skin::Skin(ImageRect skin, Image *close, std::string filePath, std::string name): +Skin::Skin(ImageRect skin, Image *close, + const std::string &filePath, + const std::string &name): instances(0), mFilePath(filePath), mName(name), @@ -225,10 +228,9 @@ Skin *SkinLoader::load(const std::string &filename, return skin; } -SkinLoader::SkinLoader() : - mSkins() +SkinLoader::SkinLoader() { - skinConfigListener = new SkinConfigListener(); + skinConfigListener = new SkinConfigListener; // Send GUI alpha changed for initialization skinConfigListener->optionChanged("guialpha"); config.addListener("guialpha", skinConfigListener); |