ItemIntRange

Defines

ITEM_INT_RANGE(...)
class ItemIntRange : public ItemRangeBase<int>
#include <ItemIntRange.h>

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

Public Functions

inline ItemIntRange(const char *text, const int min, const int max, int startingValue, fptrInt callback, const char *unit = NULL, int step = 1, 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.