summaryrefslogtreecommitdiff
path: root/lib/nes/app/ui/screen-title.hh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nes/app/ui/screen-title.hh')
-rw-r--r--lib/nes/app/ui/screen-title.hh22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/nes/app/ui/screen-title.hh b/lib/nes/app/ui/screen-title.hh
new file mode 100644
index 0000000..a8dfdc5
--- /dev/null
+++ b/lib/nes/app/ui/screen-title.hh
@@ -0,0 +1,22 @@
+#pragma once
+
+#include "nes/app/ui/screen.hh"
+
+namespace nes::app
+{
+ class input_manager;
+
+ /// The main title screen for the emulator, used as an entrypoint for the UI.
+ ///
+ /// Presents options to load games, adjust settings, and more.
+ class screen_title final : public screen
+ {
+ input_manager& input_manager_;
+
+ public:
+ explicit screen_title(input_manager&);
+
+ auto render(renderer&) -> void override;
+ auto process_events() -> action override;
+ };
+} // namespace nes::app \ No newline at end of file