On 05.12.2012 06:35, corvid wrote:
>
> Why are there hardcoded colors used in Fl_Light_Button::draw()
> like FL_BACKGROUND2_COLOR and FL_SELECTION_COLOR?

I don't know for sure, but I'd guess that it's just history and
because nobody cared or asked for a change. If we'd change this,
it will probably break the ABI, because we'd have to store more
member variables, but we could do it with the ABI guards intro-
duced in fltk 1.3.1, so it would be possible. But maybe it's not
that easy, because we need to draw frames and such ... (didn't
look at the sources yet).

Since you did the analysis already, could you please file a STR
(RFE for 1.3), maybe with proposals what to add, and even better
with a patch?


Albrecht

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

Reply via email to