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
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-09 20:10:21 +0100
commit112d71798eca4b13dd5b11805669ae4fad4dea0e (patch)
tree6ac1974917eec380a8309024628ec6795e4d74ff /src/gui/emotecontainer.cpp
parent1b1050da1c7b84cc72b7efbb2229294975be9e10 (diff)
downloadmana-112d71798eca4b13dd5b11805669ae4fad4dea0e.tar.gz
mana-112d71798eca4b13dd5b11805669ae4fad4dea0e.tar.bz2
mana-112d71798eca4b13dd5b11805669ae4fad4dea0e.tar.xz
mana-112d71798eca4b13dd5b11805669ae4fad4dea0e.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;