mirror of https://github.com/AxioDL/metaforce.git
Add fullscreen CVar checkbox
This commit is contained in:
parent
170d999d1e
commit
f26186d9a6
|
@ -596,6 +596,7 @@ void MainWindow::initOptions() {
|
||||||
initGraphicsApiOption(m_ui->d3d11Option, CurPlatform != Platform::Win32, DEFAULT_GRAPHICS_API == "D3D11"sv);
|
initGraphicsApiOption(m_ui->d3d11Option, CurPlatform != Platform::Win32, DEFAULT_GRAPHICS_API == "D3D11"sv);
|
||||||
initNumberComboOption(m_ui->anistropicFilteringBox, m_cvarCommons.m_texAnisotropy);
|
initNumberComboOption(m_ui->anistropicFilteringBox, m_cvarCommons.m_texAnisotropy);
|
||||||
initNumberComboOption(m_ui->antialiasingBox, m_cvarCommons.m_drawSamples);
|
initNumberComboOption(m_ui->antialiasingBox, m_cvarCommons.m_drawSamples);
|
||||||
|
initCheckboxOption(m_ui->fullscreen, m_cvarCommons.m_fullscreen);
|
||||||
initCheckboxOption(m_ui->deepColor, m_cvarCommons.m_deepColor);
|
initCheckboxOption(m_ui->deepColor, m_cvarCommons.m_deepColor);
|
||||||
|
|
||||||
m_ui->developerModeBox->setToolTip(QString::fromUtf8(hecl::com_developer->rawHelp().data()));
|
m_ui->developerModeBox->setToolTip(QString::fromUtf8(hecl::com_developer->rawHelp().data()));
|
||||||
|
|
|
@ -368,6 +368,13 @@
|
||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="fullscreen">
|
||||||
|
<property name="text">
|
||||||
|
<string>Start in fullscreen</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="deepColor">
|
<widget class="QCheckBox" name="deepColor">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
|
Loading…
Reference in New Issue