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:
@@ -14,6 +14,7 @@ DISTFILES += \
|
||||
src/res/img/audio/microphone/ptt_notification.svg \
|
||||
src/res/img/battery/* \
|
||||
src/res/img/icons/* \
|
||||
src/res/img/alarm/* \
|
||||
src/res/img/video/* \
|
||||
src/res/img/chaperone/* \
|
||||
src/res/qml/qmldir \
|
||||
|
||||
@@ -22,6 +22,7 @@ SOURCES += src/main.cpp\
|
||||
src/keyboard_input/input_parser.cpp \
|
||||
src/settings/settings.cpp \
|
||||
src/settings/settings_object.cpp \
|
||||
src/alarm_clock/vr_alarm.cpp \
|
||||
|
||||
|
||||
|
||||
@@ -61,7 +62,8 @@ HEADERS += src/overlaycontroller.h \
|
||||
src/settings/internal/settings_controller.h \
|
||||
src/settings/internal/specific_setting_value.h \
|
||||
src/settings/settings_object.h \
|
||||
src/settings/internal/settings_object_data.h
|
||||
src/settings/internal/settings_object_data.h \
|
||||
src/alarm_clock/vr_alarm.h \
|
||||
|
||||
|
||||
win32 {
|
||||
|
||||
Reference in New Issue
Block a user