Help on LookAndFeel::drawGlassSphere


#1

I’m writing a gomoku game with JUCE.
When I drew the pieces with LookAndFeel::drawGlassSphere, something strange happened: the black piece is very cute, but the white piece is not.
Here’s the picture:
http://picasaweb.google.com/zhuwenjiajia/Gomoku/photo#5114391083236884498
I guess maybe LookAndFeel::drawGlassSphere is not designed for bright color.
How can I solve this problem ? Is there some function designed for bright color ?


#2

Well it was only designed to do a few jobs that the lookandfeel class needs, so isn’t a general-purpose routine. I’d suggest using your own copy of it and tweaking that to get it looking the way you want. (That’d also stop it messing your program up if I change the way the function works in future)


#3