> I can also see that we
> currently don't have support for putting graphics onto the clipboard.
> The only method that I know of is
> 
>    Fl::copy(const char *stuff, int len, int clipboard=0)
> 
> to copy text.

Though I suppose an image can be passed via a char* and a length.  ;-)


<going off-topic slightly>

> Instead of adding a clipboard device [1], I'd rather like to convert
> fl_offscreen to a real Fl_Offscreen device class. The current
> implementation is suboptimal(TM) anyway, because it is implemented
> as macros that save the context in local variables. This conversion
> would be logical and consistent, IMHO.

Yup - I actually use the fl_offscreen a fair bit, but I keep getting
caught out on win32 platforms because of the way those macros handle the
context.
It is fairly easy to write a bit of code that looks perfectly sensible
that the compiler rejects. I know this because I *keep* doing it...!

-- 
Ian




SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to