I upgraded today from juce 1.46 to 1.50.
I’m using the amalgamated header and cpp file in my project.
I was creating icons from embedded PNG data with the binarybuilder like this:
Drawable *dIcon = = Drawable::createFromImageData (embeddedresources::macro_node_png, embeddedresources::macro_node_pngSize); ... dIcon->drawAt (g, x + 4, cy);
the icons are PNG files with transparency, transparent background.
since the switch they draw with black background, the transparency is gone.
i also looked at the documentation (online),
and there seems to be a difference between this and 1.50:
this is in the online docs:
void drawAt (Graphics &g, const float x, const float y, const float opacity) const
in my 1.50 download there’s no ‘const float opacity’.
void drawAt (Graphics& g, const float x, const float y) const;
however, according to the docs that opacity should’nt even matter for me as it will just make everything opaque or transparent.
does anyone know why the embedded PNG’s alpha channels is’nt drawn anymore ?
how can i fix it ?