summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/sliders.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/sliders.h')
-rw-r--r--src/emu/ui/sliders.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/emu/ui/sliders.h b/src/emu/ui/sliders.h
new file mode 100644
index 00000000000..d7fdb081dc0
--- /dev/null
+++ b/src/emu/ui/sliders.h
@@ -0,0 +1,33 @@
+/***************************************************************************
+
+ ui/miscmenu.h
+
+ Internal MAME menus for the user interface.
+
+ Copyright Nicola Salmoria and the MAME Team.
+ Visit http://mamedev.org for licensing and usage restrictions.
+
+***************************************************************************/
+
+#pragma once
+
+#ifndef __UI_SLIDERS_H__
+#define __UI_SLIDERS_H__
+
+class ui_menu_sliders : public ui_menu {
+public:
+ ui_menu_sliders(running_machine &machine, render_container *container, bool menuless_mode = false);
+ virtual ~ui_menu_sliders();
+ virtual void populate();
+ virtual void handle();
+
+ virtual void custom_render(void *selectedref, float top, float bottom, float x, float y, float x2, float y2);
+
+ static UINT32 ui_handler(running_machine &machine, render_container *container, UINT32 state);
+
+private:
+ bool menuless_mode, hidden;
+};
+
+
+#endif /* __UI_SLIDERS_H__ */