mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AudioProcessor: Use std::optional in TrackProperties
This commit is contained in:
parent
59ca34daaf
commit
9b959bd223
9 changed files with 42 additions and 17 deletions
|
|
@ -1305,8 +1305,8 @@ public:
|
|||
AudioProcessor is loaded. */
|
||||
struct TrackProperties
|
||||
{
|
||||
String name; // The name of the track - this will be empty if the track name is not known
|
||||
Colour colour; // The colour of the track - this will be transparentBlack if the colour is not known
|
||||
std::optional<String> name; // The name of the track - this will be empty if the track name is not known
|
||||
std::optional<Colour> colour; // The colour of the track - this will be empty if the colour is not known
|
||||
|
||||
// other properties may be added in the future
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue