1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-31 03:00:05 +00:00

Fixed variable shadowing warnings

This commit is contained in:
Joshua Gerrard 2015-11-04 16:28:35 +00:00
parent bc9439c338
commit f1ad44e2bf

View file

@ -196,17 +196,17 @@ public:
{
g.setColour (Colours::black);
Rectangle<int> bounds (getLocalBounds());
Rectangle<int> localBounds (getLocalBounds());
const int border = 5;
bounds.removeFromLeft (border);
localBounds.removeFromLeft (border);
item.paintIcon (g, bounds.removeFromLeft (15));
item.paintIcon (g, localBounds.removeFromLeft (15));
bounds.removeFromLeft (border);
bounds.removeFromRight (border);
localBounds.removeFromLeft (border);
localBounds.removeFromRight (border);
item.paintContent (g, bounds);
item.paintContent (g, localBounds);
}
void resized() override