| 841 | } |
| 842 | |
| 843 | std::vector<UIGrid*> IDrawableModule::GetUIGrids() const |
| 844 | { |
| 845 | std::vector<UIGrid*> grids = mUIGrids; |
| 846 | for (int i = 0; i < mChildren.size(); ++i) |
| 847 | { |
| 848 | std::vector<UIGrid*> childGrids = mChildren[i]->GetUIGrids(); |
| 849 | grids.insert(grids.end(), childGrids.begin(), childGrids.end()); |
| 850 | } |
| 851 | return grids; |
| 852 | } |
| 853 | |
| 854 | void IDrawableModule::GetDimensions(float& width, float& height) |
| 855 | { |
no test coverage detected