summaryrefslogtreecommitdiff
path: root/lib/nes/app/ui/screen-title.hh
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-02-01 23:32:55 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-02-01 23:32:55 +0100
commit8062afc25e895cb49e76f6e26e51a7d4a1ad2df2 (patch)
treef64e6522a84a8f58912b9e58a66c187fbcaadd78 /lib/nes/app/ui/screen-title.hh
parentbf88e17d552d85cd18bc31757ef9d73049b327c4 (diff)
revamp input system
Diffstat (limited to 'lib/nes/app/ui/screen-title.hh')
-rw-r--r--lib/nes/app/ui/screen-title.hh8
1 files changed, 8 insertions, 0 deletions
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&);