Add fullscreen CVar checkbox

This commit is contained in:
Luke Street 2021-03-30 16:51:00 -04:00
parent 170d999d1e
commit f26186d9a6
2 changed files with 8 additions and 0 deletions

View File

@ -596,6 +596,7 @@ void MainWindow::initOptions() {
initGraphicsApiOption(m_ui->d3d11Option, CurPlatform != Platform::Win32, DEFAULT_GRAPHICS_API == "D3D11"sv);
initNumberComboOption(m_ui->anistropicFilteringBox, m_cvarCommons.m_texAnisotropy);
initNumberComboOption(m_ui->antialiasingBox, m_cvarCommons.m_drawSamples);
initCheckboxOption(m_ui->fullscreen, m_cvarCommons.m_fullscreen);
initCheckboxOption(m_ui->deepColor, m_cvarCommons.m_deepColor);
m_ui->developerModeBox->setToolTip(QString::fromUtf8(hecl::com_developer->rawHelp().data()));

View File

@ -368,6 +368,13 @@
</item>
</widget>
</item>
<item>
<widget class="QCheckBox" name="fullscreen">
<property name="text">
<string>Start in fullscreen</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="deepColor">
<property name="text">