mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 12:53:51 +00:00
Merge branch 'stretch' into 'master'
Put a stretch menu background checkbox into the launcher (#5672) Closes #5672 See merge request OpenMW/openmw!387
This commit is contained in:
commit
7ee7041399
4 changed files with 14 additions and 1 deletions
|
@ -83,6 +83,7 @@
|
||||||
Feature #5610: Actors movement should be smoother
|
Feature #5610: Actors movement should be smoother
|
||||||
Feature #5642: Ability to attach arrows to actor skeleton instead of bow mesh
|
Feature #5642: Ability to attach arrows to actor skeleton instead of bow mesh
|
||||||
Feature #5649: Skyrim SE compressed BSA format support
|
Feature #5649: Skyrim SE compressed BSA format support
|
||||||
|
Feature #5672: Make stretch menu background configuration more accessible
|
||||||
Task #5480: Drop Qt4 support
|
Task #5480: Drop Qt4 support
|
||||||
Task #5520: Improve cell name autocompleter implementation
|
Task #5520: Improve cell name autocompleter implementation
|
||||||
|
|
||||||
|
|
|
@ -152,6 +152,7 @@ bool Launcher::AdvancedPage::loadSettings()
|
||||||
// Match the index with the option (only 0, 1, 2, or 3 are valid). Will default to 0 if invalid.
|
// Match the index with the option (only 0, 1, 2, or 3 are valid). Will default to 0 if invalid.
|
||||||
if (showOwnedIndex >= 0 && showOwnedIndex <= 3)
|
if (showOwnedIndex >= 0 && showOwnedIndex <= 3)
|
||||||
showOwnedComboBox->setCurrentIndex(showOwnedIndex);
|
showOwnedComboBox->setCurrentIndex(showOwnedIndex);
|
||||||
|
loadSettingBool(stretchBackgroundCheckBox, "stretch menu background", "GUI");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bug fixes
|
// Bug fixes
|
||||||
|
@ -277,6 +278,7 @@ void Launcher::AdvancedPage::saveSettings()
|
||||||
int showOwnedCurrentIndex = showOwnedComboBox->currentIndex();
|
int showOwnedCurrentIndex = showOwnedComboBox->currentIndex();
|
||||||
if (showOwnedCurrentIndex != mEngineSettings.getInt("show owned", "Game"))
|
if (showOwnedCurrentIndex != mEngineSettings.getInt("show owned", "Game"))
|
||||||
mEngineSettings.setInt("show owned", "Game", showOwnedCurrentIndex);
|
mEngineSettings.setInt("show owned", "Game", showOwnedCurrentIndex);
|
||||||
|
saveSettingBool(stretchBackgroundCheckBox, "stretch menu background", "GUI");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Bug fixes
|
// Bug fixes
|
||||||
|
|
|
@ -72,7 +72,7 @@ The Bethesda provided assets have a 4:3 aspect ratio, but other assets are permi
|
||||||
If this setting is false, the assets will be centered in their correct aspect ratio,
|
If this setting is false, the assets will be centered in their correct aspect ratio,
|
||||||
with black bars filling the remainder of the screen.
|
with black bars filling the remainder of the screen.
|
||||||
|
|
||||||
This setting can only be configured by editing the settings configuration file.
|
This setting can be configured in the Interface section of Advanced tab of the launcher.
|
||||||
|
|
||||||
subtitles
|
subtitles
|
||||||
---------
|
---------
|
||||||
|
|
|
@ -714,6 +714,16 @@ True: In non-combat mode camera is positioned behind the character's shoulder. C
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="stretchBackgroundCheckBox">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string><html><head/><body><p>Stretch menus, load screens, etc. to the window aspect ratio.</p></body></html></string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Stretch menu background</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="verticalSpacer_2">
|
<spacer name="verticalSpacer_2">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
|
|
Loading…
Reference in a new issue