I have a little problem with the pop-up menu. I want to reimplement the drawPopupMenuBackground with my own look-and-feel and do something like a fillRoundedrectangle to draw a rounded corner PopupMenuWindow.
I’ve tried it but the corner of the window stay black.
I’ve looked into the juce_PopupMenu class and saw that the PopupMenuWindow is opaque and so that’s why the corner are black.
I tried to set transparent and fall line 185 of juce_DropShadower.cpp.
jassert (owner->isOpaque()); // doesn't work properly for semi-transparent comps!
I understood that’s the wrong way.
So here is my question:
Is is possible to have a PopupMenuWindow (partially) transparent (in order to draw it with rounded corners)?
Or is there any other solution to do this?