| 54 | } |
| 55 | |
| 56 | bool CtrlrCustomComponent::keyPressed (const KeyPress &key, Component *originatingComponent) |
| 57 | { |
| 58 | if (keyPressedCbk.get()) |
| 59 | { |
| 60 | if (keyPressedCbk->isValid()) |
| 61 | { |
| 62 | owner.getOwnerPanel().getCtrlrLuaManager().getMethodManager().call (keyPressedCbk, this, key, originatingComponent); |
| 63 | } |
| 64 | } |
| 65 | return (false); |
| 66 | } |
| 67 | |
| 68 | bool CtrlrCustomComponent::keyStateChanged (bool isKeyDown, Component *originatingComponent) |
| 69 | { |