grame-cncm / faust

Functional programming language for signal processing and sound synthesis
http://faust.grame.fr
Other
2.57k stars 321 forks source link

faust2juce draws white on white gui by default #631

Open madskjeldgaard opened 3 years ago

madskjeldgaard commented 3 years ago

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.

sletz commented 3 years ago

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

mouseos commented 2 years ago

/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