|
|
@ -1128,14 +1128,10 @@ namespace MWGui
|
|
|
|
it->first->setSize(size);
|
|
|
|
it->first->setSize(size);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
mConsole->onResChange(x, y);
|
|
|
|
for (WindowBase* window : mWindows)
|
|
|
|
mMenu->onResChange(x, y);
|
|
|
|
window->onResChange(x, y);
|
|
|
|
mSettingsWindow->center();
|
|
|
|
|
|
|
|
mAlchemyWindow->center();
|
|
|
|
// TODO: check if any windows are now off-screen and move them back if so
|
|
|
|
mScrollWindow->center();
|
|
|
|
|
|
|
|
mBookWindow->center();
|
|
|
|
|
|
|
|
mQuickKeysMenu->center();
|
|
|
|
|
|
|
|
mSpellBuyingWindow->center();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void WindowManager::onCursorChange(const std::string &name)
|
|
|
|
void WindowManager::onCursorChange(const std::string &name)
|
|
|
|