faust icon indicating copy to clipboard operation
faust copied to clipboard

faust2juce draws white on white gui by default

Open madskjeldgaard opened this issue 4 years ago • 2 comments

Hello

This is a tiny issue but the faust2juce tool creates GUI's with white on white by default: 2021-08-03-16:14:57-screenshot

I've fixed it for myself here by changing this line to fill using black instead: https://github.com/grame-cncm/faust/blob/76ab7cbc48f9f20249ce19891ac8eab0cd5ec8cb/architecture/juce/juce-plugin.cpp#L770

That fixes the issue. I can do a PR for this if needed.

madskjeldgaard avatar Aug 03 '21 14:08 madskjeldgaard

Or better change the font colour from white to something else?

sletz avatar Aug 03 '21 14:08 sletz

/usr/local/include/faust/gui/JuceGUI.h and change "black" to "white" in /usr/local/share/faust/juce in /usr/local/include/faust/gui/JuceGUI.h to "white", and "g.fillAll (juce::Colours::white);" to "g.fillAll (juce::Colours::black);". Screenshot_20211215-233125

mouseos avatar Dec 15 '21 14:12 mouseos