==============================================================================
| 442 | |
| 443 | //============================================================================== |
| 444 | void FireAudioProcessorEditor::paint(juce::Graphics& g) |
| 445 | { |
| 446 | const float newDisplayScale = g.getInternalContext().getPhysicalPixelScaleFactor(); |
| 447 | |
| 448 | if (newDisplayScale != currentDisplayScale) |
| 449 | { |
| 450 | currentDisplayScale = newDisplayScale; |
| 451 | resized(); |
| 452 | return; |
| 453 | } |
| 454 | g.drawImage(backgroundCache, getLocalBounds().toFloat()); |
| 455 | |
| 456 | int focusIndex = multiband.getFocusIndex(); |
| 457 | |
| 458 | bool left = windowLeftButton.getToggleState(); |
| 459 | |
| 460 | if (left) |
| 461 | { |
| 462 | bandPanel.setFocusBandNum(focusIndex); |
| 463 | } |
| 464 | } |
| 465 | |
| 466 | void FireAudioProcessorEditor::resized() |
| 467 | { |
nothing calls this directly
no test coverage detected