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
|
|
@ -468,10 +468,10 @@ private:
|
|||
|
||||
void updateTrackProperties()
|
||||
{
|
||||
auto trackColour = getProcessor().getTrackProperties().colour;
|
||||
auto trackColour = getProcessor().getTrackProperties().colourARGB;
|
||||
auto& lf = getLookAndFeel();
|
||||
|
||||
backgroundColour = (trackColour.has_value() ? trackColour->withAlpha (1.0f).withBrightness (0.266f)
|
||||
backgroundColour = (trackColour.has_value() ? Colour { *trackColour }.withAlpha (1.0f).withBrightness (0.266f)
|
||||
: lf.findColour (ResizableWindow::backgroundColourId));
|
||||
repaint();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue