virtual bool ValidateNewText(const char *text)
Definition: TextEdit.cpp:94
TextEdit()
Definition: TextEdit.cpp:63
DrawResult Draw(const DrawContext &context) override
Definition: TextEdit.cpp:102
~TextEdit()
Definition: TextEdit.cpp:70
Size CalcPreferredSize(const Theme &theme) const override
Definition: TextEdit.cpp:96
void SetOnValueChanged(std::function< void(const char *)> on_value_changed)
Definition: TextEdit.cpp:89
Definition: TextEdit.cpp:55
void SetOnTextChanged(std::function< void(const char *)> on_text_changed)
Definition: TextEdit.cpp:84
void SetText(const char *text)
Definition: TextEdit.cpp:74
const char * GetText() const
Returns the current text value displayed.
Definition: TextEdit.cpp:72
const char * GetPlaceholderText() const
Returns the text displayed if the text value is empty.
Definition: TextEdit.cpp:76
void SetPlaceholderText(const char *text)
Sets the text to display if the text value is empty.
Definition: TextEdit.cpp:80
Definition: TextEdit.h:36