MCPcopy Create free account
hub / github.com/TheWaveWarden/odin2 / paint

Method paint

Source/gui/PatchBrowser.cpp:604–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

602}
603
604void PatchBrowser::paint(Graphics &g) {
605 g.drawImageAt(UIAssetManager::getInstance()->getUIAsset(UIAssets::Indices::Presets_back, ConfigFileManager::getInstance().getOptionGuiScale()), 0, 0);
606}
607
608void PatchBrowser::loadPatchFromOpenedFileStream(juce::FileInputStream &p_file_stream) {
609 //first see if the patch is of a higher version than we know about:

Callers

nothing calls this directly

Calls 2

getUIAssetMethod · 0.80
getOptionGuiScaleMethod · 0.80

Tested by

no test coverage detected