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

Method paint

Source/PluginEditor.cpp:793–796  ·  view source on GitHub ↗

==============================================================================

Source from the content-addressed store, hash-verified

791
792//==============================================================================
793void OdinEditor::paint(Graphics &g) {
794 juce::Image background = UIAssetManager::getInstance()->getUIAsset(UIAssets::Indices::background, ConfigFileManager::getInstance().getOptionGuiScale());
795 g.drawImageAt(background, 0, 0);
796}
797
798void OdinEditor::resized() {
799 GET_LOCAL_AREA(m_detune_label, "DetuneLabel");

Callers

nothing calls this directly

Calls 2

getUIAssetMethod · 0.80
getOptionGuiScaleMethod · 0.80

Tested by

no test coverage detected