| 303 | } |
| 304 | |
| 305 | void InputManager::onClipboardChanged(std::string_view _type, std::string_view _data) |
| 306 | { |
| 307 | if (_type == "Text") |
| 308 | SDL_SetClipboardText(MyGUI::TextIterator::getOnlyText(MyGUI::UString(_data)).asUTF8().c_str()); |
| 309 | } |
| 310 | |
| 311 | void InputManager::onClipboardRequested(std::string_view _type, std::string& _data) |
| 312 | { |