summaryrefslogtreecommitdiff
path: root/src/gui/emotecontainer.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-15 11:06:32 -0700
committerIra Rice <irarice@gmail.com>2009-01-15 11:06:32 -0700
commit10a9dbacd9334caede10f1b21d42cdf7e1efcd03 (patch)
treedef2baead68de5a9ccc842e25b3cdcfe9a638c9b /src/gui/emotecontainer.h
parente7f4e78f76972ca3882b9d2763ae9cab31675d3a (diff)
downloadmana-client-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.gz
mana-client-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.bz2
mana-client-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.tar.xz
mana-client-10a9dbacd9334caede10f1b21d42cdf7e1efcd03.zip
Style cleanups throughout most of the code. Splitting function type from
the function names should no longer be around. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/emotecontainer.h')
-rw-r--r--src/gui/emotecontainer.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/gui/emotecontainer.h b/src/gui/emotecontainer.h
index f5922a9c..2a115f0b 100644
--- a/src/gui/emotecontainer.h
+++ b/src/gui/emotecontainer.h
@@ -33,15 +33,13 @@
#include "../resources/imageset.h"
class Image;
-class Inventory;
-class Emote;
namespace gcn {
class SelectionListener;
}
/**
- * An item container. Used to show items in inventory and trade dialog.
+ * An emote container. Used to show emotes in inventory and trade dialog.
*
* \ingroup GUI
*/
@@ -61,7 +59,7 @@ class EmoteContainer : public gcn::Widget,
virtual ~EmoteContainer();
/**
- * Draws the items.
+ * Draws the emotes.
*/
void draw(gcn::Graphics *graphics);
@@ -76,12 +74,12 @@ class EmoteContainer : public gcn::Widget,
void mousePressed(gcn::MouseEvent &event);
/**
- * Returns the selected item.
+ * Returns the selected emote.
*/
int getSelectedEmote();
/**
- * Sets selected item to NULL.
+ * Sets selected emote to NULL.
*/
void selectNone();
@@ -106,12 +104,12 @@ class EmoteContainer : public gcn::Widget,
private:
/**
- * Sets the currently selected item. Invalid (e.g., negative) indices set `no item'.
+ * Sets the currently selected emote. Invalid (e.g., negative) indices set `no emotr'.
*/
void setSelectedEmoteIndex(int index);
/**
- * Find the current item index by the most recently used item ID
+ * Find the current emote index by the most recently used emote ID
*/
void refindSelectedEmote(void);