summaryrefslogtreecommitdiff
path: root/lib/nes/app/ui/screen-help.hh
diff options
context:
space:
mode:
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