ItemFloatRange

Defines

ITEM_FLOAT_RANGE(...)
class ItemFloatRange : public ItemRangeBase<float>
#include <ItemFloatRange.h>

Item that allows user to input float information within a range. The value can be incremented or decremented by a specified step.

Public Functions

inline ItemFloatRange(const char *text, const float min, const float max, float startingValue, fptrFloat callback, const char *format = "%.2f", float step = 0.1f, bool commitOnChange = false)
inline virtual char *getDisplayValue() override

Returns the value to be displayed. If a unit is provided, it will be concatenated to the value.

Returns:

The value to be displayed.