|
|
|
@ -187,6 +187,7 @@ namespace MWGui
|
|
|
|
|
, mRestAllowed(true)
|
|
|
|
|
, mFPS(0.0f)
|
|
|
|
|
, mFallbackMap(fallbackMap)
|
|
|
|
|
, mShowOwned(false)
|
|
|
|
|
{
|
|
|
|
|
float uiScale = Settings::Manager::getFloat("scaling factor", "GUI");
|
|
|
|
|
mGuiPlatform = new osgMyGUI::Platform(viewer, guiRoot, resourceSystem->getTextureManager(), uiScale);
|
|
|
|
@ -261,6 +262,8 @@ namespace MWGui
|
|
|
|
|
|
|
|
|
|
MyGUI::ClipboardManager::getInstance().eventClipboardChanged += MyGUI::newDelegate(this, &WindowManager::onClipboardChanged);
|
|
|
|
|
MyGUI::ClipboardManager::getInstance().eventClipboardRequested += MyGUI::newDelegate(this, &WindowManager::onClipboardRequested);
|
|
|
|
|
|
|
|
|
|
mShowOwned = Settings::Manager::getBool("show owned", "Game");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void WindowManager::initUI()
|
|
|
|
@ -1039,7 +1042,7 @@ namespace MWGui
|
|
|
|
|
{
|
|
|
|
|
mToolTips->setFocusObject(focus);
|
|
|
|
|
|
|
|
|
|
if(Settings::Manager::getBool("show owned", "Game") && mHud)
|
|
|
|
|
if(mShowOwned && mHud)
|
|
|
|
|
{
|
|
|
|
|
bool owned = mToolTips->checkOwned();
|
|
|
|
|
mHud->setCrosshairOwned(owned);
|
|
|
|
|