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:
parent
bc9439c338
commit
f1ad44e2bf
1 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue