|
TachyonUI 0.1.0
High-performance UI for building tools.
|
What an editable field takes as text, asked while it is edited. More...
#include <gui_core/text/gui_text_converter.h>
Public Member Functions | |
| virtual | ~ITextValidator ()=default |
| virtual bool | AcceptsCharacter (uint32_t) const |
| Whether typing codepoint can be part of the text. | |
| virtual bool | Filter (std::string &) const |
| Strips what the text can't hold (pasted or dropped text, a typed character); true if Text changed. | |
| virtual bool | AcceptsComposition () const |
| Whether an IME may compose text into the field. | |
What an editable field takes as text, asked while it is edited.
An instance given to the text system must outlive the field (a static or a member, not a temporary).
|
virtualdefault |
|
inlinevirtual |
Whether typing codepoint can be part of the text.
Reimplemented in tachyon::TextConverter< T >.
|
inlinevirtual |
Strips what the text can't hold (pasted or dropped text, a typed character); true if Text changed.
Reimplemented in tachyon::TextConverter< T >.
|
inlinevirtual |
Whether an IME may compose text into the field.
Reimplemented in tachyon::TextConverter< T >.