|
|
I'd like to suggest to add a small new feature to FLTK 1.4, the possibility to use an Fl_RGB_Image as visual feedback for the drag-n-drop operation. The intention is to produce an image that evokes what is being dragged.
API: Fl::dnd(Fl_RGB_Image *rgb = NULL) which extends the previous API Fl::dnd(void)
As a demo, I have modified test/editor.cxx to call this new API after drawing in an image the start of the text being dragged.
That's all in attached "dnd.patch".
This would solve the request expressed in "Making a draggable item" of fltk.general.
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/4333ee23-de06-4651-b99f-f6f222c1968an%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |