summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/mainmenu.h
blob: d34da5e009e7dc200b60c8cb332d28382d3069c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// license:BSD-3-Clause
// copyright-holders:Nicola Salmoria, Aaron Giles, Nathan Woods
/***************************************************************************

    ui/mainmenu.h

    Internal MAME menus for the user interface.

***************************************************************************/

#ifndef MAME_FRONTEND_UI_MAINMENU_H
#define MAME_FRONTEND_UI_MAINMENU_H

#pragma once

#include "ui/menu.h"


namespace ui {

class menu_main : public menu
{
public:
	menu_main(mame_ui_manager &mui, render_container &container);
	virtual ~menu_main();

protected:
	virtual void menu_activated() override;

private:
	virtual void populate() override;
	virtual bool handle(event const *ev) override;

	machine_phase m_phase;
};

} // namespace ui

#endif // MAME_FRONTEND_UI_MAINMENU_H