So there could be a variable, say: bool highContrast;
which defaults to true, and then change, for example: foreground = fl_contrast(styleRec->color, background); to foreground = highContrast? fl_contrast(styleRec->color, background) : styleRec->color; and so on. That would give the programmer the ability to disable the automatic contrast control if needed. Is this a good idea or I might be breaking something else? Carlos _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

