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

Method _resetContainer

MyGUIEngine/src/MyGUI_ItemBox.cpp:504–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

502 }
503
504 void ItemBox::_resetContainer(bool _update)
505 {
506 // обязательно у базового
507 Base::_resetContainer(_update);
508
509 if (!_update)
510 {
511 WidgetManager& instance = WidgetManager::getInstance();
512 for (auto& vectorItem : mVectorItems)
513 {
514 instance.unlinkFromUnlinkers(vectorItem);
515 }
516 }
517 }
518
519 Widget* ItemBox::getWidgetByIndex(size_t _index)
520 {

Callers

nothing calls this directly

Calls 1

unlinkFromUnlinkersMethod · 0.80

Tested by

no test coverage detected