| 595 | } |
| 596 | |
| 597 | void LookAndFeelBase::setMethod (const String &methodName, const luabind::object &method) |
| 598 | { |
| 599 | if (luabind::type(method) != LUA_TNIL) |
| 600 | { |
| 601 | methods.set (methodName, method); |
| 602 | } |
| 603 | else |
| 604 | { |
| 605 | methods.remove(methodName); |
| 606 | } |
| 607 | } |
| 608 | |
| 609 | void LookAndFeelBase::setImplementation (const luabind::object &implementationAsTable) |
| 610 | { |