summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/inputpair.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/render/bgfx/inputpair.h')
-rw-r--r--src/osd/modules/render/bgfx/inputpair.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/osd/modules/render/bgfx/inputpair.h b/src/osd/modules/render/bgfx/inputpair.h
index 4ec81552f19..37c890c3f13 100644
--- a/src/osd/modules/render/bgfx/inputpair.h
+++ b/src/osd/modules/render/bgfx/inputpair.h
@@ -17,11 +17,12 @@
#include <string>
#include "../frontend/mame/ui/menuitem.h"
+#include "../frontend/mame/ui/sliderchangednotifier.h"
class bgfx_effect;
class chain_manager;
-class bgfx_input_pair
+class bgfx_input_pair : public slider_changed_notifier
{
public:
bgfx_input_pair(int index, std::string sampler, std::string texture, std::vector<std::string> available_textures, std::string selection, chain_manager& chains, uint32_t screen_index);
@@ -36,6 +37,7 @@ public:
std::vector<ui::menu_item> get_slider_list();
private:
+ virtual INT32 slider_changed(running_machine &machine, void *arg, int /*id*/, std::string *str, INT32 newval) override;
void create_selection_slider(uint32_t screen_index);
bool needs_sliders();