@@ -130,6 +130,9 @@ GraphicsSettingsWidget::GraphicsSettingsWidget(SettingsWindow* dialog, QWidget*
130130 SettingWidgetBinder::BindWidgetToBoolSetting (sif, m_ui.osdShowHardwareInfo , " EmuCore/GS" , " OsdShowHardwareInfo" , false );
131131 SettingWidgetBinder::BindWidgetToBoolSetting (sif, m_ui.osdShowVideoCapture , " EmuCore/GS" , " OsdShowVideoCapture" , true );
132132 SettingWidgetBinder::BindWidgetToBoolSetting (sif, m_ui.osdShowInputRec , " EmuCore/GS" , " OsdShowInputRec" , true );
133+ SettingWidgetBinder::BindWidgetToBoolSetting (sif, m_ui.osdShowSystemTime , " EmuCore/GS" , " OsdShowSystemTime" , false );
134+ SettingWidgetBinder::BindWidgetToBoolSetting (sif, m_ui.osdShowSystemDate , " EmuCore/GS" , " OsdShowSystemDate" , false );
135+ // SettingWidgetBinder::BindWidgetToBoolSetting(sif, m_ui.osdShowUTCOffset, "EmuCore/GS", "OsdShowUTCOffset", false); TODO show what timezone an user has like UTC - 3 or UTC + 1 maybe even regional variants but less priority
133136 SettingWidgetBinder::BindWidgetToBoolSetting (sif, m_ui.warnAboutUnsafeSettings , " EmuCore" , " WarnAboutUnsafeSettings" , true );
134137 SettingWidgetBinder::BindWidgetToBoolSetting (sif, m_ui.fxaa , " EmuCore/GS" , " fxaa" , false );
135138 SettingWidgetBinder::BindWidgetToBoolSetting (sif, m_ui.shadeBoost , " EmuCore/GS" , " ShadeBoost" , false );
@@ -799,6 +802,15 @@ GraphicsSettingsWidget::GraphicsSettingsWidget(SettingsWindow* dialog, QWidget*
799802 dialog->registerWidgetHelp (m_ui.osdShowHardwareInfo , tr (" Show Hardware Info" ), tr (" Unchecked" ),
800803 tr (" Shows the current system hardware information on the OSD." ));
801804
805+ dialog->registerWidgetHelp (m_ui.osdShowSystemTime , tr (" Show System Time" ), tr (" Unchecked" ),
806+ tr (" Shows the current system time in the top-right corner of the display currently with Hour:Minute:Second (HH:MM:SS) format." ));
807+
808+ dialog->registerWidgetHelp (m_ui.osdShowSystemDate , tr (" Show System Date" ), tr (" Unchecked" ),
809+ tr (" Shows the current system date in the top-right corner of the display currerntly with Year-Month-Day (YYYY-MM-DD) format." ));
810+
811+ // dialog->registerWidgetHelp(m_ui.osdShowUTCOffset, tr("Show UTC Offset"), tr("Unchecked"),
812+ // tr("Shows the current UTC/GMT offset in the top-right corner of the display."));
813+
802814 dialog->registerWidgetHelp (m_ui.warnAboutUnsafeSettings , tr (" Warn About Unsafe Settings" ), tr (" Checked" ),
803815 tr (" Displays warnings when settings are enabled which may break games." ));
804816 }
@@ -975,6 +987,9 @@ void GraphicsSettingsWidget::onPerformancePosChanged()
975987 m_ui.osdShowIndicators ->setEnabled (enabled);
976988 m_ui.osdShowFrameTimes ->setEnabled (enabled);
977989 m_ui.osdShowVersion ->setEnabled (enabled);
990+ m_ui.osdShowSystemTime ->setEnabled (enabled);
991+ m_ui.osdShowSystemDate ->setEnabled (enabled);
992+ // m_ui.osdShowUTCOffset->setEnabled(enabled);
978993}
979994
980995void GraphicsSettingsWidget::onTextureDumpChanged ()
0 commit comments