diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-18 03:06:53 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-08-18 03:06:53 +0200 |
commit | 36239b2d689b862a951a65a9be7376a500f1ace9 (patch) | |
tree | 1f8dde16f52a4cbbde1c46af0a063c79e28d30d1 /src/gui/itempopup.cpp | |
parent | e86f83ed987461adabcbc02508107366b8c65558 (diff) | |
download | mana-36239b2d689b862a951a65a9be7376a500f1ace9.tar.gz mana-36239b2d689b862a951a65a9be7376a500f1ace9.tar.bz2 mana-36239b2d689b862a951a65a9be7376a500f1ace9.tar.xz mana-36239b2d689b862a951a65a9be7376a500f1ace9.zip |
Improved equip slots description for both protocols.
Now the itempopup is also telling what equip slot
is under the mouse pointer.
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r-- | src/gui/itempopup.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp index de8378d5..d65764a5 100644 --- a/src/gui/itempopup.cpp +++ b/src/gui/itempopup.cpp @@ -145,6 +145,9 @@ void ItemPopup::setNoItem() mItemName->setForegroundColor(Theme::getThemeColor(Theme::GENERIC)); mItemName->setPosition(getPadding(), getPadding()); + mItemDesc->setText(std::string()); + mItemEffect->setText(std::string()); + setContentSize(mItemName->getWidth() + 2 * getPadding(), 0); } |