Refactor alarm system and replace notification method

The old OpenVR overlays did not function for unknown reasons, and it was
not possible to get them to work.

With this a white overlay with ALARM ACTIVATED will be shown for 3 seconds.
It's not pretty, but it effectively communicates that an alarm has been
activated.

This fixes
https://github.com/OpenVR-Advanced-Settings/OpenVR-AdvancedSettings/issues/417
This commit is contained in:
Vasily
2020-06-05 20:52:13 +02:00
committed by username223
parent 8c2af7477c
commit 4757756d32
16 changed files with 531 additions and 457 deletions
@@ -546,6 +546,10 @@ private:
SettingCategory::Utility,
QtInfo{ "alarmMinute" },
0 },
IntSettingValue{ IntSetting::UTILITY_alarmSecond,
SettingCategory::Utility,
QtInfo{ "alarmSecond" },
0 },
IntSettingValue{ IntSetting::ROTATION_autoturnLinearTurnSpeed,
SettingCategory::Rotation,
QtInfo{ "autoturnLinearTurnSpeed" },