Files
eslabsCurses/src/UIString.h
T

19 lines
417 B
C++

#ifndef __UI_STRING__
#define __UI_STRING__
#include "UIComponent.h"
// Representation of single line strings
struct UIString : UIElement {
static const std::size_t bufferSize = 64;
char value[bufferSize];
UIString();
UIString(Arduino_GFX *d, UIDimensions dims, UIDecorations decor,
char *title);
void Update(const char *value, bool forceRedraw) override;
void Redraw() override;
};
#endif