mirror of
https://github.com/taigrr/arduinolibs
synced 2025-01-18 04:33:12 -08:00
21 lines
384 B
C++
21 lines
384 B
C++
#ifndef TextField_h
|
|
#define TextField_h
|
|
|
|
#include "Field.h"
|
|
|
|
class TextField : public Field {
|
|
public:
|
|
explicit TextField(const String &label);
|
|
TextField(Form &form, const String &label, const String &value);
|
|
|
|
void enterField(bool reverse);
|
|
|
|
const String &value() const { return _value; }
|
|
void setValue(const String &value);
|
|
|
|
private:
|
|
String _value;
|
|
};
|
|
|
|
#endif
|