>
>
> > I look forward receiving that, because I'm not at ease for clipboard
> > and X11. Thanks so much.
>
> OK - but it will probably be "later" rather than "sooner", as I have a
> few things to try and get done over the next week or two...
>
>

Ian: I have added the new class Fl_Clipboard_Writer for Mac & MSWin to
branch-1.3-Fl_Printer (after having updated it to the current 1.3).
Thus, you may add your stuff therein as well.

The API is very simple:
Fl_Clipboard_Writer mywriter;
mywriter.start(200, 100) // give the bounds of the clipboard surface
.. any graphics request will go now to the clipboard ...
and/or
mywrite.copy_widget(mywidget); // copies the widget (OpenGL included)
mywriter.stop(); // graphics requests stop going to the clipboard

Under Mac OS, a "Copy front window" item was added to the application
menu. You may paste what you copied to Preview.
Under MSWindow, a "Copy front window" button appears in a small window.
You may paste what you copied to Paint.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to