None of the advices works. 1) Adding window()->make_current() to plot_box::draw() (after fl_end_offscreen() doesn't change behaviour at all
2) Adding window()->make current() to mywin::draw() results in seg fault (at this point.) 3) Adding fl_font(FL_TIMES,6) results in seg fault (at this point.) 4) Creating offscreen buffer earlier. This is actually another issue. Before, I tried to create a buffer in the constructor of plot_box, but this resulted in seg fault. I inferred from examples on the web that one has to create offscreens in draw()s. AFAIR precisely the instruction fl_push_no_clip() in the fl_create_offscreen(w,h) caused seg fault. I'm hoping to hear some other advices (the source in the previous post is self contained - ready to compile). Lukasz _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

