> [email protected] wrote: > > > After updating my FLTK2 version the the box type FOCUS_FRAME is no longer > > existing. I had used it to place labels on the parent window with parent > > background color and without any box. I have tried the NO_BOX type, but > > this will not draw the label. Is there any replacement for the FOCUS_FRAME > > type in FLTK2 or did I have to create my own box class with the > > corresponding draw method now? > > > > Thanks in advanced > > Edi > > I use FLTK 1.3.x and to do this I would use FL_FLAT_BOX. I'm not sure what a > FOCUS_FRAME is, but perhaps there is something like FLAT_BOX or something > that might work? > > -- > Alvin
I have tried the FLAT_BOX also, but this type will not use the background color of the parent. You can see this in the boxtype test which is delivered in the FLTK test directory. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

