hello all, I want to do free hand drawing on a box widget so i inherited the Fl_Box class,and i modified Fl_Box::handle(int event) and Fl_Box::draw() functions created object of this type and added to the main window now i can do free hand drawing on the box, at this point after drawing i am adding a new window to the main window to cover the box. now when i close this new window, what ever the drawing that was there previously on the box is vanishing ... please help me how to get back that drawing when i close the new window (i had one solution for it i am saving the drawing as BMP image and calling the Fl_Widget::image(bmp) function so set the image the only problem is every time i need to access the bmp file which cost some time ) please give me some better idea
thanks and regards -- Hemadri phani kiran, _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

