| 22 | using namespace luabind; |
| 23 | |
| 24 | void _attach_child(CUIWindow* _child, CUIWindow* _parent) |
| 25 | { |
| 26 | if (!_parent) |
| 27 | return; |
| 28 | |
| 29 | CUIScrollView* _parent_scroll = smart_cast<CUIScrollView*>(_parent); |
| 30 | if (_parent_scroll) |
| 31 | _parent_scroll->AddWindow(_child, true); |
| 32 | else |
| 33 | _parent->AttachChild(_child); |
| 34 | } |
| 35 | |
| 36 | CScriptXmlInit::CScriptXmlInit() {} |
| 37 |
no test coverage detected