From eee3d6fed878dd8e647798e1de7288c90a816804 Mon Sep 17 00:00:00 2001 From: Markus Gerber Date: Fri, 2 May 2025 16:29:37 +0200 Subject: add first version of screen-help --- lib/nes/app/ui/screen-help.hh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 lib/nes/app/ui/screen-help.hh (limited to 'lib/nes/app/ui/screen-help.hh') 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 -- cgit v1.3.1