summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/chainmanager.h
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2021-01-27 19:13:27 -0500
committer AJR <ajrhacker@users.noreply.github.com>2021-01-27 19:25:18 -0500
commit1ef9d6991b39bc03565278f35b4af97e44c7bcbf (patch)
treea2915371d4f4ad8534ee989e8aa8b53f5d4c5e82 /src/osd/modules/render/bgfx/chainmanager.h
parentcdde43b7a70f8aa434a028840d661c532525b1f2 (diff)
ui: Clean up slider callbacks
Diffstat (limited to 'src/osd/modules/render/bgfx/chainmanager.h')
-rw-r--r--src/osd/modules/render/bgfx/chainmanager.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/osd/modules/render/bgfx/chainmanager.h b/src/osd/modules/render/bgfx/chainmanager.h
index f4daf9a25a9..2c130354dc1 100644
--- a/src/osd/modules/render/bgfx/chainmanager.h
+++ b/src/osd/modules/render/bgfx/chainmanager.h
@@ -22,7 +22,6 @@
#include "targetmanager.h"
#include "effectmanager.h"
#include "../frontend/mame/ui/menuitem.h"
-#include "../frontend/mame/ui/sliderchangednotifier.h"
#include "render.h"
class running_machine;
@@ -47,7 +46,7 @@ public:
const std::string m_path;
};
-class chain_manager : public slider_changed_notifier
+class chain_manager
{
public:
chain_manager(running_machine& machine, osd_options& options, texture_manager& textures, target_manager& targets, effect_manager& effects, uint32_t window_index, slider_dirty_notifier& slider_notifier);
@@ -123,7 +122,7 @@ private:
void update_screen_count(uint32_t screen_count);
- virtual int32_t slider_changed(running_machine &machine, void *arg, int id, std::string *str, int32_t newval) override;
+ int32_t slider_changed(int id, std::string *str, int32_t newval);
void create_selection_slider(uint32_t screen_index);
bool needs_sliders();