mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
juce_audio_processors_headless: Remove juce_graphics dependency
This commit is contained in:
parent
86123aeddf
commit
50b51f512a
12 changed files with 170 additions and 136 deletions
|
|
@ -1440,7 +1440,7 @@ public:
|
|||
|
||||
void paint (Graphics& g) override
|
||||
{
|
||||
g.fillAll (convertOptionalARAColour (playbackRegion.getEffectiveColor(), Colours::black));
|
||||
g.fillAll (Colour { convertOptionalARAColour (playbackRegion.getEffectiveColor()) });
|
||||
|
||||
const auto* audioModification = playbackRegion.getAudioModification<ARADemoPluginAudioModification>();
|
||||
g.setColour (audioModification->isDimmed() ? Colours::darkgrey.darker() : Colours::darkgrey.brighter());
|
||||
|
|
@ -1827,7 +1827,7 @@ public:
|
|||
|
||||
if (auto colour = regionSequence.getColor())
|
||||
{
|
||||
g.setColour (convertARAColour (colour));
|
||||
g.setColour (Colour { convertARAColourARGB (colour) });
|
||||
g.fillRect (getLocalBounds().removeFromTop (16).reduced (6));
|
||||
g.fillRect (getLocalBounds().removeFromBottom (16).reduced (6));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue