mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Converted a few Colour references to pass-by-values.
This commit is contained in:
parent
18d34b857b
commit
2329e63f20
31 changed files with 77 additions and 84 deletions
|
|
@ -145,7 +145,7 @@ void TabbedComponent::clearTabs()
|
|||
}
|
||||
|
||||
void TabbedComponent::addTab (const String& tabName,
|
||||
const Colour& tabBackgroundColour,
|
||||
Colour tabBackgroundColour,
|
||||
Component* const contentComponent,
|
||||
const bool deleteComponentWhenNotNeeded,
|
||||
const int insertIndex)
|
||||
|
|
@ -194,7 +194,7 @@ Colour TabbedComponent::getTabBackgroundColour (const int tabIndex) const noexce
|
|||
return tabs->getTabBackgroundColour (tabIndex);
|
||||
}
|
||||
|
||||
void TabbedComponent::setTabBackgroundColour (const int tabIndex, const Colour& newColour)
|
||||
void TabbedComponent::setTabBackgroundColour (const int tabIndex, Colour newColour)
|
||||
{
|
||||
tabs->setTabBackgroundColour (tabIndex, newColour);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue