add ppbr export dialog, implement text input focus

This commit is contained in:
2019-09-12 19:10:42 +02:00
parent c875323516
commit 61bcd86d2c
10 changed files with 97 additions and 16 deletions

View File

@@ -92,6 +92,9 @@ Node* Node::root()
kEventResult Node::on_event(Event* e)
{
kEventResult ret = kEventResult::Available;
if (e->m_cat == kEventCategory::KeyEvent && current_key_capture)
return current_key_capture->on_event(e);
if (current_mouse_capture && current_mouse_capture.get() != this)
{