| 43 | } |
| 44 | |
| 45 | void CtrlrCustomComponent::paint (Graphics &g) |
| 46 | { |
| 47 | if (paintCbk && !paintCbk.wasObjectDeleted()) |
| 48 | { |
| 49 | if (paintCbk->isValid()) |
| 50 | { |
| 51 | owner.getOwnerPanel().getCtrlrLuaManager().getMethodManager().call (paintCbk, this, g); |
| 52 | } |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | bool CtrlrCustomComponent::keyPressed (const KeyPress &key, Component *originatingComponent) |
| 57 | { |