| 96 | } |
| 97 | |
| 98 | void fui::dispatchKeyboardEvent(fuiFile* file, bool state, int c) { |
| 99 | FJ_FuiNode* node = file->m_data.m_fuiSymbol->m_stage; // ??? |
| 100 | |
| 101 | if (FJ_FuiNode* focus = static_cast<FJ_FuiNodeStage*>(node)->getFocus()) |
| 102 | node = focus; |
| 103 | |
| 104 | node->dispatchEvent(new FJ_KeyboardEvent(state, c, true, false)); |
| 105 | } |
| 106 | |
| 107 | // param names guessed |
| 108 | void fui::dispatchMouseMoveEvent(fuiFile* file, float x, float y) { |
no test coverage detected