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

Method ClearActiveKeyboardFocus

Source/TextEntry.cpp:40–45  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

38
39//static
40void IKeyboardFocusListener::ClearActiveKeyboardFocus(bool notifyListeners)
41{
42 if (sCurrentKeyboardFocus && notifyListeners)
43 sCurrentKeyboardFocus->AcceptEntry(false);
44 sCurrentKeyboardFocus = nullptr;
45}
46
47TextEntry::TextEntry(ITextEntryListener* owner, const char* name, int x, int y, int charWidth, char* var)
48: mVarCString(var)

Callers

nothing calls this directly

Calls 1

AcceptEntryMethod · 0.45

Tested by

no test coverage detected