>> I call drawline() draw some lines in the window, but I found that >> if I call redraw() function to redraw the whole window, the lines >> I drawed before will be cleared. Why?
> The usual way to handle this is to derive your own class from an > existing FLTK class, and override the draw() member function to call > drawline() etc. as needed. See http://www.fltk.org/doc-2.0/html/index.html then go to the chapter "Making your own widgets" and section "Drawing the widget" D _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

