MCPcopy Create free account
hub / github.com/ddnet/ddnet / GetClipboardText

Method GetClipboardText

src/engine/client/input.cpp:327–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327std::string CInput::GetClipboardText()
328{
329 char *pClipboardText = SDL_GetClipboardText();
330 std::string ClipboardText = pClipboardText;
331 SDL_free(pClipboardText);
332 return ClipboardText;
333}
334
335void CInput::SetClipboardText(const char *pText)
336{

Callers 3

ProcessInputMethod · 0.80
DoColorPickerButtonMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected