From 8062afc25e895cb49e76f6e26e51a7d4a1ad2df2 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Sat, 1 Feb 2025 23:32:55 +0100 Subject: revamp input system --- lib/nes/app/ui/screen-title.hh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/nes/app/ui/screen-title.hh') diff --git a/lib/nes/app/ui/screen-title.hh b/lib/nes/app/ui/screen-title.hh index a8dfdc5..2ebc78a 100644 --- a/lib/nes/app/ui/screen-title.hh +++ b/lib/nes/app/ui/screen-title.hh @@ -11,7 +11,15 @@ namespace nes::app /// Presents options to load games, adjust settings, and more. class screen_title final : public screen { + enum class item + { + load_game, + settings, + help, + }; + input_manager& input_manager_; + item selected_item_{ item::load_game }; public: explicit screen_title(input_manager&); -- cgit v1.3.1