diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-02-22 00:02:09 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-02-22 00:02:09 -0700 |
commit | 4406b2fd90a5d4656bc923bf5c751e4c5250a0d2 (patch) | |
tree | bf25813b8711fb1dd51a77104a63a9c9647a60df /src/gui/beingpopup.h | |
parent | 7c925545419eeda0b0b26b290a9ec0412960fbd8 (diff) | |
download | mana-4406b2fd90a5d4656bc923bf5c751e4c5250a0d2.tar.gz mana-4406b2fd90a5d4656bc923bf5c751e4c5250a0d2.tar.bz2 mana-4406b2fd90a5d4656bc923bf5c751e4c5250a0d2.tar.xz mana-4406b2fd90a5d4656bc923bf5c751e4c5250a0d2.zip |
Cleanup some popup-related code and make sure BeingPopup is included
Diffstat (limited to 'src/gui/beingpopup.h')
-rw-r--r-- | src/gui/beingpopup.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/gui/beingpopup.h b/src/gui/beingpopup.h index 964235bb..b803aacf 100644 --- a/src/gui/beingpopup.h +++ b/src/gui/beingpopup.h @@ -1,8 +1,6 @@ /* * The Mana Client - * Copyright (C) 2008 The Legend of Mazzeroth Development Team - * Copyright (C) 2008-2009 The Mana World Development Team - * Copyright (C) 2009-2010 The Mana Developers + * Copyright (C) 2010 The Mana Developers * * This file is part of The Mana Client. * @@ -27,8 +25,8 @@ #include <guichan/mouselistener.hpp> +class Player; class TextBox; -class Being; /** * A popup that displays information about an item. @@ -47,14 +45,11 @@ class BeingPopup : public Popup ~BeingPopup(); /** - * Sets the info to be displayed given a particular item. + * Sets the info to be displayed given a particular player. */ - void setBeing(int x, int y, Being *b); + void show(int x, int y, Player *p); - /** - * Sets the location to display the item popup. - */ - void view(int x, int y); + // TODO: Add a version for monsters, NPCs, etc? private: TextBox *mBeingName; |