Initial docking of bars
| 464 | |
| 465 | // Initial docking of bars |
| 466 | void ToolDock::LoadConfig() |
| 467 | { |
| 468 | // Add all ordered toolbars |
| 469 | for(const auto &place : GetConfiguration()) { |
| 470 | auto bar = place.pTree->pBar; |
| 471 | this->Dock(bar, false); |
| 472 | // Show it -- hidden bars are not (yet) ever saved as part of a |
| 473 | // configuration |
| 474 | Expose( bar->GetSection(), true ); |
| 475 | } |
| 476 | Updated(); |
| 477 | } |
| 478 | |
| 479 | // A policy object for the skeleton routine below |
| 480 | class ToolDock::LayoutVisitor |
no test coverage detected