summaryrefslogtreecommitdiff
path: root/lib/nes/app/ui/screen-help.hh
diff options
context:
space:
mode:
authorMarkus Gerber <markus.gerber@fau.de>2025-05-02 16:29:37 +0200
committerMarkus Gerber <markus.gerber@fau.de>2025-05-02 16:29:37 +0200
commiteee3d6fed878dd8e647798e1de7288c90a816804 (patch)
treeff3f3aaf3a165a6387bdff3b879216c2ed919a60 /lib/nes/app/ui/screen-help.hh
parent850159dc9663a1cb0a7bb8f25fe1d426134ccabb (diff)
add first version of screen-help
Diffstat (limited to 'lib/nes/app/ui/screen-help.hh')
-rw-r--r--lib/nes/app/ui/screen-help.hh23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/nes/app/ui/screen-help.hh b/lib/nes/app/ui/screen-help.hh
new file mode 100644
index 0000000..882772b
--- /dev/null
+++ b/lib/nes/app/ui/screen-help.hh
@@ -0,0 +1,23 @@
+#pragma once
+
+#include "nes/app/ui/screen.hh"
+#include "nes/app/ui/selection.hh"
+
+namespace nes::app
+{
+ class input_manager;
+
+ /// Screen used to configure various emulator options.
+ class screen_help final : public screen
+ {
+ static constexpr auto page_size = u32{ 8 };
+
+ input_manager& input_manager_;
+
+ public:
+ explicit screen_help(input_manager&);
+
+ auto render(renderer&) -> void override;
+ auto process_events() -> action override;
+ };
+} // namespace nes::app \ No newline at end of file