| 298 | } |
| 299 | |
| 300 | void ModuleContainer::AddModule(IDrawableModule* module) |
| 301 | { |
| 302 | mModules.push_back(module); |
| 303 | MoveToFront(module); |
| 304 | TheSynth->OnModuleAdded(module); |
| 305 | module->SetOwningContainer(this); |
| 306 | if (mOwner) |
| 307 | mOwner->AddChild(module); |
| 308 | } |
| 309 | |
| 310 | void ModuleContainer::TakeModule(IDrawableModule* module) |
| 311 | { |
no test coverage detected