|
|
@ -187,7 +187,7 @@ namespace MWGui
|
|
|
|
, mRestAllowed(true)
|
|
|
|
, mRestAllowed(true)
|
|
|
|
, mFPS(0.0f)
|
|
|
|
, mFPS(0.0f)
|
|
|
|
, mFallbackMap(fallbackMap)
|
|
|
|
, mFallbackMap(fallbackMap)
|
|
|
|
, mShowOwned(false)
|
|
|
|
, mShowOwned(0)
|
|
|
|
, mVersionDescription(versionDescription)
|
|
|
|
, mVersionDescription(versionDescription)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
float uiScale = Settings::Manager::getFloat("scaling factor", "GUI");
|
|
|
|
float uiScale = Settings::Manager::getFloat("scaling factor", "GUI");
|
|
|
@ -264,7 +264,7 @@ namespace MWGui
|
|
|
|
MyGUI::ClipboardManager::getInstance().eventClipboardChanged += MyGUI::newDelegate(this, &WindowManager::onClipboardChanged);
|
|
|
|
MyGUI::ClipboardManager::getInstance().eventClipboardChanged += MyGUI::newDelegate(this, &WindowManager::onClipboardChanged);
|
|
|
|
MyGUI::ClipboardManager::getInstance().eventClipboardRequested += MyGUI::newDelegate(this, &WindowManager::onClipboardRequested);
|
|
|
|
MyGUI::ClipboardManager::getInstance().eventClipboardRequested += MyGUI::newDelegate(this, &WindowManager::onClipboardRequested);
|
|
|
|
|
|
|
|
|
|
|
|
mShowOwned = Settings::Manager::getBool("show owned", "Game");
|
|
|
|
mShowOwned = Settings::Manager::getInt("show owned", "Game");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void WindowManager::initUI()
|
|
|
|
void WindowManager::initUI()
|
|
|
@ -1043,7 +1043,7 @@ namespace MWGui
|
|
|
|
{
|
|
|
|
{
|
|
|
|
mToolTips->setFocusObject(focus);
|
|
|
|
mToolTips->setFocusObject(focus);
|
|
|
|
|
|
|
|
|
|
|
|
if(mShowOwned && mHud)
|
|
|
|
if(mHud && (mShowOwned == 2 || mShowOwned == 3))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
bool owned = mToolTips->checkOwned();
|
|
|
|
bool owned = mToolTips->checkOwned();
|
|
|
|
mHud->setCrosshairOwned(owned);
|
|
|
|
mHud->setCrosshairOwned(owned);
|
|
|
|