// // Created by Alex Birch on 03/10/2017. // #include "MyColours.h" Colour MyColours::getUIColourIfAvailable (LookAndFeel_V4::ColourScheme::UIColour uiColour, Colour fallback = Colour (0xff4d4d4d)) { if (auto* v4 = dynamic_cast (&LookAndFeel::getDefaultLookAndFeel())) return v4->getCurrentColourScheme().getUIColour (uiColour); return fallback; }