From 30b4364c772114303d9045677186a53855ea5343 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Thu, 6 Feb 2025 16:28:39 +0100 Subject: implement in-game popups --- lib/nes/app/action.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/nes/app/action.hh') diff --git a/lib/nes/app/action.hh b/lib/nes/app/action.hh index f63c17d..cca7a35 100644 --- a/lib/nes/app/action.hh +++ b/lib/nes/app/action.hh @@ -17,6 +17,8 @@ namespace nes::app go_to_settings, go_to_help, close_popup, + cancel_quit, + confirm_quit, launch_game, show_error, }; @@ -35,6 +37,8 @@ namespace nes::app static auto go_to_settings() -> action { return action{ type::go_to_settings }; } static auto go_to_help() -> action { return action{ type::go_to_help }; } static auto close_popup() -> action { return action{ type::close_popup }; } + static auto cancel_quit() -> action { return action{ type::cancel_quit }; } + static auto confirm_quit() -> action { return action{ type::confirm_quit }; } static auto launch_game(std::string_view const file_name) -> action { -- cgit v1.3.1