DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2849
Version: 1.3-current


After Albrecht and Greg's input, I believe it would be inadequate
to just decode strings beginning with "file://" both because
other prefixes can occur (e.g., "computer://) and because
strings beginnings with "file://" could conceivably occur
when dragging text. The true solution would require the FLTK code
to "know" when dropped data is text or is a filename.
I propose to close this STR by adding a support function that FLTK
users can employ in the handle() function of drag-n-drop receiving
widgets to decode URI's when the dropped data is a filename.
That's function
   void fl_decode_uri(char *uri);
declared in FL/filename.H and to explain this issue in the 
Doxygen doc about drag-n-drop.


Link: http://www.fltk.org/str.php?L2849
Version: 1.3-current

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

Reply via email to