summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/bgfx/sliderreader.h
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2016-04-22 19:32:35 +0200
committer ImJezze <jezze@gmx.net>2016-04-22 19:32:35 +0200
commitb681e5dc2bd9972a1dd1bc34eee8d61e3791bfe5 (patch)
tree85fe33988a1bfbb848eeee5ee26c2046509b3329 /src/osd/modules/render/bgfx/sliderreader.h
parent9167349e5e54379054ec042e3d102c3bbae6e521 (diff)
Simplified min, max, default and step value handling for chain configuration
- min, max, default and step are now floating points without an addition scale factor
Diffstat (limited to 'src/osd/modules/render/bgfx/sliderreader.h')
-rw-r--r--src/osd/modules/render/bgfx/sliderreader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/render/bgfx/sliderreader.h b/src/osd/modules/render/bgfx/sliderreader.h
index 1562a49a1bb..d46d787f287 100644
--- a/src/osd/modules/render/bgfx/sliderreader.h
+++ b/src/osd/modules/render/bgfx/sliderreader.h
@@ -24,7 +24,7 @@ public:
static std::vector<bgfx_slider*> read_from_value(const Value& value, std::string prefix, running_machine& machine, uint32_t window_index, uint32_t screen_index);
private:
- static bool get_values(const Value& value, std::string prefix, std::string name, int* values, const int count);
+ static bool get_values(const Value& value, std::string prefix, std::string name, float* values, const int count);
static bool validate_parameters(const Value& value, std::string prefix);
static const int TYPE_COUNT = 5;