Don't know anything about fltk2, but in 1.x you could derive a class from box and simply "paint over" the border with any color you want in the draw method. I'm short of time now, but can come back with an example later if you need it.
/D Owen skrev: > Hi, I would like to know how to change the border color of a box. > > I am using FLTK2, and I have set a window with border(false), then > box(BORDER_BOX). In FLTK1.x the default color is black, however in FLTK2 it > is grey, and I would like it black. I have searched and there seems to be no > method to cover this. Is there an easy way, or am I going to have to > re-compile FLTK2 with changing some option. > > Thanks, Owen _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

