summaryrefslogtreecommitdiff
path: root/src/gui/emotecontainer.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-04 01:14:28 +0100
committerIra Rice <irarice@gmail.com>2009-02-09 17:31:08 -0700
commitac468007930e8f9531403fbfb683903cfa263307 (patch)
tree09ed64e7b8c0f0d2cca7009f1a757a81336a14ef /src/gui/emotecontainer.cpp
parente9df7438f734341bf7c906c33ac8a82a7733e204 (diff)
downloadmana-client-ac468007930e8f9531403fbfb683903cfa263307.tar.gz
mana-client-ac468007930e8f9531403fbfb683903cfa263307.tar.bz2
mana-client-ac468007930e8f9531403fbfb683903cfa263307.tar.xz
mana-client-ac468007930e8f9531403fbfb683903cfa263307.zip
Fixed up the copyright headers
Decision is to go with exact authors when some file is basically done by one person, and in most other cases assign TMW or Aethyra team copyright when multiple people from those teams have been involved. Also, the first summary line should now contain the subset of functionality that the file is part of, not the name of the whole project.
Diffstat (limited to 'src/gui/emotecontainer.cpp')
-rw-r--r--src/gui/emotecontainer.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/emotecontainer.cpp b/src/gui/emotecontainer.cpp
index fa63d4bb..94ce9736 100644
--- a/src/gui/emotecontainer.cpp
+++ b/src/gui/emotecontainer.cpp
@@ -1,22 +1,22 @@
/*
- * Aethyra
- * Copyright 2009 Aethyra Development Team
+ * Extended support for activating emotes
+ * Copyright (C) 2009 Aethyra Development Team
*
- * This file is part of Aethyra.
+ * This file is part of The Mana World.
*
- * Aethyra is free software; you can redistribute it and/or modify
+ * 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
* the Free Software Foundation; either version 2 of the License, or
* any later version.
*
- * Aethyra is distributed in the hope that it will be useful,
+ * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with Aethyra; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <guichan/mouseinput.hpp>
@@ -90,7 +90,7 @@ void EmoteContainer::draw(gcn::Graphics *graphics)
{
int emoteX = ((i) % columns) * gridWidth;
int emoteY = ((i) / columns) * gridHeight;
-
+
// Draw emote icon
mEmoteImg[i]->draw(static_cast<Graphics*>(graphics), emoteX, emoteY);
@@ -121,7 +121,7 @@ void EmoteContainer::recalculateHeight()
setHeight(height);
}
-int EmoteContainer::getSelectedEmote()
+int EmoteContainer::getSelectedEmote()
{
if (mSelectedEmoteIndex == NO_EMOTE)
return 0;