| 154 | } |
| 155 | |
| 156 | void IndexTextureController::updateFrames() |
| 157 | { |
| 158 | mFrames.clear(); |
| 159 | |
| 160 | if (mParentData != nullptr) |
| 161 | { |
| 162 | for (Data::VectorData::const_iterator child = mParentData->getChilds().begin(); |
| 163 | child != mParentData->getChilds().end(); |
| 164 | child++) |
| 165 | { |
| 166 | MyGUI::IntPoint value = (*child)->getPropertyValue<MyGUI::IntPoint>("Point"); |
| 167 | mFrames.emplace_back(MyGUI::IntCoord(value, mSize), ScopeTextureControl::SelectorPosition); |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | if (mControl != nullptr) |
| 172 | mControl->setViewSelectors(mFrames); |
| 173 | } |
| 174 | |
| 175 | } |
nothing calls this directly
no test coverage detected