On May 10, 2007, at 11:01 PM, alessandro wrote: > I tried to create an application with non rectangular window, in > this way > > myWindow->box(FL_ROUND_UP_BOX); > myWindow->border(0); > > P.s. The program is under Windows (I don't know if it is the same > under Linux) and I use FLTK 1.1.7.
FLTK 1.1 does not support shaped windows. By using a round shape as the box type, all you do is avoid drawing parts of the window. The parts that you don't draw on will contain whatever there was before. FLTK2 supports dhaped windows and FLTK1.1 can be convinced to so that using a patch (which I don't know where to find ATM). ---- http://robowerk.com/ _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

