summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/info_pty.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-05-27 02:59:42 +1000
committer Vas Crabb <vas@vastheman.com>2016-05-27 03:00:20 +1000
commit87429e74d90481317db41dfc45c7751039cd8b48 (patch)
tree662d3fd49661f4dc98611ebedcf8ffee62ed8b42 /src/frontend/mame/ui/info_pty.h
parent4efb2fe8257a7ce35696f8942122358822079056 (diff)
ui refactoring [Vas Crabb]
* move menu classes into ::ui namesapce * reduce scope of many symbols (first step in making UI code less rage-inducing so I can fix text input)
Diffstat (limited to 'src/frontend/mame/ui/info_pty.h')
-rw-r--r--src/frontend/mame/ui/info_pty.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/frontend/mame/ui/info_pty.h b/src/frontend/mame/ui/info_pty.h
index d5ccc43054b..acad9005906 100644
--- a/src/frontend/mame/ui/info_pty.h
+++ b/src/frontend/mame/ui/info_pty.h
@@ -10,15 +10,22 @@
#pragma once
-#ifndef __UI_INFO_PTY_H__
-#define __UI_INFO_PTY_H__
+#ifndef MAME_FRONTEND_UI_INFO_PTY_H
+#define MAME_FRONTEND_UI_INFO_PTY_H
-class ui_menu_pty_info : public ui_menu {
+#include "ui/menu.h"
+
+namespace ui {
+
+class menu_pty_info : public menu
+{
public:
- ui_menu_pty_info(mame_ui_manager &mui, render_container *container);
- virtual ~ui_menu_pty_info();
+ menu_pty_info(mame_ui_manager &mui, render_container *container);
+ virtual ~menu_pty_info() override;
virtual void populate() override;
virtual void handle() override;
};
-#endif // __UI_INFO_PTY_H__
+} // namespace ui
+
+#endif // MAME_FRONTEND_UI_INFO_PTY_H