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

Method Expose

src/toolbars/ToolManager.cpp:1066–1079  ·  view source on GitHub ↗

Set the visible/hidden state of a toolbar

Source from the content-addressed store, hash-verified

1064// Set the visible/hidden state of a toolbar
1065//
1066void ToolManager::Expose( Identifier type, bool show )
1067{
1068 ToolBar *t = mBars[type].get();
1069
1070 // Handle docked and floaters differently
1071 if( t->IsDocked() )
1072 {
1073 t->GetDock()->Expose( t->GetSection(), show );
1074 }
1075 else
1076 {
1077 t->Expose( show );
1078 }
1079}
1080
1081//
1082// Ask both docks to (re)layout their bars

Callers 2

ReadConfigMethod · 0.45
OnShowToolBarMethod · 0.45

Calls 4

GetDockMethod · 0.80
GetSectionMethod · 0.80
getMethod · 0.45
IsDockedMethod · 0.45

Tested by

no test coverage detected