MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / GetThemePath

Function GetThemePath

src/openrct2-ui/interface/Theme.cpp:705–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

703 }
704
705 std::string GetThemePath()
706 {
707 auto context = GetContext();
708 auto& env = context->GetPlatformEnvironment();
709 return env.GetDirectoryPath(DirBase::user, DirId::themes);
710 }
711 } // namespace ThemeManager
712
713 void ThemeManagerLoadAvailableThemes()

Callers 3

GetAvailableThemesFunction · 0.85
GetThemeFileNameFunction · 0.85

Calls 2

GetContextFunction · 0.85
GetDirectoryPathMethod · 0.80

Tested by

no test coverage detected