From 34cae4e6e4bb00b3453bcdab084368a949c908a4 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 5 Jan 2024 10:38:35 +1100 Subject: add an alerts module for lua, and implement a volume indicator with it --- src/ui/include/ui_events.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/ui/include/ui_events.hpp') diff --git a/src/ui/include/ui_events.hpp b/src/ui/include/ui_events.hpp index 111f37a8..59be7606 100644 --- a/src/ui/include/ui_events.hpp +++ b/src/ui/include/ui_events.hpp @@ -24,9 +24,9 @@ struct OnStorageChange : tinyfsm::Event { struct OnSystemError : tinyfsm::Event {}; - struct OnLuaError : tinyfsm::Event { - std::string message; - }; +struct OnLuaError : tinyfsm::Event { + std::string message; +}; namespace internal { @@ -54,6 +54,8 @@ struct OnboardingNavigate : tinyfsm::Event { struct ModalConfirmPressed : tinyfsm::Event {}; struct ModalCancelPressed : tinyfsm::Event {}; +struct DismissAlerts : tinyfsm::Event {}; + } // namespace internal } // namespace ui -- cgit v1.2.3