MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / ClearInput

Method ClearInput

Source/TextEntry.cpp:483–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483void TextEntry::ClearInput()
484{
485 std::memset(mString, 0, MAX_TEXTENTRY_LENGTH);
486 mCaretPosition = 0;
487 mCaretPosition2 = 0;
488}
489
490void TextEntry::SetText(std::string text)
491{

Callers 1

AttemptTextInputMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected