summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/devopt.h
diff options
context:
space:
mode:
author etabeta78 <etabeta78@users.noreply.github.com>2015-01-16 21:46:01 +0100
committer etabeta78 <etabeta78@users.noreply.github.com>2015-01-16 21:46:01 +0100
commit09683be0d8fa70748032cbe81af5e79dc38d846b (patch)
tree292ccdd3fbc377b2f6725b3c38f5a1e9f878a8e2 /src/emu/ui/devopt.h
parentd6b3d56042dbf3046571805639bf14a45e6580c3 (diff)
ui: added barebone menu for device-specific options. click on any slot
device option to see whether it is currently mounted or not, and which additional options depend on the selected value. [Fabio Priuli] out of whatsnew: eventually, mounted devices should be configurable from this menu.
Diffstat (limited to 'src/emu/ui/devopt.h')
-rw-r--r--src/emu/ui/devopt.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/emu/ui/devopt.h b/src/emu/ui/devopt.h
new file mode 100644
index 00000000000..2640d358460
--- /dev/null
+++ b/src/emu/ui/devopt.h
@@ -0,0 +1,31 @@
+/***************************************************************************
+
+ ui/devopt.h
+
+ Internal menu for the device configuration.
+
+ Copyright Nicola Salmoria and the MAME Team.
+ Visit http://mamedev.org for licensing and usage restrictions.
+
+***************************************************************************/
+
+#pragma once
+
+#ifndef __UI_DEVOPT_H__
+#define __UI_DEVOPT_H__
+
+class ui_menu_device_config : public ui_menu {
+public:
+ ui_menu_device_config(running_machine &machine, render_container *container, device_slot_interface *slot, device_slot_option *option);
+ virtual ~ui_menu_device_config();
+ virtual void populate();
+ virtual void handle();
+
+private:
+ device_slot_interface *m_owner;
+ device_slot_option *m_option;
+ bool m_mounted;
+};
+
+
+#endif /* __UI_DEVOPT_H__ */