MCPcopy Create free account
hub / github.com/audacity/audacity / LoadConfig

Method LoadConfig

src/toolbars/ToolDock.cpp:466–477  ·  view source on GitHub ↗

Initial docking of bars

Source from the content-addressed store, hash-verified

464
465// Initial docking of bars
466void 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
480class ToolDock::LayoutVisitor

Callers 1

ReadConfigMethod · 0.80

Calls 2

DockMethod · 0.95
GetSectionMethod · 0.80

Tested by

no test coverage detected