MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / ofToResourcePath

Function ofToResourcePath

Source/OpenFrameworksPort.cpp:134–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134std::string ofToResourcePath(const std::string& path)
135{
136 if (!path.empty() && (path[0] == '.' || juce::File::isAbsolutePath(path)))
137 return path;
138
139 static const auto sResourceDir = ofToFactoryPath("resource") + '/';
140 return sResourceDir + path;
141}
142
143struct StyleStack
144{

Callers 9

OnPythonInitMethod · 0.85
InitializeMethod · 0.85
ofSetColorFunction · 0.85
LoadHelpMethod · 0.85
LoadTooltipsMethod · 0.85
UpdateUserDataFunction · 0.85
RefreshStyleFilesMethod · 0.85
LoadTextMethod · 0.85
LoadGlobalResourcesFunction · 0.85

Calls 2

ofToFactoryPathFunction · 0.85
emptyMethod · 0.80

Tested by

no test coverage detected