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

Method paint

Source/gui/SyncTimeSelector.cpp:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void SyncTimeSelector::paint(Graphics &g) {
83 g.setColour(juce::Colours::white.withAlpha(isEnabled() ? 1.0f : MODULE_DISABLED_ALPHA));
84 g.drawImageAt(UIAssetManager::getInstance()->getUIAsset(m_asset, ConfigFileManager::getInstance().getOptionGuiScale()), 0, 0);
85}
86
87void SyncTimeSelector::resized() {
88

Callers

nothing calls this directly

Calls 2

getUIAssetMethod · 0.80
getOptionGuiScaleMethod · 0.80

Tested by

no test coverage detected