Forget using the gradient for now
This commit is contained in:
		@@ -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());
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user