On 11 Dec 2012, at 14:00, Leandro Fanzone wrote:

> Hello, I am using version 1.3r7613, compiling for Win32, and I want to set 
> the color of a button to full blue, but if I use FL_BLUE or an RGB value like 
> 0xFF000000, what I see is some kind of violet, closer to, say, RGB #BBBBEE, 
> like the colors used in this very forum, for example. Is there a way to 
> specify absolute colors in any other way I am not aware of?
> Thank you very much,


Oh! Wait a minute... Are you, by any chance, using the "plastic" theme? 

If so, that may be the problem - it messes with the colour of the button faces 
as it blends the theme in, and there may be no way around that. Well, other 
than not using the plastic theme...! Use the "gtk+" theme instead!

If you really want the plastic theme, or something very like it, then your best 
bet is probably to derive your own button class and tweak the draw method to 
sort out the render colours the way you like them...



_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to