Beeing new to Juce and C++ in general im not so sure about my question, but anyhow, here i go:
(using the latest tip: julianstorer-JUCE-2.0.32-52-g5b33ab5)
In function paint of juce_PopMenu.cpp, line 295, is the condition “if(isOpaque())” wich results in drawing a white “basecoat” to any popup menu with NON-transparent PopupMenu::backgroundColourId setting, while it doesn’t whe the background color has transparency.
Why should this be done?
I wanted to write a custom look&feel wich has, don’t ask me why, rounded corners for the popup menu of a combo box, wich i could only realize by give up PopupMenu::backgroundColourId.
Maybe i’m completely missunderstanding something, but in my opinion, this should be the other way round, (!isOpaque()), to prevent unreadeable, transparent popup menues.
Can anyone give me a hint?
[code] void paint (Graphics& g)
getLookAndFeel().drawPopupMenuBackground (g, getWidth(), getHeight()); }[/code]