diff options
Diffstat (limited to 'src/frontend/mame/ui/sliders.h')
-rw-r--r-- | src/frontend/mame/ui/sliders.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/frontend/mame/ui/sliders.h b/src/frontend/mame/ui/sliders.h new file mode 100644 index 00000000000..f420b094cbe --- /dev/null +++ b/src/frontend/mame/ui/sliders.h @@ -0,0 +1,39 @@ +// license:BSD-3-Clause +// copyright-holders:Nicola Salmoria, Aaron Giles, Nathan Woods +/*************************************************************************** + + ui/miscmenu.h + + Internal MAME menus for the user interface. + +***************************************************************************/ + +#pragma once + +#ifndef __UI_SLIDERS_H__ +#define __UI_SLIDERS_H__ + +#include <map> + +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() override; + virtual void handle() override; + + virtual void custom_render(void *selectedref, float top, float bottom, float x, float y, float x2, float y2) override; + + static UINT32 ui_handler(running_machine &machine, render_container *container, UINT32 state); + +private: + enum { + INPUT_GROUPS, + INPUT_SPECIFIC, + }; + bool m_menuless_mode; + bool m_hidden; +}; + + +#endif /* __UI_SLIDERS_H__ */ |