Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
483
void TextEntry::ClearInput()
484
{
485
std::memset(mString, 0, MAX_TEXTENTRY_LENGTH);
486
mCaretPosition = 0;
487
mCaretPosition2 = 0;
488
}
489
490
void TextEntry::SetText(std::string text)
491
{
Callers
1
AttemptTextInput
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected