diff options
Diffstat (limited to 'src/gui/emotecontainer.cpp')
-rw-r--r-- | src/gui/emotecontainer.cpp | 18 |
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; |