MCPcopy Create free account
hub / github.com/MyGUI/mygui / setViewSelectors

Method setViewSelectors

Tools/EditorFramework/ScopeTextureControl.cpp:386–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

384 }
385
386 void ScopeTextureControl::setViewSelectors(const VectorCoord& _selectors)
387 {
388 clearViewSelectors();
389
390 bool changes = false;
391 for (const auto& _selector : _selectors)
392 {
393 SelectorControl* selector = getFreeSelector(mBlackSelectors, true, _selector.second, changes);
394 selector->setCoord(_selector.first);
395 }
396
397 // FIXME
398 /*if (changes)
399 {
400 bool visible = mCurrentSelectorControl->getVisible();
401 MyGUI::IntCoord coord = mCoordValue;
402
403 InitialiseSelectors();
404
405 if (visible)
406 setCoordValue(coord, ScopeTextureControl::SelectorPosition); //FIXME
407 }*/
408 }
409
410 void ScopeTextureControl::clearViewSelectors()
411 {

Callers 5

updateFramesMethod · 0.80
updateFramesMethod · 0.80
updateFramesMethod · 0.80
updateFramesMethod · 0.80
updateFramesMethod · 0.80

Calls 1

setCoordMethod · 0.45

Tested by

no test coverage detected