|
|
|
@ -373,6 +373,7 @@ namespace MWGui
|
|
|
|
|
{
|
|
|
|
|
mMap->setVisible(mMap->pinned());
|
|
|
|
|
mStatsWindow->setVisible(mStatsWindow->pinned());
|
|
|
|
|
mInventoryWindow->setGuiMode(GM_None);
|
|
|
|
|
mInventoryWindow->setVisible(mInventoryWindow->pinned());
|
|
|
|
|
mSpellWindow->setVisible(mSpellWindow->pinned());
|
|
|
|
|
|
|
|
|
@ -1127,6 +1128,9 @@ namespace MWGui
|
|
|
|
|
|
|
|
|
|
void WindowManager::toggleVisible (GuiWindow wnd)
|
|
|
|
|
{
|
|
|
|
|
if (getMode() != GM_Inventory)
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
mShown = (mShown & wnd) ? (GuiWindow) (mShown & ~wnd) : (GuiWindow) (mShown | wnd);
|
|
|
|
|
updateVisible();
|
|
|
|
|
}
|
|
|
|
|