@ -4,6 +4,7 @@
Bug #3623: Fix HiDPI on Windows
Bug #4540: Rain delay when exiting water
Bug #4701: PrisonMarker record is not hardcoded like other markers
Bug #4714: Crash upon game load in the repair menu while the "Your repair failed!" message is active
Feature #2229: Improve pathfinding AI
Feature #3442: Default values for fallbacks from ini file
Feature #4673: Weapon sheathing
@ -330,6 +330,21 @@ namespace MWGui
}
void ToolTips::clear()
{
mFocusObject = MWWorld::Ptr();
while (mDynamicToolTipBox->getChildCount())
MyGUI::Gui::getInstance().destroyWidget(mDynamicToolTipBox->getChildAt(0));
for (unsigned int i=0; i < mMainWidget->getChildCount(); ++i)
mMainWidget->getChildAt(i)->setVisible(false);
void ToolTips::setFocusObject(const MWWorld::Ptr& focus)
mFocusObject = focus;
@ -59,6 +59,8 @@ namespace MWGui
void setDelay(float delay);
void clear();
void setFocusObject(const MWWorld::Ptr& focus);
void setFocusObjectScreenCoords(float min_x, float min_y, float max_x, float max_y);
///< set the screen-space position of the tooltip for focused object
@ -1728,7 +1728,7 @@ namespace MWGui
mMessageBoxManager->clear();
mToolTips->setFocusObject(MWWorld::Ptr());
mToolTips->clear();
mSelectedSpell.clear();
mCustomMarkers.clear();