| 830 | } |
| 831 | |
| 832 | std::vector<IUIControl*> IDrawableModule::GetUIControls() const |
| 833 | { |
| 834 | std::vector<IUIControl*> controls = mUIControls; |
| 835 | for (int i = 0; i < mChildren.size(); ++i) |
| 836 | { |
| 837 | std::vector<IUIControl*> childControls = mChildren[i]->GetUIControls(); |
| 838 | controls.insert(controls.end(), childControls.begin(), childControls.end()); |
| 839 | } |
| 840 | return controls; |
| 841 | } |
| 842 | |
| 843 | std::vector<UIGrid*> IDrawableModule::GetUIGrids() const |
| 844 | { |
no test coverage detected