Converts the typed text of a numeric field to its value, or returns std::nullopt to reject it. More...
#include "donner/editor/InspectorNumericInput.h"
Public Attributes | |
| std::optional< double >(* | parse )(const void *context, std::string_view text) = nullptr |
| Parse function, called with context and the typed text. | |
| const void * | context = nullptr |
| Caller state passed to parse. | |
Converts the typed text of a numeric field to its value, or returns std::nullopt to reject it.
| const void* donner::editor::InspectorTextParser::context = nullptr |
Caller state passed to parse.
| std::optional< double >(* donner::editor::InspectorTextParser::parse) (const void *context, std::string_view text) = nullptr |
Parse function, called with context and the typed text.