Forget using the gradient for now

This commit is contained in:
xenakios 2018-02-16 13:51:48 +02:00
parent 974f55dcad
commit dd30bd3cae

View File

@ -1048,7 +1048,7 @@ void PerfMeterComponent::paint(Graphics & g)
double amt = m_proc->getPreBufferingPercent(); double amt = m_proc->getPreBufferingPercent();
g.setColour(Colours::green); g.setColour(Colours::green);
int w = amt * getWidth(); int w = amt * getWidth();
g.setGradientFill(m_gradient); //g.setGradientFill(m_gradient);
g.fillRect(0, 0, w, getHeight()); g.fillRect(0, 0, w, getHeight());
g.setColour(Colours::white); g.setColour(Colours::white);
g.drawRect(0, 0, getWidth(), getHeight()); g.drawRect(0, 0, getWidth(), getHeight());