summaryrefslogtreecommitdiff
path: root/lib/nes/app/ui/screen-title.hh
blob: a8dfdc53c8610296d0334ed90ad82a16d49f7266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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