| 192 | } |
| 193 | |
| 194 | size_t PropertiesPanelView::getIndexByDepth(size_t _depth) |
| 195 | { |
| 196 | size_t result = 1; |
| 197 | for (auto& item : mMapPropertyWindow) |
| 198 | { |
| 199 | if (item.second->getDepth() < _depth) |
| 200 | { |
| 201 | size_t index = getIndexPanel(item.second); |
| 202 | if (index >= result) |
| 203 | result = index + 1; |
| 204 | } |
| 205 | } |
| 206 | return result; |
| 207 | } |
| 208 | |
| 209 | size_t PropertiesPanelView::getIndexPanel(PanelProperties* _panel) |
| 210 | { |