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

Method onColorSchemeChanged

src/tools/ecode/ecode.cpp:1823–1843  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1821}
1822
1823void App::onColorSchemeChanged( const std::string& ) {
1824 mSettings->updateColorSchemeMenu();
1825 mGlobalSearchController->updateColorScheme( mSplitter->getCurrentColorScheme() );
1826
1827 if ( mStatusBuildOutputController && mStatusBuildOutputController->getContainer() ) {
1828 mStatusBuildOutputController->getContainer()->setColorScheme(
1829 mSplitter->getCurrentColorScheme() );
1830 }
1831
1832 if ( mStatusAppOutputController && mStatusAppOutputController->getContainer() ) {
1833 mStatusAppOutputController->getContainer()->setColorScheme(
1834 mSplitter->getCurrentColorScheme() );
1835 }
1836
1837 if ( "syntax_color_scheme" == mConfig.ui.theme )
1838 setTheme( "syntax_color_scheme" );
1839
1840 mNotificationCenter->addNotification(
1841 String::format( i18n( "color_scheme_set", "Color scheme: %s" ).toUtf8(),
1842 mSplitter->getCurrentColorScheme().getName() ) );
1843}
1844
1845void App::cleanUpRecentFiles() {
1846#if EE_PLATFORM == EE_PLATFORM_WIN

Callers 1

applyColorSchemeMethod · 0.80

Calls 10

formatFunction · 0.85
getCurrentColorSchemeMethod · 0.80
addNotificationMethod · 0.80
toUtf8Method · 0.80
setThemeFunction · 0.50
updateColorSchemeMenuMethod · 0.45
updateColorSchemeMethod · 0.45
getContainerMethod · 0.45
setColorSchemeMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected