|
TachyonUI 0.1.0
High-performance UI for building tools.
|
#include <gui_core/text/gui_text_converter.h>
Public Member Functions | |
| std::string | Format (const T &value, bool editing) const |
| bool | Parse (std::string_view text, T &value) const |
| bool | AcceptsCharacter (uint32_t codepoint) const override |
| Whether typing codepoint can be part of the text. | |
| bool | Filter (std::string &text) const override |
| Strips what the text can't hold (pasted or dropped text, a typed character); true if Text changed. | |
| bool | AcceptsComposition () const override |
| Whether an IME may compose text into the field. | |
| Public Member Functions inherited from tachyon::ITextValidator | |
| virtual | ~ITextValidator ()=default |
|
inline |
|
inline |
|
inlineoverridevirtual |
Whether typing codepoint can be part of the text.
Reimplemented from tachyon::ITextValidator.
|
inlineoverridevirtual |
Strips what the text can't hold (pasted or dropped text, a typed character); true if Text changed.
Reimplemented from tachyon::ITextValidator.
|
inlineoverridevirtual |
Whether an IME may compose text into the field.
Reimplemented from tachyon::ITextValidator.