MCPcopy Create free account
hub / github.com/DISTRHO/DPF / onPuglText

Method onPuglText

dgl/src/WindowPrivateData.cpp:788–804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786}
787
788void Window::PrivateData::onPuglText(const Widget::CharacterInputEvent& ev)
789{
790 DGL_DBGp("onPuglText : %u %u %s\n", ev.keycode, ev.character, ev.string);
791
792 if (modal.child != nullptr)
793 return modal.child->focus();
794
795#ifndef DPF_TEST_WINDOW_CPP
796 FOR_EACH_TOP_LEVEL_WIDGET_INV(rit)
797 {
798 TopLevelWidget* const widget(*rit);
799
800 if (widget->isVisible() && widget->onCharacterInput(ev))
801 break;
802 }
803#endif
804}
805
806void Window::PrivateData::onPuglMouse(const Widget::MouseEvent& ev)
807{

Callers 1

puglEventCallbackMethod · 0.80

Calls 1

focusMethod · 0.45

Tested by

no test coverage detected