Skip to content

Commit

Permalink
add method to set colour for a colour selection group
Browse files Browse the repository at this point in the history
  • Loading branch information
vsicurella committed Aug 15, 2024
1 parent a3aa271 commit 13075a6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ class ColourSelectionGroup : public ColourSelectionBroadcaster,
}
}

void setSelectedColour(juce::Colour newColour, ColourSelectionBroadcaster* source)
{
selectorListeners.call(&ColourSelectionListener::colourChangedCallback, source, newColour);
}

//=========================================================================

/// <summary>
Expand Down

0 comments on commit 13075a6

Please sign in to comment.