You can easily stack shadows by feeding a melatonin::DropShadow
or melatonin::InnerShadow
multiple sets of parameters.
melatonin::DropShadow thumbShadow {
{ juce::Colours::black, 16, { 0, 0 } },
{ juce::Colours::gray, 8, { 0, 0 } },
{ juce::Colours::blue, 3, { 0, 0 } }};
Shadows are rendered in the order they are specified, as in design programs.
Leave a Reply