#include <itempopup.h>
Definition at line 35 of file itempopup.h.
Public Member Functions | |
ItemPopup () | |
Constructor. | |
~ItemPopup () | |
Destructor. | |
void | setItem (const ItemInfo &item) |
Sets the info to be displayed given a particular item. | |
void | view (int x, int y) |
Sets the location to display the item popup. | |
Static Private Member Functions | |
static gcn::Color | getColor (ItemType type) |
Private Attributes | |
gcn::Label * | mItemName |
TextBox * | mItemDesc |
TextBox * | mItemEffect |
TextBox * | mItemWeight |
ItemType | mItemType |
ItemPopup::ItemPopup | ( | ) |
ItemPopup::~ItemPopup | ( | ) |
void ItemPopup::setItem | ( | const ItemInfo & | item | ) |
void ItemPopup::view | ( | int | x, | |
int | y | |||
) |
gcn::Color ItemPopup::getColor | ( | ItemType | type | ) | [static, private] |
Definition at line 129 of file itempopup.cpp.
gcn::Label* ItemPopup::mItemName [private] |
Definition at line 59 of file itempopup.h.
TextBox* ItemPopup::mItemDesc [private] |
Definition at line 60 of file itempopup.h.
TextBox* ItemPopup::mItemEffect [private] |
Definition at line 61 of file itempopup.h.
TextBox* ItemPopup::mItemWeight [private] |
Definition at line 62 of file itempopup.h.
ItemType ItemPopup::mItemType [private] |
Definition at line 63 of file itempopup.h.