> > =20 > > does anyone knows a method to save the contents of an Fl_Window ? > > > how do i capture the contents of a Fltk Window ? > > These How-To files will probably show you how to proceed. > > http://www.fltk.org/articles.php?L468 =20 > http://www.fltk.org/articles.php?L466 =20 >
Ok. thanks for those links. but - i dont think that this will help me. i have subclassed an Fl_Double_Window and written my own "virtual void draw()" function, so that i can paint inside that Fl_Double_Window using the simple draw methods provided by fltk ( for example fl_line(..) ). now i need to get access to that drawing somehow, so that i can save it. of what use should it be, if i attach a background image to that window using "w->image(my_fl_rgb_image);" ? is the attached image modified by / drawn over by the fltk draw commands ? the question is: how is drawing stuff in fltk handled internally? is it a stored list of draw-commands, or is there an image-buffer that stores pixels, wich then get modified by fl_line etc calls? if such an internal buffer exists, is there a hacky / tricky / legal way to access it? _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

