ItemValue
Functions
-
template<typename T>
class ItemValue : public BaseItemZeroWidget - #include <ItemValue.h>
A menu item that displays a value.
This class extends the BaseItemZeroWidget class and provides a menu item that displays a value. The value is provided as a reference during construction and is displayed using the provided format string.
Public Functions
-
inline ItemValue(const char *text, T &value, const char *format)
Protected Functions
-
inline virtual void handleCommit(LcdMenu *menu) override
-
inline virtual void draw(MenuRenderer *renderer) override
Draw this menu item on specified display on current row.
- Parameters:
renderer – The renderer to use for drawing.
-
inline ItemValue(const char *text, T &value, const char *format)