diff options
author | Bjørn <bjorn@horst-dieter.(none)> | 2009-04-12 18:04:33 +0200 |
---|---|---|
committer | Bjørn <bjorn@horst-dieter.(none)> | 2009-04-12 19:06:37 +0200 |
commit | a6998fbdfaf84aa1920564d97e3421ed28c9a893 (patch) | |
tree | 592fb9e78946a4f539e7c1dd3210b50f68e4f961 /src/gui/itempopup.h | |
parent | acbafa84774d4addeb4da0206762d64febf26d3e (diff) | |
download | mana-a6998fbdfaf84aa1920564d97e3421ed28c9a893.tar.gz mana-a6998fbdfaf84aa1920564d97e3421ed28c9a893.tar.bz2 mana-a6998fbdfaf84aa1920564d97e3421ed28c9a893.tar.xz mana-a6998fbdfaf84aa1920564d97e3421ed28c9a893.zip |
Cleaned up the ItemPopup class a bit
Removed methods updateColors, getItemName and getNumRows. The last one
was also removed from some other classes.
Diffstat (limited to 'src/gui/itempopup.h')
-rw-r--r-- | src/gui/itempopup.h | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/src/gui/itempopup.h b/src/gui/itempopup.h index c08b188a..687e664b 100644 --- a/src/gui/itempopup.h +++ b/src/gui/itempopup.h @@ -30,6 +30,9 @@ class ScrollArea; class TextBox; +/** + * A popup that displays information about an item. + */ class ItemPopup : public Popup { public: @@ -49,21 +52,6 @@ class ItemPopup : public Popup void setItem(const ItemInfo &item); /** - * Gets the number of rows that the item popup currently has. - */ - unsigned int getNumRows() const; - - /** - * Gets the name of the currently stored item in this popup. - */ - std::string getItemName() const; - - /** - * Updates the colors used within the item popup. - */ - void updateColors(); - - /** * Sets the location to display the item popup. */ void view(int x, int y); |