| 119 | } |
| 120 | |
| 121 | void FXComponent::paint(Graphics &g) { |
| 122 | auto asset = m_type == Type::chorus ? UIAssets::Indices::FX_Chorus : UIAssets::Indices::FX_Flanger; |
| 123 | |
| 124 | g.drawImageAt(UIAssetManager::getInstance()->getUIAsset(asset, ConfigFileManager::getInstance().getOptionGuiScale()), 0, 0); |
| 125 | } |
| 126 | |
| 127 | void FXComponent::setSyncEnabled(bool p_sync) { |
| 128 | if (m_sync_enabled != p_sync) { |
nothing calls this directly
no test coverage detected