| 106 | } |
| 107 | |
| 108 | ILayer* LayerManager::_createLayerObject(std::string_view _type) |
| 109 | { |
| 110 | IObject* object = FactoryManager::getInstance().createObject(mCategoryName, _type); |
| 111 | MYGUI_ASSERT(object != nullptr, "factory '" << _type << "' is not found"); |
| 112 | |
| 113 | return object->castType<ILayer>(); |
| 114 | } |
| 115 | |
| 116 | void LayerManager::_unlinkWidget(Widget* _widget) |
| 117 | { |
nothing calls this directly
no test coverage detected