JUCE icon indicating copy to clipboard operation
JUCE copied to clipboard

Modernize Timer to allow a std::function callback instead of requiring inheritance

Open FigBug opened this issue 3 years ago • 0 comments

Favor composition over inheritance provides higher flexibility. Allowing Timers to be named member variables provides hints to the purpose of the Timer. Supporting multiple Timers in one class becomes easier. Class hierarchies become less fragile.

FigBug avatar Jan 31 '22 16:01 FigBug