MCPcopy Create free account
hub / github.com/SpartanJ/eepp / panelPosition

Method panelPosition

src/tools/ecode/ecode.cpp:1330–1344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1328}
1329
1330void App::panelPosition( const PanelPosition& panelPosition ) {
1331 mConfig.ui.panelPosition = panelPosition;
1332
1333 if ( !mSidePanel->isVisible() )
1334 return;
1335
1336 if ( ( panelPosition == PanelPosition::Right &&
1337 mProjectSplitter->getFirstWidget() == mSidePanel ) ||
1338 ( panelPosition == PanelPosition::Left &&
1339 mProjectSplitter->getFirstWidget() != mSidePanel ) ) {
1340 mProjectSplitter->swap( true );
1341 }
1342
1343 mSettings->updateViewMenu();
1344}
1345
1346void App::setUIColorScheme( const ColorSchemeExtPreference& colorScheme ) {
1347 if ( colorScheme == mUIColorScheme )

Callers

nothing calls this directly

Calls 4

updateViewMenuMethod · 0.80
isVisibleMethod · 0.45
getFirstWidgetMethod · 0.45
swapMethod · 0.45

Tested by

no test coverage detected